soft-fp: fix floating-point to integer unsigned saturation.
[glibc.git] / ChangeLog
blob7df0ae9cfed665afca8fbe26fa348cc13da1c9ca
1 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4         computing saturated result for unsigned overflow.
6 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7             Jeff Law  <law@redhat.com>
9         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10         (atan2Mp): Add systemtap probe marker.
11         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12         (__ieee754_log): Add systemtap probe marker.
13         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14         (atanMp): Add systemtap probe marker.
15         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16         (tanMp): Add systemtap probe marker.
17         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18         (__slowexp): Add systemtap probe marker.
19         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20         (__slowpow): Add systemtap probe marker.
21         * manual/probes.texi: Document probes.
23 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
25         [BZ #15362]
26         * libio/fileops.c (_IO_new_file_write): Return count of bytes
27         written.
28         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29         written.
30         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31         written to buffer but not flushed.
32         * libio/iofwrite_u.c:  Likewise.
33         * libio/iopadn.c:  Return bytes returned even if EOF was
34         encountered.
35         * libio/iowpadn.c:  Likewise.
36         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
37         if _IO_padn does not write the whole buffer.
38         [!COMPILE_WPRINTF] (PAD): Likewise.
40 2013-10-10  David S. Miller  <davem@davemloft.net>
42         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43         directory block.
45 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
48         instead of FSF address.
49         * soft-fp/fixdfti.c: Likewise.
50         * soft-fp/fixsfti.c: Likewise.
51         * soft-fp/fixtfti.c: Likewise.
52         * soft-fp/fixunsdfti.c: Likewise.
53         * soft-fp/fixunssfti.c: Likewise.
54         * soft-fp/fixunstfti.c: Likewise.
55         * soft-fp/floattidf.c: Likewise.
56         * soft-fp/floattisf.c: Likewise.
57         * soft-fp/floattitf.c: Likewise.
58         * soft-fp/floatuntidf.c: Likewise.
59         * soft-fp/floatuntisf.c: Likewise.
60         * soft-fp/floatuntitf.c: Likewise.
61         * soft-fp/trunctfxf2.c: Likewise.
63         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
64         * soft-fp/fixdfti.c: Likewise.
65         * soft-fp/fixsfti.c: Likewise.
66         * soft-fp/fixtfti.c: Likewise.
67         * soft-fp/fixunsdfti.c: Likewise.
68         * soft-fp/fixunssfti.c: Likewise.
69         * soft-fp/fixunstfti.c: Likewise.
70         * soft-fp/floattidf.c: Likewise.
71         * soft-fp/floattisf.c: Likewise.
72         * soft-fp/floattitf.c: Likewise.
73         * soft-fp/floatuntidf.c: Likewise.
74         * soft-fp/floatuntisf.c: Likewise.
75         * soft-fp/floatuntitf.c: Likewise.
76         * soft-fp/trunctfxf2.c: Likewise.
78 2013-10-10  David S. Miller  <davem@davemloft.net>
80         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
84         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
85         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
86         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
87         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
88         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
89         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
90         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
92         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
93         for NaNs before doing comparisons on argument.
94         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
95         Likewise.
97 2013-10-10  Will Newton  <will.newton@linaro.org>
99         * malloc/hooks.c (memalign_check): Ensure the value of bytes
100         passed to _int_memalign does not overflow.
102 2013-10-10  Torvald Riegel  <triegel@redhat.com>
104         * scripts/bench.pl: Add include-sources directive.
105         * benchtests/README: Update documentation.
107 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
109         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
110         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
111         instead of FP_INIT_ROUNDMODE.
112         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
113         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
115         [BZ #16034]
116         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
117         copy class of input value.
118         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
119         not handle exceptions.
120         * soft-fp/negsf2.c (__negsf2): Likewise.
121         * soft-fp/negtf2.c (__negtf2): Likewise.
122         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
124 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
126         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
127         semicolon.  From Linux kernel.
129 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
131         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
133 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
135         [BZ #156]
136         * manual/socket.texi: Added statement about buffer
137         for gethostbyname2_r.
139 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
141         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
142         Use .p2align directive instead, throughout.
143         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
144         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
145         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
146         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
147         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
148         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
149         * sysdeps/x86_64/strchr.S: Likewise.
150         * sysdeps/x86_64/strrchr.S: Likewise.
152 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
154         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
156         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
158         * sysdeps/generic/math_private.h (__mpsin1): Remove
159         declaration.
160         (__mpcos1): Likewise.
161         (__mpsin): New argument __range_reduce.
162         (__mpcos): Likewise.
163         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
164         (slow): Use __mpsin and __mpcos.
165         (slow1): Likewise.
166         (slow2): Likewise.
167         (sloww): Likewise.
168         (sloww1): Likewise.
169         (sloww2): Likewise.
170         (bsloww): Likewise.
171         (bsloww1): Likewise.
172         (bsloww2): Likewise.
173         (cslow2): Likewise.
174         (csloww): Likewise.
175         (csloww1): Likewise.
176         (csloww2): Likewise.
177         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
178         range_reduce.  Merge in __mpsin1.
179         (__mpcos): Likewise.
180         (__mpsin1): Remove.
181         (__mpcos1): Likewise.
183 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
185         * locale/loadlocale.c (_nl_intern_locale_data): Use
186         LOCFILE_ALIGNED_P.
187         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
188         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
189         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
190         obstack data is appropriately aligned.
191         (obstack_int32_grow_fast): Likewise.
192         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
193         * locale/programs/locfile.c (add_locale_uint32): Likewise.
194         (add_locale_uint32_array): Likewise.
196 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
198         * benchtests/Makefile: Remove ARGLIST and RET variables.
199         ($(objpfx)bench-%.c): Pass only function name to the script.
200         * benchtests/README: Update documentation.
201         * benchtests/acos-inputs: Add new directives.
202         * benchtests/acosh-inputs: Likewise.
203         * benchtests/asin-inputs: Likewise.
204         * benchtests/asinh-inputs: Likewise.
205         * benchtests/atan-inputs: Likewise.
206         * benchtests/atanh-inputs: Likewise.
207         * benchtests/cos-inputs: Likewise.
208         * benchtests/cosh-inputs: Likewise.
209         * benchtests/exp-inputs: Likewise.
210         * benchtests/log-inputs: Likewise.
211         * benchtests/pow-inputs: Likewise.
212         * benchtests/rint-inputs: Likewise.
213         * benchtests/sin-inputs: Likewise.
214         * benchtests/sinh-inputs: Likewise.
215         * benchtests/tan-inputs: Likewise.
216         * benchtests/tanh-inputs: Likewise.
217         * scripts/bench.pl: Add support for new directives.
219 2013-10-07  Alan Modra  <amodra@gmail.com>
221         * README: Fix careless merge.
223 2013-10-05  Alan Modra  <amodra@gmail.com>
225         * NEWS: Mention powerpc64le support and bugs fixed.
226         * README: Both big-endian and little-endian powerpc64 supported.
228 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
230         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
231         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
232         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
233         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
235 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
237         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
238         match prototype.
240 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
242         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
243         Move -mhard-float appending from
244         ports/sysdeps/powerpc/powerpc32/Makefile.
245         [$(with-fp) = yes] (ASFLAGS): Likewise.
246         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
247         * sysdeps/powerpc/nofpu: Move directory from
248         ports/sysdeps/powerpc/nofpu.
249         * sysdeps/powerpc/soft-fp: Move directory from
250         ports/sysdeps/powerpc/soft-fp.
251         * sysdeps/powerpc/powerpc32/405: Move directory from
252         ports/sysdeps/powerpc/powerpc32/405.
253         * sysdeps/powerpc/powerpc32/440: Move directory from
254         ports/sysdeps/powerpc/powerpc32/440.
255         * sysdeps/powerpc/powerpc32/464: Move directory from
256         ports/sysdeps/powerpc/powerpc32/464.
257         * sysdeps/powerpc/powerpc32/476: Move directory from
258         ports/sysdeps/powerpc/powerpc32/476.
259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
260         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
262         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
264         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
266         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
268         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
269         * README: Update for powerpc-*-linux-gnu software floating point
270         support in libc.
272         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
273         case to powerpc/powerpc32*.
274         * sysdeps/unix/sysv/linux/configure: Regenerated.
276         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
277         (_FPU_MASK_OM): Define as 0x04.
278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
280         0x00c10080.
281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
282         0x0000003c.
283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
286         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
287         getcontext_e500.
288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
289         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
290         setcontext_e500.
291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
292         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
293         and setcontext_e500.
295 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
297         * locale/iso-3166.def: Update iso-1366.def and related occurrences
299 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
301         * manual/threads.texi (Default Thread Attributes): Fix typo.
303 2013-10-04  Will Newton  <will.newton@linaro.org>
305         * malloc/Makefile: Add tst-memalign.
306         * malloc/tst-memalign.c: New file.
308         * malloc/tst-posix_memalign.c: Add comments.
309         (do_test): Add comments and call free on all potentially
310         allocated pointers. Add space after cast.
312         * malloc/tst-pvalloc.c: Add comments.
313         (do_test): Add comments and call free on all potentially
314         allocated pointers. Remove duplicate check for NULL pointer.
315         Add space after cast.
317         * malloc/tst-valloc.c: Add comments.
318         (do_test): Add comments and call free on all potentially
319         allocated pointers. Remove duplicate check for NULL pointer.
320         Add space after cast.
322 2013-10-04  Alan Modra  <amodra@gmail.com>
324         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
325         Use stdint types in rather than __attribute__((mode())).
326         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
328 2013-10-04  Alan Modra  <amodra@gmail.com>
330         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
331         Correct handling of unaligned relocs for little-endian.
332         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
334 2013-10-04  Alan Modra  <amodra@gmail.com>
336         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
337         * configure: Regenerate.
338         * nptl/shlib-versions: Powerpc*le starts at 2.18.
339         * shlib-versions: Likewise.
341 2013-10-04  Alan Modra  <amodra@gmail.com>
343         * string/tester.c (test_memrchr): Increment reported test cycle.
345 2013-10-04  Alan Modra  <amodra@gmail.com>
347         * string/test-memcpy.c (do_one_test): When reporting errors, print
348         string address and don't overrun end of string.
350 2013-10-04  Alan Modra  <amodra@gmail.com>
352         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
353         insrdi.  Make better use of reg selection to speed exit slightly.
354         Schedule entry path a little better.  Remove useless "are we done"
355         checks on entry to main loop.  Handle wrapping around zero address.
356         Correct main loop count.  Handle single left-over word from main
357         loop inline rather than by using loop_small.  Remove extra word
358         case in loop_small caused by wrong loop count.  Add little-endian
359         support.
360         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
361         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
362         cache hint.
363         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
364         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
365         support.  Avoid rlwimi.
366         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
368 2013-10-04  Alan Modra  <amodra@gmail.com>
370         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
371         insrdi.  Formatting.
372         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
373         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
374         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
375         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
376         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
377         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
379 2013-10-04  Alan Modra  <amodra@gmail.com>
381         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
382         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
383         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
384         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
385         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
386         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
387         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
388         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
389         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
390         use of regs.  Use power7 mtocrf.  Tidy function tails.
392 2013-10-04  Alan Modra  <amodra@gmail.com>
394         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
395         Formatting.  Consistently use rXXX register defines or rN defines.
396         Use early exit labels that avoid restoring unused non-volatile regs.
397         Make cr field use more consistent with rWORDn compares.  Rename
398         regs used as shift registers for unaligned loop, using rN defines
399         for short lifetime/multiple use regs.
400         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
401         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
402         addi 1,1,64 to pop stack frame.  Simplify return value code.
403         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
405 2013-10-04  Alan Modra  <amodra@gmail.com>
407         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
408         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
409         rather than rlwimi.
410         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
411         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
412         little-endian support.  Correct typos.
413         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
414         rather than rlwimi.
415         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
416         in loop and entry code to keep "and." results.
417         (strchr): Add little-endian support.  Comment.  Move cntlzd
418         earlier in tail.
419         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
421 2013-10-04  Alan Modra  <amodra@gmail.com>
423         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
424         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
425         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
426         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
428 2013-10-04  Alan Modra  <amodra@gmail.com>
430         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
431         (rTMP): Define as r11.
432         (strcmp): Add little-endian support.  Optimise tail.
433         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
434         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
435         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
436         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
437         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
438         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
439         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
441 2013-10-04  Alan Modra  <amodra@gmail.com>
443         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
444         little-endian support.  Remove unnecessary "are we done" tests.
445         Handle "s" wrapping around zero and extremely large "size".
446         Correct main loop count.  Handle single left-over word from main
447         loop inline rather than by using small_loop.  Correct comments.
448         Delete "zero" tail, use "end_max" instead.
449         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
451 2013-10-04  Alan Modra  <amodra@gmail.com>
453         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
454         support.  Don't branch over align.
455         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
456         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
457         support.  Rearrange tmp reg use to suit.  Comment.
458         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
460 2013-10-04  Alan Modra  <amodra@gmail.com>
462         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
464 2013-10-04  Alan Modra  <amodra@gmail.com>
466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
467         conditional form of branch and link when obtaining pc.
468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
470 2013-10-04  Alan Modra  <amodra@gmail.com>
472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
473         HIWORD/LOWORD.
474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
477 2013-10-04  Alan Modra  <amodra@gmail.com>
479         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
480         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
481         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
482         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
483         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
484         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
485         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
486         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
487         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
488         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
490 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
491             Alistair Popple <alistair@ozlabs.au.ibm.com>
492             Alan Modra <amodra@gmail.com>
494         [BZ #15723]
495         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
496         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
497         _dl_hwcap access for little-endian.
498         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
499         destroy vmx regs when saving unaligned.
500         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
501         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
502         destroy vmx regs when saving unaligned.
504 2013-10-04  Alan Modra  <amodra@gmail.com>
506         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
507         Don't use a union to pack hi/low value.
509 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
511         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
512         for little-endian.
513         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
514         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
515         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
516         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
517         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
519 2013-10-04  Alan Modra  <amodra@gmail.com>
521         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
522         constants to usual value for .cst8 section, and remove redundant
523         high address load.
524         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
525         constant for 0x1p52.  Load little-endian words of double from
526         correct stack offsets.
528 2013-10-04  Alan Modra  <amodra@gmail.com>
530         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
531         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
532         words of double from correct stack offsets.
533         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
534         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
535         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
536         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
537         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
538         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
539         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
540         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
541         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
542         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
543         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
544         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
545         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
546         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
547         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
548         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
549         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
551 2013-10-04  Alan Modra  <amodra@gmail.com>
553         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
554         64-bit int/double union.
555         (_FPU_SETCW): Likewise.
556         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
557         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
559 2013-10-04  Alan Modra  <amodra@gmail.com>
561         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
562         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
564 2013-10-04  Alan Modra  <amodra@gmail.com>
566         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
567         use vector int constants.
568         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
570 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
572         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
573         array with long long.
574         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
575         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
576         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
577         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
578         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
579         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
580         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
581         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
582         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
583         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
584         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
585         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
586         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
588 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
590         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
591         (__signbit): Likewise.  Correct for little-endian.
592         (__signbitl): Call __signbit.
593         (lrint): Correct for little-endian.
594         (lrintf): Call lrint.
596 2013-10-04  Alan Modra  <amodra@gmail.com>
598         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
599         union 32-bit int array member with 64-bit int array.
600         (t515, tm256): Double rather than long double.
601         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
603 2013-10-04  Alan Modra  <amodra@gmail.com>
605         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
606         Delete.
607         (IEEE854_LONG_DOUBLE_BIAS): Delete.
608         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
609         version of math_ldbl.h.
611 2013-10-04  Alan Modra  <amodra@gmail.com>
613         [BZ #15734], [BZ #15735]
614         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
615         all uses of ieee875 long double macros and unions.  Simplify test
616         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
617         ldbl_extract_mantissa value for ix,iy exponents.  Properly
618         normalize after ldbl_extract_mantissa, and don't add hidden bit
619         already handled.  Don't treat low word of ieee854 mantissa like
620         low word of IBM long double and mask off bit when testing for
621         zero.
622         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
623         all uses of ieee875 long double macros and unions.  Simplify tests
624         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
625         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
626         two1022, instead use their values.  Recognise that tests for large
627         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
628         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
629         Rewrite all uses of ieee875 long double macros and unions.  Simplify
630         test for 0.0L and nan.  Correct negation.
631         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
632         ieee875 long double macros and unions.  Correct output for large
633         magnitude x.  Correct absolute value calculation.
634         (__erfcl): Likewise.
635         * math/libm-test.inc: Add tests for errors discovered in IBM long
636         double versions of fmodl, remainderl, erfl and erfcl.
638 2013-10-04  Alan Modra  <amodra@gmail.com>
640         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
641         all uses of ieee854 long double macros and unions.  Simplify tests
642         for long doubles that are fully specified by the high double.
643         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
644         Likewise.
645         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
646         Remove dead code too.
647         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
648         (__ieee754_ynl): Likewise.
649         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
650         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
651         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
652         Remove dead code too.
653         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
654         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
655         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
656         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
657         Simplify.
658         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
659         Simplify.
660         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
661         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
662         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
663         Comment on variable precision.
664         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
665         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
666         Likewise.
667         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
668         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
669         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
670         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
671         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
673 2013-10-04  Alan Modra  <amodra@gmail.com>
675         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
676         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
677         all uses of ieee854 long double macros and unions.
678         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
679         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
680         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
681         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
682         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
683         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
684         Likewise.
685         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
686         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
687         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
688         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
689         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
690         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
691         Simplify sign and nan test too.
692         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
693         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
694         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
695         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
696         Likewise.
697         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
698         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
699         Likewise.
700         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
701         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
702         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
703         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
704         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
705         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
707 2013-10-04  Alan Modra  <amodra@gmail.com>
709         * stdio-common/printf_size.c (__printf_size): Don't use
710         union ieee854_long_double in fpnum union.
711         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
712         signbit macro to retrieve sign from long double.
713         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
714         retrieve sign from long double.
715         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
716         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
717         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
718         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
719         * math/test-misc.c (main): Don't use union ieee854_long_double.
721 2013-10-04  Alan Modra  <amodra@gmail.com>
723         [BZ #15680]
724         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
725         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
726         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
727         calculation.  Remove unnecessary test for denormal exponent.
728         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
729         Correct handling of denormals.  Avoid undefined shift behaviour.
730         Correct normalisation of low mantissa when low double is denormal.
731         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
732         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
733         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
734         Correct normalisation of low mantissa.  Test for overflow of high
735         mantissa and normalise.
736         (ldbl_nearbyint): Use more readable constant for two52.
737         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
738         (__mpn_construct_long_double): Fix test for overflow of high
739         mantissa and correct normalisation.  Avoid undefined shift.
741 2013-10-04  Alan Modra  <amodra@gmail.com>
743         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
744         (union ibm_extended_long_double): Define as an array of ieee754_double.
745         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
746         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
747         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
748         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
749         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
750         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
751         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
752         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
753         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
754         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
755         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
757 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
759         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
760         page size instead of calling getpagesize.
762         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
763         (LOCFILE_ALIGN_MASK): Likewise.
764         (LOCFILE_ALIGN_UP): Likewise.
765         (LOCFILE_ALIGNED_P): Likewise.
766         * locale/programs/ld-collate.c (collate_output): Use the new
767         macros instead of __alignof__ (int32_t).
768         * locale/weight.h (findidx): Likewise.
770 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
772         [BZ #431]
773         * manual/string.texi: Fix strncat and wcsncat.
775 2013-10-03  Brooks Moses  <bmoses@google.com>
777         [BZ #15915]
778         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
779         * Makerules: ...here, and adjust associated comments.
781 2013-10-02  Will Newton  <will.newton@linaro.org>
783         * malloc/Makefile: Add tst-pvalloc.
784         * malloc/tst-pvalloc.c: New file.
786 2013-10-02  Will Newton  <will.newton@linaro.org>
788         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
789         improve test coverage.
791 2013-10-02  Will Newton  <will.newton@linaro.org>
793         * malloc/Makefile: Add tst-posix_memalign.
794         * malloc/tst-posix_memalign.c: New file.
796 2013-10-01  Eric Blake  <eblake@redhat.com>
798         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
799         Use __THROWNL rather than __THROW on static functions.
801 2013-09-30  Petr Machata  <pmachata@redhat.com>
803         * elf/elf.h (R_AARCH64_ABS16): New macro.
804         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
805         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
806         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
807         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
808         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
809         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
810         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
811         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
812         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
813         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
814         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
815         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
816         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
817         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
818         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
819         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
820         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
821         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
822         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
823         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
824         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
825         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
826         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
827         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
828         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
829         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
830         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
831         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
832         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
833         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
834         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
835         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
836         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
837         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
838         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
839         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
840         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
841         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
842         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
843         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
844         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
845         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
846         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
847         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
848         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
849         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
850         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
851         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
852         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
853         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
854         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
855         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
856         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
857         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
858         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
859         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
860         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
861         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
862         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
863         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
864         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
865         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
866         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
867         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
868         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
869         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
870         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
871         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
872         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
873         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
874         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
875         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
876         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
877         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
878         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
879         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
880         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
881         (R_AARCH64_TLSDESC_LDR): Likewise.
882         (R_AARCH64_TLSDESC_ADD): Likewise.
883         (R_AARCH64_TLSDESC_CALL): Likewise.
885 2013-09-30  Andreas Schwab  <schwab@suse.de>
887         [BZ #15048]
888         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
889         the nss database lookup.
890         * nscd/initgrcache.c (addinitgroupsX): Likewise.
891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
893 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
895         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
897 2013-09-28  P. J. McDermott  <pj@pehjota.net>
899         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
900         ${Bash-specific parameter/pattern/string} parameter expansion.
901         * sysdeps/unix/make-syscalls.sh: Likewise.
903 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
905         * sysdeps/sh/stackguard-macros.h: New file.
907 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
909         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
910         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
911         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
912         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
913         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
914         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
916 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
918         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
919         Fix thread ID register.
921 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
923         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
924         [POSIX || UNIX98]: Require rather than permitting all symbols from
925         <time.h>.
926         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
927         element of struct sched_param.
928         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
929         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
930         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
931         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
932         constant.
934 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
936         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
937         argument calculation.
939 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
941         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
942         Expect macro.
943         [POSIX] (pthread_attr_t): Do not require type.
944         [POSIX] (pthread_cond_t): Likewise.
945         [POSIX] (pthread_condattr_t): Likewise.
946         [POSIX] (pthread_key_t): Likewise.
947         [POSIX] (pthread_mutex_t): Likewise.
948         [POSIX] (pthread_mutexattr_t): Likewise.
949         [POSIX] (pthread_once_t): Likewise.
950         [POSIX] (pthread_t): Likewise.
951         [POSIX-based standards] (pthread_atfork): Expect function.
953 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
954             Richard Sandiford  <richard@codesourcery.com>
956         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
957         (swap_endianness_p): New extern variable.
958         (set_big_endian): New inline function.
959         (maybe_swap_uint32): Likewise.
960         (maybe_swap_uint32_array): Likewise.
961         (maybe_swap_uint32_obstack): Likewise.
962         * locale/programs/locfile.c: Include <stdbool.h>.
963         (swap_endianness_p): New variable.
964         (add_locale_uint32): Call maybe_swap_uint32.
965         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
966         (write_locale_data): Call maybe_swap_uint32_array.
967         * locale/programs/ld-collate.c (obstack_int32_grow): Call
968         maybe_swap_uint32.
969         (obstack_int32_grow_fast): Likewise.
970         (output_weightwc): Call maybe_swap_uint32_obstack.
971         (collate_output): Likewise.
972         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
973         (OPT_LITTLE_ENDIAN): Likewise.
974         (options): Add --little-endian and --big-endian options.
975         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
976         * locale/programs/locarchive.c: Include "locfile.h".
977         (GET): New macro.
978         (SET): Likewise.
979         (INC): Likewise.
980         (create_archive): Use the new macros to access fields of
981         structures directly mapped from or written to locale archives.
982         (oldlocrecentcmp): Likewise.
983         (enlarge_archive): Likewise.
984         (insert_name): Likewise.
985         (add_alias): Likewise.
986         (add_locale): Likewise.
987         (delete_locales_from_archive): Likewise.
988         (show_archive_content): Likewise.
989         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
990         locale data.
992 2013-09-24  Roland McGrath  <roland@hack.frob.com>
994         * manual/freemanuals.texi: Updated from (newly) canonical copy at
995         http://www.gnu.org/doc/freemanuals.texi.
996         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
998 2013-09-24  Will Newton  <will.newton@linaro.org>
1000         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1001         macro.
1003 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
1005         * locale/hashval.h (compute_hashval): Interpret bytes of key as
1006         unsigned char.
1008 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
1010         * manual/threads.texi (POSIX Threads): Fix a typo.
1012 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1014         [BZ #14547]
1015         * string/tst-strcoll-overflow.c: New test case.
1016         * string/Makefile (xtests): Add tst-strcoll-overflow.
1017         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1018         cache if string sizes may cause integer overflow.
1020         [BZ #14547]
1021         * string/strcoll_l.c (coll_seq): New members rule, idx,
1022         save_idx and back_us.
1023         (get_next_seq_nocache): New function.
1024         (do_compare_nocache): New function.
1025         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1026         when malloc fails.
1028 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
1030         [BZ #15754]
1031         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1032         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1033         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1035         [BZ #15754]
1036         * elf/Makefile (tests): Add tst-ptrguard1.
1037         (tests-static): Add tst-ptrguard1-static.
1038         (tst-ptrguard1-ARGS): Define.
1039         (tst-ptrguard1-static-ARGS): Define.
1040         * elf/tst-ptrguard1.c: New file.
1041         * elf/tst-ptrguard1-static.c: New file.
1042         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1043         * sysdeps/i386/stackguard-macros.h: Likewise.
1044         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1045         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1046         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1047         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1048         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1049         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1051 2013-09-23  Hector Marco  <hecmargi@upv.es>
1052             Ismael Ripoll  <iripoll@disca.upv.es>
1053             Carlos O'Donell  <carlos@redhat.com>
1055         [BZ #15754]
1056         * sysdeps/generic/stackguard-macros.h: Define
1057         __pointer_chk_guard_local and POINTER_CHK_GUARD.
1058         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1059         Define __pointer_chk_guard_local.
1060         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1061         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1063 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
1065         [BZ #15859]
1066         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1068 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
1070         * include/string.h (__ffs): Declare as hidden.
1071         * string/ffs.c (__ffs): Define as hidden.
1072         * sysdeps/i386/ffs.c (__ffs): Likewise.
1073         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1074         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1075         * sysdeps/s390/ffs.c (__ffs): Likewise.
1076         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1078 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
1080         * NEWS: Mention malloc probes.
1082         * malloc/arena.c (new_heap): New memory_heap_new probe.
1083         (grow_heap): New memory_heap_more probe.
1084         (shrink_heap): New memory_heap_less probe.
1085         (heap_trim): New memory_heap_free probe.
1086         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1087         (systrim): New memory_sbrk_less probe.
1088         * manual/probes.texi: Document them.
1090         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1091         * manual/probes.texi: Document it.
1093         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1094         (__libc_realloc): Add memory_realloc_retry probe.
1095         (__libc_memalign): Add memory_memalign_retry probe.
1096         (__libc_valloc): Add memory_valloc_retry probe.
1097         (__libc_pvalloc): Add memory_pvalloc_retry probe.
1098         (__libc_calloc): Add memory_calloc_retry probe.
1099         * manual/probes.texi: Document them.
1101         * malloc/arena.c (get_free_list): Add probe
1102         memory_arena_reuse_free_list.
1103         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1104         and memory_arena_reuse.
1105         (arena_get2) [!PER_THREAD]: Likewise.
1106         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1107         memory_arena_reuse_realloc.
1108         * manual/probes.texi: Document them.
1110         * malloc/malloc.c (__libc_free): Add
1111         memory_mallopt_free_dyn_thresholds probe.
1112         (__libc_mallopt): Add multiple memory_mallopt probes.
1113         * manual/probes.texi: Document them.
1115         * malloc/malloc.c: Include stap-probe.h.
1116         (__libc_mallopt): Add memory_mallopt probe.
1117         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1118         * manual/probes.texi: New.
1119         * manual/Makefile (chapters): Add probes.
1120         * manual/threads.texi: Set next node.
1122 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
1124         [BZ #15963, #13985]
1125         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1126         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1127         Add `Chinese' to `nan' entry name.
1129 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1131         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1132         (POLYNOMIAL): Likewise.
1133         (TAYLOR_SINCOS): Likewise.
1134         (TAYLOR_SLOW): Likewise.
1135         (__sin): Use TAYLOR_SINCOS.
1136         (__cos): Likewise.
1137         (slow): Use TAYLOR_SLOW.
1138         (sloww): Likewise.
1139         (bsloww): Likewise.
1140         (csloww): Likewise.
1142 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1144         * stdlib/strtod_l.c: Fix buffer overrun.
1146 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1148         * benchtests/Makefile (bench): Add sincos.
1149         * benchtests/bench-sincos.c: New file.
1151         * math/libm-test.inc (cos_test_data): New test inputs.
1152         (sin_test_data): Likewise.
1154         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1155         macro.
1156         (__sin): Use it.
1157         (__cos): Likewise.
1158         (slow1): Likewise.
1159         (slow2): Likewise.
1160         (sloww1): Likewise.
1161         (sloww2): Likewise.
1162         (bsloww1): Likewise.
1163         (bsloww2): Likewise.
1164         (cslow2): Likewise.
1165         (csloww1): Likewise.
1166         (csloww2): Likewise.
1168         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1169         function.
1170         (__sin): Use it.
1171         (__cos): Likewise.
1173         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1174         gotos.
1175         (__cos): Likewise.
1177 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
1179         * config.h.in (HAVE_MIPS_NAN2008): New macro.
1180         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1181         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1182         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1183         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1184         * elf/cache.c (print_entry): Handle the new cache flags.
1186 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1187             Aldy Hernandez  <aldyh@redhat.com>
1189         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1190         Change condition to [_SOFT_FLOAT].
1191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1193         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1195         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1196         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1197         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1198         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1200         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1201         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1202         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1203         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1204         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1206         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1207         declaration.
1209 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1211         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1212         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1213         (__longjmp): Use LOAD_GP to load saved GPRs.
1214         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1215         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1216         (__sigsetjmp): Use SAVE_GP to save GPRs.
1218         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1219         Do not append -msoft-float.
1220         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1222 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1224         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1226 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
1228         [BZ #15966]
1229         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1230         (_FPU_GETCW): Use initial "__" on variable and field names but not
1231         on macro parameter name.
1232         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
1233         parentheses around reference to macro parameter.
1235 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
1237         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1238         prototype.
1239         (ctype_startup): Use uint32_t in cast and sizeof for
1240         ctype->charnames.
1242 2013-09-11  Jia Liu  <proljc@gmail.com>
1244         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1245         __daddr_t_defined.
1246         [__FreeBSD__]: Likewise.
1248 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
1250         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1251         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1252         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1253         (strchr): Remove __strchr_sse42 ifunc selection.
1254         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1255         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1257 2013-09-11  Will Newton  <will.newton@linaro.org>
1259         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1260         parameter to RES. Remove hardcoded 1000 value.
1261         * benchtests/bench-skeleton.c (main): Pass RES parameter
1262         to TIMING_INIT and multiply result by 1000.
1264 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1268 2013-09-11  Andreas Schwab  <schwab@suse.de>
1270         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1271         if not defined.
1272         (O_TMPFILE) [__USE_GNU]: Define.
1273         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1274         Define.
1276 2013-09-11  Will Newton  <will.newton@linaro.org>
1278         [BZ #15857]
1279         * malloc/malloc.c (__libc_memalign): Check the value of bytes
1280         does not overflow.
1282 2013-09-11  Will Newton  <will.newton@linaro.org>
1284         [BZ #15856]
1285         * malloc/malloc.c (__libc_valloc): Check the value of bytes
1286         does not overflow.
1288 2013-09-11  Will Newton  <will.newton@linaro.org>
1290         [BZ #15855]
1291         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1292         does not overflow.
1294 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
1296         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1297         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1298         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1299         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1300         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1302 2013-09-10  Allan McRae  <allan@archlinux.org>
1304         [BZ #15748]
1305         * manual/arith.texi (Parsing of Floats): Clarify
1306         cross-reference.
1308         [BZ #15849]
1309         * manual/install.texi (Running make install): Mention
1310         --enable-pt-chown.
1311         * INSTALL: Regenerated.
1313 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
1315         * csu/init-first.c (_init): Remove the !SHARED condition around
1316         FPU control word initialization.
1317         * elf/dl-support.c (_dl_fpu_control): New variable.
1318         (_dl_aux_init) <AT_FPUCW>: Initialize it.
1319         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1320         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1321         * math/test-fpucw-static.c: New file.
1322         * math/test-fpucw-ieee.c: New file.
1323         * math/test-fpucw-ieee-static.c: New file.
1324         * math/Makefile (tests): Add `test-fpucw-ieee' and
1325         `$(tests-static)'.
1326         (tests-static): New variable.
1327         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1328         dependency to...
1329         [($(build-shared),yes)]
1330         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1331         ... this.
1332         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1333         New dependency.
1335 2013-09-09  Allan McRae  <allan@archlinux.org>
1337         [BZ #15939]
1338         * manual/string.texi (Collation Functions): Fix typo in
1339         strcoll example.
1340         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1342         [BZ #15893]
1343         * stdlib/isomac.c (get_null_defines): Fix memory leak.
1345         [BZ #15892]
1346         * libio/memstream.c (open_memstream): Fix memory leak.
1347         * libio/wmemstream.c (open_wmemstream): Likewise.
1349         [BZ #15895]
1350         * nscd/netgroupcache.c: Fix nesting of ifdefs.
1352 2013-09-09  Will Newton  <will.newton@linaro.org>
1354         * malloc/Makefile: Add tst-realloc to tests.
1355         * malloc/tst-realloc.c: New file.
1357 2013-09-09  Allan McRae  <allan@archlinux.org>
1359         [BZ #15844]
1360         * COPYING: Update from GNU website to fix FSF address.
1361         * COPYING.LIB: Likewise.
1363 2013-09-06  David S. Miller  <davem@davemloft.net>
1365         * po/zh_TW.po: Update Chinese (traditional) translation from
1366         translation project.
1368 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
1369             Joseph Myers  <joseph@codesourcery.com>
1371         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1372         "localeinfo.h".
1373         (obstack_chunk_alloc): New macro.
1374         (obstack_chunk_free): Likewise.
1375         (record_offset): New function.
1376         (init_locale_data): Likewise.
1377         (align_locale_data): Likewise.
1378         (add_locale_empty): Likewise.
1379         (add_locale_raw_data): Likewise.
1380         (add_locale_raw_obstack): Likewise.
1381         (add_locale_string): Likewise.
1382         (add_locale_wstring): Likewise.
1383         (add_locale_uint32): Likewise.
1384         (add_locale_uint32_array): Likewise.
1385         (add_locale_char): Likewise.
1386         (start_locale_structure): Likewise.
1387         (end_locale_structure): Likewise.
1388         (start_locale_prelude): Likewise.
1389         (end_locale_prelude): Likewise.
1390         (write_locale_data): Take locale_file structure rather than an
1391         iovec.
1392         * locale/programs/locfile.h: Include "obstack.h".
1393         (struct locale_file): Change to store locale file contents instead
1394         of header.
1395         (init_locale_data): New prototype.
1396         (align_locale_data): Likewise.
1397         (add_locale_empty): Likewise.
1398         (add_locale_raw_data): Likewise.
1399         (add_locale_raw_obstack): Likewise.
1400         (add_locale_string): Likewise.
1401         (add_locale_wstring): Likewise.
1402         (add_locale_uint32): Likewise.
1403         (add_locale_uint32_array): Likewise.
1404         (add_locale_char): Likewise.
1405         (start_locale_structure): Likewise.
1406         (end_locale_structure): Likewise.
1407         (start_locale_prelude): Likewise.
1408         (end_locale_prelude): Likewise.
1409         (write_locale_data): Update prototype.
1410         * locale/programs/3level.h (struct TABLE): Remove result field.
1411         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1412         Use new locale_file interface.
1413         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1414         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1415         * locale/programs/ld-address.c (address_output): Use new
1416         locale_file interface.
1417         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1418         NO_ADD_LOCALE.
1419         (collate_finish): Don't call collseq_table_finalize.
1420         (collate_output): Use new locale_file interface.
1421         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1422         in file.
1423         (NO_FINALIZE): Change to NO_ADD_LOCALE.
1424         (TABLE): Move defines earlier in file.
1425         (ELEMENT): Likewise.
1426         (DEFAULT): Likewise.
1427         (wctrans_table_add): Move macro and inline function earlier in
1428         file.
1429         (struct wctype_table): Move type earlier in file.
1430         (add_locale_wctype_table): New static prototype.
1431         (struct locale_ctype_t): Use logical types instead of struct iovec
1432         pointers for members.
1433         (ctype_output): Use new locale_file interface.
1434         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
1435         new locale_file interface.
1436         (allocate_arrays): Update for use of new locale_file interface.
1437         * locale/programs/ld-identification.c (identification_output): Use
1438         new locale_file interface.
1439         * locale/programs/ld-measurement.c (measurement_output): Likewise.
1440         * locale/programs/ld-messages.c (messages_output): Likewise.
1441         * locale/programs/ld-monetary.c (monetary_output): Likewise.
1442         * locale/programs/ld-name.c (name_output): Likewise.
1443         * locale/programs/ld-numeric.c (numeric_output): Likewise.
1444         * locale/programs/ld-paper.c (paper_output): Likewise.
1445         * locale/programs/ld-telephone.c (telephone_output): Likewise.
1446         * locale/programs/ld-time.c (time_output): Likewise.
1448 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1450         * benchtests/Makefile: Add memrchr benchmark.
1451         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1452         benchmark as memrchr.
1453         * benchtests/bench-memrchr-ifunc.c: New file.
1454         * benchtests/bench-memrchr.c: New file.
1456 2013-09-06   Will Newton  <will.newton@linaro.org>
1458         * benchtests/Makefile (string-bench): Add memcpy.
1460 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
1461             Cong Wang  <amwang@redhat.com>
1463         * sysdeps/unix/sysv/linux/bits/in.h
1464         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1465         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1466         before __USE_KERNEL_IPV6_DEFS uses.
1467         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1468         IPPROTO_BEETPH.
1469         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1470         sockaddr_in6, or ipv6_mreq.
1472 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1474         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1475         memory access for final bytes in some large inputs.
1476         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1478 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1480         * string/test-memrchr.c: New file.
1481         * string/test-memrchr-ifunc.c: New file.
1482         * string/Makefile: Add new memrchr testcase.
1484 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
1486         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1487         fanotify_init returns EPERM.
1489 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
1491         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1492         errors.
1493         (top level): Treat second token from macro or constant entries for
1494         allowed headers as allowed.
1495         * include/complex.h: Condition internal declarations on
1496         [!_ISOMAC].
1497         * include/fenv.h: Condition include of <stdbool.h> and internal
1498         declarations on [!_ISOMAC].
1500 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
1502         [BZ #15923]
1503         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1505 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
1507         * configure.in (--enable-versioning): Remove configure option.
1508         (libc_cv_asm_symver_directive): Remove configure test.
1509         (libc_cv_ld_version_script_option): Likewise.
1510         (VERSIONING): Remove variable and AC_SUBST.
1511         (DO_VERSIONING): Remove AC_DEFINE.
1512         * configure: Regenerated.
1513         * config.h.in (DO_VERSIONING): Remove macro.
1514         * Makerules [$(versioning) = yes]: Change conditionals to
1515         [$(build-shared) = yes].
1516         * config.make.in (versioning): Remove variable.
1517         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1518         [$(build-shared) = yes].
1519         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1520         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1521         * elf/Makefile [$(versioning) = yes]: Change conditionals to
1522         [$(build-shared) = yes].
1523         * extra-lib.mk [$(versioning) = yes]: Likewise.
1524         * hurd/Makefile [$(versioning) = yes]: Likewise.
1525         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1526         [SHARED].
1527         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1528         [SHARED].
1529         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1530         [SHARED && !NO_HIDDEN].
1531         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1532         [SHARED].
1533         [SHARED && DO_VERSIONING]: Likewise..
1534         * libio/Makefile [$(versioning) = yes]: Change conditionals to
1535         [$(build-shared) = yes].
1536         * manual/install.texi (--disable-versioning): Remove
1537         documentation.
1538         * INSTALL: Regenerated.
1539         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1540         to [SHARED].
1541         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1542         [$(build-shared) = yes].
1543         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1544         * sysdeps/i386/i686/multiarch/strstr-c.c
1545         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1546         [SHARED && !NO_HIDDEN].
1547         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1548         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1549         * sysdeps/powerpc/powerpc32/dl-machine.c
1550         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1551         * sysdeps/powerpc/powerpc32/sysdep.h
1552         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1553         to [SHARED && PIC && !NO_HIDDEN].
1554         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1555         conditional to [SHARED].
1557 2013-09-04   Will Newton  <will.newton@linaro.org>
1559         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1560         * benchtests/bench-string.h: Include bench-timing.h instead
1561         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1562         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1563         call to HP_TIMING_DIFF_INIT.
1564         * benchtests/bench-memccpy.c: Use bench-timing.h macros
1565         instead of hp-timing.h macros.
1566         * benchtests/bench-memchr.c: Likewise.
1567         * benchtests/bench-memcmp.c: Likewise.
1568         * benchtests/bench-memcpy.c: Likewise.
1569         * benchtests/bench-memmem.c: Likewise.
1570         * benchtests/bench-memmove.c: Likewise.
1571         * benchtests/bench-memset.c: Likewise.
1572         * benchtests/bench-rawmemchr.c: Likewise.
1573         * benchtests/bench-strcasecmp.c: Likewise.
1574         * benchtests/bench-strcasestr.c: Likewise.
1575         * benchtests/bench-strcat.c: Likewise.
1576         * benchtests/bench-strchr.c: Likewise.
1577         * benchtests/bench-strcmp.c: Likewise.
1578         * benchtests/bench-strcpy.c: Likewise.
1579         * benchtests/bench-strcpy_chk.c: Likewise.
1580         * benchtests/bench-strlen.c: Likewise.
1581         * benchtests/bench-strncasecmp.c: Likewise.
1582         * benchtests/bench-strncat.c: Likewise.
1583         * benchtests/bench-strncmp.c: Likewise.
1584         * benchtests/bench-strncpy.c: Likewise.
1585         * benchtests/bench-strnlen.c: Likewise.
1586         * benchtests/bench-strpbrk.c: Likewise.
1587         * benchtests/bench-strrchr.c: Likewise.
1588         * benchtests/bench-strspn.c: Likewise.
1589         * benchtests/bench-strstr.c: Likewise.
1591 2013-09-04  Will Newton  <will.newton@linaro.org>
1593         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1595 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
1597         [BZ #15427]
1598         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1599         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1600         * math/libm-test.inc (lgamma_test_data): Add more tests.
1601         * sysdeps/i386/fpu/libm-test-ulps: Update.
1602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1604 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
1606         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1607         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1608         Add ifunc.
1609         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1610         Add strcmp-sse2-unaligned
1611         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1613 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1615         * Versions.def (libc): Add GLIBC_2.19.
1617 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1619         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1620         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1622 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
1624         [BZ #14155]
1625         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1626         intermediate calculations in recurrence.
1627         (__ieee754_ynf): Likewise.
1628         * math/libm-test.inc (jn_test_data): Do not allow spurious
1629         underflow exception.  Add more tests.
1630         (yn_test_data): Add more tests.
1631         * sysdeps/i386/fpu/libm-test-ulps: Update.
1632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1634 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
1636         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1638 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
1640         * csu/init-first.c: Fix then/than typos.
1641         * locale/programs/ld-collate.c: Likewise.
1642         * locale/programs/linereader.h: Likewise.
1643         * manual/charset.texi: Likewise.
1644         * manual/filesys.texi: Likewise.
1645         * manual/stdio.texi: Likewise.
1646         * manual/string.texi: Likewise.
1647         * stdlib/fmtmsg.c: Likewise.
1648         * sysdeps/i386/stpncpy.S: Likewise.
1649         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1650         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1651         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1652         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1654 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
1656         * elf/dl-open.c: Fix typos.
1657         * iconvdata/gbbig5.c: Likewise.
1658         * iconvdata/iso-2022-jp.c: Likewise.
1659         * iconv/gconv_int.h: Likewise.
1660         * iconv/loop.c: Likewise.
1661         * nis/rpcsvc/nis.h: Likewise.
1662         * resolv/ns_name.c: Likewise.
1663         * stdio-common/vfscanf.c: Likewise.
1664         * streams/stropts.h: Likewise.
1665         * sunrpc/rpc_thread.c: Likewise.
1666         * sysdeps/i386/strpbrk.S: Likewise.
1667         * sysdeps/ieee754/k_standard.c: Likewise.
1668         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1669         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1670         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1671         * sysdeps/mach/hurd/profil.c: Likewise.
1672         * sysdeps/s390/dl-procinfo.h: Likewise.
1673         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1674         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1675         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1676         * sysdeps/x86_64/dl-trampoline.S: Likewise.
1677         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1679 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
1681         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1682         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1684 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
1686         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1687         aix specific files.
1688         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1689         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1690         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1691         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1692         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1693         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1694         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1695         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1697 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
1698             Roland McGrath  <roland@hack.frob.com>
1700         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1701         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1703 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1705         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1706         __executable_start symbol instead of _start.
1708 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
1710         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1711         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1712         Move macros to...
1713         * sysdeps/gnu/ldsodefs.h: ... this new file.
1715         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1716         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1717         instead of ELFOSABI_LINUX.
1719         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1720         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1721         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1722         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1723         Likewise.
1724         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1725         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1726         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1727         Likewise.
1728         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1729         (ibm_extended_long_double): Add ieee_nan member.
1730         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1731         (do_test): New function.
1733         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1734         TEST_TRUNC.
1735         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1736         functions, renamed from truncdfsf_test, trunctfsf_test,
1737         trunctfdf_test.
1738         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1739         functions.
1740         (do_test): Run all these.
1742 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
1744         * argp/argp-help.c: Fix typos.
1745         * argp/argp-parse.c: Likewise.
1746         * debug/backtracesyms.c: Likewise.
1747         * elf/elf.h: Likewise.
1748         * malloc/malloc.c: Likewise.
1749         * nis/nis_print.c: Likewise.
1750         * resolv/res_comp.c: Likewise.
1751         * stdlib/stdlib.h: Likewise.
1752         * sunrpc/clnt_tcp.c: Likewise.
1753         * sunrpc/clnt_udp.c: Likewise.
1754         * sunrpc/clnt_unix.c: Likewise.
1755         * sysdeps/unix/bsd/ptsname.c: Likewise.
1756         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1757         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1759         Likewise.
1760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1761         Likewise.
1762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1763         Likewise.
1764         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1766 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1768         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1769         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1771 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
1773         [BZ #15897]
1774         * dlfcn/Makefile (tests): Add bug-dl-leaf.
1775         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1776         ($(objpfx)bug-dl-leaf): New rule.
1777         ($(objpfx)bug-dl-leaf.so): Likewise.
1778         ($(objpfx)bug-dl-leaf.out): Likewise.
1779         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1780         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1781         * dlfcn/bug-dl-leaf.c: New test.
1782         * dlfcn/bug-dl-leaf-lib.c: Likewise.
1783         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1784         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1785         (dlclose): Likewise.
1786         (dlmopen): Likewise.
1788 2013-08-27  Roland McGrath  <roland@hack.frob.com>
1790         * include/netdb.h [!_ISOMAC]:
1791         Don't include <tls.h>.
1792         (h_errno, __libc_h_errno): Move declaration and macros out of
1793         [_LIBC_REENTRANT].
1795         * include/resolv.h [_RESOLV_H_]:
1796         Don't include <tls.h>.
1797         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1798         * resolv/res_libc.c: Don't include <tls.h>.
1799         (_res): Use __attribute__ ((nocommon)) in place of
1800         __attribute__ ((section (".bss"))).
1802         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1803         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1805         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1807         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1808         only under [SIOCGIFCONF && SIOCGIFNETMASK].
1810         * resolv/res_mkquery.c: Include <sys/time.h>.
1812         * inet/ifreq.c: Moved to ...
1813         * sysdeps/unix/ifreq.c: ... here.
1814         * inet/ifreq.c: New file, true stub version.
1816         * socket/sa_len.c: New file.
1817         * socket/Makefile (aux): Add it.
1818         * sysdeps/unix/sysv/linux/Makefile
1819         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1820         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1821         and #include <socket/sa_len.c>.
1822         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1823         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1825         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1826         * bits/socket.h: ... here.
1828         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1829         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1830         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1832 2013-08-27  Andreas Schwab  <schwab@suse.de>
1834         [BZ #15736]
1835         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1836         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1837         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1838         * string/test-strcasecmp.c (test_main): Run tests in several
1839         locales.
1840         * string/test-strncasecmp.c (test_main): Likewise.
1842         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1843         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1844         to __strcasecmp_nonascii and __strncasecmp_nonascii.
1845         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1846         (__strncasecmp_ssse3) [PIC]: Likewise.
1848 2013-08-26  Roland McGrath  <roland@hack.frob.com>
1850         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1852         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1853         instead of explicitly declaring xdecrypt.
1854         * nis/nss_nis/nis-publickey.c: Likewise.
1856 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1858         [BZ #15890]
1859         * nscd/aicache.c: Include res_hconf.h.
1860         (addhstaiX): Initialize res_hconf.
1862 2013-08-26  Andreas Schwab  <schwab@suse.de>
1864         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1865         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1867 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1869         * nscd/aicache.c (addhstaiX): Fix indentation.
1871 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
1873         * configure.ac: Quote $build_pt_chown test.
1874         * configure: Regenerated.
1876 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
1878         [BZ #15532]
1879         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1880         * math/s_cexpf.c (__cexpf): Likewise.
1881         * math/s_cexpl.c (__cexpl): Likewise.
1882         * math/libm-test.inc (cexp_test_data): Correct expected return
1883         value for NaN + i0.  Add another test.
1885 2013-08-22  David S. Miller  <davem@davemloft.net>
1887         * po/ca.po: Update Catalan translation from translation project.
1888         * po/uk.po: Add Ukrainian translations from translation project.
1890 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
1892         [BZ #15797]
1893         * math/s_fdim.c (__fdim): Check for infinite arguments if result
1894         is infinite, not alongside NaN test.
1895         * math/s_fdimf.c (__fdimf): Likewise.
1896         * math/s_fdiml.c (__fdiml): Likewise.
1897         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
1898         errno is unchanged.
1900 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
1902         * argp/argp-help.c: Fix typos.
1903         * crypt/speeds.c: Likewise.
1904         * csu/check_fds.c: Likewise.
1905         * elf/dl-load.c: Likewise.
1906         * elf/dl-open.c: Likewise.
1907         * elf/reldep3.c: Likewise.
1908         * elf/reldep.c: Likewise.
1909         * elf/sprof.c: Likewise.
1910         * iconv/iconv_charmap.c: Likewise.
1911         * iconv/skeleton.c: Likewise.
1912         * iconv/strtab.c: Likewise.
1913         * io/lockf64.c: Likewise.
1914         * libio/libioP.h: Likewise.
1915         * resolv/gai_notify.c: Likewise.
1916         * resolv/ns_name.c: Likewise.
1917         * resolv/ns_samedomain.c: Likewise.
1918         * resolv/res_send.c: Likewise.
1919         * stdlib/random.c: Likewise.
1920         * sunrpc/rpc/xdr.h: Likewise.
1921         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1922         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1923         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1924         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1925         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1926         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1927         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1928         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1929         * sysdeps/mach/hurd/check_fds.c: Likewise.
1930         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1931         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1932         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1933         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1934         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1935         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1936         * sysdeps/pthread/aio_notify.c: Likewise.
1937         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1938         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1939         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1940         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1941         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1943 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1945         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1946         version if bit_Slow_SSE4_2 is set.
1947         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1948         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1950 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1952         [BZ #15867]
1953         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1954         trampoline stack frame information.
1955         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1956         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1957         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1958         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1959         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1960         * sysdeps/unix/sysv/linux/powerpc/init-first.c
1961         (_libc_vdso_platform_setup): Initialize the signal trampolines.
1962         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1963         sa_flags value.
1964         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1965         interrupting a syscall and set with option SA_SIGINFO.
1967 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1969         [BZ #15531]
1970         * math/s_cproj.c (__cproj): Only return an infinity if one part of
1971         argument is infinite.
1972         * math/s_cprojf.c (__cprojf): Likewise.
1973         * math/s_cprojl.c (__cprojl): Likewise.
1974         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1975         * math/libm-test.inc (cproj_test_data): Add more tests.
1977         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1979         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1980         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1981         size.  Use __ffs to determine corresponding shift.
1983 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1984             Roland McGrath  <roland@hack.frob.com>
1986         * Makefile (INSTALL): Remove trailing blank lines from output of
1987         makeinfo.
1989 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1991         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1992         Align 32 bit compat elf_greg to 8 bytes.
1994 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1996         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1998 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2000         * string/strcoll_l.c (coll_seq): New structure.
2001         (get_next_seq_cached): New function.
2002         (get_next_seq): New function.
2003         (do_compare): New function.
2004         (STRCOLL): Use GNU style definition.  Simplify implementation
2005         by using get_next_seq, get_next_seq_cached and do_compare.
2007 2013-08-16  Florian Weimer  <fweimer@redhat.com>
2009         [BZ #14699]
2010         CVE-2013-4237
2011         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2012         member.
2013         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2014         member.
2015         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2016         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2017         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
2018         conditional.
2019         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2020         GETDENTS_64BIT_ALIGNED.
2021         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2022         * manual/filesys.texi (Reading/Closing Directory): Document
2023         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
2024         strongly.
2025         * manual/conf.texi (Limits for Files): Add portability note to
2026         NAME_MAX, PATH_MAX.
2027         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2029 2013-08-13  Andreas Schwab  <schwab@suse.de>
2031         [BZ #15749]
2032         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2033         of fabs.
2034         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2035         LDBL_MAX_EXP >= 16384]: Add tests for it.
2037 2013-08-12  David S. Miller  <davem@davemloft.net>
2039         * version.h (RELEASE): Set to "development".
2040         (VERSION): Set to "2.18.90".
2041         * NEWS: Add 2.19 section.
2043 2013-08-03  David S. Miller  <davem@davemloft.net>
2045         * po/ko.po: Update Korean translation from translation project.
2047 2013-08-01  David S. Miller  <davem@davemloft.net>
2049         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
2050         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2051         Bilka.
2053 2013-07-30  David S. Miller  <davem@davemloft.net>
2055         * po/fr.po: Update French translation from translation project.
2057 2013-07-28  David S. Miller  <davem@davemloft.net>
2059         * po/cs.po: Update Czech translation from translation project.
2061         * po/sv.po: Update Swedish translation from translation project.
2063 2013-07-27  David S. Miller  <davem@davemloft.net>
2065         * po/eo.po: Update Esperanto translation from translation project.
2067         * po/vi.po: Update Vietnamese translation from translation project.
2069         * po/de.po: Update German translation from translation project.
2071 2013-07-26  David S. Miller  <davem@davemloft.net>
2073         * po/bg.po: Update Bulgarian translation from translation project.
2075         * po/nl.po: Update Dutch translation from translation project.
2076         * po/pl.po: Update Polish translation from translation project.
2077         * po/ru.po: Update Russian translation from translation project.
2079 2013-07-24  David S. Miller  <davem@davemloft.net>
2081         * po/libc.pot: Update.
2083 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2085         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2086         variable page size.
2087         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2088         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2089         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2091 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2093         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2095 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2096             Andreas Schwab  <schwab@suse.de>
2097             Roland McGrath  <roland@hack.frob.com>
2098             Joseph Myers  <joseph@codesourcery.com>
2099             Carlos O'Donell  <carlos@redhat.com>
2101         [BZ #15755]
2102         * config.h.in: Define HAVE_PT_CHOWN.
2103         * config.make.in (build-pt-chown): New variable.
2104         * configure.in (--enable-pt_chown): New configure option.
2105         * configure: Regenerate.
2106         * login/Makefile: Include Makeconfig.  Build pt_chown only if
2107         build-pt-chown is enabled.
2108         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2109         pt_chown to fix pty ownership.
2110         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2111         CLOSE_ALL_FDS.
2112         * manual/install.texi (Configuring and compiling): Mention
2113         --enable-pt_chown. Add @findex for grantpt.
2114         * INSTALL: Regenerate.
2116 2013-07-20  David S. Miller  <davem@davemloft.net>
2118         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2119         difference between 32-bit and 64-bit.
2121 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
2123         [BZ #15711]
2124         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2125         Avoid system header dependency with -ffreestanding.
2126         ($(objpfx)bits/syscall%d): Likewise.
2128 2013-07-13  David S. Miller  <davem@davemloft.net>
2130         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2131         underflows from atanl/atan2l due to bug 15319.
2132         (casinh_test_data): Likewise.
2134 2013-07-07  David S. Miller  <davem@davemloft.net>
2136         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2138 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
2140         * sysdeps/i386/fpu/libm-test-ulps: Update.
2141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2143 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2145         * configure.in (--enable-lock-elision): Fix message text.
2146         * INSTALL: Regenerate.
2147         * configure: Regenerate.
2149 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2153 2013-07-03  Andreas Jaeger  <aj@suse.de>
2155         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2156         define.
2157         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2158         (ptrace_peeksiginfo_args): Add.
2159         (__ptrace_peeksiginfo_flags): Add.
2160         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2161         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2162         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2164 2013-07-03  Allan McRae  <allan@archlinux.org>
2166         * sysdeps/i386/fpu/libm-test-ulps: Update.
2168 2013-07-02  David S. Miller  <davem@davemloft.net>
2170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2172 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
2174         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2176 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2178         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2181 2013-07-02  Andi Kleen <ak@linux.intel.com>
2183         * config.h.in (ENABLE_LOCK_ELISION): Add.
2184         * configure.in (--enable-lock-elision): Add option.
2185         * manual/install.texi: Document --enable lock elision.
2186         * configure: Regenerate
2187         * INSTALL: Regenerate.
2189 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
2191         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2192         SSE4.2 strcasecmp for libc.a.
2193         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2195 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2197         [BZ #13304]
2198         * soft-fp/op-common.h (_FP_FMA): New macro.
2199         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2200         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
2201         (_FP_MUL_MEAT_1_imm): ... here.
2202         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
2203         (_FP_MUL_MEAT_1_wide): ... here.
2204         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
2205         (_FP_MUL_MEAT_1_hard): ... here.
2206         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2207         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
2208         (_FP_MUL_MEAT_2_wide): ... here.
2209         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
2210         (_FP_MUL_MEAT_2_wide_3mul): ... here.
2211         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
2212         (_FP_MUL_MEAT_2_gmp): ... here.
2213         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2214         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
2215         (_FP_MUL_MEAT_4_wide): ... here.
2216         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
2217         (_FP_MUL_MEAT_4_gmp): ... here.
2218         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2219         (_FP_WFRACBITS_DW_S): Likewise.
2220         (_FP_WFRACXBITS_DW_S): Likewise.
2221         (_FP_HIGHBIT_DW_S): Likewise.
2222         (FP_FMA_S): Likewise.
2223         (_FP_FRAC_HIGH_DW_S): Likewise.
2224         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2225         (_FP_WFRACBITS_DW_D): Likewise.
2226         (_FP_WFRACXBITS_DW_D): Likewise.
2227         (_FP_HIGHBIT_DW_D): Likewise.
2228         (FP_FMA_D): Likewise.
2229         (_FP_FRAC_HIGH_DW_D): Likewise.
2230         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2231         (_FP_WFRACBITS_DW_E): Likewise.
2232         (_FP_WFRACXBITS_DW_E): Likewise.
2233         (_FP_HIGHBIT_DW_E): Likewise.
2234         (FP_FMA_E): Likewise.
2235         (_FP_FRAC_HIGH_DW_E): Likewise.
2236         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2237         (_FP_WFRACBITS_DW_Q): Likewise.
2238         (_FP_WFRACXBITS_DW_Q): Likewise.
2239         (_FP_HIGHBIT_DW_Q): Likewise.
2240         (FP_FMA_Q): Likewise.
2241         (_FP_FRAC_HIGH_DW_Q): Likewise.
2242         * soft-fp/fmasf4.c: New file.
2243         * soft-fp/fmadf4.c: Likewise.
2244         * soft-fp/fmatf4.c: Likewise.
2246 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2248         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2249         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2250         Silvermont.
2251         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2252         macro.
2253         (index_Slow_SSE4_2): Likewise.
2254         (index_Prefer_PMINUB_for_stringop): Likewise.
2255         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2256         bit_Slow_SSE4_2 is set.
2257         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2258         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2260 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2262         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2263         rtld_global._dl_hwcap2.
2264         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2265         POWER8.
2266         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2267         POWER8 feature descriptions defined in _dl_hwcap2.
2268         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2269         string handling for POWER8 feature bits.
2270         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2271         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2272         _dl_powerpc_cap_flags.
2273         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2274         * sysdeps/powerpc/rtld-global-offsets.sym
2275         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2276         _dl_hwcap2 in the rtld_global_ro structure.
2278 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2280         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2281         hardware capabilities in support of AT_HWCAP2.
2282         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2283         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2284         GLRO(dl_hwcap2).
2285         (_dl_show_auxv): Add support for calling _dl_procinfo to display
2286         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
2287         explicitly the unknown a_type display mechanism is used.
2288         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2289         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2290         struct member.
2291         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2292         to macro prototype for AT_HWCAP2 support.
2293         * sysdeps/i386/dl-procinfo.h: Likewise.
2294         * sysdeps/s390/dl-procinfo.h: Likewise.
2295         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2296         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
2297         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
2298         return -1 for unknown a_type display fallback.
2299         * sysdeps/sparc/dl-procinfo.h: Likewise.
2300         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2301         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2303 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
2305         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2306         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2308 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
2310         [BZ #12492]
2311         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2312         mprotect making __stack_prot writable.
2314 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
2315             Joseph Myers  <joseph@codesourcery.com>
2317         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2318         as being properly aligned.
2320 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
2322         * dlfcn/modstatic5.c: New file.
2323         * dlfcn/tststatic5.c: New file.
2324         * dlfcn/Makefile (tests): Add tststatic5.
2325         (tests-static): Likewise.
2326         (modules-names): Add modstatic5.
2327         (tststatic5-ENV): New variable.
2328         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2330         [BZ #15022]
2331         * elf/dl-support.c (_dl_main_map): New variable.
2332         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2333         (_dl_nns, _dl_load_adds): Set to 1.
2334         (_dl_initial_searchlist): Refer to _dl_main_map.
2335         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2336         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2337         call to _dl_get_origin.
2338         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2339         around call_map.
2340         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2341         * dlfcn/modstatic3.c: New file.
2342         * dlfcn/tststatic3.c: New file.
2343         * dlfcn/tststatic4.c: New file.
2344         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2345         (tests-static): Likewise.
2346         (modules-names): Add modstatic3.
2347         (tststatic3-ENV, tststatic4-ENV): New variables.
2348         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2349         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2351 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
2353         * configure.in (CC): Require GCC version 4.4 or later.
2354         * configure: Regenerated.
2355         * manual/install.texi (Tools for Compilation): Update GCC version
2356         requirement.
2357         * INSTALL: Regenerated.
2359 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2361         [BZ #15674]
2362         * string/test-memcmp.c (check2): New.
2363         (main): Call check2.
2365         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2367 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
2369         [BZ #15022]
2370         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2371         over to...
2372         (dl_open_worker) [!SHARED]: ... here.
2374 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2376         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2378 2013-06-25  Richard Henderson  <rth@redhat.com>
2380         * locale/programs/locarchive.c: Include <libc-internal.h>
2382 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
2384         * manual/texinfo.tex: Update to version 2013-06-21.17, with
2385         trailing whitespace removed.
2387 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2389         [BZ #10283]
2390         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2391         * locale/programs/locarchive.c: Include libc-mmap.h.
2392         (prepare_address_space): Take two new outputs (the mmap base and len).
2393         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
2394         values.
2395         (create_archive): Declare new mmap base and len values for
2396         prepare_address_space, and store the result in ah.
2397         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2398         (enlarge_archive): If ah->mmap_base is not NULL, use that and
2399         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2400         Declare new mmap base and len values for
2401         prepare_address_space, and store the result in new_ah.
2402         (open_archive): Declare new mmap base and len values for
2403         prepare_address_space, and store the result in ah.
2404         (close_archive): If ah->mmap_base is not NULL, use that and
2405         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2406         * sysdeps/generic/libc-mmap.h: New file.
2408 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2410         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2411         (ALIGN_UP): Likewise.
2412         (PTR_ALIGN_DOWN): Likewise.
2413         (PTR_ALIGN_UP): Likewise.
2415 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2417         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2418         entry mapped to PPC_PLATFORM_POWER8.
2419         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2420         POWER8.
2421         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2422         (_dl_string_platform): Add case for exporting platform position for
2423         POWER8.
2424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2425         search path to sysdeps/powerpc/powerpc32/power8 directory.
2426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2427         search path to sysdeps/powerpc/powerpc64/power8 directory.
2428         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2429         power7 directories.
2430         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2431         power7 directories.
2433 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2435         * INSTALL: Regenerate.
2437         * nscd/connections.c (nscd_init): Fix comment.
2439 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
2441         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2443         [BZ #15667]
2444         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2445         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2447 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
2449         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2450         DL_DST_REQ_STATIC.
2451         (DL_DST_REQ_STATIC): Remove macro.
2453 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
2455         [BZ #7006]
2456         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2457         with a shift of 0 bits.
2459 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
2461         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2462         $(tststatic-ENV).
2464 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2466         [BZ #15655]
2467         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2469 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2471         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2472         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2473         accepts -fno-tree-loop-distribute-patterns.
2474         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2475         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2476         recursive call.
2477         * string/memset.c (memset): Likewise.
2478         * string/test-memmove.c (simple_memmove): Disable loop transformation
2479         to library calls.
2480         * string/test-memset.c (simple_memset): Likewise.
2481         * benchtests/bench-memmove.c (simple_memmove): Likewise.
2482         * benchtests/bench-memset.c (simple_memset): Likewise.
2483         * configure: Regenerated.
2485 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
2487         * math/test-misc.c (main): Ignore fesetround failure when failures
2488         of subsequent rounding tests would be ignored.
2490         [BZ #15654]
2491         * math/fedisblxcpt.c (fedisableexcept): Return 0.
2492         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2493         * math/fegetenv.c (__fegetenv): Return 0.
2494         * math/fegetexcept.c (fegetexcept): Return 0.
2495         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2496         FE_TONEAREST.
2497         * math/feholdexcpt.c (feholdexcept): Return 0.
2498         * math/fesetenv.c (__fesetenv): Return 0.
2499         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2500         argument FE_TONEAREST.
2501         * math/feupdateenv.c (__feupdateenv): Return 0.
2502         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2504 2013-06-18  Roland McGrath  <roland@hack.frob.com>
2506         * elf/rtld-Rules (rtld-compile-command.S): New variable.
2507         (rtld-compile-command.s, rtld-compile-command.c): New variables.
2508         ($(objpfx)rtld-%.os rules): Use them.
2510 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2512         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2513         fields.
2515 2013-06-17  Roland McGrath  <roland@hack.frob.com>
2517         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2518         length of target pattern, then descending length of dependency pattern.
2519         * configure.in (AWK): Require gawk 3.1.2 or newer.
2520         * manual/install.texi (Tools for Compilation): Say that we do.
2521         * configure: Regenerated.
2523         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2524         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2525         * scripts/sysd-rules.awk: ... this new script.
2526         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2527         than a glob-style pattern.
2529 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
2531         * math/test-misc.c (main): Do not treat incorrectly rounded
2532         conversions as failure unless ROUNDING_TESTS passes.
2534 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
2536         [BZ #15631]
2537         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2538         restore exception state around main square root computation, then
2539         check for inexactness explicitly.
2541         * math/libm-test.inc (fma_test_data): Add another test.
2543 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2545         * manual/threads.texi (Non-POSIX Extensions): New document
2546         node.  Document pthread_getattr_default_np and
2547         pthread_setattr_default_np.
2549         * Versions.def (libpthread): Add GLIBC_2.18.
2550         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2552         Likewise.
2553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2554         Likewise.
2555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2556         Likewise.
2557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2558         Likewise.
2559         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2560         Likewise.
2561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2562         Likewise.
2563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2564         Likewise.
2565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2566         Likewise.
2567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2568         Likewise.
2570 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2573         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2575 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2576             H.J. Lu  <hjl.tools@gmail.com>
2578         [BZ #15627]
2579         * sysdeps/x86_64/rtld-memset.c: Remove file.
2580         * sysdeps/x86_64/rtld-memset.S: New file.
2582 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
2584         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2585         (test_in_one_mode): Take arguments for whether the rounding mode
2586         is supported for each floating-point type.
2587         (do_test): Pass new arguments to test_in_one_mode using
2588         ROUNDING_TESTS.
2590 2013-06-13  Roland McGrath  <roland@hack.frob.com>
2592         * posix/tst-waitid.c (do_test): Distinguish different instances of
2593         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
2594         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2595         before entering the kernel for waitpid.
2597 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2599         * NEWS: Fix note on clock function precision.  Text by Roland
2600         McGrath.
2602 2013-06-13  Roland McGrath  <roland@hack.frob.com>
2604         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2605         it into place only when and if the sanity check passes.
2607 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
2609         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2610         output for whether conversion result is exact.  Take argument
2611         indicating whether type is IBM long double.
2612         (round_for_all): Change need_exact field to ibm_ld.
2613         * stdlib/tst-strtod-round.c (struct exactness): New type.
2614         (struct test): Change bool ld_ok field to struct exactness exact.
2615         (TEST): Update all definitions for change to field.
2616         (tests): Regenerate array contents.
2617         (test_in_one_mode): Take pointer to new field instead of old ld_ok
2618         field value.  Check for IBM long double here.
2619         (do_test): Update calls to test_in_one_mode.
2621 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2623         [BZ #12515]
2624         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2625         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2627 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2629         [BZ #15605]
2630         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2631         generated by the compiler on loop optimizations.
2632         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2633         general definitions.
2635 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
2637         * math/bug-nextafter.c: Include <math-tests.h>.
2638         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2639         the relevant type.
2640         * math/bug-nexttoward.c: Include <math-tests.h>.
2641         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2642         the relevant type.
2643         * math/test-misc.c: Include <math-tests.h>.
2644         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2645         the relevant type.
2647 2013-06-12  Andreas Jaeger  <aj@suse.de>
2649         * po/ia.po: Update Interlingua translation from translation
2650         project.
2652 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2654         * include/fenv.h: Include stdbool.h.
2655         (struct rm_ctx): New structure.
2656         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2657         Define macro.
2658         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2659         (SET_RESTORE_ROUNDF): Likewise.
2660         (SET_RESTORE_ROUNDL): Likewise.
2661         (SET_RESTORE_ROUND_NOEX): Likewise.
2662         (SET_RESTORE_ROUND_NOEXF): Likewise.
2663         (SET_RESTORE_ROUND_NOEXL): Likewise.
2664         (SET_RESTORE_ROUND_53BIT): Likewise.
2665         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2666         (libc_feresetround_noexf_ctx): Likewise.
2667         (libc_feresetround_noexl_ctx): Likewise.
2668         (libc_feholdsetround_53bit_ctx): Likewise.
2669         (libc_feresetround_53bit_ctx): Likewise.
2670         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2671         (libc_feholdexcept_setround_sse_ctx): New function.
2672         (libc_fesetenv_sse_ctx): Likewise.
2673         (libc_feupdateenv_sse_ctx): Likewise.
2674         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2675         (libc_feholdexcept_setround_387_ctx): Likewise.
2676         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2677         (libc_feholdsetround_387_prec_ctx): Likewise.
2678         (libc_feholdsetround_387_ctx): Likewise.
2679         (libc_feholdsetround_387_53bit_ctx): Likewise.
2680         (libc_feholdsetround_sse_ctx): Likewise.
2681         (libc_feresetround_sse_ctx): Likewise.
2682         (libc_feresetround_387_ctx): Likewise.
2683         (libc_feupdateenv_387_ctx): Likewise.
2684         (libc_feholdexcept_setroundf_ctx): Define macro.
2685         (libc_fesetenvf_ctx): Likewise.
2686         (libc_feupdateenvf_ctx): Likewise.
2687         (libc_feholdsetroundf_ctx): Likewise.
2688         (libc_feresetroundf_ctx): Likewise.
2689         (libc_feholdexcept_setround_ctx): Likewise.
2690         (libc_fesetenv_ctx): Likewise.
2691         (libc_feupdateenv_ctx): Likewise.
2692         (libc_feholdsetround_ctx): Likewise.
2693         (libc_feresetround_ctx): Likewise.
2694         (libc_feholdexcept_setroundl_ctx): Likewise.
2695         (libc_feupdateenvl_ctx): Likewise.
2696         (libc_feholdsetroundl_ctx): Likewise.
2697         (libc_feresetroundl_ctx): Likewise.
2698         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2699         (libc_feresetround_53bit_ctx): Likewise.
2701 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2703         * locale/iso-639.def: Convert to UTF-8.
2705 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
2707         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2708         (EXCEPTION_TESTS_double): Likewise.
2709         (EXCEPTION_TESTS_long_double): Likewise.
2710         (EXCEPTION_TESTS): Likewise.
2711         * math/libm-test.inc (test_exceptions): Only test exceptions if
2712         EXCEPTION_TESTS (FLOAT).
2714 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2716         * benchtests/Makefile (string-bench): Add strcpy_chk and
2717         stpcpy_chk.
2718         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2719         * benchtests/bench-stpcpy_chk.c: New file.
2720         * benchtests/bench-strcpy_chk-ifunc.c: New file.
2721         * benchtests/bench-strcpy_chk.c: New file.
2722         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2723         code.
2724         (do_test): Likewise.
2726 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2728         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2729         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2730         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2731         with tabs where appropriate.
2732         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2733         dl-procinfo.h.
2734         [PPC_PLATFORM_PPC440]: Likewise.
2735         [PPC_PLATFORM_PPC464]: Likewise.
2736         [PPC_PLATFORM_PPC476]: Likewise.
2737         (_dl_string_platform): Add support for detecting ppc405, ppc440,
2738         ppc464, and ppc476 platform strings merging from ports/
2739         dl-procinfo.h.
2741 2013-06-11  Andreas Schwab  <schwab@suse.de>
2743         [BZ #14991]
2744         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2745         (from_ucs4_idx): Regenerate.
2746         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2747         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2748         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2749         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2750         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2751         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2752         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2753         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2754         from FROM_LOOP and TO_LOOP specific macros.
2755         (BODY): Handle combining characters.
2756         * iconvdata/BIG5HKSCS.irreversible: Update.
2757         * iconvdata/BIG5HKSCS.precomposed: New file.
2758         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2759         characters.
2760         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2762 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2764         * include/sys/time.h: Fix indentation and add copyright header.
2766         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2767         (do_test): Likewise.
2768         * string/test-memchr.c (do_one_test): Likewise.
2769         (do_test): Likewise.
2770         * string/test-memcmp.c (do_one_test): Likewise.
2771         (do_test): Likewise.
2772         * string/test-memcpy.c (do_one_test): Likewise.
2773         (do_test): Likewise.
2774         * string/test-memmem.c (do_one_test): Likewise.
2775         (do_test): Likewise.
2776         (do_random_tests): Likewise.
2777         * string/test-memmove.c (do_one_test): Likewise.
2778         (do_test): Likewise.
2779         * string/test-memset.c (do_one_test): Likewise.
2780         (do_test): Likewise.
2781         * string/test-rawmemchr.c (do_one_test): Likewise.
2782         (do_test): Likewise.
2783         * string/test-strcasecmp.c (do_one_test): Likewise.
2784         (do_test): Likewise.
2785         * string/test-strcasestr.c (do_one_test): Likewise.
2786         (do_test): Likewise.
2787         * string/test-strcat.c (do_one_test): Likewise.
2788         (do_test): Likewise.
2789         * string/test-strchr.c (do_one_test): Likewise.
2790         (do_test): Likewise.
2791         * string/test-strcmp.c (do_one_test): Likewise.
2792         (do_test): Likewise.
2793         * string/test-strcpy.c (do_one_test): Likewise.
2794         (do_test): Likewise.
2795         * string/test-string.h: Likewise.
2796         (test_init): Likewise.
2797         * string/test-strlen.c (do_one_test): Likewise.
2798         (do_test): Likewise.
2799         * string/test-strncasecmp.c (do_one_test): Likewise.
2800         (do_test): Likewise.
2801         * string/test-strncat.c (do_one_test): Likewise.
2802         (do_test): Likewise.
2803         * string/test-strncmp.c (do_one_test): Likewise.
2804         (do_test_limit): Likewise.
2805         (do_test): Likewise.
2806         * string/test-strncpy.c (do_one_test): Likewise.
2807         (do_test): Likewise.
2808         * string/test-strnlen.c (do_one_test): Likewise.
2809         (do_test): Likewise.
2810         * string/test-strpbrk.c (do_one_test): Likewise.
2811         (do_test): Likewise.
2812         * string/test-strrchr.c (do_one_test): Likewise.
2813         (do_test): Likewise.
2814         * string/test-strspn.c (do_one_test): Likewise.
2815         (do_test): Likewise.
2816         * string/test-strstr.c (do_one_test): Likewise.
2817         (do_test): Likewise.
2819         * benchtests/Makefile (string-bench): Add string benchmarks.
2820         * benchtests/bench-bcopy-ifunc.c: New file.
2821         * benchtests/bench-bcopy.c: New file.
2822         * benchtests/bench-bzero-ifunc.c: New file.
2823         * benchtests/bench-bzero.c: New file.
2824         * benchtests/bench-memccpy-ifunc.c: New file.
2825         * benchtests/bench-memccpy.c: New file.
2826         * benchtests/bench-memchr-ifunc.c: New file.
2827         * benchtests/bench-memchr.c: New file.
2828         * benchtests/bench-memcmp-ifunc.c: New file.
2829         * benchtests/bench-memcmp.c: New file.
2830         * benchtests/bench-memmem-ifunc.c: New file.
2831         * benchtests/bench-memmem.c: New file.
2832         * benchtests/bench-memmove-ifunc.c: New file.
2833         * benchtests/bench-memmove.c: New file.
2834         * benchtests/bench-mempcpy-ifunc.c: New file.
2835         * benchtests/bench-mempcpy.c: New file.
2836         * benchtests/bench-memset-ifunc.c: New file.
2837         * benchtests/bench-memset.c: New file.
2838         * benchtests/bench-rawmemchr-ifunc.c: New file.
2839         * benchtests/bench-rawmemchr.c: New file.
2840         * benchtests/bench-stpcpy-ifunc.c: New file.
2841         * benchtests/bench-stpcpy.c: New file.
2842         * benchtests/bench-stpncpy-ifunc.c: New file.
2843         * benchtests/bench-stpncpy.c: New file.
2844         * benchtests/bench-strcasecmp-ifunc.c: New file.
2845         * benchtests/bench-strcasecmp.c: New file.
2846         * benchtests/bench-strcasestr-ifunc.c: New file.
2847         * benchtests/bench-strcasestr.c: New file.
2848         * benchtests/bench-strcat-ifunc.c: New file.
2849         * benchtests/bench-strcat.c: New file.
2850         * benchtests/bench-strchr-ifunc.c: New file.
2851         * benchtests/bench-strchr.c: New file.
2852         * benchtests/bench-strchrnul-ifunc.c: New file.
2853         * benchtests/bench-strchrnul.c: New file.
2854         * benchtests/bench-strcmp-ifunc.c: New file.
2855         * benchtests/bench-strcmp.c: New file.
2856         * benchtests/bench-strcpy-ifunc.c: New file.
2857         * benchtests/bench-strcpy.c: New file.
2858         * benchtests/bench-strcspn-ifunc.c: New file.
2859         * benchtests/bench-strcspn.c: New file.
2860         * benchtests/bench-strlen-ifunc.c: New file.
2861         * benchtests/bench-strlen.c: New file.
2862         * benchtests/bench-strncasecmp-ifunc.c: New file.
2863         * benchtests/bench-strncasecmp.c: New file.
2864         * benchtests/bench-strncat-ifunc.c: New file.
2865         * benchtests/bench-strncat.c: New file.
2866         * benchtests/bench-strncmp-ifunc.c: New file.
2867         * benchtests/bench-strncmp.c: New file.
2868         * benchtests/bench-strncpy-ifunc.c: New file.
2869         * benchtests/bench-strncpy.c: New file.
2870         * benchtests/bench-strnlen-ifunc.c: New file.
2871         * benchtests/bench-strnlen.c: New file.
2872         * benchtests/bench-strpbrk-ifunc.c: New file.
2873         * benchtests/bench-strpbrk.c: New file.
2874         * benchtests/bench-strrchr-ifunc.c: New file.
2875         * benchtests/bench-strrchr.c: New file.
2876         * benchtests/bench-strspn-ifunc.c: New file.
2877         * benchtests/bench-strspn.c: New file.
2878         * benchtests/bench-strstr-ifunc.c: New file.
2879         * benchtests/bench-strstr.c: New file.
2881         * benchtests/Makefile: Disable parallel execution of targets.
2882         (string-bench): Add memcpy.
2883         (benchset): New variable to store a list of benchmark sets.
2884         (bench-func): Renamed from bench.
2885         (bench-set): New target.
2886         (bench): Depend on bench-func and bench-set.
2887         * benchtests/README: Add section on benchmark sets.
2888         * benchtests/bench-memcpy-ifunc.c: New file.
2889         * benchtests/bench-memcpy.c: New file.
2890         * benchtests/bench-string.h: New file.
2892 2013-06-11  Andreas Schwab  <schwab@suse.de>
2894         [BZ #15577]
2895         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2896         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2897         values in the triple.
2898         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2899         terminator in the group key.
2901 2013-06-11  Andreas Jaeger  <aj@suse.de>
2903         * po/zh_TW.po: Update Chinese (traditional) translation from
2904         translation project.
2906 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2908         * include/time.h (__clock_gettime): Add libc_hidden_proto.
2909         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2910         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
2911         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2912         (clock_getcpuclockid): Likewise.
2913         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2914         Add weak_alias and libc_hidden_def.
2915         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2916         * rt/clock_gettime.c (clock_gettime): Rename to
2917         __clock_gettime.  Add weak_alias and libc_hidden_def.
2918         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2919         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2920         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
2921         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2922         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2923         Likewise.
2924         * rt/clock_settime.c (clock_settime): Rename to
2925         __clock_settime.  Add weak_alias and libc_hidden_def.
2926         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2928 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
2930         * mach/err_boot.sub: Remove trailing whitespace.
2931         * mach/err_ipc.sub: Likewise.
2932         * mach/err_mach.sub: Likewise.
2934         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2935         (ROUNDING_TESTS_double): Likewise.
2936         (ROUNDING_TESTS_long_double): Likewise.
2937         (ROUNDING_TESTS): Likewise.
2938         * math/libm-test.inc: Include <math-tests.h>.
2939         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2940         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2941         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2942         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2944 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2946         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2947         of assigning.
2949 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
2951         * sysdeps/gnu/errlist.awk: Do not generate space at end of
2952         otherwise empty TRANS lines.
2953         * sysdeps/gnu/errlist.c: Regenerated.
2955         * catgets/gencat.c (error_print): Use (void) in function
2956         definition.
2957         * crypt/crypt_util.c (__init_des): Likewise.
2958         * crypt/speeds.c (Stop): Likewise.
2959         (main): Likewise.
2960         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2961         * inet/ruserpass.c (token): Likewise.
2962         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2963         * intl/localealias.c (extend_alias_table): Likewise.
2964         * intl/plural-exp.c (init_germanic_plural): Likewise.
2965         * libio/fcloseall.c (__fcloseall): Likewise.
2966         * libio/genops.c (_IO_flush_all): Likewise.
2967         (_IO_flush_all_linebuffered): Likewise.
2968         (_IO_cleanup): Likewise.
2969         (_IO_iter_begin): Likewise.
2970         (_IO_iter_end): Likewise.
2971         (_IO_list_lock): Likewise.
2972         (_IO_list_unlock): Likewise.
2973         (_IO_list_resetlock): Likewise.
2974         * libio/getchar.c (getchar): Likewise.
2975         * libio/getchar_u.c (getchar_unlocked): Likewise.
2976         * libio/getwchar.c (getwchar): Likewise.
2977         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2978         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2979         * login/getpt.c (__getpt): Likewise.
2980         * login/tst-utmp.c (main): Likewise.
2981         * malloc/hooks.c (__malloc_check_init): Likewise.
2982         * malloc/malloc.c (__malloc_stats): Likewise.
2983         * malloc/mtrace.c (tr_break): Likewise.
2984         (mtrace): Likewise.
2985         (muntrace): Likewise.
2986         * misc/fstab.c (endfsent): Likewise.
2987         * misc/getclktck.c (__getclktck): Likewise.
2988         * misc/getdtsz.c (__getdtablesize): Likewise.
2989         * misc/gethostid.c (gethostid): Likewise.
2990         * misc/getpagesize.c (__getpagesize): Likewise.
2991         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2992         (__get_nprocs): Likewise.
2993         (__get_phys_pages): Likewise.
2994         (__get_avphys_pages): Likewise.
2995         * misc/getttyent.c (getttyent): Likewise.
2996         (setttyent): Likewise.
2997         (endttyent): Likewise.
2998         * misc/getusershell.c (getusershell): Likewise.
2999         (endusershell): Likewise.
3000         (setusershell): Likewise.
3001         (initshells): Likewise.
3002         * misc/hsearch.c (__hdestroy): Likewise.
3003         * misc/sync.c (sync): Likewise.
3004         * misc/syslog.c (closelog_internal): Likewise.
3005         (closelog): Likewise.
3006         * misc/ttyslot.c (ttyslot): Likewise.
3007         * misc/vhangup.c (vhangup): Likewise.
3008         * posix/fork.c (__fork): Likewise.
3009         * posix/getegid.c (__getegid): Likewise.
3010         * posix/geteuid.c (__geteuid): Likewise.
3011         * posix/getgid.c (__getgid): Likewise.
3012         * posix/getpid.c (__getpid): Likewise.
3013         * posix/getppid.c (__getppid): Likewise.
3014         * posix/getuid.c (__getuid): Likewise.
3015         * posix/pause.c (pause): Likewise.
3016         * posix/setpgrp.c (setpgrp): Likewise.
3017         * posix/setsid.c (__setsid): Likewise.
3018         * posix/test-vfork.c (noop): Likewise.
3019         * resolv/gethnamaddr.c (_endhtent): Likewise.
3020         (_gethtent): Likewise.
3021         (ht_endhostent): Likewise.
3022         (gethostent): Likewise.
3023         (dns_service): Likewise.
3024         * stdlib/drand48.c (drand48): Likewise.
3025         * stdlib/lrand48.c (lrand48): Likewise.
3026         * stdlib/mrand48.c (mrand48): Likewise.
3027         * stdlib/rand.c (rand): Likewise.
3028         * stdlib/random.c (__random): Likewise.
3029         * stdlib/setenv.c (clearenv): Likewise.
3030         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3031         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3032         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3033         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3034         (__get_nprocs): Likewise.
3035         (__get_phys_pages): Likewise.
3036         (__get_avphys_pages): Likewise.
3037         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3038         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3039         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3040         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3041         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3042         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3043         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3044         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3045         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3046         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3047         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3048         * sysdeps/mach/hurd/sync.c (sync): Likewise.
3049         * sysdeps/posix/clock.c (clock): Likewise.
3050         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3051         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3052         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3053         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3054         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3055         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3056         (__get_nprocs_conf): Likewise.
3057         (__get_phys_pages): Likewise.
3058         (__get_avphys_pages): Likewise.
3059         * time/clock.c (clock): Likewise.
3060         * time/tzset.c (__tzname_max): Likewise.
3062 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
3064         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3065         (__bswap_32): Do not use "register".
3066         * crypt/crypt.c (_ufc_doit_r): Likewise.
3067         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3068         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3069         * gmon/gmon.c (__monstartup): Likewise.
3070         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3071         * hurd/hurdmalloc.c (more_memory): Likewise.
3072         (malloc): Likewise.
3073         (free): Likewise.
3074         (realloc): Likewise.
3075         (malloc_fork_prepare): Likewise.
3076         (malloc_fork_parent): Likewise.
3077         (malloc_fork_child): Likewise.
3078         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3079         (_svcauth_des): Likewise.
3080         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3081         * inet/inet_net.c (inet_network): Likewise.
3082         * inet/inet_netof.c (inet_netof): Likewise.
3083         * inet/rcmd.c (__validuser2_sa): Likewise.
3084         * io/fts.c (fts_open): Likewise.
3085         (fts_load): Likewise.
3086         (fts_close): Likewise.
3087         (fts_read): Likewise.
3088         (fts_children): Likewise.
3089         (fts_build): Likewise.
3090         (fts_stat): Likewise.
3091         (fts_sort): Likewise.
3092         (fts_alloc): Likewise.
3093         (fts_lfree): Likewise.
3094         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3095         (_IO_file_xsgetn): Likewise.
3096         (_IO_file_xsgetn_mmap): Likewise.
3097         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3098         (_IO_cookie_write): Likewise.
3099         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3100         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3101         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3102         * malloc/obstack.c (_obstack_begin): Likewise.
3103         (_obstack_begin_1): Likewise.
3104         (_obstack_newchunk): Likewise.
3105         (_obstack_allocated_p): Likewise.
3106         (obstack_free): Likewise.
3107         (_obstack_memory_used): Likewise.
3108         * misc/getttyent.c (getttynam): Likewise.
3109         (getttyent): Likewise.
3110         (skip): Likewise.
3111         (value): Likewise.
3112         * misc/getusershell.c (initshells): Likewise.
3113         * misc/syslog.c (__vsyslog_chk): Likewise.
3114         * misc/ttyslot.c (ttyslot): Likewise.
3115         * nis/nis_hash.c (__nis_hash): Likewise.
3116         * posix/fnmatch_loop.c (FCT): Likewise.
3117         * posix/getconf.c (print_all): Likewise.
3118         (main): Likewise.
3119         * posix/getopt.c (exchange): Likewise.
3120         * posix/glob.c (globfree): Likewise.
3121         (prefix_array): Likewise.
3122         (__glob_pattern_type): Likewise.
3123         * resolv/arpa/nameser.h (NS_GET16): Likewise.
3124         (NS_GET32): Likewise.
3125         (NS_PUT16): Likewise.
3126         (NS_PUT32): Likewise.
3127         * resolv/gethnamaddr.c (getanswer): Likewise.
3128         (gethostbyname2): Likewise.
3129         (gethostbyaddr): Likewise.
3130         (_gethtent): Likewise.
3131         (_gethtbyname2): Likewise.
3132         (_gethtbyaddr): Likewise.
3133         * resolv/ns_print.c (dst_s_get_int16): Likewise.
3134         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3135         * resolv/res_init.c (__res_vinit): Likewise.
3136         (net_mask): Likewise.
3137         * resolv/res_mkquery.c (outchar): Likewise.
3138         (PRINT): Likewise.
3139         * stdio-common/printf_fp.c (outchar): Likewise.
3140         (PRINT): Likewise.
3141         * stdio-common/printf_fphex.c (outchar): Likewise.
3142         (PRINT): Likewise.
3143         * stdio-common/printf_size.c (outchar): Likewise.
3144         (PRINT): Likewise.
3145         * stdio-common/test_rdwr.c (main): Likewise.
3146         * stdio-common/tfformat.c (matches): Likewise.
3147         * stdio-common/vfprintf.c (outchar): Likewise.
3148         (printf_unknown): Likewise.
3149         (buffered_vfprintf): Likewise.
3150         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3151         * stdio-common/xbug.c (AppendToBuffer): Likewise.
3152         (ReadFile): Likewise.
3153         * stdlib/qsort.c (SWAP): Likewise.
3154         (_quicksort): Likewise.
3155         * stdlib/setenv.c (__add_to_environ): Likewise.
3156         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3157         * stdlib/strtol_l.c (__strtol_l): Likewise.
3158         * stdlib/tst-strtod.c (main): Likewise.
3159         * stdlib/tst-strtol.c (main): Likewise.
3160         * stdlib/tst-strtoll.c (main): Likewise.
3161         * string/bits/string2.h (__strcmp_cc): Likewise.
3162         (__strcmp_cg): Likewise.
3163         (__strcspn_c1): Likewise.
3164         (__strcspn_c2): Likewise.
3165         (__strcspn_c3): Likewise.
3166         (__strspn_c1): Likewise.
3167         (__strspn_c2): Likewise.
3168         (__strspn_c3): Likewise.
3169         (__strsep_1c): Likewise.
3170         (__strsep_2c): Likewise.
3171         (__strsep_3c): Likewise.
3172         * string/memccpy.c (__memccpy): Likewise.
3173         * string/stpcpy.c (__stpcpy): Likewise.
3174         * string/strcmp.c (strcmp): Likewise.
3175         * string/strrchr.c (strrchr): Likewise.
3176         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3177         Likewise.
3178         * sysdeps/mach/hurd/getcwd.c
3179         (_hurd_canonicalize_directory_name_internal): Likewise.
3180         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3181         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3182         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3183         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3184         Likewise, in both definitions.
3185         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3186         definitions.
3187         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3188         64] (__bswap_64): Likewise.
3189         * time/test_time.c (main): Likewise.
3190         * time/tzfile.c (__tzfile_read): Likewise.
3191         (__tzfile_compute): Likewise.
3192         * time/tzset.c (__tzset_parse_tz): Likewise.
3193         (tzset_internal): Likewise.
3194         (compute_change): Likewise.
3195         * wcsmbs/wcscat.c (__wcscat): Likewise.
3196         * wcsmbs/wcschr.c (wcschr): Likewise.
3197         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3198         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3199         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3200         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3201         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3202         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3203         * wcsmbs/wmemchr.c (wmemchr): Likewise.
3204         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3205         * wcsmbs/wmemset.c (wmemset): Likewise.
3207 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
3209         * scripts/config.guess: Update to version 2013-05-16.
3210         * scripts/config.sub: Update to version 2013-04-24.
3211         * scripts/install-sh: Update to version 2011-11-20.07.
3212         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3213         * scripts/move-if-change: Update to version 2012-01-06 07:23.
3215 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
3217         * debug/fgetws_u_chk.c: Fix leading whitespaces.
3218         * elf/sln.c: Likewise.
3219         * hurd/hurd/ioctl.h: Likewise.
3220         * hurd/hurdmalloc.c: Likewise.
3221         * hurd/xattr.c: Likewise.
3222         * include/shlib-compat.h: Likewise.
3223         * inet/ruserpass.c: Likewise.
3224         * libio/iofgets_u.c: Likewise.
3225         * libio/iofgetws_u.c: Likewise.
3226         * locale/programs/ld-identification.c: Likewise.
3227         * locale/programs/ld-time.c: Likewise.
3228         * mach/msg-destroy.c: Likewise.
3229         * nss/nss_files/files-netgrp.c: Likewise.
3230         * resolv/res_data.c: Likewise.
3231         * soft-fp/op-1.h: Likewise.
3232         * soft-fp/op-2.h: Likewise.
3233         * soft-fp/op-4.h: Likewise.
3234         * soft-fp/op-common.h: Likewise.
3235         * stdio-common/printf_fphex.c: Likewise.
3236         * stdlib/strtod_l.c: Likewise.
3237         * sunrpc/rpc/clnt.h: Likewise.
3238         * sysdeps/generic/framestate.c: Likewise.
3239         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3240         * sysdeps/i386/bsd-setjmp.S: Likewise.
3241         * sysdeps/i386/__longjmp.S: Likewise.
3242         * sysdeps/i386/setjmp.S: Likewise.
3243         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3244         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3245         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3246         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3247         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3248         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3249         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3250         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3251         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3252         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3253         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3254         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3255         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3256         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3257         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3258         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3259         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3260         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3261         * sysdeps/ieee754/support.c: Likewise.
3262         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3263         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3264         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3265         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3266         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3267         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3268         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3269         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3270         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3271         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3272         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3273         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3274         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3275         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3276         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3277         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3278         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3281 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
3283         * posix/transbug.c: Remove executable mode.
3285 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
3287         * crypt/speeds.c: Remove trailing whitespace.
3288         * dlfcn/default.c: Likewise.
3289         * elf/ifuncdep2.c: Likewise.
3290         * elf/ifuncmain1.c: Likewise.
3291         * elf/ifuncmain1vis.c: Likewise.
3292         * elf/testobj.h: Likewise.
3293         * elf/tst-stackguard1.c: Likewise.
3294         * gmon/sys/gmon.h: Likewise.
3295         * hurd/hurdmsg.c: Likewise.
3296         * hurd/new-fd.c: Likewise.
3297         * hurd/ports-get.c: Likewise.
3298         * iconvdata/ibm1008_420.c: Likewise.
3299         * inet/tst-getni1.c: Likewise.
3300         * inet/tst-getni2.c: Likewise.
3301         * libio/ioungetc.c: Likewise.
3302         * libio/wfiledoalloc.c: Likewise.
3303         * manual/libm-err-tab.pl: Likewise.
3304         * math/w_dremf.c: Likewise.
3305         * misc/ftruncate.c: Likewise.
3306         * posix/bug-glob2.c: Likewise.
3307         * posix/tst-pcre.c: Likewise.
3308         * posix/wait4.c: Likewise.
3309         * resolv/README: Likewise.
3310         * resolv/res_debug.h: Likewise.
3311         * resolv/tst-inet_ntop.c: Likewise.
3312         * setjmp/bug269-setjmp.c: Likewise.
3313         * soft-fp/extended.h: Likewise.
3314         * soft-fp/op-1.h: Likewise.
3315         * soft-fp/op-2.h: Likewise.
3316         * soft-fp/op-4.h: Likewise.
3317         * soft-fp/op-8.h: Likewise.
3318         * soft-fp/testit.c: Likewise.
3319         * stdio-common/bug16.c: Likewise.
3320         * stdlib/random.c: Likewise.
3321         * sunrpc/rpcsvc/rquota.x: Likewise.
3322         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3323         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3324         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3325         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3326         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3327         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3328         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3329         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3330         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3331         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3332         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3333         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3334         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3335         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3336         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3337         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3338         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3339         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3340         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3341         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3342         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3343         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3344         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3345         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3346         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3347         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3348         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3349         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3350         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3351         * sysdeps/ieee754/s_lib_version.c: Likewise.
3352         * sysdeps/mach/hurd/check_fds.c: Likewise.
3353         * sysdeps/mach/hurd/getsockname.c: Likewise.
3354         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3355         * sysdeps/mach/hurd/recvfrom.c: Likewise.
3356         * sysdeps/powerpc/bits/link.h: Likewise.
3357         * sysdeps/powerpc/dl-procinfo.c: Likewise.
3358         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3359         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3360         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3361         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3362         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3363         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3364         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3365         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3366         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3367         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3368         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3369         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3370         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3371         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3372         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3373         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3374         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3375         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3376         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3377         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3378         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3379         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3380         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3381         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3382         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3383         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3384         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3385         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3386         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3387         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3388         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3389         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3390         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3391         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3392         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3393         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3394         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3395         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3396         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3397         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3398         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3399         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3400         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3401         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3402         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3403         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3404         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3405         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3406         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3407         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3408         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3409         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3410         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3411         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3412         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3413         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3414         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3415         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3416         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3417         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3418         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3419         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3420         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3421         * sysdeps/powerpc/sysdep.h: Likewise.
3422         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3423         * sysdeps/s390/s390-64/sub_n.S: Likewise.
3424         * sysdeps/sh/dl-trampoline.S: Likewise.
3425         * sysdeps/sh/memset.S: Likewise.
3426         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3427         * sysdeps/sh/strlen.S: Likewise.
3428         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3429         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3430         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3431         * sysdeps/sparc/sparc32/rem.S: Likewise.
3432         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3433         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3434         * sysdeps/sparc/sparc32/strchr.S: Likewise.
3435         * sysdeps/sparc/sparc32/udiv.S: Likewise.
3436         * sysdeps/sparc/sparc32/urem.S: Likewise.
3437         * sysdeps/sparc/sparc64/add_n.S: Likewise.
3438         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3439         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3440         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3441         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3442         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3443         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3444         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3445         * sysdeps/unix/bsd/times.c: Likewise.
3446         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3447         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3451         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3452         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3453         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3454         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3455         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3456         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3457         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3458         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3459         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3460         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3461         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3462         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3463         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3464         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3465         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3466         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3467         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3468         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3469         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3470         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3471         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3472         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3473         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3474         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3475         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3476         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3477         * sysdeps/x86_64/strcspn.S: Likewise.
3479 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3481         * locale/C-translit.h: Revert #include <stdint.h> because this is a
3482         generated file.  Regenerate properly from gen-translit.pl.
3483         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
3484         locale/C-translit.h.
3486 2013-06-05  Andreas Schwab  <schwab@suse.de>
3488         [BZ #15100]
3489         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3490         week as 6 instead of -1.
3491         * time/tst-strptime.c (day_tests): Add test case.
3493 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3495         * sysdeps/generic/math_private.h
3496         (libc_feholdexcept_setround_53bit): Replace with
3497         libc_feholdsetround_53bit.
3498         (libc_feupdateenv_53bit): Replace with
3499         libc_feresetround_53bit.
3500         (SET_RESTORE_ROUND_53BIT): Adjust.
3502 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3504         * string/test-strchrnul.c: Add copyright header.
3506         * posix/tst-getaddrinfo4.c: Increase test timeout.
3508 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
3510         [BZ #15536]
3511         * math/libm-test.inc (MAX_EXP): Remove
3512         (MIN_EXP): Define.
3513         (ulp): Use MIN_EXP - MANT_DIG.
3514         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3516 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
3518         * po/be.po: Revert last change.
3519         * po/zh_CN.po: Likewise.
3520         * po/header.pot: Likewise.
3522 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
3524         * Makefile ($(common-objpfx)linkobj/libc.so): Define
3525         link-libc-deps to empty as target-specific variable.
3526         * Makerules (link-libc-args): New variable.
3527         (libc-for-link): Likewise.
3528         (link-libc-deps): Likewise.
3529         (lib%.so): Depend on $(link-libc-deps).  Link with
3530         $(link-libc-args).
3531         (build-module): Link with $(link-libc-args).
3532         (build-module-asneeded): Likewise.
3533         (build-module-helper-objlist): Filter out $(link-libc-deps) from
3534         list of objects.
3535         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3536         target-specific variable.
3537         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3538         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3539         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3540         libc.
3541         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3542         libc and ld.so.
3543         ($(objpfx)libpcprofile.so): Likewise.
3544         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3545         libc_nonshared.a.
3546         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3547         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3548         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3549         $(link-libc-deps).
3550         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3551         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3552         * login/Makefile ($(objpfx)libutil.so): Likewise.
3553         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3554         * math/Makefile ($(objpfx)libm.so): Likewise.
3555         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3556         $(objpfx)libnsl.so): Define libc-for-link as target-specific
3557         variable instead of depending directly on libc.
3558         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3559         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3560         $(link-libc-deps).
3561         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3562         libc.
3563         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3564         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3565         ($(objpfx)libanl.so): Likewise.
3566         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3567         ld.so.
3568         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3569         $(link-libc-deps).
3570         * sysdeps/i386/fpu/Makefile: Remove file.
3571         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3572         ($(objpfx)libm.so): Remove dependency on ld.so.
3574 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
3576         [BZ # 15553]
3577         * nis/yp_xdr.c (XDRMAXNAME): Define.
3578         (XDRMAXRECORD): Define.
3579         (xdr_domainname): Use XDRMAXNAME.
3580         (xdr_mapname): Likewise.
3581         (xdr_peername): Likewise.
3582         (xdr_keydat): Use XDRMAXRECORD.
3583         (xdr_valdat): Likewise.
3585 2013-05-30  Jeff Law  <law@redhat.com>
3587         [BZ #14256]
3588         * manual/errno.texi (ESTALE): Update to account for more than
3589         just NFS file systems.
3590         * sysdeps/gnu/errlist.c: Regenerated.
3592 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3594         [BZ #15465]
3595         * elf/Makefile (tests): Add tst-null-argv.
3596         (modules-names):  Add tst-null-argv-lib.
3597         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3598         (tst-null-argv-ENV): Set environment for tst-null-argv.
3599         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3600         (RTLD_PROGNAME): New macro.
3601         * elf/tst-null-argv.c: New test case.
3602         * elf/tst-null-argv-lib.c: Library for test case.
3603         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3604         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3605         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3606         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3607         * elf/dl-init.c (call_init): Likewise.
3608         (_dl_init): Likewise.
3609         * elf/dl-load.c (print_search_path): Likewise.
3610         (_dl_map_object): Likewise.
3611         * elf/dl-lookup.c (do_lookup_x): Likewise.
3612         (add_dependency): Likewise.
3613         (_dl_lookup_symbol_x): Likewise.
3614         (_dl_debug_bindings): Likewise.
3615         * elf/dl-open.c (_dl_show_scope): Likewise.
3616         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3617         * elf/dl-version.c (match_symbol): Likewise.
3618         (_dl_check_map_versions): Likewise.
3619         * elf/rtld.c (dl_main): Likewise.
3620         (print_unresolved): Use RTLD_PROGNAME.
3621         (print_missing_version): Likewise.
3622         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3623         (elf_machine_rela): Likewise.
3624         * sysdeps/powerpc/powerpc32/dl-machine.c
3625         (__process_machine_rela): Likewise.
3626         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3627         Likewise.
3628         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3629         Likewise.
3630         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3631         Likewise.
3632         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3633         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3634         Likewise.
3635         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3636         Likewise.
3637         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3639 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
3641         * po/be.po: Add descriptive title.
3642         * po/zh_CN.po: Likewise.
3643         * po/header.pot: Likewise.
3645 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
3647         * locale/programs/locarchive.c (create_archive): Inlucde fname in
3648         error message.
3649         (enlarge_archive): Likewise.
3651 2013-05-28  Ben North  <ben@redfrontdoor.org>
3653         * manual/arith.texi (frexp): It is the magnitude of the return
3654         value which lies in [0.5, 1), not the return value itself.
3656 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3660 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
3662         * stdio-common/bug26.c (main): Correct fscanf template.
3664         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3665         declare _dl_skip_args.
3667         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3668         Don't declare.
3670         * manual/platform.texi: Add missing @end deftypefun.
3672 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
3674         [BZ #15529]
3675         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3676         bit of mantissa of 2^16382.
3677         * math/libm-test.inc (hypot_test_data): Add more tests.
3679         * math/libm-test.inc: Add drem and pow10 to list of tested
3680         functions.
3681         (pow10_test): New function.
3682         (drem_test): Likewise.
3683         (drem_test_tonearest): Likewise.
3684         (drem_test_towardzero): Likewise.
3685         (drem_test_downward): Likewise.
3686         (drem_test_upward): Likewise.
3687         (main): Call the new functions.
3689         * math/libm-test.inc (finite_test_data): Remove.
3690         (finite_test): Run tests from isfinite_test_data.
3691         (gamma_test_data): Remove.
3692         (gamma_test): Run tests from lgamma_test_data.
3693         * sysdeps/i386/fpu/libm-test-ulps: Update.
3694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3696 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3698         * manual/platform.texi: Add PowerPC PPR function set documentation.
3699         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3700         implementation.
3702 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
3704         * math/libm-test.inc (MAX_EXP): Define.
3705         (ULPDIFF): Define.
3706         (ulp): New function.
3707         (check_float_internal): Use ULPDIFF.
3708         (cpow_test): Disable failing test.
3709         (check_ulp): Test ulp() implemetnation.
3710         (main): Call check_ulp before starting tests.
3712 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
3714         * math/gen-libm-test.pl (generate_testfile): Do not handle
3715         START_DATA and END_DATA.
3716         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3717         END_DATA.
3718         (acos_tonearest_test_data): Likewise.
3719         (acos_towardzero_test_data): Likewise.
3720         (acos_downward_test_data): Likewise.
3721         (acos_upward_test_data): Likewise.
3722         (acosh_test_data): Likewise.
3723         (asin_test_data): Likewise.
3724         (asin_tonearest_test_data): Likewise.
3725         (asin_towardzero_test_data): Likewise.
3726         (asin_downward_test_data): Likewise.
3727         (asin_upward_test_data): Likewise.
3728         (asinh_test_data): Likewise.
3729         (atan_test_data): Likewise.
3730         (atanh_test_data): Likewise.
3731         (atan2_test_data): Likewise.
3732         (cabs_test_data): Likewise.
3733         (cacos_test_data): Likewise.
3734         (cacosh_test_data): Likewise.
3735         (carg_test_data): Likewise.
3736         (casin_test_data): Likewise.
3737         (casinh_test_data): Likewise.
3738         (catan_test_data): Likewise.
3739         (catanh_test_data): Likewise.
3740         (cbrt_test_data): Likewise.
3741         (ccos_test_data): Likewise.
3742         (ccosh_test_data): Likewise.
3743         (ceil_test_data): Likewise.
3744         (cexp_test_data): Likewise.
3745         (cimag_test_data): Likewise.
3746         (clog_test_data): Likewise.
3747         (clog10_test_data): Likewise.
3748         (conj_test_data): Likewise.
3749         (copysign_test_data): Likewise.
3750         (cos_test_data): Likewise.
3751         (cos_tonearest_test_data): Likewise.
3752         (cos_towardzero_test_data): Likewise.
3753         (cos_downward_test_data): Likewise.
3754         (cos_upward_test_data): Likewise.
3755         (cosh_test_data): Likewise.
3756         (cosh_tonearest_test_data): Likewise.
3757         (cosh_towardzero_test_data): Likewise.
3758         (cosh_downward_test_data): Likewise.
3759         (cosh_upward_test_data): Likewise.
3760         (cpow_test_data): Likewise.
3761         (cproj_test_data): Likewise.
3762         (creal_test_data): Likewise.
3763         (csin_test_data): Likewise.
3764         (csinh_test_data): Likewise.
3765         (csqrt_test_data): Likewise.
3766         (ctan_test_data): Likewise.
3767         (ctan_tonearest_test_data): Likewise.
3768         (ctan_towardzero_test_data): Likewise.
3769         (ctan_downward_test_data): Likewise.
3770         (ctan_upward_test_data): Likewise.
3771         (ctanh_test_data): Likewise.
3772         (ctanh_tonearest_test_data): Likewise.
3773         (ctanh_towardzero_test_data): Likewise.
3774         (ctanh_downward_test_data): Likewise.
3775         (ctanh_upward_test_data): Likewise.
3776         (erf_test_data): Likewise.
3777         (erfc_test_data): Likewise.
3778         (exp_test_data): Likewise.
3779         (exp_tonearest_test_data): Likewise.
3780         (exp_towardzero_test_data): Likewise.
3781         (exp_downward_test_data): Likewise.
3782         (exp_upward_test_data): Likewise.
3783         (exp10_test_data): Likewise.
3784         (exp2_test_data): Likewise.
3785         (expm1_test_data): Likewise.
3786         (fabs_test_data): Likewise.
3787         (fdim_test_data): Likewise.
3788         (finite_test_data): Likewise.
3789         (floor_test_data): Likewise.
3790         (fma_test_data): Likewise.
3791         (fma_towardzero_test_data): Likewise.
3792         (fma_downward_test_data): Likewise.
3793         (fma_upward_test_data): Likewise.
3794         (fmax_test_data): Likewise.
3795         (fmin_test_data): Likewise.
3796         (fmod_test_data): Likewise.
3797         (fpclassify_test_data): Likewise.
3798         (frexp_test_data): Likewise.
3799         (gamma_test_data): Likewise.
3800         (hypot_test_data): Likewise.
3801         (ilogb_test_data): Likewise.
3802         (isfinite_test_data): Likewise.
3803         (isgreater_test_data): Likewise.
3804         (isgreaterequal_test_data): Likewise.
3805         (isinf_test_data): Likewise.
3806         (isless_test_data): Likewise.
3807         (islessequal_test_data): Likewise.
3808         (islessgreater_test_data): Likewise.
3809         (isnan_test_data): Likewise.
3810         (isnormal_test_data): Likewise.
3811         (issignaling_test_data): Likewise.
3812         (isunordered_test_data): Likewise.
3813         (j0_test_data): Likewise.
3814         (j1_test_data): Likewise.
3815         (jn_test_data): Likewise.
3816         (ldexp_test_data): Likewise.
3817         (lgamma_test_data): Likewise.
3818         (lrint_test_data): Likewise.
3819         (lrint_tonearest_test_data): Likewise.
3820         (lrint_towardzero_test_data): Likewise.
3821         (lrint_downward_test_data): Likewise.
3822         (lrint_upward_test_data): Likewise.
3823         (llrint_test_data): Likewise.
3824         (llrint_tonearest_test_data): Likewise.
3825         (llrint_towardzero_test_data): Likewise.
3826         (llrint_downward_test_data): Likewise.
3827         (llrint_upward_test_data): Likewise.
3828         (log_test_data): Likewise.
3829         (log10_test_data): Likewise.
3830         (log1p_test_data): Likewise.
3831         (log2_test_data): Likewise.
3832         (logb_test_data): Likewise.
3833         (logb_downward_test_data): Likewise.
3834         (lround_test_data): Likewise.
3835         (llround_test_data): Likewise.
3836         (modf_test_data): Likewise.
3837         (nearbyint_test_data): Likewise.
3838         (nextafter_test_data): Likewise.
3839         (nexttoward_test_data): Likewise.
3840         (pow_test_data): Likewise.
3841         (pow_tonearest_test_data): Likewise.
3842         (pow_towardzero_test_data): Likewise.
3843         (pow_downward_test_data): Likewise.
3844         (pow_upward_test_data): Likewise.
3845         (remainder_test_data): Likewise.
3846         (remainder_tonearest_test_data): Likewise.
3847         (remainder_towardzero_test_data): Likewise.
3848         (remainder_downward_test_data): Likewise.
3849         (remainder_upward_test_data): Likewise.
3850         (remquo_test_data): Likewise.
3851         (rint_test_data): Likewise.
3852         (rint_tonearest_test_data): Likewise.
3853         (rint_towardzero_test_data): Likewise.
3854         (rint_downward_test_data): Likewise.
3855         (rint_upward_test_data): Likewise.
3856         (round_test_data): Likewise.
3857         (scalb_test_data): Likewise.
3858         (scalbn_test_data): Likewise.
3859         (scalbln_test_data): Likewise.
3860         (signbit_test_data): Likewise.
3861         (sin_test_data): Likewise.
3862         (sin_tonearest_test_data): Likewise.
3863         (sin_towardzero_test_data): Likewise.
3864         (sin_downward_test_data): Likewise.
3865         (sin_upward_test_data): Likewise.
3866         (sincos_test_data): Likewise.
3867         (sinh_test_data): Likewise.
3868         (sinh_tonearest_test_data): Likewise.
3869         (sinh_towardzero_test_data): Likewise.
3870         (sinh_downward_test_data): Likewise.
3871         (sinh_upward_test_data): Likewise.
3872         (sqrt_test_data): Likewise.
3873         (tan_test_data): Likewise.
3874         (tan_tonearest_test_data): Likewise.
3875         (tan_towardzero_test_data): Likewise.
3876         (tan_downward_test_data): Likewise.
3877         (tan_upward_test_data): Likewise.
3878         (tanh_test_data): Likewise.
3879         (tgamma_test_data): Likewise.
3880         (trunc_test_data): Likewise.
3881         (y0_test_data): Likewise.
3882         (y1_test_data): Likewise.
3883         (yn_test_data): Likewise.
3884         (significand_test_data): Likewise.
3886         * math/gen-libm-test.pl (@functions): Remove variable.
3887         (generate_testfile): Don't handle START and END lines.
3888         * math/libm-test.inc (START): New macro.
3889         (END): Likewise.
3890         (END_COMPLEX): Likewise.
3891         (acos_test): Use END macro without arguments.
3892         (acos_test_tonearest): Likewise.
3893         (acos_test_towardzero): Likewise.
3894         (acos_test_downward): Likewise.
3895         (acos_test_upward): Likewise.
3896         (acosh_test): Likewise.
3897         (asin_test): Likewise.
3898         (asin_test_tonearest): Likewise.
3899         (asin_test_towardzero): Likewise.
3900         (asin_test_downward): Likewise.
3901         (asin_test_upward): Likewise.
3902         (asinh_test): Likewise.
3903         (atan_test): Likewise.
3904         (atanh_test): Likewise.
3905         (atan2_test): Likewise.
3906         (cabs_test): Likewise.
3907         (cacos_test): Use END_COMPLEX macro without arguments.
3908         (cacosh_test): Likewise.
3909         (carg_test): Use END macro without arguments.
3910         (casin_test): Use END_COMPLEX macro without arguments.
3911         (casinh_test): Likewise.
3912         (catan_test): Likewise.
3913         (catanh_test): Likewise.
3914         (cbrt_test): Use END macro without arguments.
3915         (ccos_test): Use END_COMPLEX macro without arguments.
3916         (ccosh_test): Likewise.
3917         (ceil_test): Use END macro without arguments.
3918         (cexp_test): Use END_COMPLEX macro without arguments.
3919         (cimag_test): Use END macro without arguments.
3920         (clog_test): Use END_COMPLEX macro without arguments.
3921         (clog10_test): Likewise.
3922         (conj_test): Likewise.
3923         (copysign_test): Use END macro without arguments.
3924         (cos_test): Likewise.
3925         (cos_test_tonearest): Likewise.
3926         (cos_test_towardzero): Likewise.
3927         (cos_test_downward): Likewise.
3928         (cos_test_upward): Likewise.
3929         (cosh_test): Likewise.
3930         (cosh_test_tonearest): Likewise.
3931         (cosh_test_towardzero): Likewise.
3932         (cosh_test_downward): Likewise.
3933         (cosh_test_upward): Likewise.
3934         (cpow_test): Use END_COMPLEX macro without arguments.
3935         (cproj_test): Likewise.
3936         (creal_test): Use END macro without arguments.
3937         (csin_test): Use END_COMPLEX macro without arguments.
3938         (csinh_test): Likewise.
3939         (csqrt_test): Likewise.
3940         (ctan_test): Likewise.
3941         (ctan_test_tonearest): Likewise.
3942         (ctan_test_towardzero): Likewise.
3943         (ctan_test_downward): Likewise.
3944         (ctan_test_upward): Likewise.
3945         (ctanh_test): Likewise.
3946         (ctanh_test_tonearest): Likewise.
3947         (ctanh_test_towardzero): Likewise.
3948         (ctanh_test_downward): Likewise.
3949         (ctanh_test_upward): Likewise.
3950         (erf_test): Use END macro without arguments.
3951         (erfc_test): Likewise.
3952         (exp_test): Likewise.
3953         (exp_test_tonearest): Likewise.
3954         (exp_test_towardzero): Likewise.
3955         (exp_test_downward): Likewise.
3956         (exp_test_upward): Likewise.
3957         (exp10_test): Likewise.
3958         (exp2_test): Likewise.
3959         (expm1_test): Likewise.
3960         (fabs_test): Likewise.
3961         (fdim_test): Likewise.
3962         (finite_test): Likewise.
3963         (floor_test): Likewise.
3964         (fma_test): Likewise.
3965         (fma_test_towardzero): Likewise.
3966         (fma_test_downward): Likewise.
3967         (fma_test_upward): Likewise.
3968         (fmax_test): Likewise.
3969         (fmin_test): Likewise.
3970         (fmod_test): Likewise.
3971         (fpclassify_test): Likewise.
3972         (frexp_test): Likewise.
3973         (gamma_test): Likewise.
3974         (hypot_test): Likewise.
3975         (ilogb_test): Likewise.
3976         (isfinite_test): Likewise.
3977         (isgreater_test): Likewise.
3978         (isgreaterequal_test): Likewise.
3979         (isinf_test): Likewise.
3980         (isless_test): Likewise.
3981         (islessequal_test): Likewise.
3982         (islessgreater_test): Likewise.
3983         (isnan_test): Likewise.
3984         (isnormal_test): Likewise.
3985         (issignaling_test): Likewise.
3986         (isunordered_test): Likewise.
3987         (j0_test): Likewise.
3988         (j1_test): Likewise.
3989         (jn_test): Likewise.
3990         (ldexp_test): Likewise.
3991         (lgamma_test): Likewise.
3992         (lrint_test): Likewise.
3993         (lrint_test_tonearest): Likewise.
3994         (lrint_test_towardzero): Likewise.
3995         (lrint_test_downward): Likewise.
3996         (lrint_test_upward): Likewise.
3997         (llrint_test): Likewise.
3998         (llrint_test_tonearest): Likewise.
3999         (llrint_test_towardzero): Likewise.
4000         (llrint_test_downward): Likewise.
4001         (llrint_test_upward): Likewise.
4002         (log_test): Likewise.
4003         (log10_test): Likewise.
4004         (log1p_test): Likewise.
4005         (log2_test): Likewise.
4006         (logb_test): Likewise.
4007         (logb_test_downward): Likewise.
4008         (lround_test): Likewise.
4009         (llround_test): Likewise.
4010         (modf_test): Likewise.
4011         (nearbyint_test): Likewise.
4012         (nextafter_test): Likewise.
4013         (nexttoward_test): Likewise.
4014         (pow_test): Likewise.
4015         (pow_test_tonearest): Likewise.
4016         (pow_test_towardzero): Likewise.
4017         (pow_test_downward): Likewise.
4018         (pow_test_upward): Likewise.
4019         (remainder_test): Likewise.
4020         (remainder_test_tonearest): Likewise.
4021         (remainder_test_towardzero): Likewise.
4022         (remainder_test_downward): Likewise.
4023         (remainder_test_upward): Likewise.
4024         (remquo_test): Likewise.
4025         (rint_test): Likewise.
4026         (rint_test_tonearest): Likewise.
4027         (rint_test_towardzero): Likewise.
4028         (rint_test_downward): Likewise.
4029         (rint_test_upward): Likewise.
4030         (round_test): Likewise.
4031         (scalb_test): Likewise.
4032         (scalbn_test): Likewise.
4033         (scalbln_test): Likewise.
4034         (signbit_test): Likewise.
4035         (sin_test): Likewise.
4036         (sin_test_tonearest): Likewise.
4037         (sin_test_towardzero): Likewise.
4038         (sin_test_downward): Likewise.
4039         (sin_test_upward): Likewise.
4040         (sincos_test): Likewise.
4041         (sinh_test): Likewise.
4042         (sinh_test_tonearest): Likewise.
4043         (sinh_test_towardzero): Likewise.
4044         (sinh_test_downward): Likewise.
4045         (sinh_test_upward): Likewise.
4046         (sqrt_test): Likewise.
4047         (tan_test): Likewise.
4048         (tan_test_tonearest): Likewise.
4049         (tan_test_towardzero): Likewise.
4050         (tan_test_downward): Likewise.
4051         (tan_test_upward): Likewise.
4052         (tanh_test): Likewise.
4053         (tgamma_test): Likewise.
4054         (trunc_test): Likewise.
4055         (y0_test): Likewise.
4056         (y1_test): Likewise.
4057         (yn_test): Likewise.
4058         (significand_test): Likewise.
4060 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
4062         [BZ #15381]
4063         * libio/genops.c (_IO_no_init): Initialize wide struct info.
4065 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4067         [BZ #14894]
4068         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4069         __ppc_mdoio and __ppc_mdoom.
4070         * manual/platform.texi: Document new functions __ppc_yield,
4071         __ppc_mdoio and __ppc_mdoom.
4073 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
4075         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4076         (main): Mention "tls" pseudo-hwcap is legacy.
4077         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4079 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4081         * math/gen-libm-test.pl (parse_args): Output only string of
4082         arguments as text for test name, not full call or descriptions of
4083         tests for extra outputs.
4084         (generate_testfile): Do not pass function name to parse_args.
4085         Generate this_func variable from START.
4086         * math/libm-test.inc (struct test_f_f_data): Rename test_name
4087         field to arg_str.
4088         (struct test_ff_f_data): Likewise.
4089         (test_ff_f_data_nexttoward): Likewise.
4090         (struct test_fi_f_data): Likewise.
4091         (struct test_fl_f_data): Likewise.
4092         (struct test_if_f_data): Likewise.
4093         (struct test_fff_f_data): Likewise.
4094         (struct test_c_f_data): Likewise.
4095         (struct test_f_f1_data): Likewise.  Remove field extra_name.
4096         (struct test_fF_f1_data): Likewise.
4097         (struct test_ffI_f1_data): Likewise.
4098         (struct test_c_c_data): Rename test_name field to arg_str.
4099         (struct test_cc_c_data): Likewise.
4100         (struct test_f_i_data): Likewise.
4101         (struct test_ff_i_data): Likewise.
4102         (struct test_f_l_data): Likewise.
4103         (struct test_f_L_data): Likewise.
4104         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
4105         and extra2_name.
4106         (COMMON_TEST_SETUP): New macro.
4107         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4108         (COMMON_TEST_CLEANUP): Likewise.
4109         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4110         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
4111         macros.
4112         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4113         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
4114         macros.
4115         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4116         (RUN_TEST_fff_f): Take argument string.  Call new setup and
4117         cleanup macros.
4118         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4119         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
4120         macros.
4121         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4122         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
4123         macros.
4124         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4125         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
4126         cleanup macros.
4127         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4128         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
4129         cleanup macros.
4130         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4131         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
4132         cleanup macros.
4133         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4134         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
4135         macros.
4136         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4137         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
4138         macros.
4139         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4140         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
4141         macros.
4142         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4143         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
4144         cleanup macros.
4145         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4146         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
4147         cleanup macros.
4148         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4149         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
4150         macros.
4151         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4152         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
4153         cleanup macros.
4154         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4155         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
4156         macros.
4157         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4158         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
4159         macros.
4160         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4161         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
4162         cleanup macros.
4163         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4165 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4167         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4168         to _sifields.sigfault.
4169         (si_addr_lsb): Define new macro.
4170         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4171         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4172         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4174 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
4176         [BZ #15441]
4177         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4178         returns -1.
4179         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4180         null return -1.
4181         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4182         loading the domain.
4184 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4186         * math/gen-libm-test.pl (parse_args): Do not include expected
4187         result in test name.
4188         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4189         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4190         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4191         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4192         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4195 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4197         * benchtests/Makefile: Sort function entries.
4199         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4200         tanh, asinh, acosh, atanh.
4201         * benchtests/acos-inputs: New file.
4202         * benchtests/acosh-inputs: New file.
4203         * benchtests/asin-inputs: New file.
4204         * benchtests/asinh-inputs: New file.
4205         * benchtests/atanh-inputs: New file.
4206         * benchtests/cosh-inputs: New file.
4207         * benchtests/log-inputs: New file.
4208         * benchtests/sinh-inputs: New file.
4209         * benchtests/tanh-inputs: New file.
4211 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
4213         [BZ #15339]
4214         * posix/tst-getaddrinfo4.c: New test.
4215         * posix/Makefile (tests): Add it.
4217 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4219         [BZ #15339]
4220         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4221         when no services were used.
4222         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4223         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4225 2013-05-21  Andreas Schwab  <schwab@suse.de>
4227         [BZ #15014]
4228         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4229         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4230         successful.
4231         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4232         redundant variable declarations and reallocation of buffer when
4233         parsing as IPv6 address.  Always set NSS status when called from
4234         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
4235         buffer too small.  Correct computation of needed size.
4236         * nss/Makefile (tests): Add test-digits-dots.
4237         * nss/test-digits-dots.c: New test.
4239 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4241         * benchtests/Makefile: Remove instructions for adding
4242         benchmark tests.
4243         * benchtests/README: New file to explain how to execute and
4244         enhance the benchmark tests.
4246 2013-05-21  Andreas Schwab  <schwab@suse.de>
4248         [BZ #15493]
4249         * setjmp/Makefile (tests): Add tst-sigsetjmp.
4250         * setjmp/tst-sigsetjmp.c: New test.
4252 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4254         * sysdeps/x86_64/memset.S (memset): New implementation.
4255         (__bzero): Likewise.
4256         (__memset_tail): New function.
4258 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4260         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4261         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4262         __memcpy_sse2_unaligned ifunc selection.
4263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4264         Add memcpy-sse2-unaligned.S.
4265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4266         Add: __memcpy_sse2_unaligned.
4268 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
4270         [BZ #15490]
4271         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4272         math_force_eval before restoring floating-point envrionment.
4273         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4274         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4275         Likewise.
4276         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4277         <math_private.h>.
4278         (__nearbyintl): Use math_force_eval before restoring
4279         floating-point environment.
4280         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4282         * math/gen-libm-test.pl (special_functions): Remove.
4283         (parse_args): Don't handle TEST_extra.  Handle functions with no
4284         return value.
4285         * math/libm-test.inc (struct test_sincos_data): Replace with
4286         struct test_fFF_11_data.
4287         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4288         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4289         (sincos_test_data): Change element type to struct
4290         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
4291         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4292         RUN_TEST_LOOP_sincos.
4293         * math/README.libm-test: Don't mention special handling of
4294         individual functions.
4295         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4296         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4297         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4298         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4299         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4302         * math/gen-libm-test.pl (get_variable): Remove function.
4303         (parse_args): Don't show pointer parameters to call in test
4304         names.  Use "extra output N" in test names for extra outputs
4305         rather than naming variables.
4307 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
4309         [BZ #15488]
4310         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4311         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4312         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4313         double tests.
4314         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4315         disable.
4316         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4317         check_long_double.
4319         * math/gen-libm-test.pl (@tests): Remove variable.
4320         ($count): Likewise.
4321         (new_test): Remove function.
4322         (show_exceptions): New function.
4323         (special_functions): Use show_exceptions instead of new_test.
4324         (parse_args): Likewise.
4325         (generate_testfile): Pass only function name in generated call to
4326         print_max_error or print_complex_max_error.
4327         (get_ulps): Do not handle complex tests specially.
4328         (output_test): Rename to ...
4329         (get_all_ulps_for_test): ... this.  Return a string rather than
4330         printing to a file.  Require ulps to be present.
4331         (output_ulps): Generate arrays rather than #defines.
4332         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4333         (struct ulp_data): New type.
4334         (BUILD_COMPLEX_ULP): Remove macro.
4335         (compare_ulp_data): New function.
4336         (find_ulps): Likewise.
4337         (find_test_ulps): Likewise.
4338         (find_function_ulps): Likewise.
4339         (find_complex_function_ulps): Likewise.
4340         (print_max_error): Determine allowed ulps using
4341         find_function_ulps.
4342         (print_complex_max_error): Determine allowed ulps using
4343         find_complex_function_ulps.
4344         (check_float_internal): Determine max ulps using find_test_ulps.
4345         (check_float): Do not take max_ulp parameter.  Update call to
4346         check_float_internal.
4347         (check_complex): Likewise.
4348         (check_int): Do not take max_ulp parameter.
4349         (check_long): Likewise.
4350         (check_bool): Likewise.
4351         (check_longlong): Likewise.
4352         (struct test_f_f_data): Remove max_ulp field.
4353         (struct test_ff_f_data): Likewise.
4354         (struct test_ff_f_data_nexttoward): Likewise.
4355         (struct test_fi_f_data): Likewise.
4356         (struct test_fl_f_data): Likewise.
4357         (struct test_if_f_data): Likewise.
4358         (struct test_fff_f_data): Likewise.
4359         (struct test_c_f_data): Likewise.
4360         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4361         (struct test_fF_f1_data): Likewise.
4362         (struct test_ffI_f1_data): Likewise.
4363         (struct test_c_c_data): Remove max_ulp field.
4364         (struct test_cc_c_data): Likewise.
4365         (struct test_f_i_data): Likewise.
4366         (struct test_ff_i_data): Likewise.
4367         (struct test_f_l_data): Likewise.
4368         (struct test_f_L_data): Likewise.
4369         (struct test_sincos_data): Likewise.
4370         (RUN_TEST_f_f): Do not handle ulps.
4371         (RUN_TEST_LOOP_f_f): Likewise.
4372         (RUN_TEST_2_f): Likewise.
4373         (RUN_TEST_LOOP_2_f): Likewise.
4374         (RUN_TEST_fff_f): Likewise.
4375         (RUN_TEST_LOOP_fff_f): Likewise.
4376         (RUN_TEST_c_f): Likewise.
4377         (RUN_TEST_LOOP_c_f): Likewise.
4378         (RUN_TEST_f_f1): Likewise.
4379         (RUN_TEST_LOOP_f_f1): Likewise.
4380         (RUN_TEST_fF_f1): Likewise.
4381         (RUN_TEST_LOOP_fF_f1): Likewise.
4382         (RUN_TEST_fI_f1): Likewise.
4383         (RUN_TEST_LOOP_fI_f1): Likewise.
4384         (RUN_TEST_ffI_f1): Likewise.
4385         (RUN_TEST_LOOP_ffI_f1): Likewise.
4386         (RUN_TEST_c_c): Likewise.
4387         (RUN_TEST_LOOP_c_c): Likewise.
4388         (RUN_TEST_cc_c): Likewise.
4389         (RUN_TEST_LOOP_cc_c): Likewise.
4390         (RUN_TEST_f_i): Likewise.
4391         (RUN_TEST_LOOP_f_i): Likewise.
4392         (RUN_TEST_f_i_tg): Likewise.
4393         (RUN_TEST_LOOP_f_i_tg): Likewise.
4394         (RUN_TEST_ff_i_tg): Likewise.
4395         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4396         (RUN_TEST_f_b): Likewise.
4397         (RUN_TEST_LOOP_f_b): Likewise.
4398         (RUN_TEST_f_b_tg): Likewise.
4399         (RUN_TEST_LOOP_f_b_tg): Likewise.
4400         (RUN_TEST_f_l): Likewise.
4401         (RUN_TEST_LOOP_f_l): Likewise.
4402         (RUN_TEST_f_L): Likewise.
4403         (RUN_TEST_LOOP_f_L): Likewise.
4404         (RUN_TEST_sincos): Likewise.
4405         (RUN_TEST_LOOP_sincos): Likewise.
4407 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
4409         [BZ #15480]
4410         [BZ #15485]
4411         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4412         main case of finite arguments, set rounding mode to FE_TONEAREST
4413         and discard exceptions.
4414         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4415         exceptions.
4416         (remainder_tonearest_test_data): New variable.
4417         (remainder_test_tonearest): New function.
4418         (remainder_towardzero_test_data): New variable.
4419         (remainder_test_towardzero): New function.
4420         (remainder_downward_test_data): New variable.
4421         (remainder_test_downward): New function.
4422         (remainder_upward_test_data): New variable.
4423         (remainder_test_upward): New function.
4424         (main): Call the new test functions.
4426         * math/libm-test.inc (struct test_f_f1_data): Remove field
4427         extra_init.
4428         (struct test_fF_f1_data): Likewise.
4429         (struct test_ffI_f1_data): Likewise.
4430         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
4431         based on value of EXTRA_EXPECTED.
4432         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4433         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
4434         EXTRA_VAR based on value of EXTRA_EXPECTED.
4435         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4436         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
4437         EXTRA_VAR based on value of EXTRA_EXPECTED.
4438         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4439         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
4440         EXTRA_VAR based on value of EXTRA_EXPECTED.
4441         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4442         * math/gen-libm-test.pl (parse_args): Don't output initializers
4443         for extra output values.
4445         * math/libm-test.inc (check_int): Expect result to be exactly
4446         equal to expected value and do not handle ulps.
4447         (check_long): Likewise.
4448         (check_longlong): Likewise.
4450         * math/libm-test.inc (ceil_test_data): Test for "inexact"
4451         exceptions.
4452         (cimag_test_data): Likewise.
4453         (conj_test_data): Likewise.
4454         (copysign_test_data): Likewise.
4455         (cproj_test_data): Likewise.
4456         (creal_test_data): Likewise.
4457         (fabs_test_data): Likewise.
4458         (fdim_test_data): Likewise.
4459         (finite_test_data): Likewise.
4460         (floor_test_data): Likewise.
4461         (fmax_test_data): Likewise.
4462         (fmin_test_data): Likewise.
4463         (fmod_test_data): Likewise.
4464         (fpclassify_test_data): Likewise.
4465         (frexp_test_data): Likewise.
4466         (ilogb_test_data): Likewise.
4467         (isfinite_test_data): Likewise.
4468         (isgreater_test_data): Likewise.
4469         (isgreaterequal_test_data): Likewise.
4470         (isinf_test_data): Likewise.
4471         (isless_test_data): Likewise.
4472         (islessequal_test_data): Likewise.
4473         (islessgreater_test_data): Likewise.
4474         (isnan_test_data): Likewise.
4475         (isnormal_test_data): Likewise.
4476         (issignaling_test_data): Likewise.
4477         (isunordered_test_data): Likewise.
4478         (ldexp_test_data): Likewise.
4479         (lrint_test_data): Likewise.
4480         (lrint_test_data) [TEST_FLOAT]: Disable one test.
4481         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4482         (lrint_tonearest_test_data): Test for "inexact" exceptions.
4483         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4484         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4485         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4486         test input.
4487         (lrint_towardzero_test_data): Test for "inexact" exceptions.
4488         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4489         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4490         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4491         that test input.
4492         (lrint_downward_test_data): Test for "inexact" exceptions.
4493         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4494         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4495         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4496         test input.
4497         (lrint_upward_test_data): Test for "inexact" exceptions.
4498         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4499         test input.
4500         (llrint_test_data): Test for "inexact" exceptions.
4501         (llrint_test_data) [TEST_FLOAT]: Disable one test.
4502         (llrint_tonearest_test_data): Test for "inexact" exceptions.
4503         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4504         (llrint_towardzero_test_data): Test for "inexact" exceptions.
4505         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4506         (llrint_downward_test_data): Test for "inexact" exceptions.
4507         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4508         (llrint_upward_test_data): Test for "inexact" exceptions.
4509         (logb_test_data): Likewise.
4510         (logb_downward_test_data): Likewise.
4511         (nextafter_test_data): Likewise.
4512         (nexttoward_test_data): Likewise.
4513         (remainder_test_data): Likewise.
4514         (remquo_test_data): Likewise.
4515         (scalbn_test_data): Likewise.
4516         (scalbln_test_data): Likewise.
4517         (signbit_test_data): Likewise.
4518         (sqrt_test_data): Likewise.
4519         (significand_test_data): Likewise.
4521 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4523         [BZ #15424]
4524         * benchtests/bench-modf.c (struct args): Mark arg0 as
4525         volatile.
4526         * scripts/bench.pl: Mark members of struct args as volatile.
4528 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4530         [BZ # 15497]
4531         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4532         negative infinity on POWER6 or lower.
4533         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4535 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4537         [BZ #15442]
4538         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4539         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4540         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4541         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4542         (_FP_SETQNAN): New macro.
4543         (_FP_SETQNAN_SEMIRAW): Likewise.
4544         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4545         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4546         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4547         (FP_EXTEND): Use _FP_FRAC_SNANP.
4548         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4549         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4550         into account.
4551         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4552         New macro.
4553         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4554         Likewise.
4556 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4558         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4559         with DIVIDE_BY_ZERO_EXCEPTION.
4560         (gamma_test_data): Likewise.
4561         (lgamma_test_data): Likewise.
4562         (log_test_data): Likewise.
4563         (log10_test_data): Likewise.
4564         (log2_test_data): Likewise.
4565         (tgamma_test_data): Likewise.
4567         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4568         (acos_test_tonearest): Likewise.
4569         (acos_test_towardzero): Likewise.
4570         (acos_test_downward): Likewise.
4571         (acos_test_upward): Likewise.
4572         (acosh_test): Likewise.
4573         (asin_test): Likewise.
4574         (asin_test_tonearest): Likewise.
4575         (asin_test_towardzero): Likewise.
4576         (asin_test_downward): Likewise.
4577         (asin_test_upward): Likewise.
4578         (asinh_test): Likewise.
4579         (atan_test): Likewise.
4580         (atanh_test): Likewise.
4581         (atan2_test): Likewise.
4582         (cabs_test): Likewise.
4583         (cacos_test): Likewise.
4584         (cacosh_test): Likewise.
4585         (casin_test): Likewise.
4586         (casinh_test): Likewise.
4587         (catan_test): Likewise.
4588         (catanh_test): Likewise.
4589         (cbrt_test): Likewise.
4590         (ccos_test): Likewise.
4591         (ccosh_test): Likewise.
4592         (cexp_test): Likewise.
4593         (clog_test): Likewise.
4594         (clog10_test): Likewise.
4595         (cos_test): Likewise.
4596         (cos_test_tonearest): Likewise.
4597         (cos_test_towardzero): Likewise.
4598         (cos_test_downward): Likewise.
4599         (cos_test_upward): Likewise.
4600         (cosh_test): Likewise.
4601         (cosh_test_tonearest): Likewise.
4602         (cosh_test_towardzero): Likewise.
4603         (cosh_test_downward): Likewise.
4604         (cosh_test_upward): Likewise.
4605         (cpow_test): Likewise.
4606         (csin_test): Likewise.
4607         (csinh_test): Likewise.
4608         (csqrt_test): Likewise.
4609         (ctan_test): Likewise.
4610         (ctan_test_tonearest): Likewise.
4611         (ctan_test_towardzero): Likewise.
4612         (ctan_test_downward): Likewise.
4613         (ctan_test_upward): Likewise.
4614         (ctanh_test): Likewise.
4615         (ctanh_test_tonearest): Likewise.
4616         (ctanh_test_towardzero): Likewise.
4617         (ctanh_test_downward): Likewise.
4618         (ctanh_test_upward): Likewise.
4619         (erf_test): Likewise.
4620         (erfc_test): Likewise.
4621         (exp_test): Likewise.
4622         (exp_test_tonearest): Likewise.
4623         (exp_test_towardzero): Likewise.
4624         (exp_test_downward): Likewise.
4625         (exp_test_upward): Likewise.
4626         (exp10_test): Likewise.
4627         (exp2_test): Likewise.
4628         (expm1_test): Likewise.
4629         (fmod_test): Likewise.
4630         (gamma_test): Likewise.
4631         (hypot_test): Likewise.
4632         (j0_test): Likewise.
4633         (j1_test): Likewise.
4634         (jn_test): Likewise.
4635         (lgamma_test): Likewise.
4636         (log_test): Likewise.
4637         (log10_test): Likewise.
4638         (log1p_test): Likewise.
4639         (log2_test): Likewise.
4640         (logb_test_downward): Likewise.
4641         (pow_test): Likewise.
4642         (pow_test_tonearest): Likewise.
4643         (pow_test_towardzero): Likewise.
4644         (pow_test_downward): Likewise.
4645         (pow_test_upward): Likewise.
4646         (remainder_test): Likewise.
4647         (remquo_test): Likewise.
4648         (sin_test): Likewise.
4649         (sin_test_tonearest): Likewise.
4650         (sin_test_towardzero): Likewise.
4651         (sin_test_downward): Likewise.
4652         (sin_test_upward): Likewise.
4653         (sincos_test): Likewise.
4654         (sinh_test): Likewise.
4655         (sinh_test_tonearest): Likewise.
4656         (sinh_test_towardzero): Likewise.
4657         (sinh_test_downward): Likewise.
4658         (sinh_test_upward): Likewise.
4659         (sqrt_test): Likewise.
4660         (tan_test): Likewise.
4661         (tan_test_tonearest): Likewise.
4662         (tan_test_towardzero): Likewise.
4663         (tan_test_downward): Likewise.
4664         (tan_test_upward): Likewise.
4665         (tanh_test): Likewise.
4666         (tgamma_test): Likewise.
4667         (y0_test): Likewise.
4668         (y1_test): Likewise.
4669         (yn_test): Likewise.
4671         * math/gen-libm-test.pl (adjust_arg): Remove function.
4672         (special_function): Remove argument $in_func.  Only handle
4673         generating output for tables of tests, not inside functions.
4674         (parse_args): Likewise.
4675         (generate_testfile): Remove variable $in_func.  Update call to
4676         parse_args.
4677         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4678         (MINUS_ZERO_INIT): Rename macro to minus_zero.
4679         (PLUS_INFTY_INIT): Rename macro to plus_infty.
4680         (MINUS_INFTY_INIT): Rename macro to minus_infty.
4681         (QNAN_VALUE_INIT): Rename macro to qnan_value.
4682         (MAX_VALUE_INIT): Rename macro to max_value.
4683         (MIN_VALUE_INIT): Rename macro to min_value.
4684         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4685         (plus_zero): Remove variable.
4686         (minus_zero): Likewise.
4687         (plus_infty): Likewise.
4688         (minus_infty): Likewise.
4689         (qnan_value): Likewise.
4690         (max_value): Likewise.
4691         (min_value): Likewise.
4692         (min_subnorm_value): Likewise.
4694 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4696         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4697         uint64_t or uint32_t usage.
4698         * crypt/sha256-block.c: Likewise.
4699         * crypt/sha256-crypt.c: Likewise.
4700         * crypt/sha256.c: Likewise.
4701         * crypt/sha512-block.c: Likewise.
4702         * crypt/sha512-crypt.c: Likewise.
4703         * crypt/sha512.c: Likewise.
4704         * debug/backtrace-tst.c: Likewise.
4705         * debug/pcprofiledump.c: Likewise.
4706         * elf/cache.c: Likewise.
4707         * elf/dl-cache.c: Likewise.
4708         * elf/dl-misc.c: Likewise.
4709         * elf/dl-profile.c: Likewise.
4710         * elf/dl-support.c: Likewise.
4711         * elf/ldconfig.c: Likewise.
4712         * elf/sprof.c: Likewise.
4713         * iconv/dummy-repertoire.c: Likewise.
4714         * iconv/iconv_charmap.c: Likewise.
4715         * iconv/skeleton.c: Likewise.
4716         * iconvdata/8bit-generic.c: Likewise.
4717         * iconvdata/cp737.h: Likewise.
4718         * iconvdata/cp775.h: Likewise.
4719         * iconvdata/ibm1008.h: Likewise.
4720         * iconvdata/ibm1025.h: Likewise.
4721         * iconvdata/ibm1046.h: Likewise.
4722         * iconvdata/ibm1097.h: Likewise.
4723         * iconvdata/ibm1112.h: Likewise.
4724         * iconvdata/ibm1122.h: Likewise.
4725         * iconvdata/ibm1123.h: Likewise.
4726         * iconvdata/ibm1124.h: Likewise.
4727         * iconvdata/ibm1129.h: Likewise.
4728         * iconvdata/ibm1130.h: Likewise.
4729         * iconvdata/ibm1132.h: Likewise.
4730         * iconvdata/ibm1133.h: Likewise.
4731         * iconvdata/ibm1137.h: Likewise.
4732         * iconvdata/ibm1140.h: Likewise.
4733         * iconvdata/ibm1141.h: Likewise.
4734         * iconvdata/ibm1142.h: Likewise.
4735         * iconvdata/ibm1143.h: Likewise.
4736         * iconvdata/ibm1144.h: Likewise.
4737         * iconvdata/ibm1145.h: Likewise.
4738         * iconvdata/ibm1146.h: Likewise.
4739         * iconvdata/ibm1147.h: Likewise.
4740         * iconvdata/ibm1148.h: Likewise.
4741         * iconvdata/ibm1149.h: Likewise.
4742         * iconvdata/ibm1153.h: Likewise.
4743         * iconvdata/ibm1154.h: Likewise.
4744         * iconvdata/ibm1155.h: Likewise.
4745         * iconvdata/ibm1156.h: Likewise.
4746         * iconvdata/ibm1157.h: Likewise.
4747         * iconvdata/ibm1158.h: Likewise.
4748         * iconvdata/ibm1160.h: Likewise.
4749         * iconvdata/ibm1161.h: Likewise.
4750         * iconvdata/ibm1162.h: Likewise.
4751         * iconvdata/ibm1163.h: Likewise.
4752         * iconvdata/ibm1164.h: Likewise.
4753         * iconvdata/ibm1166.h: Likewise.
4754         * iconvdata/ibm1167.h: Likewise.
4755         * iconvdata/ibm12712.h: Likewise.
4756         * iconvdata/ibm1390.h: Likewise.
4757         * iconvdata/ibm1399.h: Likewise.
4758         * iconvdata/ibm16804.h: Likewise.
4759         * iconvdata/ibm4517.h: Likewise.
4760         * iconvdata/ibm4899.h: Likewise.
4761         * iconvdata/ibm4909.h: Likewise.
4762         * iconvdata/ibm4971.h: Likewise.
4763         * iconvdata/ibm5347.h: Likewise.
4764         * iconvdata/ibm803.h: Likewise.
4765         * iconvdata/ibm856.h: Likewise.
4766         * iconvdata/ibm901.h: Likewise.
4767         * iconvdata/ibm902.h: Likewise.
4768         * iconvdata/ibm9030.h: Likewise.
4769         * iconvdata/ibm9066.h: Likewise.
4770         * iconvdata/ibm921.h: Likewise.
4771         * iconvdata/ibm922.h: Likewise.
4772         * iconvdata/ibm9448.h: Likewise.
4773         * iconvdata/isiri-3342.h: Likewise.
4774         * iconvdata/jis0201.h: Likewise.
4775         * include/link.h: Likewise.
4776         * include/netdb.h: Likewise.
4777         * inet/check_native.c: Likewise.
4778         * inet/check_pf.c: Likewise.
4779         * inet/getipv4sourcefilter.c: Likewise.
4780         * inet/getnameinfo.c: Likewise.
4781         * inet/getsourcefilter.c: Likewise.
4782         * inet/htonl.c: Likewise.
4783         * inet/setipv4sourcefilter.c: Likewise.
4784         * inet/setsourcefilter.c: Likewise.
4785         * inet/test-inet6_opt.c: Likewise.
4786         * inet/tst-network.c: Likewise.
4787         * locale/C-collate.c: Likewise.
4788         * locale/C-ctype.c: Likewise.
4789         * locale/C-time.c: Likewise.
4790         * locale/C-translit.h: Likewise.
4791         * locale/loadarchive.c: Likewise.
4792         * locale/programs/3level.h: Likewise.
4793         * locale/programs/charmap.c: Likewise.
4794         * locale/programs/charmap.h: Likewise.
4795         * locale/programs/ld-address.c: Likewise.
4796         * locale/programs/ld-collate.c: Likewise.
4797         * locale/programs/ld-ctype.c: Likewise.
4798         * locale/programs/ld-identification.c: Likewise.
4799         * locale/programs/ld-measurement.c: Likewise.
4800         * locale/programs/ld-messages.c: Likewise.
4801         * locale/programs/ld-monetary.c: Likewise.
4802         * locale/programs/ld-name.c: Likewise.
4803         * locale/programs/ld-numeric.c: Likewise.
4804         * locale/programs/ld-paper.c: Likewise.
4805         * locale/programs/ld-telephone.c: Likewise.
4806         * locale/programs/ld-time.c: Likewise.
4807         * locale/programs/linereader.c: Likewise.
4808         * locale/programs/locale.c: Likewise.
4809         * locale/programs/locarchive.c: Likewise.
4810         * locale/programs/locfile.h: Likewise.
4811         * locale/programs/repertoire.c: Likewise.
4812         * locale/programs/simple-hash.c: Likewise.
4813         * locale/programs/simple-hash.h: Likewise.
4814         * malloc/memusage.c: Likewise.
4815         * malloc/memusagestat.c: Likewise.
4816         * nis/nis_defaults.c: Likewise.
4817         * nis/nis_hash.c: Likewise.
4818         * nis/nis_print.c: Likewise.
4819         * nis/nis_xdr.c: Likewise.
4820         * nscd/connections.c: Likewise.
4821         * nscd/hstcache.c: Likewise.
4822         * nscd/nscd_gethst_r.c: Likewise.
4823         * nscd/nscd_getserv_r.c: Likewise.
4824         * nscd/nscd_helper.c: Likewise.
4825         * nscd/servicescache.c: Likewise.
4826         * nss/makedb.c: Likewise.
4827         * nss/nss_db/db-XXX.c: Likewise.
4828         * nss/nss_db/db-initgroups.c: Likewise.
4829         * nss/nss_db/db-netgrp.c: Likewise.
4830         * nss/nss_files/files-network.c: Likewise.
4831         * nss/nss_files/files-parse.c: Likewise.
4832         * posix/bug-regex5.c: Likewise.
4833         * posix/fnmatch_loop.c: Likewise.
4834         * posix/regcomp.c: Likewise.
4835         * posix/regexec.c: Likewise.
4836         * posix/tst-rfc3484-2.c: Likewise.
4837         * posix/tst-rfc3484-3.c: Likewise.
4838         * posix/tst-rfc3484.c: Likewise.
4839         * resolv/nss_dns/dns-canon.c: Likewise.
4840         * resolv/nss_dns/dns-network.c: Likewise.
4841         * resolv/res_init.c: Likewise.
4842         * resolv/res_mkquery.c: Likewise.
4843         * resolv/tst-aton.c: Likewise.
4844         * stdlib/cxa_atexit.c: Likewise.
4845         * stdlib/cxa_finalize.c: Likewise.
4846         * stdlib/gen-fpioconst.c: Likewise.
4847         * stdlib/strtol_l.c: Likewise.
4848         * string/tst-endian.c: Likewise.
4849         * sunrpc/auth_des.c: Likewise.
4850         * sunrpc/clnt_udp.c: Likewise.
4851         * sunrpc/rtime.c: Likewise.
4852         * sunrpc/svcauth_des.c: Likewise.
4853         * sunrpc/xdr.c: Likewise.
4854         * sunrpc/xdr_intXX_t.c: Likewise.
4855         * sunrpc/xdr_rec.c: Likewise.
4856         * sysdeps/generic/ldconfig.h: Likewise.
4857         * sysdeps/generic/ldsodefs.h: Likewise.
4858         * sysdeps/generic/memusage.h: Likewise.
4859         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4860         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4861         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4862         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4863         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4864         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4865         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4866         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4867         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4868         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4869         * sysdeps/posix/getaddrinfo.c: Likewise.
4870         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4871         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4872         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4873         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4874         * sysdeps/powerpc/test-gettimebase.c: Likewise.
4875         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4876         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4877         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4878         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4879         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4880         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4881         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4882         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4883         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4884         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4885         * sysdeps/x86_64/dl-tls.h: Likewise.
4886         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4887         * time/alt_digit.c: Likewise.
4888         * time/era.c: Likewise.
4889         * wcsmbs/tst-c16c32-1.c: Likewise.
4891 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4893         * math/libm-test.inc (struct test_sincos_data): New type.
4894         (RUN_TEST_LOOP_sincos): New macro.
4895         (sincos_test_data): New variable.
4896         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4898 2013-05-16  Richard Henderson  <rth@redhat.com>
4900         * math/atest-exp2.c (LIMB64): New macro.
4901         (CONSTSZ): New macro.
4902         (mp_exp1, mp_exp_m1, mp_log2): New variables.
4903         (hexdig): Move ...
4904         (print_mpn_fp): ... to function scope.
4905         (read_mpn_hex): Remove.
4906         (get_log2): Remove.
4907         (exp2_mpn): Use mp_log2.
4908         (main): Use mp_exp1.
4910 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4912         * math/libm-test.inc: Remove comment about not testing "inexact"
4913         exceptions.
4914         (INEXACT_EXCEPTION): New macro.
4915         (NO_INEXACT_EXCEPTION): Likewise.
4916         (INVALID_EXCEPTION_OK): Update value.
4917         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4918         (OVERFLOW_EXCEPTION_OK): Likewise.
4919         (UNDERFLOW_EXCEPTION_OK): Likewise.
4920         (IGNORE_ZERO_INF_SIGN): Likewise.
4921         (ERRNO_UNCHANGED): Likewise.
4922         (ERRNO_EDOM): Likewise.
4923         (ERRNO_ERANGE): Likewise.
4924         (test_exceptions): Handle testing "inexact" exceptions.
4925         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4926         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4927         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4928         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4929         INEXACT_EXCEPTION.
4930         (rint_towardzero_test_data): Likewise.
4931         (rint_downward_test_data): Likewise.
4932         (rint_upward_test_data): Likewise.
4934         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4935         with OVERFLOW_EXCEPTION.
4936         (exp10_test_data): Likewise.
4937         (exp2_test_data): Likewise.
4938         (expm1_test_data): Likewise.
4939         (lgamma_test_data): Likewise.
4940         (pow_test_data): Likewise.
4941         (tgamma_test_data): Likewise.
4942         (yn_test_data): Remove duplicate test of overflow.
4944         * math/libm-test.inc (struct test_cc_c_data): New type.
4945         (RUN_TEST_LOOP_cc_c): New macro.
4946         (cpow_test_data): New variable.
4947         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4949         * math/libm-test.inc (struct test_f_L_data): New type.
4950         (RUN_TEST_LOOP_f_L): New macro.
4951         (llrint_test_data): New variable.
4952         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4953         (llrint_tonearest_test_data): New variable.
4954         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4955         (llrint_towardzero_test_data): New variable.
4956         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4957         (llrint_downward_test_data): New variable.
4958         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4959         (llrint_upward_test_data): New variable.
4960         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4961         (llround_test_data): New variable.
4962         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4964 2013-05-13  Peter Collingbourne  <pcc@google.com>
4966         * math/atest-exp2.c (get_log2): Remove const attribute.
4968 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4970         * math/libm-test.inc (struct test_f_l_data): New type.
4971         (RUN_TEST_LOOP_f_l): New macro.
4972         (lrint_test_data): New variable.
4973         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4974         (lrint_tonearest_test_data): New variable.
4975         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4976         (lrint_towardzero_test_data): New variable.
4977         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4978         (lrint_downward_test_data): New variable.
4979         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4980         (lrint_upward_test_data): New variable.
4981         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4982         (lround_test_data): New variable.
4983         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4985 2013-05-15  Peter Collingbourne  <pcc@google.com>
4987         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4988         (EXTRACT_WORDS64) Use where appropriate.
4989         (INSERT_WORDS64) Likewise.
4991         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4992         constraints with x constraints.
4993         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4995         * malloc/obstack.c (_obstack_compat): Add initializer.
4997 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4999         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5000         si_trapno and add si_addr_lsb to _sifields.sigfault.
5001         (si_trapno): Remove macro.
5002         (si_addr_lsb): Define new macro.
5003         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5005 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5007         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5008         instead of TEST_f_l.
5009         (llrint_test_tonearest): Likewise.
5010         (llrint_test_towardzero): Likewise.
5011         (llrint_test_downward): Likewise.
5012         (llrint_test_upward): Likewise.
5013         (llround_test): Likewise.
5015         * math/libm-test.inc (struct test_f_i_data): Add comment.
5016         (RUN_TEST_LOOP_f_b): New macro.
5017         (RUN_TEST_LOOP_f_b_tg): Likewise.
5018         (finite_test_data): New variable.
5019         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5020         (isfinite_test_data): New variable.
5021         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5022         (isinf_test_data): New variable.
5023         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5024         (isnan_test_data): New variable.
5025         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5026         (isnormal_test_data): New variable.
5027         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5028         (issignaling_test_data): New variable.
5029         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5030         (signbit_test_data): New variable.
5031         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5033         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5034         with INVALID_EXCEPTION.
5035         (acosh_test_data): Likewise.
5036         (asin_test_data): Likewise.
5037         (atanh_test_data): Likewise.
5038         (fmod_test_data): Likewise.
5039         (log_test_data): Likewise.
5040         (log10_test_data): Likewise.
5041         (log2_test_data): Likewise.
5042         (pow_test_data): Likewise.
5043         (sqrt_test_data): Likewise.
5044         (y0_test_data): Likewise.
5045         (y1_test_data): Likewise.
5046         (yn_test_data): Likewise.
5048         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5049         function contents.
5051         * math/libm-test.inc (struct test_ff_i_data): New type.
5052         (RUN_TEST_LOOP_ff_i_tg): New macro.
5053         (isgreater_test_data): New variable.
5054         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5055         (isgreaterequal_test_data): New variable.
5056         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5057         (isless_test_data): New variable.
5058         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5059         (islessequal_test_data): New variable.
5060         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5061         (islessgreater_test_data): New variable.
5062         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5063         (isunordered_test_data): New variable.
5064         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5066 2013-05-14  David S. Miller  <davem@davemloft.net>
5068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5070 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
5072         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5074         * math/libm-test.inc (struct test_fF_f1_data): Change type of
5075         extra_test to int.
5076         (struct test_f_i_data): Change type of max_ulp to int.
5078         * math/libm-test.inc (test_ffI_f1_data): New type.
5079         (RUN_TEST_LOOP_ffI_f1): New macro.
5080         (remquo_test_data): New variable.
5081         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5083         * setjmp/tst-setjmp-fp.c: New file.
5084         * setjmp/Makefile (tests): Add tst-setjmp-fp.
5085         (link-libm): New variable.
5086         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5088         * math/libm-test.inc (struct test_f_i_data): New type.
5089         (RUN_TEST_LOOP_f_i): New macro.
5090         (RUN_TEST_LOOP_f_i_tg): Likewise.
5091         (fpclassify_test_data): New variable.
5092         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5093         (ilogb_test_data): New variable.
5094         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5096         * math/libm-test.inc (scalbln_test): Correct function name in END
5097         call.
5099         * math/libm-test.inc (struct test_f_f1_data): Add comment.
5100         (RUN_TEST_LOOP_fI_f1): New macro.
5101         (frexp_test_data): New variable.
5102         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5104         * math/libm-test.inc (struct test_fF_f1_data): New type.
5105         (RUN_TEST_LOOP_fF_f1): New macro.
5106         (modf_test_data): New variable.
5107         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5109         * math/libm-test.inc (struct test_f_f1_data): New type.
5110         (RUN_TEST_LOOP_f_f1): New macro.
5111         (gamma_test_data): New variable.
5112         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5113         (lgamma_test_data): New variable.
5114         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5116 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
5118         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5119         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5120         (main): Comment "tls" pseudo-hwcap.
5122 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
5124         * math/libm-test.inc (struct test_fl_f_data): New type.
5125         (RUN_TEST_LOOP_fl_f): New variable.
5126         (scalbln_test_data): New variable.
5127         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5129         * math/libm-test.inc (struct test_fi_f_data): New type.
5130         (RUN_TEST_LOOP_fi_f): New macro.
5131         (ldexp_test_data): New variable.
5132         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5133         (scalbn_test_data): New variable.
5134         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5136         * math/libm-test.inc (struct test_c_f_data): New type.
5137         (RUN_TEST_LOOP_c_f): New macro.
5138         (cabs_test_data): New variable.
5139         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5140         (carg_test_data): New variable.
5141         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5142         (cimag_test_data): New variable.
5143         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5144         (creal_test_data): New variable.
5145         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5147         * math/libm-test.inc (struct test_if_f_data): New type.
5148         (RUN_TEST_LOOP_if_f): New macro.
5149         (jn_test_data): New variable.
5150         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5151         (yn_test_data): New variable.
5152         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5154         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5156 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5158         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5159         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5161 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5163         * benchtests/Makefile (CPPFLAGS-nonlib): Add
5164         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5165         (bench-deps): Add bench-timing.h.
5166         * benchtests-bench-skeleton.c: Include bench-timing.h.
5167         (main): Use TIMING_* macros instead of clock_gettime.
5168         * benchtests/bench-timing.h: New file.
5170         [BZ #14582]
5171         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5172         Renamed from _LIB_VERSION.
5173         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5175 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
5177         * math/libm-test.inc (struct test_fff_f_data): New type.
5178         (RUN_TEST_LOOP_fff_f): New macro.
5179         (fma_test_data): New variable.
5180         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5181         (fma_towardzero_test_data): New variable.
5182         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5183         (fma_downward_test_data): New variable.
5184         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5185         (fma_upward_test_data): New variable.
5186         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5188         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5189         (struct test_c_c_data): New type.
5190         (RUN_TEST_LOOP_c_c): New macro.
5191         (cacos_test_data): New variable.
5192         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5193         (cacosh_test_data): New variable.
5194         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5195         (casin_test_data): New variable.
5196         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5197         (casinh_test_data): New variable.
5198         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5199         (catan_test_data): New variable.
5200         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5201         (catanh_test_data): New variable.
5202         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5203         (ccos_test_data): New variable.
5204         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5205         (ccosh_test_data): New variable.
5206         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5207         (cexp_test_data): New variable.
5208         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5209         (clog_test_data): New variable.
5210         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5211         (clog10_test_data): New variable.
5212         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5213         (conj_test_data): New variable.
5214         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5215         (cproj_test_data): New variable.
5216         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5217         (csin_test_data): New variable.
5218         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5219         (csinh_test_data): New variable.
5220         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5221         (csqrt_test_data): New variable.
5222         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5223         (ctan_test_data): New variable.
5224         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5225         (ctan_tonearest_test_data): New variable.
5226         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5227         (ctan_towardzero_test_data): New variable.
5228         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5229         (ctan_downward_test_data): New variable.
5230         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5231         (ctan_upward_test_data): New variable.
5232         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5233         (ctanh_test_data): New variable.
5234         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5235         (ctanh_tonearest_test_data): New variable.
5236         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5237         (ctanh_towardzero_test_data): New variable.
5238         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5239         (ctanh_downward_test_data): New variable.
5240         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5241         (ctanh_upward_test_data): New variable.
5242         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5243         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5244         of BUILD_COMPLEX.
5246         * math/libm-test.inc (struct test_ff_f_data): New type.
5247         (struct test_ff_f_data_nexttoward): Likewise.
5248         (RUN_TEST_LOOP_2_f): New macro.
5249         (RUN_TEST_LOOP_ff_f): Likewise.
5250         (atan2_test_data): New variable.
5251         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5252         (copysign_test_data): New variable.
5253         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5254         (fdim_test_data): New variable.
5255         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5256         (fmax_test_data): New variable.
5257         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5258         (fmin_test_data): New variable.
5259         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5260         (fmod_test_data): New variable.
5261         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5262         (hypot_test_data): New variable.
5263         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5264         (nextafter_test_data): New variable.
5265         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5266         (nexttoward_test_data): New variable.
5267         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5268         (pow_test_data): New variable.
5269         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5270         (pow_tonearest_test_data): New variable.
5271         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5272         (pow_towardzero_test_data): New variable.
5273         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5274         (pow_downward_test_data): New variable.
5275         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5276         (pow_upward_test_data): New variable.
5277         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5278         (remainder_test_data): New variable.
5279         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5280         (scalb_test_data): New variable.
5281         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5282         * sysdeps/i386/fpu/libm-test-ulps: Update.
5284 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
5286         * math/libm-test.inc (fma_test): Use max_value instead of local
5287         variable fltmax.
5288         (nextafter_test): Likewise.
5290         * math/libm-test.inc (acos_towardzero_test_data): New variable.
5291         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5292         (acos_downward_test_data): New variable.
5293         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5294         (acos_upward_test_data): New variable.
5295         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5296         (acosh_test_data): New variable.
5297         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5298         (asin_test_data): New variable.
5299         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5300         (asin_tonearest_test_data): New variable.
5301         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5302         (asin_towardzero_test_data): New variable.
5303         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5304         (asin_downward_test_data): New variable.
5305         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5306         (asin_upward_test_data): New variable.
5307         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5308         (asinh_test_data): New variable.
5309         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5310         (atan_test_data): New variable.
5311         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5312         (atanh_test_data): New variable.
5313         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5314         (cbrt_test_data): New variable.
5315         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5316         (ceil_test_data): New variable.
5317         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5318         (cos_test_data): New variable.
5319         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5320         (cos_tonearest_test_data): New variable.
5321         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5322         (cos_towardzero_test_data): New variable.
5323         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5324         (cos_downward_test_data): New variable.
5325         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5326         (cos_upward_test_data): New variable.
5327         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5328         (cosh_test_data): New variable.
5329         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5330         (cosh_tonearest_test_data): New variable.
5331         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5332         (cosh_towardzero_test_data): New variable.
5333         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5334         (cosh_downward_test_data): New variable.
5335         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5336         (cosh_upward_test_data): New variable.
5337         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5338         (erf_test_data): New variable.
5339         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5340         (erfc_test_data): New variable.
5341         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5342         (exp_test_data): New variable.
5343         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5344         (exp_tonearest_test_data): New variable.
5345         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5346         (exp_towardzero_test_data): New variable.
5347         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5348         (exp_downward_test_data): New variable.
5349         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5350         (exp_upward_test_data): New variable.
5351         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5352         (exp10_test_data): New variable.
5353         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5354         (exp2_test_data): New variable.
5355         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5356         (expm1_test_data): New variable.
5357         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5358         (fabs_test_data): New variable.
5359         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5360         (floor_test_data): New variable.
5361         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5362         (j0_test_data): New variable.
5363         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5364         (j1_test_data): New variable.
5365         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5366         (log_test_data): New variable.
5367         (log_test): Run tests with RUN_TEST_LOOP_f_f.
5368         (log10_test_data): New variable.
5369         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5370         (log1p_test_data): New variable.
5371         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5372         (log2_test_data): New variable.
5373         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5374         (logb_test_data): New variable.
5375         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5376         (logb_downward_test_data): New variable.
5377         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5378         (nearbyint_test_data): New variable.
5379         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5380         (rint_test_data): New variable.
5381         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5382         (rint_tonearest_test_data): New variable.
5383         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5384         (rint_towardzero_test_data): New variable.
5385         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5386         (rint_downward_test_data): New variable.
5387         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5388         (rint_upward_test_data): New variable.
5389         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5390         (round_test_data): New variable.
5391         (round_test): Run tests with RUN_TEST_LOOP_f_f.
5392         (sin_test_data): New variable.
5393         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5394         (sin_tonearest_test_data): New variable.
5395         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5396         (sin_towardzero_test_data): New variable.
5397         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5398         (sin_downward_test_data): New variable.
5399         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5400         (sin_upward_test_data): New variable.
5401         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5402         (sinh_test_data): New variable.
5403         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5404         (sinh_tonearest_test_data): New variable.
5405         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5406         (sinh_towardzero_test_data): New variable.
5407         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5408         (sinh_downward_test_data): New variable.
5409         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5410         (sinh_upward_test_data): New variable.
5411         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5412         (sqrt_test_data): New variable.
5413         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5414         (tan_test_data): New variable.
5415         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5416         (tan_tonearest_test_data): New variable.
5417         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5418         (tan_towardzero_test_data): New variable.
5419         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5420         (tan_downward_test_data): New variable.
5421         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5422         (tan_upward_test_data): New variable.
5423         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5424         (tanh_test_data): New variable.
5425         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5426         (tgamma_test_data): New variable.
5427         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5428         (trunc_test_data): New variable.
5429         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5430         (y0_test_data): New variable.
5431         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5432         (y1_test_data): New variable.
5433         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5434         (significand_test_data): New variable.
5435         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5437 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
5439         [BZ #12387]
5440         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5442 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5444         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5446 2013-05-10  Andreas Jaeger  <aj@suse.de>
5448         [BZ #15448]
5449         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5450         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5452 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
5454         * math/gen-libm-test.pl (adjust_arg): New function.
5455         (special_functions): Handle generating output in both functions
5456         and arrays.
5457         (parse_args): Likewise.
5458         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
5459         $in_func argument to parse_args.
5460         * math/libm-test.inc (struct test_f_f_data): New type.
5461         (IF_ROUND_INIT_): New macro.
5462         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5463         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5464         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5465         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5466         (ROUND_RESTORE_): Likewise.
5467         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5468         (ROUND_RESTORE_FE_TONEAREST): Likewise.
5469         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5470         (ROUND_RESTORE_FE_UPWARD): Likewise.
5471         (RUN_TEST_LOOP_f_f): New macro.
5472         (acos_test_data): New variable.
5473         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5474         (acos_tonearest_test_data): New variable.
5475         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5477 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5479         * benchtests/bench-skeleton.c (startup): Fix coding style.
5481 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
5483         [BZ #6809]
5484         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5485         negative infinity argument.
5486         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5487         negative infinity argument.
5488         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5489         negative infinity argument.
5490         * math/libm-test.inc (tgamma_test): Expect errno to be set for
5491         domain errors.
5493 2013-05-10  Florian Weimer  <fweimer@redhat.com>
5495         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5496         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5497         * iconv/iconv_prog.c (main): Likewise.
5498         * locale/programs/charmap-dir.c (charmap_readdir)
5499         (fopen_uncompressed): Likewise.
5500         * locale/programs/locfile.c (siblings_uncached)
5501         (write_locale_data): Use lstat64 instead of lstat.
5502         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5503         stat.
5505 2013-05-10  Andreas Jaeger  <aj@suse.de>
5507         [BZ #15395]
5508         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5509         localization.
5510         Include <locale.h>.
5512 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
5514         * elf/dl-close.c (_dl_close_worker): Add comments.
5516 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
5518         [BZ #15359]
5519         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5520         high part of pi/2.
5521         (__ieee754_rem_pio2l): Update comments.
5523         [BZ #15429]
5524         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5525         high part of pi/2.
5526         (__ieee754_rem_pio2l): Update comments.
5528         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5529         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5531         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5532         M_PI_4l.
5534         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5535         (M_PI_34_LOG10El): Likewise.
5536         (M_PI2_LOG10El): Likewise.
5537         (M_PI4_LOG10El): Likewise.
5538         (M_PI_LOG10El): Likewise.
5540 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5544 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
5546         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5547         (MINUS_ZERO_INIT): Likewise.
5548         (PLUS_INFTY_INIT): Likewise.
5549         (MINUS_INFTY_INIT): Likewise.
5550         (QNAN_VALUE_INIT): Likewise.
5551         (MAX_VALUE_INIT): Likewise.
5552         (MIN_VALUE_INIT): Likewise.
5553         (MIN_SUBNORM_VALUE_INIT): Likewise.
5554         (plus_zero): Initialize with PLUS_ZERO_INIT.
5555         (minus_zero): Initialize with MINUS_ZERO_INIT.
5556         (plus_infty): Initialize with PLUS_INFTY_INIT.
5557         (minus_infty): Initialize with MINUS_INFTY_INIT.
5558         (qnan_value): Initialize with QNAN_VALUE_INIT.
5559         (max_value): Initialize with MAX_VALUE_INIT.
5560         (min_value): Initialize with MIN_VALUE_INIT.
5561         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5563         * math/libm-test.inc (RUN_TEST_if_f): New macro.
5564         (jn_test): Use TEST_if_f instead of TEST_ff_f.
5565         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5566         (yn_test): Use TEST_if_f instead of TEST_ff_f.
5568         * math/libm-test.inc (RUN_TEST_f_f): New macro.
5569         (RUN_TEST_2_f): Likewise.
5570         (RUN_TEST_ff_f): Likewise.
5571         (RUN_TEST_fi_f): Likewise.
5572         (RUN_TEST_fl_f): Likewise.
5573         (RUN_TEST_fff_f): Likewise.
5574         (RUN_TEST_c_f): Likewise.
5575         (RUN_TEST_f_f1): Likewise.
5576         (RUN_TEST_fF_f1): Likewise.
5577         (RUN_TEST_fI_f1): Likewise.
5578         (RUN_TEST_ffI_f1): Likewise.
5579         (RUN_TEST_c_c): Likewise.
5580         (RUN_TEST_cc_c): Likewise.
5581         (RUN_TEST_f_i): Likewise.
5582         (RUN_TEST_f_i_tg): Likewise.
5583         (RUN_TEST_ff_i_tg): Likewise.
5584         (RUN_TEST_f_b): Likewise.
5585         (RUN_TEST_f_b_tg): Likewise.
5586         (RUN_TEST_f_l): Likewise.
5587         (RUN_TEST_f_L): Likewise.
5588         (RUN_TEST_sincos): Likewise.
5589         * math/gen-libm-test.pl (new_test): Take new argument to indicate
5590         whether to show exceptions.  Do not include ");\n" in return
5591         value.
5592         (special_functions): Output call to RUN_TEST_sincos instead of
5593         check_float calls.  Update calls to new_test.
5594         (parse_args): Output call to single RUN_TEST_* macro instead of
5595         check_* calls and other assignments.  Update calls to new_test.
5597         [BZ #2546]
5598         [BZ #2560]
5599         [BZ #5159]
5600         [BZ #15426]
5601         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5602         input to result for tgamma overflow.
5603         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5604         (gamma_coeff): New variable.
5605         (NCOEFF): New macro.
5606         (gamma_positive): New function.
5607         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5608         underflow here.  Use gamma_positive instead of exp (lgamma) for
5609         other arguments.
5610         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5611         (gamma_coeff): New variable.
5612         (NCOEFF): New macro.
5613         (gammaf_positive): New function.
5614         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5615         underflow here.  Use gamma_positive instead of exp (lgamma) for
5616         other arguments.
5617         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5618         (gamma_coeff): New variable.
5619         (NCOEFF): New macro.
5620         (gammal_positive): New function.
5621         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5622         underflow here.  Use gamma_positive instead of exp (lgamma) for
5623         other arguments.
5624         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5625         (gamma_coeff): New variable.
5626         (NCOEFF): New macro.
5627         (gammal_positive): New function.
5628         (__ieee754_gammal_r): Handle positive infinity, overflow and
5629         underflow here.  Handle NaN the same as positive infinity.  Remove
5630         check x < 0xffffffff for negative integers.  Use gamma_positive
5631         instead of exp (lgamma) for other arguments.
5632         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5633         (gamma_coeff): New variable.
5634         (NCOEFF): New macro.
5635         (gammal_positive): New function.
5636         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5637         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5638         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5639         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5640         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5641         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5642         * sysdeps/generic/math_private.h (__gamma_productf): New
5643         prototype.
5644         (__gamma_product): Likewise.
5645         (__gamma_productl): Likewise.
5646         * math/Makefile (libm-calls): Add gamma_product.
5647         * math/libm-test.inc (tgamma_test): Add more tests.
5648         * sysdeps/i386/fpu/libm-test-ulps: Update.
5649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5651 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
5653         * benchtests/bench-skeleton.c (main): Preheat CPU.
5655 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
5657         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5659 2013-05-07  Roland McGrath  <roland@hack.frob.com>
5661         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5662         and _dl_skip_args_internal.
5664 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
5666         * manual/message.texi (Message Translation): Talk about users.
5667         Message to key mapping impacts design.
5669 2013-05-06  Roland McGrath  <roland@hack.frob.com>
5671         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5673         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5675         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5676         * sysdeps/wordsize-64/glob64.c: ... here.
5678         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5679         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5680         New macros.
5682         * debug/getlogin_r_chk.c: Moved to ...
5683         * login/getlogin_r_chk.c: ... here.
5684         * debug/Makefile (routines): Move getlogin_r_chk to ...
5685         * login/Makefile (routines): ... here.
5686         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5687         * login/Versions (libc: GLIBC_2.4): ... here.
5689         * io/poll.c (__poll): Renamed from poll.
5690         Add libc_hidden_def.
5691         (poll): Define as weak alias.
5693         * debug/ptsname_r_chk.c: Moved to ...
5694         * login/ptsname_r_chk.c: ... here.
5695         * debug/Makefile (routines): Move ptsname_r_chk to ...
5696         * login/Makefile (routines): ... here.
5697         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5698         * login/Versions (libc: GLIBC_2.4): ... here.
5700         * posix/getlogin.c: Moved to ...
5701         * login/getlogin.c: ... here.
5702         * posix/getlogin_r.c: Moved to ...
5703         * login/getlogin_r.c: ... here.
5704         * posix/getlogin_r.c: Moved to ...
5705         * login/getlogin_r.c: ... here.
5706         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5707         * login/Makefile (routines): ... here.
5708         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5709         * login/Versions (libc: GLIBC_2.0): ... here.
5711         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5712         (setrlimit): Define as weak alias.
5714         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5715         Call __ names for open, ftruncate, and close.
5716         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5717         (truncate): Define as weak alias.
5719 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
5721         * math/gen-libm-test.pl (parse_args): Initialize x before each
5722         test of frexp, modf and remquo.
5724         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5725         test signgam value.
5727 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5729         [BZ #15418]
5730         [BZ #15419]
5731         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5732         internal tests.
5733         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5735 2013-05-06  Roland McGrath  <roland@hack.frob.com>
5737         * elf/dl-writev.h: New file.
5738         * elf/dl-misc.c: Include it.
5739         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5740         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5742 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
5744         * math/libm-test.inc (noXFails): Remove variable.
5745         (noXPasses): Likewise.
5746         (BUILD_COMPLEX_INT): Remove macro.
5747         (print_screen): Remove xfail argument.
5748         (print_screen_max_error): Likewise.
5749         (update_stats): Likewise.
5750         (print_max_error): Likewise.  Update calls to other affected
5751         functions.
5752         (print_complex_max_error): Likewise.
5753         (test_single_exception): Update calls to print_screen.
5754         (test_single_errno): Likewise.
5755         (check_float_internal): Remove xfail argument.  Update calls to
5756         other affected functions.
5757         (check_float): Likewise.
5758         (check_complex): Likewise.
5759         (check_int): Likewise.
5760         (check_long): Likewise.
5761         (check_bool): Likewise.
5762         (check_longlong): Likewise.
5763         (main): Don't print noXFails and noXPasses.
5764         * math/gen-libm-test.pl (top level): Don't mention expected
5765         failure handling in comment.
5766         (new_test): Don't handle expected failures.
5767         (parse_args): Don't mention expected failure handling in comment.
5768         (generate_testfile): Don't handle expected failures.
5769         (parse_ulps): Likewise.
5770         (print_ulps_file): Likewise.
5771         (get_failure): Remove function.
5772         (output_test): Don't handle expected failures.
5773         * make/README.libm-test: Don't mention expected failure handling.
5775         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
5776         (minus_zero): Likewise.
5777         (plus_infty): Likewise.
5778         (minus_infty): Likewise.
5779         (qnan_value): Likewise.
5780         (max_value): Likewise.
5781         (min_value): Likewise.
5782         (min_subnorm_value): Likewise.
5783         (initialize): Do not initialize those variables dynamically.
5785 2013-05-03  Roland McGrath  <roland@hack.frob.com>
5787         * io/open.c (__open_2): Moved to ...
5788         * io/open_2.c: ... this new file.
5789         * io/open64.c (__open64_2): Moved to ...
5790         * io/open64_2.c: ... this new file.
5791         * io/openat.c (__openat_2): Moved to ...
5792         * io/openat_2.c: ... this new file.
5793         * io/openat64.c (__openat64_2): Moved to ...
5794         * io/openat64_2.c: ... this new file.
5795         * io/Makefile (routines): Add them.
5796         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5797         * sysdeps/unix/sysv/linux/open_2.c: File removed.
5798         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5799         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5800         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5801         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5802         (__openat64): Add hidden_ver.
5803         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5804         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5806         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5807         Separately conditionalize setting of GLRO(dl_sysinfo) so
5808         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5809         as well, but the actual setting is only under [NEED_DL_SYSINFO].
5811 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5813         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5814         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5815         definition.
5816         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5817         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5818         (_libc_vdso_platform_setup): Add __vdso_time initialization.
5819         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5820         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5822 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
5824         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5825         test signgam value.
5827         * math/libm-test.inc (hypot_test): Do not use
5828         IGNORE_ZERO_INF_SIGN.
5830 2013-05-03  Andreas Jaeger  <aj@suse.de>
5832         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5833         Linux 3.9.
5834         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5835         (PF_MAX): Adjust for VSOCK change.
5837 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5841 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
5843         [BZ #15264]
5844         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5845         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5846         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5848 2013-05-02  David S. Miller  <davem@davemloft.net>
5850         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5852 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
5854         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5856 2013-05-01  Roland McGrath  <roland@hack.frob.com>
5858         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5860 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
5862         [BZ #14952]
5863         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5864         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5865         Use __attribute__ ((__gnu_inline__)).
5866         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5867         Don't use __attribute__ ((__gnu_inline__)).
5869 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
5871         [BZ #15423]
5872         * math/s_catan.c (__catan): Handle small real or imaginary part of
5873         input specially to avoid spurious underflow.
5874         * math/s_catanf.c (__catanf): Likewise.
5875         * math/s_catanh.c (__catanh): Likewise.
5876         * math/s_catanhf.c (__catanhf): Likewise.
5877         * math/s_catanhl.c (__catanhl): Likewise.
5878         * math/s_catanl.c (__catanl): Likewise.
5879         * math/libm-test.inc (catan_test): Add more tests.
5880         (catanh_test): Likewise.
5881         * sysdeps/i386/fpu/libm-test-ulps: Update.
5882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5884 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5888 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
5890         [BZ #15416]
5891         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5892         accurately for denominator in atan2.
5893         * math/s_catanf.c (__catanf): Likewise.
5894         * math/s_catanh.c (__catanh): Likewise.
5895         * math/s_catanhf.c (__catanhf): Likewise.
5896         * math/s_catanhl.c (__catanhl): Likewise.
5897         * math/s_catanl.c (__catanl): Likewise.
5898         * math/libm-test.inc (catan_test): Add more tests.
5899         (catanh_test): Likewise.
5900         * sysdeps/i386/fpu/libm-test-ulps: Update.
5901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5903 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5905         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5907         * benchtests/Makefile (bench): Remove slow benchmarks.
5908         * benchtests/atan-inputs: Add slow benchmark inputs.
5909         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5910         (BENCH_FUNC): Accept variant offset.
5911         (VARIANT): Define.
5912         * benchtests/bench-skeleton.c (main): Run benchmark for each
5913         variant.
5914         * benchtests/cos-inputs: Add slow benchmark inputs.
5915         * benchtests/exp-inputs: Likewise.
5916         * benchtests/pow-inputs: Likewise.
5917         * benchtests/sin-inputs: Likewise.
5918         * benchtests/slowatan-inputs: Remove.
5919         * benchtests/slowatan.c: Remove.
5920         * benchtests/slowcos-inputs: Remove.
5921         * benchtests/slowcos.c: Remove.
5922         * benchtests/slowexp-inputs: Remove.
5923         * benchtests/slowexp.c: Remove.
5924         * benchtests/slowpow-inputs: Remove.
5925         * benchtests/slowpow.c: Remove.
5926         * benchtests/slowsin-inputs: Remove.
5927         * benchtests/slowsin.c: Remove.
5928         * benchtests/slowtan-inputs: Remove.
5929         * benchtests/slowtan.c: Remove.
5930         * benchtests/tan-inputs: Add slow benchmark inputs.
5931         * scripts/bench.pl: Parse comments and directives.
5933         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
5934         in CPPFLAGS.
5935         ($(objpfx)bench-%.c): Remove *-ITER.
5936         * benchtests/bench-modf.c: Remove definition of ITER.
5937         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5938         (main): Loop for DURATION seconds instead of fixed number of
5939         iterations.
5940         * scripts/bench.pl: Don't expect iterations in parameters.
5942 2013-04-29  Roland McGrath  <roland@hack.frob.com>
5944         * io/fchdir.c (__fchdir): Renamed from fchdir.
5945         (fchdir): Define as weak alias.
5947 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5949         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5950         (ERRNO_EDOM): Likewise.
5951         (ERRNO_ERANGE): Likewise.
5952         (noErrnoTests): New variable.
5953         (init_max_error): Set errno to 0.
5954         (test_single_errno): New function.
5955         (test_errno): Likewise.
5956         (check_float_internal): Call test_errno.  Set errno to 0.
5957         (check_complex): Refer to errno tests in comment.
5958         (check_int): Call test_errno.  Set errno to 0.
5959         (check_long): Likewise.
5960         (check_bool): Likewise.
5961         (check_longlong): Likewise.
5962         (cos_test): Use ERRNO_* flags for errno tests instead of
5963         check_int.
5964         (expm1_test): Likewise.
5965         (fmod_test): Likewise.
5966         (ilogb_test): Likewise.
5967         (lgamma_test): Likewise.
5968         (pow_test): Likewise.
5969         (remainder_test): Likewise.
5970         (sin_test): Likewise.
5971         (tan_test): Likewise.
5972         (yn_test): Likewise.
5973         (initialize): Set errno to 0.
5974         (main): Print number of errno tests.
5975         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5977 2013-04-29  Andreas Jaeger  <aj@suse.de>
5979         [BZ #15084]
5980         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5981         and RES_USEVC.
5983         [BZ #15085]
5984         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5985         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5986         unimplemented.
5988         [BZ #15380]
5989         * stdlib/random.c (__initstate): Return NULL if
5990         __initstate fails.
5992         [BZ #15086]
5993         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5994         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5995         RES_SNGLKUPREOP.
5997 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6001 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6003         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6004         of individual tests.
6005         (casin_test): Likewise.
6006         (casinh_test): Likewise.
6008 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
6010         [BZ #15409]
6011         * math/s_catan.c (__catan): Handle arguments with large real or
6012         imaginary part separately without squaring.
6013         * math/s_catanf.c (__catanf): Likewise.
6014         * math/s_catanh.c (__catanh): Likewise.
6015         * math/s_catanhf.c (__catanhf): Likewise.
6016         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6017         and redefine.
6018         (__catanhl): Handle arguments with large real or imaginary part
6019         separately without squaring.
6020         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6021         and redefine.
6022         (__catanl): Handle arguments with large real or imaginary part
6023         separately without squaring.
6024         * math/libm-test.inc (catan_test): Add more tests.
6025         (catanh_test): Likewise.
6026         * sysdeps/i386/fpu/libm-test-ulps: Update.
6027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6029 2013-04-27  Andreas Jaeger  <aj@suse.de>
6031         [BZ #15007]
6032         * stdlib/stdlib.h: Update guards for qecvt.
6033         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6034         <stdlib.h>.
6036 2013-04-27  Allan McRae  <allan@archlinux.org>
6038         * sysdeps/i386/fpu/libm-test-ulps: Update.
6040 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
6042         [BZ #15406]
6043         * math/s_catan.c: Include <float.h>.
6044         (__catan): Ensure underflow exception occurs for underflowed
6045         result.
6046         * math/s_catanf.c: Include <float.h>.
6047         (__catanf): Ensure underflow exception occurs for underflowed
6048         result.
6049         * math/s_catanh.c: Include <float.h>.
6050         (__catanh): Ensure underflow exception occurs for underflowed
6051         result.
6052         * math/s_catanhf.c: Include <float.h>.
6053         (__catanhf): Ensure underflow exception occurs for underflowed
6054         result.
6055         * math/s_catanhl.c: Include <float.h>.
6056         (__catanhl): Ensure underflow exception occurs for underflowed
6057         result.
6058         * math/s_catanl.c: Include <float.h>.
6059         (__catanl): Ensure underflow exception occurs for underflowed
6060         result.
6061         * math/libm-test.inc (catan_test): Add more tests.
6062         (catanh_test): Likewise.
6064         [BZ #15405]
6065         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6066         underflowed result.
6067         * math/s_ccoshf.c (__ccoshf): Likewise.
6068         * math/s_ccoshl.c (__ccoshl): Likewise.
6069         * math/s_csin.c (__csin): Likewise.
6070         * math/s_csinf.c (__csinf): Likewise.
6071         * math/s_csinh.c (__csinh): Likewise.
6072         * math/s_csinhf.c (__csinhf): Likewise.
6073         * math/s_csinhl.c (__csinhl): Likewise.
6074         * math/s_csinl.c (__csinl): Likewise.
6075         * math/libm-test.inc (ccos_test): Add more tests.
6076         (ccosh_test): Likewise.
6077         (csin_test): Likewise.
6078         (csinh_test): Likewise.
6080 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6082         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6083         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6084         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6085         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6086         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6087         powerpc/power5+/fpu folders.
6088         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6091 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6095 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
6097         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6098         additions to variable.
6099         [$(config-machine) = x86_64] (modules-names): Likewise.
6100         ($(objpfx)tst-audit3): Remove dependency.
6101         ($(objpfx)tst-audit3.out): Likewise.
6102         ($(objpfx)tst-audit4): Likewise.
6103         ($(objpfx)tst-audit4.out): Likewise.
6104         ($(objpfx)tst-audit5): Likewise.
6105         ($(objpfx)tst-audit5.out): Likewise.
6106         ($(objpfx)tst-audit6): Likewise.
6107         ($(objpfx)tst-audit6.out): Likewise.
6108         ($(objpfx)tst-audit7): Likewise.
6109         ($(objpfx)tst-audit7.out): Likewise.
6110         (tst-audit3-ENV): Remove variable.
6111         (tst-audit4-ENV): Likewise.
6112         (tst-audit5-ENV): Likewise.
6113         (tst-audit6-ENV): Likewise.
6114         (tst-audit7-ENV): Likewise.
6115         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6116         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6117         addition to variable.
6118         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6119         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6120         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6121         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6122         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6123         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6124         tst-audit3, tst-audit4 and tst-audit5.
6125         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6126         tst-audit6 and tst-audit7.
6127         [$(subdir) = elf] (modules-names): Add audit modules for those
6128         tests.
6129         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6130         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6131         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6132         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6133         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6134         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6135         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6136         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6137         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6138         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6139         [$(subdir) = elf] (tst-audit3-ENV): New variable.
6140         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6141         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6142         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6143         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6144         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6145         Likewise.
6146         [$(subdir) = elf && $(config-cflags-avx) = yes]
6147         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6148         [$(subdir) = elf && $(config-cflags-avx) = yes]
6149         (CFLAGS-tst-auditmod4a.c): Likewise.
6150         [$(subdir) = elf && $(config-cflags-avx) = yes]
6151         (CFLAGS-tst-auditmod4b.c): Likewise.
6152         [$(subdir) = elf && $(config-cflags-avx) = yes]
6153         (CFLAGS-tst-auditmod6b.c): Likewise.
6154         [$(subdir) = elf && $(config-cflags-avx) = yes]
6155         (CFLAGS-tst-auditmod6c.c): Likewise.
6156         [$(subdir) = elf && $(config-cflags-avx) = yes]
6157         (CFLAGS-tst-auditmod7b.c): Likewise.
6158         * elf/tst-audit3.c: Move to ...
6159         * sysdeps/x86_64/tst-audit3.c: ... here.
6160         * elf/tst-audit4.c: Move to ...
6161         * sysdeps/x86_64/tst-audit4.c: ... here.
6162         * elf/tst-audit5.c: Move to ...
6163         * sysdeps/x86_64/tst-audit5.c: ... here.
6164         * elf/tst-audit6.c: Move to ...
6165         * sysdeps/x86_64/tst-audit6.c: ... here.
6166         * elf/tst-audit7.c: Move to ...
6167         * sysdeps/x86_64/tst-audit7.c: ... here.
6168         * elf/tst-auditmod3a.c: Move to ...
6169         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6170         * elf/tst-auditmod3b.c: Move to ...
6171         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6172         * elf/tst-auditmod4a.c: Move to ...
6173         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6174         * elf/tst-auditmod4b.c: Move to ...
6175         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6176         * elf/tst-auditmod5a.c: Move to ...
6177         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6178         * elf/tst-auditmod5b.c: Move to ...
6179         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6180         * elf/tst-auditmod6a.c: Move to ...
6181         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6182         * elf/tst-auditmod6b.c: Move to ...
6183         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6184         * elf/tst-auditmod6c.c: Move to ...
6185         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6186         * elf/tst-auditmod7a.c: Move to ...
6187         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6188         * elf/tst-auditmod7b.c: Move to ...
6189         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6191 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
6193         [BZ #15366]
6194         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6195         define unconditionally.
6196         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6197         define unconditionally.
6198         (INT8_C, INT16_C, etc.): Likewise.
6200 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
6202         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6203         __ehdr_start with hidden visibility.
6205         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6207 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
6209         * math/libm-test.inc (cos_test): Use accurate hex constants.
6210         (sincost_test): Likewise.
6212 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
6214         * math/libm-test.inc (catan_test): Add more tests.
6215         (catanh_test): Likewise.
6217         * math/s_catanf.c (__catanf): Use suffixed floating-point
6218         constants.
6219         * math/s_catanhf.c (__catanhf): Likewise.
6220         * math/s_catanhl.c (__catanhl): Likewise.
6221         * math/s_catanl.c (__catanl): Likewise.
6223         [BZ #15394]
6224         * math/s_catan.c (__catan): Calculate imaginary part of result
6225         with log1p not log unless computing log of number close to 0.
6226         * math/s_catanf.c (__catanf): Likewise.
6227         * math/s_catanl.c (__catanl): Likewise.
6228         * math/s_catanh.c (__catanh): Calculate real part of result with
6229         log1p not log unless computing log of number close to 0.
6230         * math/s_catanhf.c (__catanhf): Likewise.
6231         * math/s_catanhl.c (__catanhl): Likewise.
6232         * math/libm-test.inc (catan_test): Add more tests.
6233         (catanh_test): Likewise.
6234         * sysdeps/i386/fpu/libm-test-ulps: Update.
6235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6237 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6239         * benchtests/Makefile: Mention files in which fast and slow
6240         paths of math functions are implemented.
6242 2013-04-23  Roland McGrath  <roland@hack.frob.com>
6244         * sysdeps/posix/timespec_get.c: New file.
6246 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6248         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6249         POWER.
6250         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6251         for POWER.
6252         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6253         powerpc/power5/fpu folders.
6254         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6255         * benchtests/Makefile: Add modf testcase.
6256         * benchtests/bench-modf.c: New file: Benchmark test for mo
6258 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6260         [BZ #14888]
6261         * time/Makefile (tests): Add tst-strptime-whitespace.
6262         * time/strptime_l.c (get_number): Use ISSPACE.
6263         (__strptime_internal): Likewise.
6264         * time/tst-strptime-whitespace.c: New test case.
6266 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
6268         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6269         member.
6270         (_nss_files_init): Set it here.
6272 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
6274         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6275         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6276         unsigned.
6278 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
6280         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6282 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6284         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6285         size just once.
6287 2013-04-21  David S. Miller  <davem@davemloft.net>
6289         * po/ru.po: Update Russion translation from translation project.
6291 2013-04-17  Adam Conrad  <adconrad@0c3.net>
6293         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6294         and setfsgid.
6296 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
6298         * configure.in: Remove i386 configure warning. Remove i386 case.
6299         * configure: Regenerate.
6300         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6301         Add example to error message.
6302         * sysdeps/i386/configure: Regenerate.
6304 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6306         * benchtests/Makefile (bench): Add cos, tan, slowcos and
6307         slowtan.
6308         * benchtests/cos-inputs: New file.
6309         * benchtests/slowcos-inputs: New file.
6310         * benchtests/slowcos.c: New file.
6311         * benchtests/slowtan-inputs: New file.
6312         * benchtests/slowtan.c: New file.
6313         * benchtests/tan-inputs: New file.
6315 2013-04-16  Roland McGrath  <roland@hack.frob.com>
6317         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6318         considered kosher.
6320 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6322         * benchtests/Makefile: Include cppflags-iterator.mk to add
6323         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6325         * Makefile.in (bench-clean): New target.
6326         * benchtests/Makefile (bench-clean): Likewise.
6328 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
6330         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6332 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
6334         * stdio-common/tstdiomisc.c: Fix coding-style violation.
6336 2013-04-15  Andreas Schwab  <schwab@suse.de>
6338         * nscd/grpcache.c (cache_addgr): Properly check for short write.
6339         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6340         * nscd/pwdcache.c (cache_addpw): Likewise.
6341         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
6342         more than recsize.
6344 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6346         * benchtests/Makefile (bench): Write all output to
6347         bench-out.tmp together.
6349 2013-04-15  Andreas Schwab  <schwab@suse.de>
6351         * nscd/nscd.c (main): Don't fork again after closing files.
6353 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6355         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6357         * benchtests/Rules (bench-deps): Collect dependencies into a
6358         single variable.  Add Makefile to dependencies.
6359         ($(objpfx)bench-%.c): Depend on bench-deps.
6361 2013-04-12  Roland McGrath  <roland@hack.frob.com>
6362             Xavier Roche  <roche+kml2@exalead.com>
6364         [BZ #15361]
6365         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6366         just that it's a file descriptor.
6367         * manual/llio.texi (Synchronizing AIO Operations): Update description
6368         for EBADF error from aio_fsync.
6370 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6372         * Rules (bench): Move target definition...
6373         * benchtests/Makefile: ... here.
6375 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
6377         * math/libm-test.inc (cos_test): Fix PI/2 test.
6378         (sincos_test): Likewise.
6379         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6380         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6382 2013-04-11  Andreas Schwab  <schwab@suse.de>
6384         [BZ #13988]
6385         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6386         accept exponent character only when digits were seen.
6387         * stdio-common/Makefile (tests): Add bug26.
6388         * stdio-common/bug26.c: New file.
6390         [BZ #14293]
6391         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6392         non-freeable.
6394 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6396         * Makeconfig (rtld-prefix): Define built linker prefix.
6397         * Rules (run-bench): Use it.
6398         * math/Makefile (run-regen-ulps): Likewise.
6400         * Rules (bench): Remove eval.
6402 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6403             Roland McGrath  <roland@hack.frob.com>
6404             Ondrej Bilka  <neleai@seznam.cz>
6406         [BZ #15346]
6407         * time/getdate.c: Include ctype.h and alloca.h.
6408         (__getdate_r): Trim leading and trailing spaces of input.
6409         * time/tst-getdate.c (tests): Add tests with leading and
6410         trailing spaces.
6412 2013-04-08  Roland McGrath  <roland@hack.frob.com>
6414         [BZ #14280]
6415         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6416         when computing value.
6418 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6420         * math/README.libm-test (How can I generate "libm-test-ulps"?):
6421         Use testrun.sh to run libm tests.
6423         [BZ #15309]
6424         * elf/dl-open.c (dl_open_worker): memset all of seen array.
6426 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
6428         [BZ #15264]
6429         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6431 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6433         * Makefile.in (regen-ulps): New target.
6434         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6435         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6436         [ifneq (no,$(PERL)] (regen-ulps): New target.
6437         [ifeq (no,$(PERL)] (regen-ulps): New target.
6438         * math/libm-test.inc (ulps_file_name): Define.
6439         (output_dir): New variable.
6440         (options): Add "output-dir" option.
6441         (parse_opt): Handle 'o' case.
6442         (main): If output_dir is non-NULL use it as a prefix
6443         otherwise use "".
6444         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6446 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6448         [BZ #10060, #10062]
6449         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6450         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6451         fail configure if __sync_val_compare_and_swap is not inlined.
6452         * sysdeps/i386/configure: Regenerate.
6453         * configure.in: Build for i686 when configured for i386.
6454         * configure: Regenerate.
6455         * README: Remove i386 reference.
6457 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6459         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6460         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6462 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
6464         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6465         (lmsnanval): New variables.
6466         (F): Add conversion tests.
6467         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6468         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6470         * stdio-common/tstdiomisc.c (F): Properly collect individual
6471         tests' results.
6473         [BZ #14686, #15336]
6474         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6475         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6476         Instead, use input NaN values or generate a qNaN by arithmetic
6477         operation.  Also fix bugs to comply with the standard.
6478         * math/libm-test.inc (remainder_test): Add more tests.
6480         [BZ #15335, #15342]
6481         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6482         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6483         input NaN values or generate a qNaN by arithmetic operation.
6485         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6486         unreachable code.
6488         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6489         definitions.
6491 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
6493         [BZ #14478]
6494         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6495         underflowed result.
6496         * math/s_cexpf.c (__cexpf): Likewise.
6497         * math/s_cexpl.c (__cexpl): Likewise.
6498         * math/libm-test.inc (cexp_test): Add more tests.
6500 2013-04-03  Andreas Schwab  <schwab@suse.de>
6502         [BZ #15330]
6503         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6504         order arrays from heap if bigger than alloca cutoff.
6506 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
6508         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6509         (SNAN_TESTS_double): Refer to GCC PR56831.
6510         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6511         GCC PR56828.
6513 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6515         * Rules (bench): Move bench.out after the run is complete.
6517         * Rules (bench): Echo currently running benchmark.
6519         * benchtests/Makefile (bench): Add atan and slowatan.
6520         * benchtests/atan-inputs: New file.
6521         * benchtests/slowatan-inputs: New file.
6522         * benchtests/slowatan.c: New file.
6524         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6525         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6526         its value.
6528         [BZ #15305]
6529         * sysdeps/unix/sysv/linux/kernel-features.h
6530         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6531         __ASSUME_XFS_RESTRICTED_CHOWN.
6532         * sysdeps/unix/sysv/linux/pathconf.c
6533         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6534         Save and restore errno.
6536 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
6538         [BZ #15327]
6539         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6540         arguments using __kernel_casinh.
6541         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6542         arguments using __kernel_casinhf.
6543         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6544         arguments using __kernel_casinhl.
6545         * math/libm-test.inc (cacosh_test): Add more tests.
6546         * sysdeps/i386/fpu/libm-test-ulps: Update.
6547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6549 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6551         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6552         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6554         * bench/Makefile (bench): Add sin and slowsin.
6555         * benchtests/sin-inputs: New file.
6556         * benchtests/slowsin-inputs: New file.
6557         * benchtests/slowsin.c: New file.
6559         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6560         (bench): Add slowexp and slowpow.
6561         (exp-ITER): Increase iterations.
6562         (pow-ITER): Likewise.
6563         * benchtests/exp-inputs: Change input.
6564         * benchtests/pow-inputs: Likewise.
6565         * benchtests/slowexp-inputs: New file.
6566         * benchtests/slowexp.c: New file.
6567         * benchtests/slowpow-inputs: New file.
6568         * benchtests/slowpow.c: New file.
6570 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6572         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6573         instructions.
6574         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6575         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6576         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6577         * benchtests/Makefile: Add rint benchtest.
6578         * benchtests/rint-inputs: Input for rint benchtest.
6580 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
6582         * Versions.def (libm): Add GLIBC_2.18.
6583         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6584         hidden libm prototypes.
6585         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6586         * math/Makefile (libm-calls): Add s_issignaling.
6587         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6588         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
6589         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6590         declaration.
6591         * math/math.h [__USE_GNU] (issignaling): New macro.
6592         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6593         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6594         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6595         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6596         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6597         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6598         * manual/arith.texi (issignaling): New section.
6599         * manual/libm-err-tab.pl (@all_functions): Update comment.
6600         * math/gen-libm-test.pl (parse_args): Apply special handling for
6601         issignaling.
6602         * math/libm-test.inc (print_float, issignaling_test): New
6603         functions.
6604         (check_float_internal): Add issignaling checks.
6605         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6606         default definition.
6607         * sysdeps/powerpc/math-tests.h: New file.
6608         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6609         tests.
6610         * math/test-snan.c (TEST_FUNC): Likewise.
6612 2013-03-30  David S. Miller  <davem@davemloft.net>
6614         * po/de.po: Update from translation team.
6616 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
6618         [BZ #10357]
6619         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6620         imaginary part less than 1.0 and real part less than 0.5
6621         specially.
6622         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6623         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6624         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6625         (cacos_test): Add more tests.
6626         (casin_test): Likewise.
6627         (casinh_test): Likewise.
6628         * sysdeps/i386/fpu/libm-test-ulps: Update.
6629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6631 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6633         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6634         ONE with its value.
6636         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6637         (__pow_mp): Replace ONE and MONE with their values.
6638         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6639         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6640         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6641         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6642         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6643         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6645         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6647         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6648         (__pow_mp): Replace ZERO and MZERO with their values.
6649         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6650         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6651         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6652         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6653         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6654         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6655         (__sqr): Likewise.
6657         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6659         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6661 2013-03-28  Roland McGrath  <roland@hack.frob.com>
6663         * include/stdlib.h [!SHARED] (__call_tls_dtors):
6664         Declare with __attribute__ ((weak)).
6665         * stdlib/exit.c (__libc_atexit) [!SHARED]:
6666         Call __call_tls_dtors only if it's not NULL.
6668 2013-03-28  Roland McGrath  <roland@hack.frob.com>
6670         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6671         didn't do it already, then set _dl_phdr and _dl_phnum based on the
6672         magic __ehdr_start linker symbol if it's defined.
6673         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6674         them up here if it was already done.
6676         * elf/dl-support.c (_dl_phdr): Make pointer to const.
6677         (_dl_aux_init): Use const in cast when setting it.
6678         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6679         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6680         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6682         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6683         Declare them here.
6684         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6685         * csu/libc-tls.c: Nor here.
6686         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6688         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6689         (__libc_message): Never call vsyslog.
6691 2013-03-28  Alan Modra  <amodra@gmail.com>
6693         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6694         Define as empty.
6695         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6696         Likewise.
6698 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6700         [BZ #15214]
6701         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6702         underflow.
6703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6705 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6707         [BZ #15304]
6708         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6709         Don't add gid passed as argument.
6711         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6713 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
6715         [BZ #15307]
6716         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6717         imaginary part between 1.0 and 1.5 and real part less than 0.5
6718         specially.
6719         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6720         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6721         * math/libm-test.inc (cacos_test): Add more tests.
6722         (casin_test): Likewise.
6723         (casinh_test): Likewise.
6724         * sysdeps/i386/fpu/libm-test-ulps: Update.
6725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6727 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6729         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6730         constants.
6731         (norm): Likewise.
6732         (denorm): Likewise.
6733         (__dbl_mp): Likewise.
6734         (add_magnitudes): Likewise.
6735         (sub_magnitudes): Likewise.
6736         (__add): Likewise.
6737         (__sub): Likewise.
6738         (__mul): Likewise.
6739         (__sqr): Likewise.
6740         (__inv): Likewise.
6741         (__dvd): Likewise.
6743         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6744         commented code.
6745         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6746         (__dubcos): Likewise.
6747         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6748         (__ieee754_acos): Likewise.
6749         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6750         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6751         (__exp1): Likewise.
6752         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6753         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6754         (log1): Likewise.
6755         (my_log2): Likewise.
6756         (checkint): Likewise.
6757         * sysdeps/ieee754/dbl-64/e_remainder.c
6758         (__ieee754_remainder): Likewise.
6759         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6760         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6761         (bsloww): Likewise.
6762         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6764         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6765         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6766         MANTISSA_STORE_T to store computations on mantissa.  Use
6767         macros for rounding and division.
6768         (denorm): Likewise.
6769         (__dbl_mp): Likewise.
6770         (add_magnitudes): Likewise.
6771         (sub_magnitudes): Likewise.
6772         (__mul): Likewise.
6773         (__sqr): Likewise.
6774         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
6775         powers of two in terms of TWOPOW macro.
6776         (mp_no): Make type of mantissa as MANTISSA_T.
6777         [!RADIXI]: Define RADIXI.
6778         [!TWO52]: Define TWO52.
6779         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6781 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6783         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6784         llroundl symbol when building for PPC32.
6786 2013-03-24  Mark H Weaver  <mhw@netris.org>
6788         * manual/arith.texi (Normalization Functions): Fix prototypes for
6789         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6791 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6793         [BZ #13889]
6794         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6795         high value to check if expl overflow.
6796         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6797         to check for underflow and overflow.
6798         * math/libm-test.inc: Add exp test.
6800 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
6802         [BZ #11120]
6803         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6804         with NOT_IN_libc.
6806 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6808         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6809         symbol.
6811 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6813         * math/gen-libm-test.pl (parse_args, special_functions): Properly
6814         wrap blocks consisting of several statements.
6816         * sysdeps/generic/math-tests.h: New file.
6817         * sysdeps/i386/fpu/math-tests.h: Likewise.
6818         * math/test-snan.c: Include it.
6819         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6821 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6823         [BZ #15285]
6824         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6825         (__ieee754_j0l): Do not improve calculations using cos of twice
6826         input for inputs above LDBL_MAX / 2.0L.
6827         (__ieee754_y0l): Likewise.
6828         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6829         (__ieee754_j1l): Do not improve calculations using cos of twice
6830         input for inputs above LDBL_MAX / 2.0L.
6831         (__ieee754_y1l): Likewise.
6832         * math/libm-test.inc (j0_test): Add another test.
6833         (j1_test): Likewise.
6834         (y0_test): Likewise.
6835         (y1_test): Likewise.
6836         * sysdeps/i386/fpu/libm-test-ulps: Update.
6838 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6840         * Rules ($(objpfx)bench-%.c): Include code from a C source
6841         file.
6843 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6845         [BZ #15287]
6846         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6847         imaginary part 1.0 and real part less than 0.5 specially.
6848         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6849         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6850         * math/libm-test.inc (cacos_test): Add more tests.
6851         (casin_test): Likewise.
6852         (casinh_test): Likewise.
6853         * sysdeps/i386/fpu/libm-test-ulps: Update.
6854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6856 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6858         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6859         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6861 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
6863         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6864         * config.make.in (config-cflags-sse4): Remove variable.
6865         (config-cflags-avx): Likewise.
6866         (config-cflags-sse2avx): Likewise.
6867         (config-cflags-novzeroupper): Likewise.
6868         (config-asflags-i686): Likewise.
6869         (have-mfma4): Likewise.
6870         (have-as-vis3): Likewise.
6871         (MIG): Likewise.
6872         * configure.in (MIG): Do not AC_SUBST.
6873         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6874         (libc_cv_cc_sse4): Do not AC_SUBST.
6875         (libc_cv_cc_avx): Likewise.
6876         (libc_cv_cc_sse2avx): Likewise.
6877         (libc_cv_cc_novzeroupper): Likewise.
6878         (libc_cv_cc_fma4): Likewise.
6879         (libc_cv_as_i686): Likewise.
6880         (libc_cv_sparc_as_vis3): Likewise.
6881         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6882         LIBC_CONFIG_VAR.
6883         (config-asflags-i686): Likewise.
6884         (config-cflags-avx): Likewise.
6885         (config-cflags-sse2avx): Likewise.
6886         (have-mfma4): Likewise.
6887         (config-cflags-novzeroupper): Likewise.
6888         * sysdeps/mach/configure.in (MIG): Likewise.
6889         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6890         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6891         LIBC_CONFIG_VAR.
6892         (config-cflags-avx): Likewise.
6893         (config-cflags-sse2avx): Likewise.
6894         (have-mfma4): Likewise.
6895         (config-cflags-novzeroupper): Likewise.
6896         * configure: Regenerated.
6897         * sysdeps/i386/configure: Likewise.
6898         * sysdeps/mach/configure: Likewise.
6899         * sysdeps/sparc/configure: Likewise.
6900         * sysdeps/x86_64/configure: Likewise.
6902 2013-03-20  Roland McGrath  <roland@hack.frob.com>
6904         [BZ #14812]
6905         * locale/programs/localedef.c (options): Put N_ translation marker
6906         on argument names, not just descriptions.
6908 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6910         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6912 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
6914         [BZ #14176]
6915         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6917 2013-03-19  Roland McGrath  <roland@hack.frob.com>
6919         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6920         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6921         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6922         [!BEFORE_ABORT] (before_abort): New function.
6923         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6924         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6925         (writev_for_fatal): New function.
6926         (WRITEV_FOR_FATAL): New macro; call that.
6927         (backtrace_and_maps): New function.
6928         (BEFORE_ABORT): New macro; call that.
6929         (struct str_list): Type removed.
6930         (__libc_message, __libc_fatal): Functions removed.
6931         Include <sysdeps/posix/libc_fatal.c> instead.
6933 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
6935         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6936         constants.
6937         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6938         double constants.
6940 2013-03-19  Andreas Schwab  <schwab@suse.de>
6942         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6943         * sysdeps/gnu/configure: Regenerate.
6945         * configure.in: Substitute libc_cv_rtlddir.
6946         * configure: Regenerate.
6947         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6948         * Makeconfig (rtlddir, inst_rtlddir): New variables.
6949         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6950         * elf/Makefile (install-others, CFLAGS-interp.c)
6951         (ldso_install, common-ldd-rewrite): Likewise.
6952         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6953         $(inst_slibdir)/$(rtld-installed-name).
6954         * scripts/rellns-sh: Add -p option.
6955         * Makerules (make-shlib-link): Use rellns-sh to get relative name
6956         for source.
6958 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6960         * manual/nptl.texi: Renamed to ...
6961         * manual/threads.texi: ... this.
6962         * manual/Makefile (chapters): Update.
6964 2013-03-18  Roland McGrath  <roland@hack.frob.com>
6966         [BZ #14812]
6967         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6968         on argument names, not just descriptions.
6969         * malloc/memusagestat.c (options): Likewise.
6970         * nss/getent.c (options): Likewise.
6972 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
6974         [BZ #14812]
6975         * iconv/iconv_prog.c (options): Put N_ translation marker
6976         on argument names, not just descriptions.
6977         * iconv/iconvconfig.c (options): Likewise.
6979 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
6981         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6982         implementation which is faster on all x86_64 architectures.
6983         Tested on AMD, Intel Nehalem, SNB, IVB.
6984         * sysdeps/x86_64/strnlen.S: Likewise.
6986         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6987         Remove all multiarch strlen and strnlen versions.
6988         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6989         Remove strlen and strnlen related parts.
6991         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6992         Inline strlen part.
6993         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6995         * sysdeps/x86_64/multiarch/strlen.S: Remove.
6996         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6997         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6998         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6999         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7000         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7002 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
7004         * manual/memory.texi (Malloc Tunable Parameters):
7005         Sort parameters alphabetically. Add comments for missing entries.
7007 2013-03-17  David S. Miller  <davem@davemloft.net>
7009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7011 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
7013         [BZ #15283]
7014         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7015         for arguments at most half maximum finite value.
7016         * math/libm-test.inc (j0_test): Add more tests.
7017         (j1_test): Likewise.
7018         (y0_test): Likewise.
7019         (y1_test): Likewise.
7020         * sysdeps/i386/fpu/libm-test-ulps: Update.
7021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7023         [BZ #14155]
7024         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7025         1 / x and functions P and Q for arguments above 0x1p256L.
7026         (__ieee754_y0l): Likewise.
7027         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7028         (__ieee754_y1l): Likewise.
7029         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7030         (j1_test): Likewise.
7031         (y0_test): Likewise.
7032         (y1_test): Likewise.
7034 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
7036         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7037         variable.
7039 2013-03-15  Roland McGrath  <roland@hack.frob.com>
7041         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7042         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7043         zero since it's initialized to EXEC_PAGESIZE.
7045         * sysdeps/unix/sysv/linux/ldsodefs.h
7046         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7047         * sysdeps/generic/ldsodefs.h: ... here.
7049 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
7051         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7053         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7054         math/test-snan.c.
7055         * math/test-snan.c: Renamed from
7056         sysdeps/powerpc/fpu/test-powerpc-snan.c.
7057         * math/Makefile (tests): Add test-snan.
7058         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7059         test-powerpc-snan.
7061         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7062         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
7063         functions.
7064         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
7065         __builtin_nan family of functions.
7066         * math/libm-test.inc (initialize): Initialize qnan_value with
7067         __builtin_nan family of functions.
7068         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7069         Remove variables.
7070         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7071         Remove functions.
7072         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
7073         storage class.  Initialize qNaN_var and sNaN_var with
7074         __builtin_nan and __builtin_nans families of functions,
7075         respectively.
7077         * math/libm-test.inc (acosh_test): Also test with qNaN input.
7078         (sqrt_test): Remove duplicate test with qNaN input.
7079         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7080         (round_test, signbit_test, significand_test): Note missing +/-Inf
7081         as well as qNaN tests.
7083         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7084         qNaN_var.  Fix a few strings, too.
7085         * math/libm-test.inc (nan_value): Rename to qnan_value.
7086         * math/gen-libm-test.pl (%beautify): Adjust to that.
7087         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7088         * math/test-misc.c (main): Likewise.
7089         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7090         to __qnan_bytes, and __qnan_union, respectively.
7091         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7092         Likewise.
7093         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7094         and lqnanval, respectively.
7095         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7096         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7097         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7098         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7100         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7101         * math/test-misc.c (main) [__x86_64__]: Enable test for long
7102         doubles.
7104         * math/test-misc.c (main): Fix copy'n'pastos.
7105         * misc/tst-efgcvt.c (special): Likewise.
7107         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7108         Remove declarations.
7110 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7112         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7113         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7114         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7115         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7117 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7119         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7120         macro to return vdso values correctly in IFUNC implementations.
7121         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7122         Optimization by using IFUNC.
7124 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7125             Richard Henderson  <rth@redhat.com>
7126             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7128         * Makefile.in (bench): New target.
7129         * NEWS: Mention the benchmark framework.
7130         * Rules (bench): Likewise.
7131         (binaries-bench): Generate binaries for functions to
7132         benchmark.
7133         * benchtests/Makefile: New makefile for benchmark tests.
7134         * benchtests/bench-skeleton.c: New skeleton file for benchmark
7135         programs.
7136         * benchtests/exp-inputs: New input file for EXP function.
7137         * benchtests/pow-inputs: New input file for POW function.
7138         * scripts/bench.pl: New script to generate source files for
7139         benchmark programs.
7141 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7143         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7144         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7145         computations on mantissa.  Use macros for rounding and
7146         division.
7147         (denorm): Likewise.
7148         (__dbl_mp): Likewise.
7149         (add_magnitudes): Likewise.
7150         (sub_magnitudes): Likewise.
7151         (__mul): Likewise.
7152         (__sqr): Likewise.
7153         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7154         powers of two in terms of TWOPOW macro.
7155         (mp_no): Make type of mantissa as MANTISSA_T.
7156         [!RADIXI]: Define RADIXI.
7157         [!TWO52]: Define TWO52.
7158         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7160         * manual/nptl.texi (cindex): Modify threads to pthreads.
7162 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
7164         * sysdeps/x86_64/preconfigure: Regenerated.
7166 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
7168         [BZ #14155]
7169         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7170         0x1p28 and above.
7171         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7172         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7173         0x1p28 and above.
7174         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7175         * math/libm-test.inc (j0_test): Do not allow one spurious
7176         underflow exception.
7177         (y1_test): Likewise.
7179 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7181         * manual/Makefile (chapters): Add nptl.
7182         * manual/debug.texi (Debugging Support): Add link to Threads
7183         chapter.
7184         * manual/nptl.texi: New file.
7186         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7188 2013-03-14  Petr Baudis  <pasky@ucw.cz>
7190         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7191         for non-NULL pointer before the memory validity test. Pointed
7192         out by Holger Brunck <holger.brunck@keymile.com>.
7194 2013-03-13  Andreas Schwab  <schwab@suse.de>
7196         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7197         instead of .os.
7199 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
7201         * timezone/zic.c: Update from tzcode 2013b.
7203 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
7205         * manual/install.texi (Configuring and compiling):
7206         Mention i686 and i586.
7207         * INSTALL: Regenerate.
7209 2013-03-12  Roland McGrath  <roland@hack.frob.com>
7211         * sysdeps/init_array/elf-init.c: New file.
7212         * csu/elf-init.c
7213         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7214         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7216         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7217         __gmon_start__ as global, but as static with a .preinit_array pointer.
7218         * sysdeps/init_array/gmon-start.c: New file.  Use that.
7219         * sysdeps/init_array/crti.S: New file, empty except for comments.
7220         * sysdeps/init_array/crtn.S: Likewise.
7222 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
7224         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7225         definining bcopy.
7226         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7227         Remove Prefer_SSE_for_memop.
7228         * sysdeps/x86_64/multiarch/init-arch.h: Remove
7229         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7230         HAS_PREFER_SSE_FOR_MEMOP.
7231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7232         memset-x86-64.
7233         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7234         Remove bzero, memset ifunc support.
7235         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7236         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7237         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7238         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7240 2013-03-11  Andreas Schwab  <schwab@suse.de>
7242         [BZ #15234]
7243         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7244         by SHLIB_COMPAT.
7245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7246         (GLIBC_2.16): Remove pthread_atfork.
7248 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7250         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7251         (ptestcases.h): Likewise.
7253 2013-03-08  Roland McGrath  <roland@hack.frob.com>
7255         * Makeconfig ($(common-objpfx)config.status): Depend on
7256         sysdeps/*/preconfigure{,.in} too.
7258 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
7260         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7261         (__free_hook): Use void * instead of __malloc_ptr_t.
7262         (__malloc_hook): Likewise.
7263         (__realloc_hook): Likewise.
7264         (__memalign_hook): Likewise.
7265         (__after_morecore_hook): Likewise.
7266         * malloc/arena.c (save_malloc_hook): Likewise.
7267         (save_free_hook): Likewise.
7268         * malloc/hooks.c (malloc_hook_ini): Likewise.
7269         (realloc_hook_ini): Likewise.
7270         (memalign_hook_ini): Likewise.
7271         * malloc/malloc.c (malloc_hook_ini): Likewise.
7272         (realloc_hook_ini): Likewise.
7273         (memalign_hook_ini): Likewise.
7274         (__free_hook): Likewise.
7275         (__malloc_hook): Likewise.
7276         (__realloc_hook): Likewise.
7277         (__memalign_hook): Likewise.
7278         (__libc_malloc): Likewise.
7279         (__libc_free): Likewise.
7280         (__libc_realloc): Likewise.
7281         (__libc_memalign): Likewise.
7282         (__libc_valloc): Likewise.
7283         (__libc_pvalloc): Likewise.
7284         (__libc_calloc): Likewise.
7285         (__posix_memalign): Likewise.
7286         * malloc/morecore.c (__sbrk): Likewise.
7287         (__default_morecore): Likewise.
7289         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7291         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7292         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7293         __malloc_ptrdiff_t.
7295         * malloc/malloc.h (__malloc_size_t): Remove macro.
7296         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7297         __malloc_size_t.
7298         (old_memalign_hook): Likewise.
7299         (old_realloc_hook): Likewise.
7300         (struct hdr): Likewise.
7301         (flood): Likewise.
7302         (mallochook): Likewise.
7303         (memalignhook): Likewise.
7304         (reallochook): Likewise.
7305         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7306         (tr_old_realloc_hook): Likewise.
7307         (tr_old_memalign_hook): Likewise.
7308         (tr_mallochook): Likewise.
7309         (tr_reallochook): Likewise.
7310         (tr_memalignhook): Likewise.
7312 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7314         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7315         default_ldbl_pack and using as default implementation.
7316         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7317         implementation.
7318         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7319         redundant definition.
7320         (ldbl_insert_mantissa): Likewise.
7321         (ldbl_canonicalize): Likewise.
7322         (ldbl_nearbyint): Likewise.
7323         (ldbl_pack): Rename to ldbl_pack_ppc.
7324         (ldbl_unpack): Rename to ldbl_unpack_ppc.
7325         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7326         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7328 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7330         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7331         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7332         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7333         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7334         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7335         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7336         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7337         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7339 2013-03-07  Andreas Jaeger  <aj@suse.de>
7341         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7342         bits/mman-linux.h.
7344 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7346         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7347         Include mpa.h and declare __MPEXP.
7348         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7349         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7350         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7351         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7352         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7353         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7354         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7356         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7357         (__slowpow): Use long double EXPL and LOGL functions to
7358         compute POW.
7359         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7360         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7361         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7362         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7363         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7364         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7366         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7367         intermediate variable to calculate exponent.
7368         (__sqr): Likewise.
7369         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7370         Likewise.
7371         (__sqr): Likewise.
7373         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7374         [!NO__SQR]: Define __sqr.
7375         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7376         and NO__SQR.  Remove all code except __mul and __sqr.  Include
7377         sysdeps/ieee754/dbl-64/mpa.c.
7378         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7380         [BZ #12723]
7381         * posix/Makefile (tests): Add tst-pathconf.
7382         * posix/tst-pathconf.c: New test case.
7383         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7384         _PC_PIPE_BUF.
7385         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7387 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
7389         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7391 2013-03-06  Andreas Jaeger  <aj@suse.de>
7393         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7394         definition via __MAP_ANONYMOUS.
7396         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7397         it's not part of Linux headers.
7399         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7400         (MAP_HUGE_MASK): Define.
7402         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7403         Define.
7404         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7405         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7406         Define.
7407         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7408         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7409         Define.
7410         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7411         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7412         Define.
7413         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7415         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7416         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7417         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7418         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7419         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7420         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7422         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7423         Handle f2fs.
7425         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7426         Handle f2fs and efivarfs.
7428         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7429         f2fs.
7431         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7432         (EFIVARFS_MAGIC): Add.
7433         (F2FS_LINK_MAX): Add.
7435 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7437         * stdio-common/vfprintf.c: Replace __builtin_expect with
7438         __glibc_unlikely.
7440 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
7442         [BZ #13550]
7443         * sysdeps/generic/bp-sym.h: Remove file.
7444         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7445         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7446         <bp-sym.h> and <bp-asm.h>.
7447         (__longjmp): Don't use BP_SYM.
7448         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7449         and <bp-asm.h>.
7450         (memcpy): Don't use BP_SYM.
7451         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7452         <bp-sym.h> and <bp-asm.h>.
7453         (memcpy): Don't use BP_SYM.
7454         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7455         <bp-asm.h>.
7456         (memcpy): Don't use BP_SYM.
7457         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7458         <bp-asm.h>.
7459         (memset): Don't use BP_SYM.
7460         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7461         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7462         (__bzero): Don't use BP_SYM.
7463         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7464         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7465         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7466         <bp-sym.h> and <bp-asm.h>.
7467         (memcmp): Don't use BP_SYM.  Remove comment about bounded
7468         pointers.
7469         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7470         <bp-sym.h> and <bp-asm.h>.
7471         (memcpy): Don't use BP_SYM.
7472         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7473         <bp-sym.h> and <bp-asm.h>.
7474         (memset): Don't use BP_SYM.
7475         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7476         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7477         (__bzero): Don't use BP_SYM.
7478         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7479         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7480         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7481         <bp-sym.h> and <bp-asm.h>.
7482         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7483         pointers.
7484         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7485         <bp-sym.h> and <bp-asm.h>.
7486         (memcpy): Don't use BP_SYM.
7487         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7488         <bp-sym.h> and <bp-asm.h>.
7489         (memset): Don't use BP_SYM.
7490         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7491         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7492         (__bzero): Don't use BP_SYM.
7493         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7494         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7495         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7496         <bp-sym.h> and <bp-asm.h>.
7497         (__memchr): Don't use BP_SYM.
7498         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7499         <bp-sym.h> and <bp-asm.h>.
7500         (memcmp): Don't use BP_SYM.  Remove comment about bounded
7501         pointers.
7502         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7503         <bp-sym.h> and <bp-asm.h>.
7504         (memcpy): Don't use BP_SYM.
7505         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7506         <bp-sym.h> and <bp-asm.h>.
7507         (__mempcpy): Don't use BP_SYM.
7508         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7509         <bp-sym.h> and <bp-asm.h>.
7510         (__memrchr): Don't use BP_SYM.
7511         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7512         <bp-sym.h> and <bp-asm.h>.
7513         (memset): Don't use BP_SYM.
7514         (__bzero): Likewise.
7515         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7516         <bp-sym.h> and <bp-asm.h>.
7517         (__rawmemchr): Don't use BP_SYM.
7518         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7519         <bp-sym.h> and <bp-asm.h>.
7520         (__STRCMP): Don't use BP_SYM.
7521         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7522         <bp-sym.h> and <bp-asm.h>.
7523         (strchr): Don't use BP_SYM.
7524         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7525         <bp-sym.h> and <bp-asm.h>.
7526         (__strchrnul): Don't use BP_SYM.
7527         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7528         <bp-sym.h> and <bp-asm.h>.
7529         (strlen): Don't use BP_SYM.
7530         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7531         <bp-sym.h> and <bp-asm.h>.
7532         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7533         pointers.
7534         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7535         <bp-sym.h> and <bp-asm.h>.
7536         (__strnlen): Don't use BP_SYM.
7537         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7538         <bp-sym.h> and <bp-asm.h>.
7539         (__GI__setjmp): Don't use BP_SYM.
7540         (_setjmp): Likewise.
7541         (__sigsetjmp): Likewise.
7542         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7543         (L(start_addresses)): Don't use BP_SYM.
7544         (_start): Likewise.
7545         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7546         <bp-asm.h>.
7547         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7548         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7549         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7550         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7551         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7552         <bp-asm.h>.
7553         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7554         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
7555         about bounded pointers.
7556         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7557         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7558         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7559         <bp-asm.h>.
7560         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
7561         about bounded pointers.  Remove GKM FIXME comments.
7562         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7563         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7564         <bp-asm.h>.
7565         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7566         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
7567         Remove GKM FIXME comments.
7568         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7569         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7570         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7571         <bp-asm.h>.
7572         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
7573         about bounded pointers.  Remove GKM FIXME comment.
7574         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7575         and <bp-asm.h>.
7576         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7577         pointers.
7578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7579         <bp-sym.h> and <bp-asm.h>.
7580         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7582         <bp-sym.h> and <bp-asm.h>.
7583         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
7584         comment.
7586 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7588         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7589         call free(NULL).
7591 2013-03-05  David S. Miller  <davem@davemloft.net>
7593         * po/es.po: Update from translation team.
7595 2013-03-05  Andreas Jaeger  <aj@suse.de>
7597         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7598         <bits/mman-linux.h>.
7599         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7600         is fine.
7601         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7602         <bits/mman-linux.h> to end of file.
7603         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7604         is fine.
7605         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7606         <bits/mman-linux.h> to end of file.
7607         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7608         is fine.
7609         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7610         <bits/mman-linux.h> to end of file.
7612         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7613         (MCL_CURRENT, MCL_FUTURE): Define here.
7615 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7617         [BZ #15232]
7618         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7619         attribute_hidden.
7620         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7622 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7624         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7625         fourth parameter needed for rt_sigprocmask syscall.
7626         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7627         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7628         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7629         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7630         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7631         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7633 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
7635         [BZ #13550]
7636         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7637         comment about bounded pointers.
7638         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7639         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7641 2013-03-04  Andreas Jaeger  <aj@suse.de>
7643         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7644         common definitions.
7646         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7647         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7648         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7649         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7650         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7651         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7653 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7655         [BZ #15055]
7656         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7657         __ieee754_sqrl instead of __sqrl.
7659 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
7661         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7662         * sysdeps/powerpc/fpu_control.h: ... here.
7663         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7664         * sysdeps/powerpc/bits/fenvinline.h: ... here.
7665         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7666         * sysdeps/powerpc/bits/mathinline.h: ... here.
7668 2013-03-01  Roland McGrath  <roland@hack.frob.com>
7670         * elf/dl-hwcaps.c (_dl_important_hwcaps):
7671         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7672         to just [NEED_DL_SYSINFO_DSO].
7673         * elf/dl-support.c: Likewise.
7674         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7675         * elf/rtld.c (dl_main): Likewise.
7676         * elf/setup-vdso.h (setup_vdso): Likewise.
7677         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7678         * sysdeps/unix/sysv/linux/dl-sysdep.c
7679         (_dl_discover_osversion): Likewise.
7681 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
7683         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7684         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7686 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7688         * NEWS: Mention libm performance improvements and non-x86 PI
7689         futex support.
7691         * csu/libc-start.c (__pthread_initialize_minimal): Change
7692         function arguments.
7693         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7695 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
7697         [BZ #13550]
7698         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7699         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7700         <bp-sym.h> and <bp-asm.h>.
7701         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7702         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7703         and <bp-asm.h>.
7704         (memcpy): Don't use BP_SYM.
7705         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7706         <bp-asm.h>.
7707         (__mpn_add_n): Don't use BP_SYM.
7708         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7709         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7710         and <bp-asm.h>.
7711         (__mpn_addmul_1): Don't use BP_SYM.
7712         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7713         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7714         <bp-sym.h>.
7715         (_setjmp): Don't use BP_SYM.
7716         (__novmx_setjmp): Likewise.
7717         (__GI__setjmp): Likewise.
7718         (__vmx_setjmp): Likewise.
7719         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7720         <bp-sym.h>.
7721         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7722         (__bzero): Don't use BP_SYM.
7723         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7724         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7725         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7726         <bp-sym.h> and <bp-asm.h>.
7727         (memcpy): Don't use BP_SYM.
7728         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7729         <bp-sym.h> and <bp-asm.h>.
7730         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7731         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7732         <bp-sym.h> and <bp-asm.h>.
7733         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7734         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7735         <bp-asm.h>.
7736         (__mpn_lshift): Don't use BP_SYM.
7737         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7738         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7739         <bp-asm.h>.
7740         (memset): Don't use BP_SYM.
7741         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7742         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7743         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7744         <bp-asm.h>.
7745         (__mpn_mul_1): Don't use BP_SYM.
7746         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7747         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7748         <bp-sym.h> and <bp-asm.h>.
7749         (memcmp): Don't use BP_SYM.
7750         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7751         <bp-sym.h> and <bp-asm.h>.
7752         (memcpy): Don't use BP_SYM.
7753         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7754         <bp-sym.h> and <bp-asm.h>.
7755         (memset): Don't use BP_SYM.
7756         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7757         <bp-sym.h> and <bp-asm.h>.
7758         (strncmp): Don't use BP_SYM.
7759         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7760         <bp-sym.h> and <bp-asm.h>.
7761         (memcpy): Don't use BP_SYM.
7762         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7763         <bp-sym.h> and <bp-asm.h>.
7764         (memset): Don't use BP_SYM.
7765         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7766         <bp-sym.h> and <bp-asm.h>.
7767         (__memchr): Don't use BP_SYM.
7768         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7769         <bp-sym.h> and <bp-asm.h>.
7770         (memcmp): Don't use BP_SYM.
7771         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7772         <bp-sym.h> and <bp-asm.h>.
7773         (memcpy): Don't use BP_SYM.
7774         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7775         <bp-sym.h> and <bp-asm.h>.
7776         (__mempcpy): Don't use BP_SYM.
7777         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7778         <bp-sym.h> and <bp-asm.h>.
7779         (__memrchr): Don't use BP_SYM.
7780         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7781         <bp-sym.h> and <bp-asm.h>.
7782         (memset): Don't use BP_SYM.
7783         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7784         <bp-sym.h> and <bp-asm.h>.
7785         (__rawmemchr): Don't use BP_SYM.
7786         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7787         <bp-sym.h> and <bp-asm.h>.
7788         (__STRCMP): Don't use BP_SYM.
7789         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7790         <bp-sym.h> and <bp-asm.h>.
7791         (strchr): Don't use BP_SYM.
7792         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7793         <bp-sym.h> and <bp-asm.h>.
7794         (__strchrnul): Don't use BP_SYM.
7795         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7796         <bp-sym.h> and <bp-asm.h>.
7797         (strlen): Don't use BP_SYM.
7798         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7799         <bp-sym.h> and <bp-asm.h>.
7800         (strncmp): Don't use BP_SYM.
7801         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7802         <bp-sym.h> and <bp-asm.h>.
7803         (__strnlen): Don't use BP_SYM.
7804         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7805         <bp-asm.h>.
7806         (__mpn_rshift): Don't use BP_SYM.
7807         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7808         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7809         <bp-sym.h> and <bp-asm.h>.
7810         (__sigsetjmp): Don't use BP_SYM.
7811         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7812         (L(start_addresses)): Don't use BP_SYM.
7813         (_start): Likewise.
7814         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7815         <bp-asm.h>.
7816         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7817         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7818         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7819         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7820         <bp-asm.h>.
7821         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7822         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7823         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7824         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7825         <bp-asm.h>.
7826         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7827         comments.
7828         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7829         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7830         <bp-asm.h>.
7831         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
7832         FIXME comments.
7833         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7834         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7835         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7836         <bp-asm.h>.
7837         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7838         comment.
7839         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7840         and <bp-asm.h>.
7841         (strncmp): Don't use BP_SYM,
7842         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7843         <bp-asm.h>.
7844         (__mpn_sub_n): Don't use BP_SYM.
7845         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7846         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7847         and <bp-asm.h>.
7848         (__mpn_submul_1): Don't use BP_SYM.
7849         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7851         <bp-sym.h> and <bp-asm.h>.
7852         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7854         <bp-sym.h> and <bp-asm.h>.
7855         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
7856         comment.
7858 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7860         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7861         Use ZK to minimize writes to Z.
7862         (sub_magnitudes): Simplify code a bit.
7863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7864         Use ZK to minimize writes to Z.
7865         (sub_magnitudes): Simplify code a bit.
7867 2013-02-27  Roland McGrath  <roland@hack.frob.com>
7869         * csu/gmon-start.c: Add special exception to license text.
7871 2013-02-27  Richard Henderson  <rth@redhat.com>
7873         * scripts/config.guess: Update from config.git.
7874         * scripts/config.sub: Likewise.
7876 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7878         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7880         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7882         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7884         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7886         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7888 2013-02-26  Roland McGrath  <roland@hack.frob.com>
7890         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7891         [$(build-shared = yes].
7893 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7895         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7896         (__mul): Reduce iterations for calculating mantissa.
7898         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7899         MPTWO.
7900         (__mpranred): Likewise.
7902         [BZ #15160]
7903         * malloc/memusagestat.c (main): Draw graphs for heap and stack
7904         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7906 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
7908         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7909         Define __attribute__.
7911 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7913         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7914         unused.
7915         * posix/regex_internal.h (__attribute): Remove.
7916         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7917         (re_string_context_at): Likewise.
7918         (bitset_not): Use __attribute__ and mark function as possibly
7919         unused.
7920         (bitset_merge): Likewise.
7921         (bitset_mask): Likewise.
7922         (re_string_char_size_at): Likewise.
7923         (re_string_wchar_at): Likewise.
7924         (re_string_elem_size_at): Likewise.
7926 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7928         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7929         code.
7930         (cc32): Likewise.
7932         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7933         (__acr): Likewise.
7934         (__cpy): Likewise.
7935         (norm): Likewise.
7936         (denorm): Likewise.
7937         (__dbl_mp): Likewise.
7938         (add_magnitudes): Likewise.
7939         (sub_magnitudes): Likewise.
7940         (__mul): Likewise.
7941         (__inv): Likewise.
7943         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7944         style.
7946         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7947         style.
7949         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7950         code.
7952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7953         up changes with default code.
7954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7955         Likewise.
7957 2013-02-24  Allan McRae  <allan@archlinux.org>
7959         * manual/socket.texi (The Internet Namespace): Order menu items
7960         to match that in the file.
7962         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7963         node listing of the info page menu.
7965 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
7967         [BZ #13550]
7968         * sysdeps/i386/bp-asm.h: Remove file.
7969         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7970         (PARMS): Do not use macros from bp-asm.h.
7971         (S1): Likewise.
7972         (S2): Likewise.
7973         (SIZE): Likewise.
7974         (__mpn_add_n): Do not use BP_SYM
7975         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7976         "bp-asm.h".
7977         (PARMS): Do not use macros from bp-asm.h.
7978         (S1): Likewise.
7979         (SIZE): Likewise.
7980         (__mpn_addmul_1): Do not use BP_SYM
7981         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7982         "bp-asm.h".
7983         (PARMS): Do not use macros from bp-asm.h.
7984         (SIGMSK): Likewise.
7985         (_setjmp): Likewise.  Do not use BP_SYM.
7986         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7987         "bp-asm.h".
7988         (PARMS): Do not use macros from bp-asm.h.
7989         (SIGMSK): Likewise.
7990         (setjmp): Likewise.  Do not use BP_SYM.
7991         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7992         "bp-asm.h".
7993         (PARMS): Do not use macros from bp-asm.h.
7994         (__frexp): Do not use BP_SYM.
7995         (frexp): Likewise.
7996         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7997         "bp-asm.h".
7998         (PARMS): Do not use macros from bp-asm.h.
7999         (__frexpf): Do not use BP_SYM.
8000         (frexpf): Likewise.
8001         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8002         "bp-asm.h".
8003         (PARMS): Do not use macros from bp-asm.h.
8004         (__frexpl): Do not use BP_SYM.
8005         (frexpl): Likewise.
8006         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8007         "bp-asm.h".
8008         (PARMS): Do not use macros from bp-asm.h.
8009         (__remquo): Do not use BP_SYM.
8010         (remquo): Likewise.
8011         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8012         "bp-asm.h".
8013         (PARMS): Do not use macros from bp-asm.h.
8014         (__remquof): Do not use BP_SYM.
8015         (remquof): Likewise.
8016         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8017         "bp-asm.h".
8018         (PARMS): Do not use macros from bp-asm.h.
8019         (__remquol): Do not use BP_SYM.
8020         (remquol): Likewise.
8021         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8022         "bp-asm.h".
8023         (PARMS): Do not use macros from bp-asm.h.
8024         (DEST): Likewise.
8025         (SRC): Likewise.
8026         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
8027         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8028         "bp-asm.h".
8029         (PARMS): Do not use macros from bp-asm.h.
8030         (strlen): Do not use BP_SYM.
8031         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8032         "bp-asm.h".
8033         (PARMS): Do not use macros from bp-asm.h.
8034         (S1): Likewise.
8035         (S2): Likewise.
8036         (SIZE): Likewise.
8037         (__mpn_add_n): Do not use BP_SYM.
8038         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8039         "bp-asm.h".
8040         (PARMS): Do not use macros from bp-asm.h.
8041         (S1): Likewise.
8042         (SIZE): Likewise.
8043         (__mpn_addmul_1): Do not use BP_SYM.
8044         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8045         weak_alias.
8046         (bzero): Likewise.
8047         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8048         "bp-asm.h".
8049         (PARMS): Do not use macros from bp-asm.h.
8050         (S): Likewise.
8051         (SIZE): Likewise.
8052         (__mpn_lshift): Do not use BP_SYM.
8053         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8054         "bp-asm.h".
8055         (PARMS): Do not use macros from bp-asm.h.
8056         (DEST): Likewise.
8057         (SRC): Likewise.
8058         (LEN): Likewise.
8059         (memcpy): Likewise.  Do not use BP_SYM.
8060         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8061         libc_hidden_def and weak_alias.
8062         (mempcpy): Do not use BP_SYM in weak_alias.
8063         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8064         "bp-asm.h".
8065         (PARMS): Do not use macros from bp-asm.h.
8066         (DEST): Likewise.
8067         (LEN): Likewise.
8068         [!BZERO_P] (CHR): Likewise.
8069         (memset): Likewise.  Do not use BP_SYM.
8070         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8071         "bp-asm.h".
8072         (PARMS): Do not use macros from bp-asm.h.
8073         (S1): Likewise.
8074         (SIZE): Likewise.
8075         (__mpn_mul_1): Do not use BP_SYM.
8076         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8077         "bp-asm.h".
8078         (PARMS): Do not use macros from bp-asm.h.
8079         (S): Likewise.
8080         (SIZE): Likewise.
8081         (__mpn_rshift): Do not use BP_SYM.
8082         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8083         "bp-asm.h".
8084         (PARMS): Do not use macros from bp-asm.h.
8085         (STR): Likewise.
8086         (CHR): Likewise.
8087         (strchr): Likewise.  Do not use BP_SYM.
8088         (index): Do not use BP_SYM in weak_alias.
8089         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8090         "bp-asm.h".
8091         (PARMS): Do not use macros from bp-asm.h.
8092         (DEST): Likewise.
8093         (SRC): Likewise.
8094         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
8095         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8096         "bp-asm.h".
8097         (PARMS): Do not use macros from bp-asm.h.
8098         (strlen): Do not use BP_SYM.
8099         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8100         "bp-asm.h".
8101         (PARMS): Do not use macros from bp-asm.h.
8102         (S1): Likewise.
8103         (S2): Likewise.
8104         (SIZE): Likewise.
8105         (__mpn_sub_n): Do not use BP_SYM.
8106         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8107         "bp-asm.h".
8108         (PARMS): Do not use macros from bp-asm.h.
8109         (S1): Likewise.
8110         (SIZE): Likewise.
8111         (__mpn_submul_1): Do not use BP_SYM.
8112         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8113         "bp-asm.h".
8114         (PARMS): Do not use macros from bp-asm.h.
8115         (S1): Likewise.
8116         (S2): Likewise.
8117         (SIZE): Likewise.
8118         (__mpn_add_n): Do not use BP_SYM.
8119         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8120         weak_alias.
8121         (bzero): Likewise.
8122         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8123         "bp-asm.h".
8124         (PARMS): Do not use macros from bp-asm.h.
8125         (BLK2): Likewise.
8126         (LEN): Likewise.
8127         (memcmp): Do not use BP_SYM.
8128         (bcmp): Do not use BP_SYM in weak_alias.
8129         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8130         "bp-asm.h".
8131         (PARMS): Do not use macros from bp-asm.h.
8132         (DEST): Likewise.
8133         (SRC): Likewise.
8134         (LEN): Likewise.
8135         (memcpy): Likewise.  Do not use BP_SYM.
8136         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8137         "bp-asm.h".
8138         (PARMS): Do not use macros from bp-asm.h.
8139         (DEST): Likewise.
8140         (SRC): Likewise.
8141         (LEN): Likewise.
8142         (memmove): Likewise.  Do not use BP_SYM.
8143         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8144         "bp-asm.h".
8145         (PARMS): Do not use macros from bp-asm.h.
8146         (DEST): Likewise.
8147         (SRC): Likewise.
8148         (LEN): Likewise.
8149         (__mempcpy): Likewise.  Do not use BP_SYM.
8150         (mempcpy): Do not use BP_SYM in weak_alias.
8151         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8152         "bp-asm.h".
8153         (PARMS): Do not use macros from bp-asm.h.
8154         (DEST): Likewise.
8155         (LEN): Likewise.
8156         [!BZERO_P] (CHR): Likewise.
8157         (memset): Likewise.  Do not use BP_SYM.
8158         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8159         "bp-asm.h".
8160         (PARMS): Do not use macros from bp-asm.h.
8161         (STR2): Likewise.
8162         (strcmp): Do not use BP_SYM.
8163         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8164         "bp-asm.h".
8165         (PARMS): Do not use macros from bp-asm.h.
8166         (STR): Likewise.
8167         (DELIM): Likewise.
8168         [USE_AS_STRTOK_R] (SAVE): Likewise.
8169         (FUNCTION): Likewise.  Do not use BP_SYM.
8170         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8171         aliases.
8172         (strtok_r): Likewise.
8173         (__GI___strtok_r): Likewise.
8174         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8175         (PARMS): Do not use macros from bp-asm.h.
8176         (S): Likewise.
8177         (SIZE): Likewise.
8178         (__mpn_lshift): Do not use BP_SYM.
8179         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8180         (PARMS): Do not use macros from bp-asm.h.
8181         (STR): Likewise.
8182         (CHR): Likewise.
8183         (__memchr): Do not use BP_SYM.
8184         (memchr): Do not use BP_SYM in weak_alias.
8185         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8186         (PARMS): Do not use macros from bp-asm.h.
8187         (BLK2): Likewise.
8188         (LEN): Likewise.
8189         (memcmp): Do not use BP_SYM.
8190         (bcmp): Do not use BP_SYM in weak_alias.
8191         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8192         (PARMS): Do not use macros from bp-asm.h.
8193         (S1): Likewise.
8194         (SIZE): Likewise.
8195         (__mpn_mul_1): Do not use BP_SYM.
8196         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8197         "bp-asm.h".
8198         (PARMS): Do not use macros from bp-asm.h.
8199         (STR): Likewise.
8200         (CHR): Likewise.
8201         (__rawmemchr): Do not use BP_SYM.
8202         (rawmemchr): Do not use BP_SYM in weak_alias.
8203         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8204         (PARMS): Do not use macros from bp-asm.h.
8205         (S): Likewise.
8206         (SIZE): Likewise.
8207         (__mpn_rshift): Do not use BP_SYM.
8208         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8209         (PARMS): Do not use macros from bp-asm.h.
8210         (SIGMSK): Likewise.
8211         (__sigsetjmp): Likewise.  Do not use BP_SYM.
8212         * sysdeps/i386/start.S: Do not include "bp-sym.h".
8213         (_start): Do not use BP_SYM.
8214         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8215         (PARMS): Do not use macros from bp-asm.h.
8216         (DEST): Likewise.
8217         (SRC): Likewise.
8218         (__stpcpy): Likewise.  Do not use BP_SYM.
8219         (stpcpy): Do not use BP_SYM in weak_alias.
8220         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8221         "bp-asm.h".
8222         (PARMS): Do not use macros from bp-asm.h.
8223         (DEST): Likewise.
8224         (SRC): Likewise.
8225         (LEN): Likewise.
8226         (__stpncpy): Likewise.  Do not use BP_SYM.
8227         (stpncpy): Do not use BP_SYM in weak_alias.
8228         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8229         (PARMS): Do not use macros from bp-asm.h.
8230         (STR): Likewise.
8231         (CHR): Likewise.
8232         (strchr): Likewise.  Do not use BP_SYM.
8233         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8234         "bp-asm.h".
8235         (PARMS): Do not use macros from bp-asm.h.
8236         (STR): Likewise.
8237         (CHR): Likewise.
8238         (__strchrnul): Likewise.  Do not use BP_SYM.
8239         (strchrnul): Do not use BP_SYM in weak_alias.
8240         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8241         "bp-asm.h".
8242         (PARMS): Do not use macros from bp-asm.h.
8243         (STOP): Likewise.
8244         (strcspn): Do not use BP_SYM.
8245         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8246         "bp-asm.h".
8247         (PARMS): Do not use macros from bp-asm.h.
8248         (STR): Likewise.
8249         (STOP): Likewise.
8250         (strpbrk): Likewise.  Do not use BP_SYM.
8251         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8252         "bp-asm.h".
8253         (PARMS): Do not use macros from bp-asm.h.
8254         (STR): Likewise.
8255         (CHR): Likewise.
8256         (strrchr): Likewise.  Do not use BP_SYM.
8257         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8258         (PARMS): Do not use macros from bp-asm.h.
8259         (SKIP): Likewise.
8260         (strspn): Do not use BP_SYM.
8261         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8262         (PARMS): Do not use macros from bp-asm.h.
8263         (STR): Likewise.
8264         (DELIM): Likewise.
8265         (SAVE): Likewise.
8266         (FUNCTION): Likewise.  Do not use BP_SYM.
8267         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8268         aliases.
8269         (strtok_r): Likewise.
8270         (__GI___strtok_r): Likewise.
8271         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8272         (PARMS): Do not use macros from bp-asm.h.
8273         (S1): Likewise.
8274         (S2): Likewise.
8275         (SIZE): Likewise.
8276         (__mpn_sub_n): Do not use BP_SYM.
8277         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8278         "bp-asm.h".
8279         (PARMS): Do not use macros from bp-asm.h.
8280         (S1): Likewise.
8281         (SIZE): Likewise.
8282         (__mpn_submul_1): Do not use BP_SYM.
8283         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8284         <bp-sym.h>.
8285         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8286         and <bp-asm.h>.
8287         (PARMS): Do not use macros from bp-asm.h.
8288         (FLAGS): Likewise.
8289         (PTID): Likewise.
8290         (TLS): Likewise.
8291         (CTID): Likewise.
8292         (__clone): Do not use BP_SYM.
8293         (clone): Do not use BP_SYM in weak_alias.
8294         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8295         and <bp-asm.h>.
8296         (PARMS): Do not use macros from bp-asm.h.
8297         (LEN): Likewise.
8298         (__mmap64): Do not use BP_SYM.
8299         (mmap64): Do not use BP_SYM in weak_alias.
8300         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8301         <bp-sym.h> and <bp-asm.h>.
8302         (PARMS): Do not use macros from bp-asm.h.
8303         (__posix_fadvise64_l64): Do not use BP_SYM.
8304         * sysdeps/unix/sysv/linux/i386/semtimedop.S
8305         (PARMS): Do not use macros from bp-asm.h.
8306         (NSOPS): Likewise.
8307         (semtimedop): Do not use BP_SYM.
8308         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8309         and <bp-asm.h>.
8311 2013-02-21  Allan McRae  <allan@archlinux.org>
8313         * manual/message.texi (Charset conversion in gettext):
8314         Move @end statement to beginning of line.
8316 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8318         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8319         static.
8320         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8321         Likewise.
8323         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8324         (denorm): Likewise.
8325         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8326         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8328 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8330         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8331         tail-call to the resolved function if pltexit isn't needed.
8333 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8335         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8336         or Y being zero as being unlikely.
8337         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8338         Likewise.
8340 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
8342         * manual/nss.texi (System Databases and Name Service Switch):
8343         Remove frobnicate @pxref.
8345 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8347         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8348         __attribute__ ((unused)) to __attribute__ ((__unused__)).
8350 2013-02-20  Petr Machata  <pmachata@redhat.com>
8352         * elf/elf.h (R_ARM_TARGET1): New macro.
8353         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8354         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8355         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8356         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8357         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8358         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8359         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8360         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8361         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8362         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8363         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8364         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8365         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8366         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8367         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8368         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8369         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8370         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8371         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8372         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8373         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8374         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8375         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8376         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8377         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8378         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8379         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8380         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8381         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8382         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8383         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8384         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8385         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8386         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8387         (R_ARM_THM_GOT_BREL12): Likewise.
8388         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8389         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8390         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8391         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8392         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8393         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8394         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8395         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8396         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8398 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8400         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8401         __attribute_used__ to __attribute__ ((unused)).
8403 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8405         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8406         powerpc mpa.c.
8407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8408         comment formatting.
8409         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8411 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
8413         [BZ #13550]
8414         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8415         Remove macro.
8416         (ENTER): Remove both macro definitions.
8417         (LEAVE): Likewise.
8418         (CHECK_BOUNDS_LOW): Likewise.
8419         (CHECK_BOUNDS_HIGH): Likewise.
8420         (CHECK_BOUNDS_BOTH): Likewise.
8421         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8422         (RETURN_BOUNDED_POINTER): Likewise.
8423         (RETURN_NULL_BOUNDED_POINTER): Likewise.
8424         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8425         (POP_ERRNO_LOCATION_RETURN): Likewise.
8426         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8427         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8428         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8429         macros.
8430         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8431         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8432         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8433         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8434         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8435         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8436         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8437         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8438         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8439         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8440         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8441         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8442         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8443         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8444         removed macros.
8445         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8446         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8447         macros.
8448         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8449         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8450         * sysdeps/i386/i586/memset.S (memset): Likewise.
8451         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8452         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8453         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8454         macros.
8455         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8456         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8457         Change uses of L(2) to L(out).
8458         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8459         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8460         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8461         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8462         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8463         removed macros.
8464         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8465         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8466         macros.
8467         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8468         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8469         (RETURN): Do not use macro LEAVE.
8470         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8471         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8472         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8473         * sysdeps/i386/i686/memset.S (memset): Likewise.
8474         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8475         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8476         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8477         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8478         Likewise.
8479         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8480         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
8481         L(1_2) and L(1_3) into L(1).
8482         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8483         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8484         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8485         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8486         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8487         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8488         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8489         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8490         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8491         macros.
8492         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8493         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8494         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8495         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8496         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8497         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8498         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8499         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8500         * sysdeps/i386/strcspn.S (strcspn): Likewise.
8501         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8502         * sysdeps/i386/strrchr.S (strrchr): Likewise.
8503         * sysdeps/i386/strspn.S (strspn): Likewise.
8504         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8505         conditional code.
8506         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8507         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8508         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8509         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
8510         L(1_3) into L(1_1).
8511         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8512         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8513         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8514         macros.
8515         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8517 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
8519         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8520         macro.
8522 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8524         * math/atest-exp.c (exp_mpn): Remove ROUND.
8525         * math/atest-exp2.c (exp_mpn): Likewise.
8526         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8528         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8529         * stdlib/tst-tls-atexit-lib.c: Likewise.
8530         * stdlib/tst-tls-atexit.c: Likewise.
8532 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8534         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8535         and __attribute_alloc_size__.
8537 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8539         * include/programs/xmalloc.h: Change __attribute_alloc_size to
8540         __attribute_alloc_size__.
8541         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8542         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8544 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8546         * include/programs/xmalloc.h: New file.
8547         * catgets/gencat.c: Include it.
8548         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8549         * elf/pldd.c: Likewise.
8550         * iconv/iconv_charmap.c: Likewise.
8551         * iconv/iconvconfig.c: Likewise.
8552         * iconv/strtab.c: Likewise.
8553         * locale/programs/locale.c: Likewise.
8554         * locale/programs/localedef.h: Likewise.
8555         * locale/programs/simple-hash.c: Likewise.
8556         * nscd/nscd.h: Likewise.
8557         * nss/makedb.c: Likewise.
8558         * sysdeps/generic/ldconfig.h: Likewise.
8560 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8562         * Versions.def: Add GLIBC_2.18.
8563         * include/link.h (struct link_map): New member l_tls_dtor_count.
8564         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8565         (__call_tls_dtors): Likewise.
8566         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8567         __cxa_thread_atexit_impl.
8568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8569         Likewise.
8570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8571         Likewise.
8572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8573         Likewise.
8574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8575         Likewise.
8576         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8578         Likewise.
8579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8580         Likewise.
8581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8583         Likewise.
8584         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8585         (tests): Add test case tst-tls-atexit.
8586         (modules-names): Add shared library for tst-tls-atexit.
8587         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8588         (GLIBC_PRIVATE): Add __call_tls_dtors.
8589         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8590         for libstdc++.
8591         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8592         * stdlib/tst-tls-atexit.c: New test case.
8593         * stdlib/tst-tls-atexit-lib.c: New test case.
8595         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8597         * elf/Versions (ld): Add _dl_find_dso_for_object.
8598         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8599         * elf/dl-open.c (_dl_find_dso_for_object): New function.
8600         (dl_open_worker): Use _dl_find_dso_for_object.
8601         * elf/dl-sym.c (do_sym): Likewise.
8602         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8604 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8606         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8607         Syntactic changes only.
8608         (_dl_runtime_profile): Do a tail-call to the resolved function.
8610 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
8612         [BZ #13550]
8613         * sysdeps/x86_64/bp-asm.h: Remove file.
8614         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8615         <bp-sym.h> and <bp-asm.h>.
8616         (__clone): Do not use BP_SYM.
8617         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8618         <bp-sym.h> and <bp-asm.h>.
8619         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8620         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8621         "bp-asm.h".
8622         (_setjmp): Do not use BP_SYM.
8623         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8624         "bp-asm.h".
8625         (setjmp): Do not use BP_SYM.
8626         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8627         libc_hidden_def.
8628         (mempcpy): Do not use BP_SYM in weak_alias.
8629         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8630         "bp-asm.h".
8631         (strchr): Do not use BP_SYM.
8632         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8633         "bp-asm.h".
8634         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8635         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8636         (_start): Do not use BP_SYM.
8637         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8638         "bp-asm.h".
8639         (strcat): Do not use BP_SYM.
8640         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8641         "bp-asm.h".
8642         (STRCMP): Do not use BP_SYM.
8643         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8644         "bp-asm.h".
8645         (STRCPY): Do not use BP_SYM.
8646         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8647         "bp-asm.h".
8648         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8649         "bp-asm.h".
8650         (FUNCTION): Do not use BP_SYM.
8651         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8652         weak_alias.
8653         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8655 2013-02-17  Andreas Jaeger  <aj@suse.de>
8657         * time/Versions: Sort entries.
8658         * string/Versions: Likewise.
8659         * resolv/Versions: Likewise.
8660         * posix/Versions: Likewise.
8661         * iconv/Versions: Likewise.
8662         * elf/Versions: Likewise.
8663         * wcsmbs/Versions: Likewise.
8665 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8667         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8668         loop termination condition.
8670         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8671         variable to calculate EZ.
8672         (__sqr): Likewise.
8674         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8675         the lower precision input.
8677 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
8679         [BZ #13550]
8680         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8681         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8682         (run-via-rtld-prefix): Do not handle %-bp tests.
8683         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8684         (all-object-suffixes): Remove .ob.
8685         (bppfx): Remove variable.
8686         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8687         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8688         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8689         [$(build-bounded) = yes] (libtype.ob): Likewise.
8690         * Makerules (elide-routines.ob): Remove variable.
8691         (do-tests-clean): Do not handle *-bp.out.
8692         (common-mostlyclean): Do not handle *-bp and *-bp.out.
8693         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8694         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8695         (tests): Do not include $(tests-bp.out).
8696         (xtests): Do not include $(xtests-bp.out).
8697         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8698         [$(build-bounded) = yes] ($(addprefix
8699         $(objpfx),$(binaries-bounded))): Remove rule.
8700         ($(objpfx)%-bp.out): Remove rule.
8701         * config.make.in (build-bounded): Remove variable.
8702         * crypt/Makefile [$(build-bounded) = yes]
8703         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8704         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8705         append to variable.
8706         [$(build-bounded) = yes] (install-lib): Likewise.
8707         [$(build-bounded) = yes] (generated): Likewise.
8708         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8709         Remove rule.
8710         * intl/Makefile [$(build-bounded) = yes]
8711         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8712         * math/Makefile [$(build-bounded) = yes]
8713         ($(tests:%=$(objpfx)%-bp): Likewise.
8714         * misc/Makefile [$(build-bounded) = yes]
8715         ($(objpfx)tst-tsearch-bp): Likewise.
8716         * nptl/Makeconfig (bounded-thread-library): Remove variable.
8717         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8718         Remove dependency.
8719         * string/Makefile (o-objects.ob): Remove variable.
8720         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8721         (CFLAGS-.ob): Remove variable.
8722         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8723         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8724         both definitions of variable.
8725         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8726         (ASFLAGS-.ob): Remove variable.
8728 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
8730         [BZ #13550]
8731         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8732         Remove __BOUNDED_POINTERS__ from condition.
8733         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8734         * string/bits/string2.h [!__NO_STRING_INLINES &&
8735         !__BOUNDED_POINTERS__]: Likewise.
8736         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8737         Likewise.
8738         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8739         Remove conditional code.
8740         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8741         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8742         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8743         condition.
8745         [BZ #13550]
8746         * csu/libc-start.c: Do not include <bp-sym.h>.
8747         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8748         * elf/dl-open.c: Do not include <bp-sym.h>.
8749         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8750         * math/fegetenv.c: Do not include <bp-sym.h>.
8751         (fegetenv): Do not use BP_SYM in versioned symbols.
8752         * nptl/sysdeps/pthread/bits/libc-lockP.h
8753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8754         <bp-sym.h>.
8755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8756         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8758         (__pthread_mutex_destroy): Likewise.
8759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8760         (__pthread_mutex_lock): Likewise.
8761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8762         (__pthread_mutex_trylock): Likewise.
8763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8764         (__pthread_mutex_unlock): Likewise.
8765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8766         (__pthread_mutexattr_init): Likewise.
8767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8768         (__pthread_mutexattr_destroy): Likewise.
8769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8770         (__pthread_mutexattr_settype): Likewise.
8771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8772         (__pthread_rwlock_init): Likewise.
8773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8774         (__pthread_rwlock_destroy): Likewise.
8775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8776         (__pthread_rwlock_rdlock): Likewise.
8777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8778         (__pthread_rwlock_tryrdlock): Likewise.
8779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8780         (__pthread_rwlock_wrlock): Likewise.
8781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8782         (__pthread_rwlock_trywrlock): Likewise.
8783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8784         (__pthread_rwlock_unlock): Likewise.
8785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8786         (__pthread_key_create): Likewise.
8787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8788         (__pthread_setspecific): Likewise.
8789         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8790         (__pthread_getspecific): Likewise.
8791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8792         Likewise.
8793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8794         (_pthread_cleanup_push_defer): Likewise.
8795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8796         (_pthread_cleanup_pop_restore): Likewise.
8797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8798         (pthread_setcancelstate): Likewise.
8799         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8800         <bp-sym.h>.
8801         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8802         (memchr): Do not use BP_SYM in weak_alias.
8803         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8804         (fegetenv): Do not use BP_SYM in versioned symbols.
8805         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8806         (fesetenv): Do not use BP_SYM in versioned symbols.
8807         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8808         (feupdateenv): Do not use BP_SYM in versioned symbols.
8809         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8810         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8811         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8812         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8813         (open64): Do not use BP_SYM in weak_alias.
8814         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8815         (fegetenv): Do not use BP_SYM in versioned symbols.
8816         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8817         (fesetenv): Do not use BP_SYM in versioned symbols.
8818         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8819         (feupdateenv): Do not use BP_SYM in versioned symbols.
8820         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8821         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8822         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8823         (feraiseexcept): Do not use BP_SYM in versioned symbols.
8824         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8825         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8826         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8827         <bp-sym.h>.
8828         (__libc_start_main): Do not use BP_SYM.
8830 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8832         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8833         redundant return line.
8834         (norm): Likewise.
8835         (denorm): Likewise.
8836         (dbl_mp): Likewise.
8837         (sub_magnitudes): Likewise.
8838         (__add): Likewise.
8839         (__sub): Likewise.
8840         (__mul): Likewise.
8841         (__inv): Likewise.
8842         (__dvd): Likewise.
8843         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8844         (norm): Likewise.
8845         (denorm): Likewise.
8846         (dbl_mp): Likewise.
8847         (sub_magnitudes): Likewise.
8848         (__add): Likewise.
8849         (__sub): Likewise.
8850         (__mul): Likewise.
8851         (__inv): Likewise.
8852         (__dvd): Likewise.
8854         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8855         instead of __mul.
8856         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8857         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8858         (cc32): Likewise.
8860         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8861         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8862         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8863         of __mul for squares.
8864         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8865         function
8866         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8867         Likewise.
8868         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8869         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8871 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
8873         [BZ #13550]
8874         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8875         code.
8876         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8877         prototype or function definition.  Rename ubp_* variables and
8878         parameters.  Remove argv definitions conditional on
8879         [__BOUNDED_POINTERS__].
8880         * debug/backtrace.c (__backtrace): Do not use __unbounded.
8881         * elf/dl-runtime.c (_dl_fixup): Likewise.
8882         * include/set-hooks.h (RUN_HOOK): Likewise.
8883         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8884         definition.
8885         * string/strcpy.c (strcpy): Do not use __unbounded.
8886         * sysdeps/generic/frame.h (struct layout): Likewise.
8887         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8888         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8889         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8890         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8891         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8892         (__backtrace): Likewise.
8893         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8894         use __ptrvalue.
8895         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8896         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8897         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8898         Likewise.
8899         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8900         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8901         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8902         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8903         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8904         Do not use __unbounded.
8905         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8906         Rename __unboundedrlimits parameter to rlimits in prototype.
8907         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8908         Do not use __unbounded.
8909         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8910         not use __ptrvalue.
8911         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8912         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8913         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8914         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8915         __ptrvalue or __unbounded.
8916         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8917         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8918         use __unbounded.
8919         (__new_msgctl): Do not use __ptrvalue.
8920         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8921         __unbounded.
8922         (__libc_msgrcv): Do not use __ptrvalue.
8923         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8924         startup_info): Do not use __unbounded.
8925         (__libc_start_main): Likewise.  Rename ubp_* variables and
8926         parameters.  Remove argv definitions conditional on
8927         [__BOUNDED_POINTERS__].
8928         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8929         __ptrvalue.
8930         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8931         use __unbounded.
8932         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8933         or __ptrvalue.
8934         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8935         use __unbounded.
8936         (__new_shmctl): Do not use __ptrvalue.
8937         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8938         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8939         Likewise.
8940         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8941         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8942         (__libc_sigaction): Likewise.
8943         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8944         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8945         Likewise.
8946         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8948 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
8950         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8952         * string/mempcpy.c: Implement by calling memcpy.
8954 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8956         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8958         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8959         evaluation.
8961         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8962         values in the mantissa.
8964         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8965         minimize writes to Z.
8966         (sub_magnitudes): Simplify code a bit.
8968 2013-02-12  Roland McGrath  <roland@hack.frob.com>
8970         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8971         from the message.  The linker prefixes all warnings with that already.
8973 2013-02-12  Andreas Schwab  <schwab@suse.de>
8975         [BZ #15078]
8976         * posix/regexec.c (extend_buffers): Add parameter min_len.
8977         (check_matching): Pass minimum needed length.
8978         (clean_state_log_if_needed): Likewise.
8979         (get_subexp): Likewise.
8980         * posix/Makefile (tests): Add bug-regex34.
8981         (bug-regex34-ENV): Define.
8982         * posix/bug-regex34.c: New file.
8984         [BZ #11561]
8985         * posix/regcomp.c (parse_bracket_exp): When looking up collating
8986         elements compare against the byte sequence of it, not its name.
8987         * posix/Makefile (tests): Add bug-regex35.
8988         (bug-regex35-ENV): Define.
8989         * posix/bug-regex35.c: New file.
8991 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8993         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
8994         comment.
8995         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8996         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8997         (CHECK_EOL): Add undef.
8999 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
9001         * bits/stdlib-bsearch.h: New file.
9002         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9003         * stdlib/stdlib.h: Likewise.
9005 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9007         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9008         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9009         declaration.
9010         * manual/search.texi (Array Search Function): Add missing const in
9011         lfind prototype.
9012         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9013         declaration to use rlim_t.
9014         (Basic Scheduling Functions): Remove erroneous const from
9015         sched_getparam prototype.  Remove erroneous * from
9016         sched_get_priority_max and sched_get_priority_min prototypes.
9017         (Resource Usage): Fix summary @comment on vtimes to refer to
9018         sys/vtimes.h rather than vtimes.h.
9019         Add missing *s in vtimes prototype.
9020         (Limits on Resources): Fix ulimit prototype to return long int.
9021         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9022         prototypes to use long int rather than double.
9023         (BSD Random): Fix initstate and setstate to use char *, not void *.
9024         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9025         prototype to make second argument 'struct aiocb64 *const[]'.
9026         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9027         (Status of AIO Operations): Remove erroneous const in aio_return and
9028         aio_return64 prototypes.
9029         (Synchronizing I/O): Fix sync prototype to return void.
9030         * manual/startup.texi (Suboptions): Remove an erroneous const in
9031         getsubopt prototype.
9032         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9033         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9034         use size_t rather than int.
9035         (Scanning All Users): Likewise for getpwent_r.
9036         (Setting Groups): Add missing const to setgroups prototype.
9037         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9038         * manual/socket.texi (Host Names): Fix gethostbyaddr and
9039         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9040         'const void *' rather than 'const char *'.
9041         (Host Address Functions): Likewise for inet_ntop.
9042         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9043         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9044         ssize_t for return value.
9045         (Sending Data): Likewise for send, sendto, sendmsg.
9046         (Socket Option Functions): Add a missing const in setsockopt prototype.
9047         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9048         use wchar_t for the argument.
9049         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9050         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9051         take no arguments.
9052         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9053         double/float/long double for second argument.
9054         Fix return types of significand, significandf, significandl.
9055         * manual/filesys.texi (Setting Permissions): Use mode_t for second
9056         argument in fchmod prototype.
9057         (File Owner): Use uid_t and gid_t in fchown prototype.
9058         (File Times): Add const to utimes, futimes, and lutimes prototypes.
9059         (Making Special Files): Use mode_t and dev_t in mknod prototype.
9060         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9061         use 'const struct dirent **' as argument types to CMP function pointer
9062         argument.
9063         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9064         (File Times): Fix summary magic @comment for struct utimbuf and utime
9065         to refer to utime.h, not time.h.
9066         * manual/string.texi (Argz Functions): Add missing const in
9067         argz_extract and argz_next prototypes.
9068         (Finding Tokens in a String): Likewise for basename.
9069         (String/Array Comparison): Fix typo in wcscasecmp prototype.
9070         (Copying and Concatenation): Fix typo in wmemmove prototype.
9071         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9072         (Signal Stack): Remove erroneous const in sigstack prototype.
9073         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9074         prototype.
9075         (Simple Calendar Time): Likewise for stime.
9076         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9077         prototype.
9078         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9079         say sys/sysctl.h instead.
9080         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9081         and vsyslog prototypes.
9083 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9085         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9086         Remove.
9088 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9090         * misc/sys/mman.h: Fix typo in mremap comment.
9092 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9094         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9095         the '\0' terminator.
9097 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9099         [BZ #13550]
9100         * debug/segfault.c: Don't include <bp-checks.h>.
9101         * sysdeps/generic/bp-checks.h: Remove file.
9102         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9103         (__GETDENTS): Don't use CHECK_N.
9104         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9105         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9106         (__getgroups): Don't use CHECK_N.
9107         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9108         (setgroups): Don't use CHECK_N.
9109         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9110         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9111         (__libc_msgrcv): Don't use CHECK_N.
9112         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9113         (__libc_msgsnd): Don't use CHECK_N.
9114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9115         <bp-checks.h>.
9116         (__libc_pread): Don't use CHECK_N.
9117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9118         include <bp-checks.h>.
9119         (__libc_pread64): Don't use CHECK_N.
9120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9121         include <bp-checks.h>.
9122         (__libc_pwrite): Don't use CHECK_N.
9123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9124         include <bp-checks.h>.
9125         (__libc_pwrite64): Don't use CHECK_N.
9126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9127         <bp-checks.h>.
9128         (__libc_pread): Don't use CHECK_N.
9129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9130         include <bp-checks.h>.
9131         (__libc_pread64): Don't use CHECK_N.
9132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9133         include <bp-checks.h>.
9134         (__libc_pwrite): Don't use CHECK_N.
9135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9136         include <bp-checks.h>.
9137         (__libc_pwrite64): Don't use CHECK_N.
9138         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9139         (do_pread): Don't use CHECK_N.
9140         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9141         (do_pread64): Don't use CHECK_N.
9142         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9143         (do_pwrite): Don't use CHECK_N.
9144         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9145         (do_pwrite64): Don't use CHECK_N.
9146         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9147         (__libc_readv): Don't use CHECK_N.
9148         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9149         (semop): Don't use CHECK_N.
9150         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9151         <bp-checks.h>.
9152         (semtimedop): Don't use CHECK_N.
9153         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9154         (__libc_pread): Don't use CHECK_N.
9155         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9156         <bp-checks.h>.
9157         (__libc_pread64): Don't use CHECK_N.
9158         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9159         <bp-checks.h>.
9160         (__libc_pwrite): Don't use CHECK_N.
9161         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9162         <bp-checks.h>.
9163         (__libc_pwrite64): Don't use CHECK_N.
9164         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9165         <bp-checks.h>.
9166         (__libc_msgrcv): Don't use CHECK_N.
9167         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9168         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
9169         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9170         (__libc_writev): Don't use CHECK_N.
9172 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9174         * string/strcpy.c: Removed unused variable.
9176         * Makeconfig (+sysdep-includes): Define with := rather than =.
9177         Use an existing include/ subdir of each sysdeps dir before it.
9179 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9181         * nscd/connection.c (register_traced_file): Comment function.
9182         [HAVE_INOTIFY] (union __inev): Define.
9183         [HAVE_INOTIFY] (inotify_check_files): New function.
9184         [HAVE_INOTIFY] (clear_db_cache): Likewise.
9185         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9186         clear_db_cache.
9187         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9189 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9191         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9192         loaded if not already and that a failure is permanent.
9194 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9196         [BZ #15006]
9197         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9198         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9200 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9202         [BZ #13550]
9203         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9204         (CHECK_1_NULL_OK): Likewise.
9205         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9206         (__fxstat): Do not use CHECK_1.
9207         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9208         <bp-checks.h>.
9209         (___fxstat64): Do not use CHECK_1.
9210         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9211         <bp-checks.h>.
9212         (__fxstatat): Do not use CHECK_1.
9213         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9214         <bp-checks.h>.
9215         (__fxstatat64): Do not use CHECK_1.
9216         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9217         <bp-checks.h>.
9218         (__fxstat): Do not use CHECK_1.
9219         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9220         <bp-checks.h>.
9221         (__fxstatat): Do not use CHECK_1.
9222         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9223         <bp-checks.h>.
9224         (__getresgid): Do not use CHECK_1.
9225         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9226         <bp-checks.h>.
9227         (__getresuid): Do not use CHECK_1.
9228         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9229         <bp-checks.h>.
9230         (__lxstat): Do not use CHECK_1.
9231         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9232         <bp-checks.h>.
9233         (__old_msgctl): Do not use CHECK_1.
9234         (__new_msgctl): Likewise.
9235         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9236         <bp-checks.h>.
9237         (__new_setrlimit): Do not use CHECK_1.
9238         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9239         <bp-checks.h>.
9240         (__old_shmctl): Do not use CHECK_1.
9241         (__new_shmctl): Likewise.
9242         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9243         <bp-checks.h>.
9244         (__xstat): Do not use CHECK_1.
9245         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9246         (__lxstat): Do not use CHECK_1.
9247         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9248         <bp-checks.h>.
9249         (___lxstat64): Do not use CHECK_1.
9250         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9251         (__old_msgctl): Do not use CHECK_1.
9252         (__new_msgctl): Likewise.
9253         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9254         <bp-checks.h>.
9255         (__gettimeofday): Do not use CHECK_1.
9256         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9257         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9258         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9259         <bp-checks.h>.
9260         (__gettimeofday): Do not use CHECK_1.
9261         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9262         (__old_shmctl): Do not use CHECK_1_NULL_OK.
9263         (__new_shmctl): Do not use CHECK_1.
9264         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9265         <bp-checks.h>.
9266         (do_sigtimedwait): Do not use CHECK_1.
9267         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9268         <bp-checks.h>.
9269         (do_sigwaitinfo): Do not use CHECK_1.
9270         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9271         <bp-checks.h>.
9272         (msgctl): Do not use CHECK_1.
9273         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9274         <bp-checks.h>.
9275         (shmctl): Do not use CHECK_1.
9276         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9277         (ustat): Do not use CHECK_1.
9278         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9279         <bp-checks.h>.
9280         (__fxstat): Do not use CHECK_1.
9281         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9282         <bp-checks.h>.
9283         (__fxstatat): Do not use CHECK_1.
9284         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9285         <bp-checks.h>.
9286         (__lxstat): Do not use CHECK_1.
9287         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9288         <bp-checks.h>.
9289         (__xstat): Do not use CHECK_1.
9290         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9291         (__xstat): Do not use CHECK_1.
9292         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9293         (___xstat64): Do not use CHECK_1.
9295         [BZ #13550]
9296         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9297         definitions.
9298         (CHECK_BOUNDS_HIGH): Likewise.
9299         * string/strcpy.c: Do not include <bp-checks.h>.
9300         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9302 2013-02-07  Roland McGrath  <roland@hack.frob.com>
9304         * nscd/nscd-client.h (__nscd_drop_map_ref):
9305         Add __attribute__ ((unused)).
9306         * nis/nss-nisplus.h (niserr2nss): Likewise.
9308         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9309         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9311         * csu/libc-tls.c (init_static_tls, init_slotinfo):
9312         Remove inline keyword.
9313         * include/rounding-mode.h (round_away): Likewise.
9314         * libio/wfileops.c (adjust_wide_data): Likewise.
9315         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9316         (__m128i_strloadu_tolower): Likewise.
9317         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9318         (__m128i_strloadu_tolower): Likewise.
9319         * time/mktime.c (ydhms_diff): Likewise.
9320         * locale/elem-hash.h (elem_hash): Likewise.
9321         * locale/setlocale.c (setdata): Likewise.
9322         * posix/regex_internal.h (re_string_char_size_at): Likewise.
9323         (re_string_wchar_at): Likewise.
9324         (bitset_not, bitset_merge, bitset_mask): Likewise.
9325         [!(__GNUC__ > 3)] (inline): Remove macro.
9326         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9327         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9328         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9329         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9330         * string/memcmp.c (memcmp_bytes): Likewise.
9331         * locale/programs/locarchive.c (compute_hashval): Likewise.
9332         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9333         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9334         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9335         * nss/getent.c (print_rpc, print_protocols): Likewise.
9336         (print_passwd, print_group, print_aliases): Likewise.
9337         * nis/nss-nisplus.h (niserr2nss): Likewise.
9338         * nscd/connections.c (restart_p): Likewise.
9339         Change return type to bool.
9341 2013-02-05  Roland McGrath  <roland@hack.frob.com>
9343         * Makeconfig (all-Depend-files): Add existing
9344         $(sorted-subdirs:=/Depend) files.
9345         (all-subdirs): Remove nss.
9346         * sysdeps/unix/inet/Subdirs: Add it here instead.
9347         * hesiod/Depend: New file.
9349         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9350         instead of calling alloca.
9352         * io/lseek.c (__lseek): Rename to __libc_lseek.
9353         Define __lseek as an alias.
9355         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9357 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
9359         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9360         else clause and remove check for non-standard endianness.
9362 2013-02-04  David S. Miller  <davem@davemloft.net>
9364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9366 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
9368         [BZ #13550]
9369         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9370         (__ubp_memchr): Remove prototype.
9371         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9372         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9373         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9374         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9375         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9376         Remove alias.
9377         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9378         (__ubp_memchr): Likewise.
9379         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9380         (__ubp_memchr): Likewise.
9381         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9382         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9383         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9384         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9385         CHECK_STRING.
9386         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9387         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9388         (__getcwd): Do not use CHECK_STRING.
9389         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9390         <bp-checks.h>.
9391         (__real_chown): Do not use CHECK_STRING.
9392         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9393         <bp-checks.h>.
9394         (fchownat): Do not use CHECK_STRING.
9395         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9396         CHECK_STRING.
9397         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9398         <bp-checks.h>.
9399         (__lchown): Do not use CHECK_STRING.
9400         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9401         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9402         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9403         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9405         include <bp-checks.h>.
9406         (truncate64): Do not use CHECK_STRING.
9407         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9408         <bp-checks.h>.
9409         (__real_chown): Do not use CHECK_STRING.
9410         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9411         <bp-checks.h>.
9412         (__lchown): Do not use CHECK_STRING.
9413         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9414         <bp-checks.h>.
9415         (__chown): Do not use CHECK_STRING.
9416         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9417         <bp-checks.h>.
9418         (truncate64): Do not use CHECK_STRING.
9419         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9420         Likewise.
9421         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9422         (__xmknod): Do not use CHECK_STRING.
9423         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9424         <bp-checks.h>.
9425         (__xmknodat): Do not use CHECK_STRING.
9426         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9427         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9429 2013-02-04  Andreas Schwab  <schwab@suse.de>
9431         [BZ #14142]
9432         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9433         * include/netdb.h: Likewise for h_errno.
9434         * elf/tst-stackguard1.c: Include <tls.h>.
9436 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9438         * elf/link.h (struct link_map): Extend the l_addr comment.
9439         * include/link.h (struct link_map): Likewise.
9441 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
9443         [BZ #13550]
9444         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9445         (BOUNDED_1): Remove macro.
9446         * debug/backtrace.c: Don't include <bp-checks.h>.
9447         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9448         (__backtrace): Likewise.
9449         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9450         <bp-checks.h>.
9451         (__backtrace): Don't use BOUNDED_1.
9452         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9453         <bp-checks.h>.
9454         (__backtrace): Don't use BOUNDED_1.
9455         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9456         (__backtrace): Don't use BOUNDED_1.
9457         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9458         (shmat): Don't use BOUNDED_N.
9460 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
9462         [BZ #13550]
9463         * sysdeps/generic/bp-start.h: Remove file.
9464         * csu/libc-start.c: Don't include <bp-start.h>.
9465         (LIBC_START_MAIN): Set up __environ directly instead of using
9466         INIT_ARGV_and_ENVIRON.
9467         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9468         <bp-start.h>.
9470         [BZ #13550]
9471         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9472         definitions.
9473         (CHECK_FCNTL): Likewise.
9474         (CHECK_N_PAGES): Likewise.
9476         [BZ #13550]
9477         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9478         definitions.
9479         (CHECK_SIGSET_NULL_OK): Likewise.
9480         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9481         <bp-checks.h>.
9482         (sigpending): Don't use CHECK_SIGSET.
9483         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9484         <bp-checks.h>.
9485         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9486         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9487         <bp-checks.h>.
9488         (do_sigsuspend): Don't use CHECK_SIGSET.
9489         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9490         use CHECK_SIGSET.
9491         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9492         (do_sigwait): Don't use CHECK_SIGSET.
9493         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9494         use CHECK_SIGSET.
9495         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9496         include <bp-checks.h>.
9497         (sigpending): Don't use CHECK_SIGSET.
9498         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9499         include <bp-checks.h>.
9500         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9501         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9502         <bp-checks.h>.
9503         (sigpending): Don't use CHECK_SIGSET.
9504         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9505         <bp-checks.h>.
9506         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9508         [BZ #13550]
9509         * sysdeps/generic/bp-semctl.h: Remove file.
9510         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9511         <bp-checks.h> and <bp-semctl.h>.
9512         (__old_semctl): Don't use CHECK_SEMCTL.
9513         (__new_semctl): Likewise.
9514         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9515         and <bp-semctl.h>.
9516         (__old_semctl): Don't use CHECK_SEMCTL.
9517         (__new_semctl): Likewise.
9518         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9519         <bp-checks.h> and <bp-semctl.h>.
9520         (__old_semctl): Don't use CHECK_SEMCTL.
9521         (__new_semctl): Likewise.
9522         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9523         <bp-checks.h> and <bp-semctl.h>.
9524         (semctl): Don't use CHECK_SEMCTL.
9526         [BZ #13550]
9527         * Makerules (elide-bp-thunks): Remove variable.
9528         (elide-routines.oS): Don't use $(elide-bp-thunks).
9529         (elide-routines.os): Likewise.
9530         (elide-routines.o): Likewise.
9531         (elide-routines.op): Likewise.
9532         (elide-routines.og): Likewise.
9533         (objects): Don't use $(bp-thunks).
9534         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9535         include.
9536         (common-generated): Do not add s-proto-bp.d.
9537         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9538         (int): Likewise.
9539         (typ): Likewise.
9540         Do not generate makefile rules for bounded-pointer thunks.
9541         * sysdeps/generic/bp-thunks.h: Remove file.
9542         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9543         * sysdeps/unix/s-proto-bp.S: Likewise.
9545         [BZ #15062]
9546         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9547         parts of result separately when argument is not close to line from
9548         -i to i and one part of argument is small.
9549         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9550         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9551         * math/libm-test.inc (cacos_test): Add more tests.
9552         (casin_test): Likewise.
9553         (casinh_test): Likewise.
9554         * sysdeps/i386/fpu/libm-test-ulps: Update.
9555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9557 2013-01-31  David S. Miller  <davem@davemloft.net>
9559         * po/de.po: Update from translation team.
9561 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
9563         * time/tzfile.c: Include stdint.h for SIZE_MAX.
9565 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
9567         * configure.in (_AC_PROG_CC_C89): New definition.
9568         * configure: Regenerate.
9570         * configure.in (AC_PROG_CPP): New definition.
9571         * configure: Regenerate.
9573 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
9575         * debug/tst-backtrace.h: New file.
9576         * debug/tst-backtrace2.c: Include tst-backtrace.h.
9577         (ret): Remove variable.
9578         (x): Likewise.
9579         (FAIL): Remove macro.
9580         (NO_INLINE): Likewise.
9581         (fn1): Use match function instead of strstr.
9582         * debug/tst-backtrace3.c: Include tst-backtrace.h.
9583         (ret): Remove variable.
9584         (x): Likewise.
9585         (FAIL): Remove macro.
9586         (NO_INLINE): Likewise.
9587         (fn): Use match function instead of strstr.
9588         * debug/tst-backtrace4.c: Include tst-backtrace.h.
9589         (ret): Remove variable.
9590         (x): Likewise.
9591         (FAIL): Remove macro.
9592         (NO_INLINE): Likewise.
9593         (handle_signal): Use match function instead of strstr.
9594         * debug/tst-backtrace5.c: Include tst-backtrace.h.
9595         (ret): Remove variable.
9596         (x): Likewise.
9597         (FAIL): Remove macro.
9598         (NO_INLINE): Likewise.
9599         (handle_signal): Use match function instead of strstr.
9601 2013-01-23  Roland McGrath  <roland@hack.frob.com>
9603         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9605 2013-01-23  David S. Miller  <davem@davemloft.net>
9607         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9608         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9609         argument of CAS if possible.
9610         * sysdeps/sparc/sparc64/bits/atomic.h
9611         (__arch_compare_and_exchange_val_32_acq): Likewise.
9612         (__arch_compare_and_exchange_val_64_acq): Likewise.
9614 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
9616         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9617         * sysdeps/posix/ulimit.c: ... this.
9618         Include <limits.h>.
9619         * sysdeps/unix/bsd/ulimit.c: Remove file.
9621 2013-01-23  Adam Conrad  <adconrad@0c3.net>
9623         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9624         (LDFLAGS-tst-array5): Likewise.
9626 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
9628         [BZ #15036]
9629         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9630         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9631         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9632         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9634 2013-01-21  David S. Miller  <davem@davemloft.net>
9636         * sysdeps/sparc/backtrace.c: New file.
9637         * sysdeps/sparc/sparc32/backtrace.h: New file.
9638         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9639         * sysdeps/sparc/sparc64/backtrace.h: New file.
9640         * sysdeps/sparc/sparc64/backtrace.c: Delete.
9641         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9642         -funwind-tables.
9644 2013-01-21  Andreas Schwab  <schwab@suse.de>
9646         [BZ #15020]
9647         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9648         closed its stdout.
9650 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
9652         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9653         "mpa2.h".
9654         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9656 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
9657             Mark Mitchell  <mark@codesourcery.com>
9658             Tom de Vries  <tom@codesourcery.com>
9659             Paul Pluzhnikov  <ppluzhnikov@google.com>
9661         * debug/tst-backtrace2.c: New file.
9662         * debug/tst-backtrace3.c: Likewise.
9663         * debug/tst-backtrace4.c: Likewise.
9664         * debug/tst-backtrace5.c: Likewise.
9665         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9666         (CFLAGS-tst-backtrace3.c): Likewise.
9667         (CFLAGS-tst-backtrace4.c): Likewise.
9668         (CFLAGS-tst-backtrace5.c): Likewise.
9669         (LDFLAGS-tst-backtrace2): Likewise.
9670         (LDFLAGS-tst-backtrace3): Likewise.
9671         (LDFLAGS-tst-backtrace4): Likewise.
9672         (LDFLAGS-tst-backtrace5): Likewise.
9673         (tests): Add new tests tst-backtrace2, tst-backtrace3,
9674         tst-backtrace4 and tst-backtrace5.
9676 2013-01-18  Anton Blanchard  <anton@samba.org>
9677             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9679         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9680         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9681         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9682         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9684         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9685         "+r" and remove output regs list as redundant.  Add explicit inline
9686         asm to specify register of return val to work around compiler codegen
9687         bug.  Remove (int) cast on return value.  Add return type parameter to
9688         use in macro so that this macro does not truncate return value for
9689         64-bit values.
9690         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9691         pass to INTERNAL_VSYSCALL_NCS.
9692         (INLINE_VSYSCALL): Add 'long int' as return type to
9693         INTERNAL_VSYSCALL_NCS macro invocation.
9694         (INTERNAL_VSYSCALL): Add 'long int' as return type to
9695         INTERNAL_VSYSCALL_NCS macro invocation.
9696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9698 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9700         [BZ #14496]
9701         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9702         Fix application of SIMD FP exception mask.
9704         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9705         mp_no from a power of two.
9706         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9707         __mpexp_twomm1.  Use __pow_mp.
9709         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9710         multiplication.
9712 2013-01-17  David S. Miller  <davem@davemloft.net>
9714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9716 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
9718         [BZ #15023]
9719         * include/complex.h: Condition contents on [!_COMPLEX_H].
9720         (__kernel_casinhf): New prototype.
9721         (__kernel_casinh): Likewise.
9722         (__kernel_casinhl): Likewise.
9723         * math/Makefile (libm_calls): Add k_casinh.
9724         * math/k_casinh.c: New file.
9725         * math/k_casinhf.c: Likewise.
9726         * math/k_casinhl.c: Likewise.
9727         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9728         finite nonzero arguments.
9729         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9730         finite nonzero arguments.
9731         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9732         finite nonzero arguments.
9733         * math/s_casinh.c: Do not include <float.h>.
9734         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9735         * math/s_casinhf.c: Do not include <float.h>.
9736         (__casinhf): Move code for finite nonzero arguments to
9737         k_casinhf.c.
9738         * math/s_casinhl.c: Do not include <float.h>.
9739         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9740         redefine.
9741         (__casinhl): Move code for finite nonzero arguments to
9742         k_casinhl.c.
9743         * math/libm-test.inc (cacos_test): Add more tests.
9744         * sysdeps/i386/fpu/libm-test-ulps: Update.
9745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9747 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
9749         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9750         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9751         [!HAVE_MREMAP]: Remove [defined linux] case.
9752         * malloc/arena.c: Do not include <malloc-sysdep.h>.
9754 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9756         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9758 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
9760         * elf/elf.h (R_386_SIZE32): New relocation.
9761         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9762         R_386_SIZE32.
9763         (elf_machine_rela): Likewise.
9764         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9765         R_X86_64_SIZE64 and R_X86_64_SIZE32.
9767 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
9769         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9770         (FP_FAST_FMA): Do not define.
9771         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9772         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9773         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9774         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9775         !_SOFT_FLOAT]: Likewise.
9776         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9777         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9778         value.
9779         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9780         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9781         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9782         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9783         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9784         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9785         file.
9787 2013-01-16  Andreas Schwab  <schwab@suse.de>
9789         [BZ #14327]
9790         * include/stdlib.h (__mktemp): Add declaration.
9791         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9792         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9794 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9796         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9797         definitions.
9798         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9799         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9800         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9801         definitions here.
9802         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9803         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9804         definitions.
9805         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9806         and ONE.
9807         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9808         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9809         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9810         definitions.
9811         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9812         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9813         definitions.
9814         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9816         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9818 2013-01-15  David S. Miller  <davem@davemloft.net>
9820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9821         trunc{,f} to libm-sysdep_routes.
9822         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9824         file.
9825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9827         file.
9828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9829         file.
9830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9832         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9833         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9834         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9835         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9836         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9837         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9840         nearbyint{,f} to libm-sysdep_routes.
9841         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9843         New file.
9844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9845         file.
9846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9847         New file.
9848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9849         file.
9850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9852         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9853         file.
9854         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9855         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9856         file.
9857         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9858         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9859         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9861         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9862         libc_feholdexcept and libc_fesetenv.
9864 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
9866         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9868 2013-01-14  David S. Miller  <davem@davemloft.net>
9870         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9871         (SPARC_ASM_VIS2_IFUNC): Likewise.
9872         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9874         use of 'siam' instruction.
9875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9876         Likewise.
9877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9878         Likewise.
9879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9880         Likewise.
9881         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9882         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9883         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9884         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9886         file.
9887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9888         file.
9889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9890         file.
9891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9892         file.
9893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9894         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9896         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9898         new VIS2 routines.
9899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9902         Likewise.
9903         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9904         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9905         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9906         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9908         routines to libm-sysdep_routines.
9909         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9912         fdim/fdimf to libm-sysdep_routines.
9913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9914         file.
9915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9917         file.
9918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9921         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9922         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9923         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9924         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9926 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9928         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9929         to optimize copies.
9931         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9932         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9935         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9936         local variable MPTWO.
9937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9938         Likewise.
9940 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9942         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9943         GLOB_NOESCAPE.
9945 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9947         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9949 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9951         * manual/pattern.texi (glob_t): Document gl_flags.
9952         (glob64_t): Likewise.
9954 2013-01-11  David S. Miller  <davem@davemloft.net>
9956         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9957         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9958         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
9959         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9960         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9961         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9962         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9963         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9964         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9965         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9966         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9967         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9968         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9970         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9971         sparc V9 rather than using V8 code.
9972         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9973         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9975         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9976         Move to...
9977         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9978         Here.
9980 2013-01-11  Roland McGrath  <roland@hack.frob.com>
9982         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9983         not in the main loop.
9984         * configure: Regenerated.
9986 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
9988         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9989         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9990         to just #else.
9991         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
9992         [!__GLIBC_HAVE_LONG_LONG] case.
9993         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9994         condition to just #else.
9995         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9996         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9997         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9998         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9999         unconditional.
10000         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10001         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10002         #elif condition to just #else.
10003         * sysdeps/unix/sysv/linux/sys/sysmacros.h
10004         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10005         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10006         #elif condition to just #else.
10008 2013-01-11  Steve Ellcey  <sellcey@mips.com>
10010         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10011         (EF_MIPS_ARCH_64): Fix value.
10012         (EF_MIPS_ARCH_32R2): New.
10013         (EF_MIPS_ARCH_64R2): New.
10015 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
10017         * Makeconfig (+link-pie-before-libc): New.
10018         (+link-pie-after-libc): Likewise.
10019         (+link-pie-tests): Likewise.
10020         (+link-pie): Rewritten.
10021         (link-before-libc): Remove $(config-LDFLAGS).
10022         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10023         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10024         (config-LDFLAGS): Renamed to ...
10025         (rtld-LDFLAGS): This.
10026         (rtld-tests-LDFLAGS): New macro.
10027         (link-libc-rpath-link): Likewise.
10028         (link-libc-tests-rpath-link): Likewise.
10029         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10030         (link-libc): Prepand $(link-libc-rpath-link).
10031         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10032         (test-program-prefix): New macro.
10033         (test-via-rtld-prefix): Likewise.
10034         (test-program-cmd): Likewise.
10035         (host-test-program-cmd): Likewise.
10036         * Makefile ($(common-objpfx)testrun.sh): Replace
10037         $(run-program-prefix) with $(test-program-prefix).
10038         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10039         $(rtld-LDFLAGS).
10040         ($(common-objpfx)shlib.lds): Likewise.
10041         (build-module-helper): Likewise.
10042         ($(common-objpfx)format.lds): Likewise.
10043         * Rules (binaries-pie-tests): New.
10044         (binaries-pie-notests): Likewise.
10045         (binaries-pie): Rewritten.
10046         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10047         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10048         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10049         (make-test-out): Replace $(host-built-program-cmd) with
10050         $(host-test-program-cmd).
10051         * config.make.in (build-hardcoded-path-in-tests): New variable.
10052         * configure.in (--enable-hardcoded-path-in-tests): New configure
10053         option.
10054         (hardcoded_path_in_tests): New AC_SUBST.
10055         * configure: Regenerated.
10056         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10057         $(built-program-cmd) with $(test-program-cmd).
10058         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10059         (test_program_cmd): This.
10060         * elf/Makefile ($(objpfx)order.out): Run test with
10061         $(test-program-prefix).
10062         ($(objpfx)order2.out): Likewise.
10063         ($(objpfx)tst-initorder.out): Likewise.
10064         ($(objpfx)tst-initorder2.out): Likewise.
10065         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10066         $(test-program-cmd).
10067         ($(objpfx)tst-array1-static.out): Likewise.
10068         ($(objpfx)tst-array2.out): Likewise.
10069         ($(objpfx)tst-array3.out): Likewise.
10070         ($(objpfx)tst-array4.out): Likewise.
10071         ($(objpfx)tst-array5.out): Likewise.
10072         ($(objpfx)tst-array5-static.out): Likewise.
10073         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10074         $(test-program-cmd).
10075         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10076         $(run-program-prefix) with $(test-program-prefix).
10077         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10078         (test_program_prefix): This.
10079         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10080         $(run-program-prefix) with $(test-program-prefix).
10081         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10082         (test_program_prefix): This.
10083         * iconvdata/tst-tables.sh: Likewise.
10084         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10085         $(run-program-prefix) with $(test-program-prefix).
10086         ($(objpfx)tst-translit.out): Likewise.
10087         ($(objpfx)tst-gettext2.out): Likewise.
10088         ($(objpfx)tst-gettext4.out): Likewise.
10089         ($(objpfx)tst-gettext6.out): Likewise.
10090         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10091         (test_program_prefix): This.
10092         * intl/tst-gettext2.sh: Likewise.
10093         * intl/tst-gettext4.sh  Likewise.
10094         * intl/tst-gettext6.sh: Likewise.
10095         * intl/tst-translit.sh: Likewise.
10096         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10097         with $(test-program-cmd).
10098         * libio/Makefile ($(objpfx)test-freopen.out): Replace
10099         $(run-program-prefix) with $(test-program-prefix).
10100         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10101         (test_program_prefix): This.
10102         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10103         $(run-program-prefix) with $(test-program-prefix).
10104         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10105         (test_program_prefix): This.
10106         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10107         * posix/Makefile ($(objpfx)globtest.out): Replace
10108         $(run-via-rtld-prefix) and $(test-wrapper) with
10109         $(test-program-prefix) and $(test-via-rtld-prefix).
10110         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10111         $(test-program-prefix).
10112         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10113         $(host-test-program-cmd).
10114         (tst-spawn-ARGS): Likewise.
10115         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10116         $(test-program-prefix).
10117         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10118         (test_via_rtld_prefix): This.
10119         (test_wrapper): Renamed to ...
10120         (test_program_prefix): This.
10121         (run_program_prefix): Replaced by test_program_prefix.
10122         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10123         (test_program_prefix): This.
10124         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10125         with $(host-test-program-cmd).
10126         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10127         $(run-program-prefix) with $(test-program-prefix).
10128         ($(objpfx)tst-printf.out): Likewise.
10129         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10130         $(test-program-cmd).
10131         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10132         (test_program_prefix): This.
10133         * stdio-common/tst-unbputc.sh: Likewise.
10134         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10135         $(run-program-prefix) with $(test-program-prefix).
10136         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10137         (test_program_prefix): This.
10138         * string/Makefile ($(objpfx)tst-svc.out):  Replace
10139         $(built-program-cmd) with $(test-program-cmd).
10141 2013-01-11  Andreas Jaeger  <aj@suse.de>
10143         [BZ #15003]
10144         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10145         value. Sync with Linux 3.7.
10147 2013-01-10  David S. Miller  <davem@davemloft.net>
10149         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10150         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10151         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10153 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10155         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10156         never set.
10157         * configure: Regenerated.
10159 2013-01-10  David S. Miller  <davem@davemloft.net>
10161         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10162         sparc V9 rather than using V8 code.
10163         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10164         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10166 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10168         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10169         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10170         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10171         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10172         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10173         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10174         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10175         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10176         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10177         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10178         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10179         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10180         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10181         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10182         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10183         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10184         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10185         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10186         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10187         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10188         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10189         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10190         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10191         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10192         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10193         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10194         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10196 2013-01-10  David S. Miller  <davem@davemloft.net>
10198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10200 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10202         * posix/Makefile (tests-static): New variable.
10203         (tests): Add $(tests-static).
10204         (tst-exec-static-ARGS): New variable.
10205         (tst-spawn-static-ARGS): Likewise.
10206         * posix/tst-exec-static.c: New file.
10207         * posix/tst-spawn-static.c: Likewise.
10208         * posix/tst-exec.c: Support run directly.
10209         * posix/tst-spawn.c: Likewise.
10211 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
10213         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10214         long.
10215         * math/bits/mathcalls.h (llrint): Likewise.
10216         (llround): Likewise.
10217         * stdlib/stdlib.h (struct drand48_data): Likewise.
10218         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10219         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10220         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10221         Likewise.
10222         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10223         Likewise.
10224         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10225         (elf_greg_t): Likewise.
10226         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10227         (__jmp_buf): Likewise.
10228         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10229         definitions.
10230         (llrint): Likewise, for all definitions.
10231         (llrintl): Likewise.
10233         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10234         Remove [__GNUC__] condition.
10235         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10236         condition to just [__USE_ISOC99].
10237         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10239 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10241         [BZ #14200]
10242         * sysdeps/unix/sysv/linux/x86/bits/environments.h
10243         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10244         defined.
10245         (_POSIX_V6_ILP32_OFF32): Likewise.
10246         (_XBS5_ILP32_OFF32): Likewise.
10247         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10248         (__ILP32_OFFBIG_LDFLAGS): Likewise.
10250 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10252         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10254         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10255         doubles __mpexp_twomm1.  Adjust usage.
10256         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10257         Remove.
10259 2013-01-10  Andreas Schwab  <schwab@suse.de>
10261         [BZ #14964]
10262         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10263         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10265 2013-01-09  David S. Miller  <davem@davemloft.net>
10267         [BZ #15003]
10268         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10269         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10270         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10271         TCP_FASTOPEN): Define.
10272         (tcp_repair_opt): New structure.
10273         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10274         enum values.
10275         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10276         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10277         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10278         (tcp_cookie_transactions): New structure.
10280 2013-01-09  Anton Blanchard  <anton@samba.org>
10282         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10283         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10284         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10285         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10287 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
10289         * include/features.h (__USE_ANSI): Remove.
10291 2013-01-09  Roland McGrath  <roland@hack.frob.com>
10293         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10295         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10297 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
10299         * sysdeps/s390/fpu/libm-test-ulps: Update.
10301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10303         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10304         (__acr): Likewise.
10305         (__cpy): Likewise.
10306         (norm): Likewise.
10307         (denorm): Likewise.
10308         (__mp_dbl): Likewise.
10309         (__dbl_mp): Likewise.
10310         (add_magnitudes): Likewise.
10311         (sub_magnitudes): Likewise.
10312         (__add): Likewise.
10313         (__sub): Likewise.
10314         (__mul): Likewise.
10315         (__inv): Likewise.
10316         (__dvd): Likewise.
10317         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10318         (__acr): Likewise.
10319         (__cpy): Likewise.
10320         (norm): Likewise.
10321         (denorm): Likewise.
10322         (__mp_dbl): Likewise.
10323         (__dbl_mp): Likewise.
10324         (add_magnitudes): Likewise.
10325         (sub_magnitudes): Likewise.
10326         (__add): Likewise.
10327         (__sub): Likewise.
10328         (__mul): Likewise.
10329         (__inv): Likewise.
10330         (__dvd): Likewise.
10331         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10332         (__acr): Likewise.
10333         (__cpy): Likewise.
10334         (norm): Likewise.
10335         (denorm): Likewise.
10336         (__mp_dbl): Likewise.
10337         (__dbl_mp): Likewise.
10338         (add_magnitudes): Likewise.
10339         (sub_magnitudes): Likewise.
10340         (__add): Likewise.
10341         (__sub): Likewise.
10342         (__mul): Likewise.
10343         (__inv): Likewise.
10344         (__dvd): Likewise.
10346 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
10348         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10349         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10350         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10351         2 && __USE_EXTERN_INLINES]: Likewise.
10353 2013-01-08  Andreas Jaeger  <aj@suse.de>
10355         [BZ# 14985]
10356         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10357         Remove.
10358         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10359         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10361 2013-01-07  Anton Blanchard  <anton@samba.org>
10363         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10364         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10365         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10366         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10367         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10368         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10369         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10370         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10371         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10372         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10373         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10374         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10375         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10376         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10377         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10378         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10379         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10380         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10381         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10382         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10383         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10384         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10385         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10386         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10387         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10388         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10389         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10390         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10391         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10392         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10393         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10394         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10395         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10396         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10397         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10398         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10399         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10400         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10401         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10402         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10403         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10404         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10405         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10407 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
10409         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10410         (__MALLOC_PMT): Likewise.
10411         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10412         [__GNUC__], only on [_LIBC].
10413         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10414         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10415         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10416         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10417         forward declaration.
10418         (realloc_hook_ini): Likewise.
10419         (memalign_hook_ini): Likewise.
10420         (__libc_memalign): Do not use __MALLOC_PMT in variable
10421         declaration.
10422         (__libc_valloc): Likewise.
10423         (__libc_pvalloc): Likewise.
10424         (__libc_calloc): Likewise.
10425         (__posix_memalign): Likewise.
10427         [BZ #14996]
10428         * math/s_casinh.c: Include <float.h>.
10429         (__casinh): Do not do computation with squaring and square root
10430         for large arguments.
10431         * math/s_casinhf.c: Include <float.h>.
10432         (__casinhf): Do not do computation with squaring and square root
10433         for large arguments.
10434         * math/s_casinhl.c: Include <float.h>.
10435         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10436         (__casinhl): Do not do computation with squaring and square root
10437         for large arguments.
10438         * math/libm-test.inc (casin_test): Add more tests.
10439         (casinh_test): Likewise.
10440         * sysdeps/i386/fpu/libm-test-ulps: Update.
10441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10443 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
10445         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10446         (__x86_64_raw_data_cache_size): Likewise.
10447         (__x86_64_data_cache_size_half): Likewise.
10448         (__x86_64_raw_data_cache_size_half): Likewise.
10449         (__x86_64_shared_cache_size): Likewise.
10450         (__x86_64_raw_shared_cache_size): Likewise.
10451         (__x86_64_shared_cache_size_half): Likewise.
10452         (__x86_64_raw_shared_cache_size_half): Likewise.
10453         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10454         to ...
10455         (__x86_data_cache_size): This.
10456         (__x86_64_raw_data_cache_size): Renamed to ...
10457         (__x86_raw_data_cache_size): This.
10458         (__x86_64_data_cache_size_half): Renamed to ...
10459         (__x86_data_cache_size_half): This.
10460         (__x86_64_raw_data_cache_size_half): Renamed to ...
10461         (__x86_raw_data_cache_size_half): This.
10462         (__x86_64_shared_cache_size): Renamed to ...
10463         (__x86_shared_cache_size): This.
10464         (__x86_64_raw_shared_cache_size): Renamed to ...
10465         (__x86_raw_shared_cache_size): This.
10466         (__x86_64_shared_cache_size_half): Renamed to ...
10467         (__x86_shared_cache_size_half): This.
10468         (__x86_64_raw_shared_cache_size_half): Renamed to ...
10469         (__x86_raw_shared_cache_size_half): This.
10470         * sysdeps/x86_64/memcpy.S: Updated.
10471         * sysdeps/x86_64/memset.S: Likewise.
10472         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10473         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10474         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10476 2013-01-04  David S. Miller  <davem@davemloft.net>
10478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10480 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
10482         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10483         1 to avoid redefinition warning.
10484         (__USE_GNU): Don't define.
10485         (init_signaling_nan): Protoize.
10487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10489 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10491         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10492         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10493         (__cpymn): Likewise.
10494         (norm): Remove commented code.
10495         (denorm): Likewise.
10496         (__mp_dbl): Likewise.
10497         (__inv): Likewise.
10498         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10499         (__cpymn): Likewise.
10500         (norm): Remove commented code.
10501         (denorm): Likewise.
10502         (__mp_dbl): Likewise.
10503         (__inv): Likewise.
10505         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10506         mp_no value for 1.0 and 2.0.
10507         (norm): Use RADIXI instead of radixi.d.
10508         (denorm): Likewise.
10509         (__mul): Use 0.0 instead of zero.d.
10510         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10511         mp_no value for 1.0 and 2.0.
10512         (norm): Use RADIXI instead of radixi.d.
10513         (denorm): Likewise.
10514         (__mul): Use 0.0 instead of zero.d.
10516 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
10518         [BZ #14994]
10519         * math/s_casinh.c (__casinh): Reduce finite argument to first
10520         quadrant then set signs of results at the end.
10521         * math/s_casinhf.c (__casinhf): Likewise.
10522         * math/s_casinhl.c (__casinhl): Likewise.
10523         * math/libm-test.inc (casin_test): Add more tests.
10524         (casinh_test): Likewise.
10525         * sysdeps/i386/fpu/libm-test-ulps: Update.
10526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10528 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10530         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10532         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10534         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10535         declarations.
10536         (denorm): Likewise.
10537         (__mp_dbl): Likewise.
10538         (__inv): Likewise.
10540         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10541         and adjust the header comment.
10543         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10544         variable name from declaration.
10546 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
10548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10549         Initialize COMMON_CPUID_INDEX_7 element.
10550         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10551         (CPUID_RTM): Likewise.
10552         (HAS_RTM): Likewise.
10553         (COMMON_CPUID_INDEX_7): New enum.
10555 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
10557         [BZ #14981]
10558         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10559         size is zero, record memory as freed.
10561 2013-01-03  Andreas Jaeger  <aj@suse.de>
10563         * po/ia.po: Add new Interlingua translation.
10565 2012-01-03  Allan McRae  <allan@archlinux.org>
10567         * locale/programs/localedef.c: Fix description of '--posix' flag.
10569 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
10571         * NEWS: Update dates in second copyright notice.
10572         * README: Update copyright dates in example.
10573         * manual/libc.texinfo: Update copyright dates.
10574         * scripts/test-installation.pl: Update copyright date in --version
10575         output.
10577         * hurd/ctty-input.c: Fix copyright notice formatting.
10578         * hurd/ctty-output.c: Likewise.
10579         * hurd/dtable.c: Likewise.
10580         * hurd/hurd-raise.c: Likewise.
10581         * hurd/hurdprio.c: Likewise.
10582         * hurd/msgportdemux.c: Likewise.
10583         * misc/sys/file.h: Likewise.
10584         * misc/sys/ioctl.h: Likewise.
10585         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10586         * sysdeps/mach/hurd/chdir.c: Likewise.
10587         * sysdeps/mach/hurd/fchdir.c: Likewise.
10588         * sysdeps/mach/hurd/rename.c: Likewise.
10589         * sysdeps/mach/hurd/rmdir.c: Likewise.
10590         * sysdeps/mach/hurd/seekdir.c: Likewise.
10591         * sysdeps/mach/hurd/setsid.c: Likewise.
10592         * sysdeps/posix/wait3.c: Likewise.
10594         * All files with FSF copyright notices: Update copyright dates
10595         using scripts/update-copyrights.
10596         * intl/plural.c: Regenerated.
10597         * locale/programs/charmap-kw.h: Likewise.
10598         * locale/programs/locfile-kw.h: Likewise.
10600 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10602         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10603         four values.
10605         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10606         calculation loop and add branch prediction.
10608         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10609         check access beyond bounds of m1np.
10611         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10612         MPTWO.
10613         (__inv): Remove local variable MPTWO to use the global
10614         constant.
10615         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10616         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10617         variable MPTWO.
10618         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10619         MP3HALFS static const.
10621 2013-01-01  David S. Miller  <davem@davemloft.net>
10623         * po/ca.po: Update from translation team.
10625 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
10627         * scripts/update-copyrights: New file.
10628         * Makeconfig: Reformat copyright notice.
10629         * ctype/ctype.h: Likewise.
10630         * debug/swprintf_chk.c: Likewise.
10631         * elf/dl-cache.c: Likewise.
10632         * elf/dl-debug.c: Likewise.
10633         * elf/dl-object.c: Likewise.
10634         * grp/initgroups.c: Likewise.
10635         * hurd/Makefile: Likewise.
10636         * hurd/hurd/signal.h: Likewise.
10637         * hurd/hurdfault.c: Likewise.
10638         * hurd/hurdioctl.c: Likewise.
10639         * hurd/hurdlookup.c: Likewise.
10640         * hurd/intr-msg.c: Likewise.
10641         * iconv/gconv_open.c: Likewise.
10642         * libio/swprintf.c: Likewise.
10643         * locale/lc-ctype.c: Likewise.
10644         * locale/nl_langinfo.c: Likewise.
10645         * mach/Machrules: Likewise.
10646         * mach/Makefile: Likewise.
10647         * malloc/obstack.h: Likewise.
10648         * manual/Makefile: Likewise.
10649         * manual/tsort.awk: Likewise.
10650         * misc/bits/stab.def: Likewise.
10651         * nis/nis_print_group_entry.c: Likewise.
10652         * nis/nis_table.c: Likewise.
10653         * nis/nss_compat/compat-pwd.c: Likewise.
10654         * nis/nss_compat/compat-spwd.c: Likewise.
10655         * po/Makefile: Likewise.
10656         * posix/fnmatch.c: Likewise.
10657         * posix/regex.h: Likewise.
10658         * resolv/Makefile: Likewise.
10659         * resolv/nss_dns/dns-network.c: Likewise.
10660         * resolv/res_hconf.c: Likewise.
10661         * scripts/gen-sorted.awk: Likewise.
10662         * soft-fp/soft-fp.h: Likewise.
10663         * stdio-common/printf.h: Likewise.
10664         * stdlib/monetary.h: Likewise.
10665         * stdlib/random.c: Likewise.
10666         * stdlib/random_r.c: Likewise.
10667         * sysdeps/generic/Makefile: Likewise.
10668         * sysdeps/gnu/Makefile: Likewise.
10669         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10670         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10671         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10672         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10673         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10674         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10675         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10676         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10677         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10678         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10679         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10680         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10681         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10682         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10683         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10684         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10685         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10686         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10687         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10688         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10689         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10690         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10691         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10692         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10693         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10694         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10695         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10696         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10697         * sysdeps/mach/hurd/errnos.awk: Likewise.
10698         * sysdeps/mach/hurd/fork.c: Likewise.
10699         * sysdeps/mach/hurd/getcwd.c: Likewise.
10700         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10701         * sysdeps/mach/hurd/mmap.c: Likewise.
10702         * sysdeps/mach/hurd/utimes.c: Likewise.
10703         * sysdeps/mach/hurd/xmknod.c: Likewise.
10704         * sysdeps/posix/profil.c: Likewise.
10705         * sysdeps/posix/readdir_r.c: Likewise.
10706         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10707         * sysdeps/powerpc/bits/setjmp.h: Likewise.
10708         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10709         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10710         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10711         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10712         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10713         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10715         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10716         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10717         * sysdeps/pthread/lio_listio.c: Likewise.
10718         * sysdeps/sparc/dl-procinfo.h: Likewise.
10719         * sysdeps/unix/i386/sysdep.S: Likewise.
10720         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10721         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10722         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10723         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10725         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10726         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10727         * sysdeps/unix/sysv/linux/speed.c: Likewise.
10728         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10729         * sysdeps/wordsize-32/divdi3.c: Likewise.
10730         * time/sys/time.h: Likewise.
10731         * wcsmbs/Makefile: Likewise.
10733 2013-01-01  David S. Miller  <davem@davemloft.net>
10735         * po/fr.po: Update from translation team.
10737         * catgets/gencat.c: Update copyright year.
10738         * csu/version.c: Likewise.
10739         * debug/catchsegv.sh: Likewise.
10740         * debug/pcprofiledump.c: Likewise.
10741         * debug/xtrace.sh: Likewise.
10742         * elf/ldconfig.c: Likewise.
10743         * elf/ldd.bash.in: Likewise.
10744         * elf/pldd.c: Likewise.
10745         * elf/sotruss.ksh: Likewise.
10746         * elf/sprof.c: Likewise.
10747         * iconv/iconv_prog.c: Likewise.
10748         * iconv/iconvconfig.c: Likewise.
10749         * locale/programs/locale.c: Likewise.
10750         * locale/programs/localedef.c: Likewise.
10751         * login/programs/pt_chown.c: Likewise.
10752         * malloc/memusage.sh: Likewise.
10753         * malloc/memusagestat.c: Likewise.
10754         * malloc/mtrace.pl: Likewise.
10755         * nscd/nscd.c: Likewise.
10756         * nss/getent.c: Likewise.
10757         * nss/makedb.c: Likewise.
10758         * posix/getconf.c: Likewise.
10760 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10762         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10763         numbers.
10765 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
10767         * math/bits/mathcalls.h (modf): Use __nonnull.
10769 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10771         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10772         (split): Use macro CN instead of the bare value.
10773         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10774         could be used.
10775         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10776         instead of the bare value.
10777         (power1): Likewise.
10779 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10781         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10782         __ATAN_TWOM.
10783         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10785         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10786         their values.
10787         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10788         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10789         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10790         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10792 2012-12-28  Andreas Jaeger  <aj@suse.de>
10794         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
10795         values are from Linux 3.7.
10797         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10798         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
10800 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10802         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10803         TRUE case.
10805         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10806         (norm): Likewise.
10807         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10808         variables with preprocessor constants.
10809         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10810         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10811         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10813 2012-12-27  Bruno Haible  <bruno@clisp.org>
10815         [BZ #14317]
10816         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10817         only if needed.
10819 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10821         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10822         and use variable directly.
10823         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10825         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10826         MPONE.
10827         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10828         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10829         variable MPONE.
10830         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10831         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10832         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10833         include directive.  Remove local variable MPONE.
10834         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10835         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10836         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10838 2012-12-25  David S. Miller  <davem@davemloft.net>
10840         * version.h (RELEASE): Set to "development".
10841         (VERSION): Set to "2.17.90".
10842         * NEWS: Add 2.18 section.
10844 2012-12-21  David S. Miller  <davem@davemloft.net>
10846         * po/hr.po: Update from translation team.
10848 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10850         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10852 2012-12-19  Steve Ellcey  <sellcey@mips.com>
10854         * NEWS:  Mention new memcpy for MIPS.
10856 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10858         * manual/contrib.texi (Contributors): Spelling correction.
10860 2012-12-15  David S. Miller  <davem@davemloft.net>
10862         * po/ru.po: Update from translation team.
10864 2012-12-13  David S. Miller  <davem@davemloft.net>
10866         * NEWS: Mention IFUNC testsuite enhancements.
10868         * po/pl.po: Update from translation team.
10869         * po/bg.po: Likewise.
10871         * manual/contrib.texi (Contributors): Update entries for Hongjiu
10872         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
10874 2012-12-11  David S. Miller  <davem@davemloft.net>
10876         * po/sv.po: Update from translation team.
10878         * po/vi.po: Update from translation team.
10880         * po/cs.po: Update from translation team.
10882         * po/de.po: Update from translation team.
10883         * po/eo.po: Likewise.
10884         * po/nl.po: Likewise.
10886 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10888         [BZ #14246]
10889         * manual/argp.texi (Argp Helper Functions): Move node to follow
10890         Argp Parsing State.
10892         [BZ #14872]
10893         * manual/conf.texi (Limits on File System Capacity): Mention if
10894         terminating null is included in the max size.
10896 2012-12-10  Andreas Jaeger  <aj@suse.de>
10898         * po/cs.po: Update from translation team.
10900 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10902         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10903         void pointer and cast to uintptr_t.
10904         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10905         path.
10906         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10907         * sysdeps/s390/s390-64/memset.S: Likewise.
10909 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
10911         [BZ #14833]
10912         * menual/message.texi (Message Translation): Fix typos.
10913         (Helper programs for gettext): Likewise.
10915 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
10917         [BZ #14898]
10918         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10919         Change to -1.
10921 2012-12-07  David S. Miller  <davem@davemloft.net>
10923         * po/libc.pot: Update.
10925 2012-12-07  Richard Henderson  <rth@redhat.com>
10927         [BZ #10114]
10928         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10929         normal/normal case to before the switch.
10930         (_FP_DIV): Likewise.
10932 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
10933             Mike Frysinger  <vapier@gentoo.org>
10935         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10936         check for __NR_fadvise64_64.
10938 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
10940         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10941         0, not just to plain "0" as a statement.
10942         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10943         with cw.
10945 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
10947         * NEWS: Use sourceware.org in Bugzilla URL.
10949 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10952         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10954         * stdio-common/tst-put-error.c (do_test): Add newline to the
10955         padded test to ensure flush.
10957 2012-12-05  Jeff Law  <law@redhat.com>
10959         * sunrpc/etc.rpc (fedfs_admin): Add entry.
10961 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
10963         * README: Don't refer to ports add-on as distributed separately.
10964         Mention AArch64 in list of systems supported in the ports add-on.
10966         * LICENSES: Add more non-FSF copyright and license notices.
10968         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10969         ((unused)).
10971         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10973         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10974         10000 as width of padded output.
10976 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10978         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10980         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10981         variable LX with __attribute__ ((unused)).
10982         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10983         Likewise.
10984         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10985         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10986         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10987         with __attribute__ ((unused)).
10989 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
10991         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10993 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10995         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10996         (CFLAGS-nldbl-acos.c): New variable.
10997         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10998         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10999         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11000         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11001         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11002         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11003         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11004         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11005         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11006         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11007         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11008         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11009         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11010         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11011         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11012         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11013         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11014         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11015         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11016         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11017         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11018         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11019         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11020         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11021         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11022         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11023         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11024         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11025         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11026         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11027         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11028         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11029         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11030         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11031         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11032         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11033         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11034         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11035         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11036         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11037         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11038         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11039         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11040         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11041         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11042         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11043         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11044         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11045         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11046         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11047         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11048         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11049         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11050         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11051         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11052         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11053         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11054         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11055         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11056         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11057         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11058         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11059         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11060         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11061         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11062         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11063         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11064         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11065         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11066         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11067         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11068         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11069         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11070         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11071         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11072         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11073         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11074         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11075         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11076         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11077         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11078         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11079         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11080         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11081         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11082         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11083         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11084         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11085         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11086         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11087         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11088         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11089         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11090         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11091         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11092         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11093         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11096         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11098         [BZ #14914]
11099         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11100         whole low double instead of just low 47 bits when splitting values
11101         into two parts.
11103 2012-12-03  Allan McRae  <allan@archlinux.org>
11105         * manual/stdio.texi (Predefined Printf Handlers): Remove
11106         @hsep and @vsep usage.
11108 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
11110         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11111         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11113 2012-12-03  Jeff Law  <law@redhat.com>
11115         * time/sys/time.h (settimeofday): Do not mark TV argument
11116         as __nonnull.
11118 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
11120         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11121         when currently writing and seek to current position when not.
11122         * libio/Makefile (tests): Remove bug-fclose1.
11123         * libio/bug-fclose1.c: Delete.
11125 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
11127         * manual/arith.texi (feenableexcept): Fix typo.
11128         (fedisableexcept): Likewise.
11130 2012-11-30  Roland McGrath  <roland@hack.frob.com>
11132         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11133         second, differently-typed declaration, rather than a cast.
11135 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11137         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11138         * include/rpc/svc.h: ... here.
11140 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
11142         [BZ #13013]
11143         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11144         depending n and resplen2 to catch cases where answer
11145         equals answerp2.
11147 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
11149         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11150         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11152 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
11154         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11156 2012-11-29  Roland McGrath  <roland@hack.frob.com>
11158         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11160 2012-11-28  Jeff Law  <law@redhat.com>
11162         [BZ #13761]
11163         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11164         dataset_temporary.  Track alloca usage into alloca_used.
11165         If dataset is large allocate and release it via malloc/free.
11167 2012-06-04  Florian Weimer  <fweimer@redhat.com>
11169         [BZ #14197]
11170         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11172 2012-11-28  David S. Miller  <davem@davemloft.net>
11174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11176 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11178         [BZ #14803]
11179         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11180         of pi/2 rounded to nearest to 64 bits.
11181         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11182         nearest to 64 bits.
11183         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11184         bits.
11186 2012-11-28  Jeff Law <law@redhat.com>
11187             Martin Osvald <mosvald@redhat.com>
11189         [BZ #14889]
11190         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11191         * sunrpc/svc.c: Include time.h.
11192         (__svc_accept_failed): New function.
11193         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11194         any reason other than EINTR, call __svc_accept_failed.
11195         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11196         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11198 2012-11-28  Andreas Schwab  <schwab@suse.de>
11200         * scripts/abilist.awk: Also handle indirect functions in .opd
11201         section.
11203 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11205         [BZ #13881]
11206         * sysdeps/x86/fpu/powl_helper.c: New file.
11207         * sysdeps/x86/fpu/Makefile: Likewise.
11208         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11209         (p3): New object.
11210         (__ieee754_powl): Use __powl_helper for finite arguments except
11211         integer exponents below 8.
11212         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11213         (p3): New object.
11214         (__ieee754_powl): Use __powl_helper for finite arguments except
11215         integer exponents below 8.
11216         * math/libm-test.inc (pow_test): Add more tests and enable some
11217         previously disabled tests.
11218         * sysdeps/i386/fpu/libm-test-ulps: Update.
11219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11221 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11222             Carlos O'Donell  <carlos_odonell@mentor.com>
11224         * nss/makedb.c (is_prime): Assert that input is odd and greater
11225         than 4.  Note that fact in a comment too.
11226         (next_prime): Add 4 to input.
11228 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11230         [BZ #11741]
11231         * libio/Makefile (tests): Add test case tst-fwrite-error.
11232         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11233         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11234         * libio/tst-fwrite-error.c: New test case.
11236 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
11238         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11239         before casting to void *.
11240         * include/libc-internal.h (__pointer_type): New macro.
11241         (__integer_if_pointer_type_sub): Likewise.
11242         (__integer_if_pointer_type): Likewise.
11243         (cast_to_integer): Likewise.
11244         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11245         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11246         before casting to atomic64_t.
11247         (atomic_exchange_acq): Likewise.
11248         (__arch_exchange_and_add_body): Likewise.
11249         (__arch_add_body): Likewise.
11250         (atomic_add_negative): Likewise.
11251         (atomic_add_zero): Likewise.
11253 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
11255         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11256         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11257         (add_fdes): Likewise.
11258         (linear_search_fdes): Likewise.
11259         (binary_search_unencoded_fdes): Likewise.
11261 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
11263         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11265 2012-11-24  Adam Conrad  <adconrad@0c3.net>
11267         * configure.in: Autodetect C++ header directories.
11268         * configure: Regenerated.
11270 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
11272         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11274 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
11276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11278 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
11280         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11281         LDBL_MANT_DIG == 106]: Disable some tests.
11282         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11283         Likewise.
11284         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11285         Likewise.
11287         [BZ #14871]
11288         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11289         input for small inputs.  Return +/- pi/2 for large inputs.
11290         * math/libm-test.inc (atan_test): Add more tests.
11292         * sysdeps/generic/unwind-dw2-fde-glibc.c
11293         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11294         __attribute__ ((unused)).
11296         [BZ #14645]
11297         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11298         x * y if x and y are nonzero and z is zero.
11300         [BZ #14811]
11301         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11302         nonzero exponents with absolute value below 0x1p-117 to +/-
11303         0x1p-117.
11305         [BZ #14869]
11306         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11307         up arguments below 2**-450, not just those below 2**-500.
11308         * math/libm-test.inc (hypot_test): Add another test.
11310         [BZ #14868]
11311         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11312         Return a+b for ratio over 2**120, not 2**60.
11313         * math/libm-test.inc (hypot_test): Add another test.
11315         * math/libm-test.inc (clog_test): Use
11316         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11317         (clog10_test): Likewise.
11319         [BZ #6778]
11320         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11322 2012-11-22  Andreas Schwab  <schwab@suse.de>
11324         * sysdeps/i386/fpu/libm-test-ulps: Update.
11326 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
11328         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11329         printf output with newline.
11331 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
11333         [BZ #14865]
11334         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11335         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11336         -z nodlopen, -z initfirst and -z execstack support.
11337         * configure: Regenerated.
11339         * elf/elf.h (DF_1_NODIRECT): New macro.
11340         (DF_1_IGNMULDEF): Likewise.
11341         (DF_1_NOKSYMS): Likewise.
11342         (DF_1_NOHDR): Likewise.
11343         (DF_1_EDITED): Likewise.
11344         (DF_1_NORELOC): Likewise.
11345         (DF_1_SYMINTPOSE): Likewise.
11346         (DF_1_GLOBAUDIT): Likewise.
11347         (DF_1_SINGLETON): Likewise.
11348         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11349         DT_1_SUPPORTED_MASK bits.
11350         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11352 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
11354         * sysdeps/unix/make-syscalls.sh: Document prefixes.
11356 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
11358         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11359         macro.
11361         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11362         (sendmmsg): Move declarations...
11363         * socket/sys/socket.h: ... here.
11364         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11365         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11366         include it from...
11367         * socket/recvmmsg.c: ... this new file.
11368         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11369         (sendmmsg): Rename to __sendmmsg, create weak alias and make
11370         definition of __sendmmsg hidden.
11371         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11372         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11373         Move ENOSYS stub into and include it from...
11374         * socket/sendmmsg.c: ... this new file.
11375         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11376         (sysdep_routines): Move recvmmsg and sendmmsg...
11377         * socket/Makefile (routines): ... here.
11378         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11379         (GLIBC_PRIVATE): Add __sendmmsg.
11380         * include/sys/socket.h (__sendmmsg): Add declarations.
11381         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11382         sendmmsg.
11384 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
11386         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11387         variable I1 with __attribute__ ((unused)).
11388         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11390 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11392         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11393         DUMMY variables with __attribute__ ((unused)).
11395         * bits/byteswap.h: Include <bits/types.h>.
11396         (__bswap_64): Use __uint64_t instead of unsigned long long int.
11398 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11400         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11401         string_t.  Do not manually set errno.
11402         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11403         length with __strnlen.  Make sure to both set errno and return it on
11404         failure.
11406 2012-11-19  David S. Miller  <davem@davemloft.net>
11408         With help from Joseph Myers.
11409         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11410         very large arguments properly.
11411         * math/libm-test.inc (atan_test): New tests.
11412         (atan2_test): New tests.
11413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11414         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11416 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11418         [BZ #14856]
11419         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11420         Define to 3.
11422         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11423         [POSIX] (EADDRNOTAVAIL): Likewise.
11424         [POSIX] (EAFNOSUPPORT): Likewise.
11425         [POSIX] (EALREADY): Likewise.
11426         [POSIX] (ECONNABORTED): Likewise.
11427         [POSIX] (ECONNREFUSED): Likewise.
11428         [POSIX] (ECONNRESET): Likewise.
11429         [POSIX] (EDESTADDRREQ): Likewise.
11430         [POSIX] (EDQUOT): Likewise.
11431         [POSIX] (EHOSTUNREACH): Likewise.
11432         [POSIX] (EIDRM): Likewise.
11433         [POSIX] (EISCONN): Likewise.
11434         [POSIX] (ELOOP): Likewise.
11435         [POSIX] (EMULTIHOP): Likewise.
11436         [POSIX] (ENETDOWN): Likewise.
11437         [POSIX] (ENETUNREACH): Likewise.
11438         [POSIX] (ENOBUFS): Likewise.
11439         [POSIX] (ENODATA): Likewise.
11440         [POSIX] (ENOLINK): Likewise.
11441         [POSIX] (ENOMSG): Likewise.
11442         [POSIX] (ENOPROTOOPT): Likewise.
11443         [POSIX] (ENOSR): Likewise.
11444         [POSIX] (ENOSTR): Likewise.
11445         [POSIX] (ENOTCONN): Likewise.
11446         [POSIX] (ENOTSOCK): Likewise.
11447         [POSIX] (EOPNOTSUPP): Likewise.
11448         [POSIX] (EOVERFLOW): Likewise.
11449         [POSIX] (EPROTO): Likewise.
11450         [POSIX] (EPROTONOSUPPORT): Likewise.
11451         [POSIX] (EPROTOTYPE): Likewise.
11452         [POSIX] (ESTALE): Likewise.
11453         [POSIX] (ETIME): Likewise.
11454         [POSIX] (ETXTBSY): Likewise.
11455         [POSIX] (EWOULDBLOCK): Likewise.
11456         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11457         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11458         [POSIX] (SEEK_CUR): Likewise.
11459         [POSIX] (SEEK_END): Likewise.
11460         [POSIX || UNIX98] (mode_t): Do not require.
11461         [POSIX] (off_t): Likewise.
11462         [POSIX] (pid_t): Likewise.
11463         [POSIX] (sys/stat.h): Do not allow header.
11464         [POSIX] (unistd.h): Likewise.
11465         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11466         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11467         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11468         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11469         require.
11470         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11471         sigevent): Specify elements.
11472         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11473         entry.
11474         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11475         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11477         * conform/data/cpio.h-data [POSIX]: Disable whole file.
11478         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11479         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11480         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11481         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11482         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11483         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11484         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11485         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11486         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11487         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11488         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11489         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11490         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11491         Likewise.
11492         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11493         Likewise.
11494         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11495         Likewise.
11496         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11497         Likewise.
11498         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11499         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11500         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11501         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11502         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11503         Specify lower bound on value.
11504         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11505         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11506         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11507         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11508         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11509         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11510         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11511         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11512         value.
11513         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11514         as optional.
11515         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11516         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11517         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11518         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11519         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11520         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11521         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11522         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11523         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11524         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11525         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11526         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11527         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11528         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11529         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11530         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11531         entry.
11532         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11533         optional.
11534         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11535         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11536         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11537         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11538         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11539         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11540         Likewise.
11541         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11542         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11543         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11544         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11545         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
11546         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11547         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11548         as optional.
11549         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11550         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11551         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11552         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11553         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11554         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11555         specify as optional.
11556         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11557         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11558         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11559         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11560         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11561         [XPG3] (NL_LANGMAX): Likewise.
11562         [POSIX || XPG3] (NL_MSGMAX): Likewise.
11563         [POSIX || XPG3] (NL_NMAX): Likewise.
11564         [POSIX || XPG3] (NL_SETMAX): Likewise.
11565         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11566         [XPG3] (NZERO): Likewise.
11567         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11568         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11569         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11570         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11571         (REG_ERANGE): Expect.
11572         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11573         optional-constant.
11574         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11575         Use (void) in prototype.
11576         [POSIX] (*_t): Allow.
11577         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11578         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11579         (WRDE_BADVAL): Expect.
11581         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11582         expect.
11583         [XPG3 || XPG4] (O_RSYNC): Likewise.
11584         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11585         Likewise.
11586         [XPG3 || XPG4] (pthread_sigmask): Likewise.
11587         [XPG3 || XPG4] (sigqueue): Likewise.
11588         [XPG3 || XPG4] (sigtimedwait): Likewise.
11589         [XPG3 || XPG4] (sigwaitinfo): Likewise.
11590         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11591         [XPG3 || XPG4] (vsnprintf): Likewise.
11592         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11593         Likewise.
11594         [XPG3 || XPG4] (blksize_t): Likewise.
11595         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11596         Likewise.
11597         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11598         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11599         [XPG3 || XPG4] (struct itimerspec): Likewise.
11600         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11601         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11602         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11603         [XPG3 || XPG4] (clockid_t): Likewise.
11604         [XPG3 || XPG4] (timer_t): Likewise.
11605         [XPG3 || XPG4] (clock_getres): Likewise.
11606         [XPG3 || XPG4] (clock_gettime): Likewise.
11607         [XPG3 || XPG4] (clock_settime): Likewise.
11608         [XPG3 || XPG4] (nanosleep): Likewise.
11609         [XPG3 || XPG4] (timer_create): Likewise.
11610         [XPG3 || XPG4] (timer_delete): Likewise.
11611         [XPG3 || XPG4] (timer_gettime): Likewise.
11612         [XPG3 || XPG4] (timer_getoverrun): Likewise.
11613         [XPG3 || XPG4] (timer_settime): Likewise.
11614         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11615         [XPG3 || XPG4] (getlogin_r): Likewise.
11616         [XPG3 || XPG4] (pread): Likewise.
11617         [XPG3 || XPG4] (pthread_atfork): Likewise.
11618         [XPG3 || XPG4] (pwrite): Likewise.
11620         [BZ #14835]
11621         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11622         <bits/siginfo.h>.
11624 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11626         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11627         finalizing MALLSTREAM.
11629         * sysdeps/mach/hurd/syncfs.c: New file.
11631 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11633         [BZ #14719]
11634         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11635         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11636         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11637         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11638         (_nss_dns_gethostbyname4_r): Likewise.
11639         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11640         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11642 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
11644         [BZ #13763]
11645         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11647 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
11649         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11650         * elf/cache.c (print_entry): Print ",AArch64" for
11651         FLAG_AARCH64_LIB64
11653         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11654         * elf/cache.c (print_entry): Print ",hard-float" for
11655         FLAG_ARM_LIBHF.
11657 2012-11-18  David S. Miller  <davem@davemloft.net>
11659         With help from Joseph Myers.
11660         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11661         cutoff to 2**-13.
11662         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11663         cutoff to 2**-25.
11664         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11665         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11666         small.
11667         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11668         * math/libm-test.inc (y0_test): New tests.
11669         (y1_test): New tests.
11670         * sysdeps/i386/fpu/libm-test-ulps: Update.
11671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11674 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
11676         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11677         64-bit targets.
11678         * configure: Regenerated.
11680 2012-11-17  David S. Miller  <davem@davemloft.net>
11682         [BZ #14811]
11683         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11684         nonzero exponents with absolute value below 0x1p-128 to +/-
11685         0x1p-128.
11687 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
11689         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11691         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11693         * posix/getconf-speclist.c: New file.
11694         * posix/posix-envs.def: Likewise.
11695         * posix/confstr.c (START_ENV_GROUP): New macro.
11696         (END_ENV_GROUP): Likewise.
11697         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11698         (KNOWN_PRESENT_ENV_STRING): Likewise.
11699         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11700         (UNKNOWN_ENVIRONMENT): Likewise.
11701         (confstr): Include posix-envs.def instead of handling
11702         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11703         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11704         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11705         (END_ENV_GROUP): Likewise.
11706         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11707         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11708         (UNKNOWN_ENVIRONMENT): Likewise.
11709         (__sysconf): Include posix-envs.def instead of handling associated
11710         cases directly here.
11711         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11712         preprocessing getconf-speclist.c rather than running getconf or
11713         generating empty file.
11715 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
11717         * scripts/check-local-headers.sh: Ignore 'mach' headers.
11719 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
11721         [BZ #14672]
11722         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11724 2012-11-16  David S. Miller  <davem@davemloft.net>
11726         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11727         smaller than LDBL_EPSILON/2.0L, just return xm1.
11729 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
11731         * elf/tst-array1.c (init): Set constructor priority to 1000.
11732         (fini): Set destructor priority to 1000.
11733         * elf/tst-array2dep.c: Likewise.
11735 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11737         [BZ #11741]
11738         * libio/fileops.c (_IO_new_file_write): Correctly return error.
11739         (_IO_new_file_xsputn): Also return EOF if none of the input
11740         data was written when overflow failed.
11741         * libio/iopadn.c (_IO_padn): Likewise.
11742         * libio/iowpadn.c (_IO_wpadn): Likewise.
11743         * stdio-common/tst-put-error.c: Add copyright notice.
11744         (do_test): Add case for printing padded string.
11745         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11746         _IO_padn returned error.
11747         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11748         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11749         return EOF.
11751 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11753         * libio/libioP.h: Add comment note that the references to C++
11754         bits are now obsolete.
11756 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11758         * math/libm-test.inc (check_complex): Use asprintf.
11760 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
11762         * debug/pcprofiledump.c (print_version): Update copyright year.
11763         * malloc/memusagestat.c (print_version): Likewise.
11765 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11767         [BZ #14831]
11768         * elf/Makefile (tests): Add tst-audit8.
11769         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11770         ($(objpfx)tst-audit8.out): New target.
11771         (tst-audit8-ENV): New variable.
11772         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11773         audit if l_reloc_result is NULL.
11774         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11775         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11776         * elf/tst-audit8.c: New file.
11778 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11780         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11781         * misc/Makefile (CFLAGS-select.c): Define.
11782         * posix/Makefile (CFLAGS-pause.c): Define.
11784 2012-11-13  David S. Miller  <davem@davemloft.net>
11786         * crypt/Makefile: Move test targets after toplevel Rules
11787         inclusion.  Grab any necessary sysdep routines when linking.
11788         * crypt/md5.c (md5_process_block): Remove define, we will always
11789         name it __md5_process_block.
11790         (md5_finish_ctx): Update md5_process_block call.
11791         (md5_stream): Likewise.
11792         (md5_process_bytes): Likewise.
11793         (md5_process_block): Rename to __md5_process_block and move to ...
11794         * crypt/md5-block.c: ... here.
11795         * crypt/sha256.c (sha256_process_block): Move to ...
11796         * crypt/sha256-block.c: ... here.
11797         * crypt/sha512.c (sha512_process_block): Move to ...
11798         * crypt/sha512-block.c: ... here.
11799         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11800         path.
11801         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11802         * sysdeps/sparc/sparc64/multiarch/Makefile
11803         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11804         crypt subdir.
11805         (localedef-aux): Add md5 crypto assembler when in locale subdir.
11806         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11807         multiarch changes.
11808         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11809         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11810         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11811         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11812         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11813         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11814         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11815         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11816         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11817         file.
11818         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11819         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11820         file.
11821         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11823 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
11825         * timezone/tzselect.ksh: Update from tzcode git revision
11826         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11827         * timezone/zdump.c: Likewise.
11828         * timezone/zic.c: Likewise.
11829         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11830         in TZVERSION setting, not $(PKGVERSION).
11831         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
11832         REPORT_BUGS_TO settings.
11834         [BZ #14838]
11835         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11836         macro.
11838 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11840         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11841         detection to immediately after _FP_ROUND().
11842         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11843         bits are 0.
11845 2012-11-11  David S. Miller  <davem@davemloft.net>
11847         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11848         inttypes.h
11849         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11850         __close rather than their public counterparts.
11852 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
11854         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11855         file.
11856         [UNIX98] (sem_timedwait): Do not expect.
11857         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11858         [XPG4 || UNIX98] (sockatmark): Do not expect.
11859         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11860         (clock_getcpuclockid): Do not expect.
11861         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11862         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11863         Do not expect.
11864         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11865         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11866         [UNIX98] (vwscanf): Likewise.
11867         [UNIX98] (vswscanf): Likewise.
11869 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
11871         * timezone/version.h: Remove file.
11872         * timezone/README: Do not refer to version.h.
11873         * timezone/Makefile ($(objpfx)zic.o): New dependency on
11874         $(objpfx)version.h.
11875         ($(objpfx)zdump.o): Likewise.
11876         ($(objpfx)version.h): New target.
11878         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11879         2012i.
11880         * timezone/README: Don't mention modification to tzselect.ksh.
11881         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11882         work on unmodified tzselect.ksh.  Substitute version numbers in
11883         tzselect.ksh.
11885         * Makefile (format-me): Remove.
11886         (INSTALL): Adjust indentation.  Use commands directly instead of
11887         using $(format-me).
11889         * aclocal.m4 (ACX_PKGVERSION): New macro.
11890         (ACX_BUGURL): Likewise.
11891         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11892         (PKGVERSION): New AC_DEFINE_UNQUOTED.
11893         (REPORT_BUGS_TO): Likewise.
11894         * configure: Regenerated.
11895         * config.h.in (PKGVERSION): New macro.
11896         (REPORT_BUGS_TO): Likewise.
11897         * config.make.in (PKGVERSION): New variable.
11898         (PKGVERSION_TEXI): Likewise.
11899         (REPORT_BUGS_TO): Likewise.
11900         (REPORT_BUGS_TEXI): Likewise.
11901         * Makefile (format-me): Use -I$(common-objpfx)manual.
11902         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11903         ($(common-objpfx)manual/%): New target.
11904         (manual/%): Remove target.
11905         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11906         (print_version): Use PKGVERSION.
11907         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11908         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11909         and REPORT_BUGS_TO.
11910         ($(objpfx)xtrace): Likewise.
11911         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11912         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11913         (print_version): Use PKGVERSION.
11914         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11915         (do_version): Use PKGVERSION.
11916         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11917         REPORT_BUGS_TO.
11918         (common-ldd-rewrite): Likewise.
11919         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11920         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11921         (print_version): Use PKGVERSION.
11922         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11923         * elf/pldd.c (argp_program_bug_address): Remove variable.
11924         (more_help): New function.
11925         (argp): Use more_help.
11926         (print_version): Use PKGVERSION.
11927         * elf/sln.c (main): Use PKGVERSION.
11928         (usage): Use REPORT_BUGS_TO.
11929         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11930         (top level): Use PKGVERSION.
11931         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11932         (print_version): Use PKGVERSION.
11933         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11934         (print_version): Use PKGVERSION.
11935         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11936         (print_version): Use PKGVERSION.
11937         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11938         (print_version): Use PKGVERSION.
11939         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11940         (print_version): Use PKGVERSION.
11941         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11942         (print_version): Use PKGVERSION.
11943         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11944         and BUGURL.
11945         ($(objpfx)memusage): Likewise.
11946         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11947         (do_version): Use PKGVERSION.
11948         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11949         (print_version): Use PKGVERSION.
11950         * malloc/mtrace.pl ($PACKAGE): Remove variable.
11951         ($PKGVERSION): New variable.
11952         ($REPORT_BUGS_TO): Likewise.
11953         (usage): Use $REPORT_BUGS_TO.
11954         (top level): Use $PKGVERSION.
11955         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11956         ($(objpfx)pkgvers.texi): New rule.
11957         ($(objpfx)stamp-pkgvers): Likewise.
11958         * manual/install.texi: Include pkgvers.texi.
11959         (--with-pkgversion): Document new configure option.
11960         (--with-bugurl): Likewise.
11961         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11962         than necessarily for this particular distribution.  Use
11963         REPORT_BUGS_TO for where to report bugs.
11964         * INSTALL: Regenerated.
11965         * manual/libc.texinfo: Include pkgvers.texi.
11966         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11967         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11968         (print_version): Use PKGVERSION.
11969         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11970         (print_version): Use PKGVERSION.
11971         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11972         (print_version): Use PKGVERSION.
11973         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11974         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11975         macro.
11976         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11977         (print_version): Use PKGVERSION.
11978         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11979         (print_version): Use PKGVERSION.
11980         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11981         and PKGVERSION.
11983         * timezone/checktab.awk: Update from tzcode 2012i.
11984         * timezone/ialloc.c: Likewise.
11985         * timezone/private.h: Likewise.
11986         * timezone/scheck.c: Likewise.
11987         * timezone/tzfile.h: Likewise.
11988         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11989         (TZVERSION): Hardcode tzcode version number.
11990         * timezone/zdump.c: Update from tzcode 2012i.
11991         * timezone/zic.c: Likewise.
11992         * timezone/version.h: New file.
11993         * timezone/README: Describe version.h.  Update upstream location.
11995         [BZ #14824]
11996         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11997         (mktemp): Enable declaration.
11998         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11999         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12000         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12001         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12002         Likewise.
12003         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12004         Likewise.
12005         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12006         Likewise.
12007         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12008         Likewise.
12009         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12010         Likewise.
12011         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12012         Likewise.
12014         [BZ #14821]
12015         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12016         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
12017         for copies of such integer values.
12018         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12019         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12021 2012-11-09  Andreas Jaeger  <aj@suse.de>
12023         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12024         definitions and declarations that are provided by
12025         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12027 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12029         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12030         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12031         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12032         definition.
12034 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12036         * elf/elf.h: Update comment before AArch64 relocations.
12038 2012-11-07  David S. Miller  <davem@davemloft.net>
12040         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12041         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12042         (__start_context): Declare.
12043         (__makecontext_ret): Delete.
12044         (__makecontext): Hook up __start_context instead of
12045         __makecontext_ret.
12046         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12047         (sysdep_routines): Add __start_context when in stdlib.
12049 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12051         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12052         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12053         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
12054         hardcoded "nm".
12055         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
12056         (READELF): New variable.  Use it instead of hardcoded "readelf".
12058 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12060         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12061         * sysdeps/x86/Makefile: Here.
12062         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12063         * sysdeps/x86/tst-xmmymm.sh: This.
12065 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12067         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12068         expectations.
12069         [UNIX98] (pthread_barrier_t): Do not expect.
12070         [UNIX98] (pthread_barrierattr_t): Likewise.
12071         [UNIX98] (pthread_spinlock_t): Likewise.
12072         [UNIX98] (pthread_barrier_destroy): Likewise.
12073         [UNIX98] (pthread_barrier_init): Likewise.
12074         [UNIX98] (pthread_barrier_wait): Likewise.
12075         [UNIX98] (pthread_barrierattr_destroy): Likewise.
12076         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12077         [UNIX98] (pthread_barrierattr_init): Likewise.
12078         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12079         [UNIX98] (pthread_getcpuclockid): Likewise.
12080         [UNIX98] (pthread_mutex_timedlock): Likewise.
12081         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12082         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12083         [UNIX98] (pthread_sigmask): Likewise.
12084         [UNIX98] (pthread_spin_destroy): Likewise.
12085         [UNIX98] (pthread_spin_init): Likewise.
12086         [UNIX98] (pthread_spin_lock): Likewise.
12087         [UNIX98] (pthread_spin_trylock): Likewise.
12088         [UNIX98] (pthread_spin_unlock): Likewise.
12089         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12090         Do not expect.
12091         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12092         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12093         [XPG3 || XPG4] (pthread_cond_t): Likewise.
12094         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12095         [XPG3 || XPG4] (pthread_key_t): Likewise.
12096         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12097         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12098         [XPG3 || XPG4] (pthread_once_t): Likewise.
12099         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12100         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12101         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12102         [XPG3 || XPG4] (pthread_t): Likewise.
12104         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12105         not expect.
12106         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12108         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12109         Change function return type to int.
12111         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12112         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12113         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12114         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12115         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12116         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12117         [!POSIX] (posix_madvise): Likewise.
12118         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12119         && !UNIX98].
12120         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12121         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12122         (mode_t): Likewise.
12123         (posix_mem_offset): Likewise.
12124         (posix_typed_mem_get_info): Likewise.
12125         (posix_typed_mem_open): Likewise.
12127         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12128         Change condition to [XOPEN2K8].
12130         * conform/conformtest.pl: Preprocess allow-header data with -x c
12131         instead of from stdin.
12132         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12133         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12134         [C99-based standards] (cerfc): Likewise.
12135         [C99-based standards] (cexp2): Likewise.
12136         [C99-based standards] (cexpm1): Likewise.
12137         [C99-based standards] (clog10): Likewise.
12138         [C99-based standards] (clog1p): Likewise.
12139         [C99-based standards] (clog2): Likewise.
12140         [C99-based standards] (clgamma): Likewise.
12141         [C99-based standards] (ctgamma): Likewise.
12142         [C99-based standards] (cerff): Likewise.
12143         [C99-based standards] (cerfcf): Likewise.
12144         [C99-based standards] (cexp2f): Likewise.
12145         [C99-based standards] (cexpm1f): Likewise.
12146         [C99-based standards] (clog10f): Likewise.
12147         [C99-based standards] (clog1pf): Likewise.
12148         [C99-based standards] (clog2f): Likewise.
12149         [C99-based standards] (clgammaf): Likewise.
12150         [C99-based standards] (ctgammaf): Likewise.
12151         [C99-based standards] (cerfl): Likewise.
12152         [C99-based standards] (cerfcl): Likewise.
12153         [C99-based standards] (cexp2l): Likewise.
12154         [C99-based standards] (cexpm1l): Likewise.
12155         [C99-based standards] (clog10l): Likewise.
12156         [C99-based standards] (clog1pl): Likewise.
12157         [C99-based standards] (clog2l): Likewise.
12158         [C99-based standards] (clgammal): Likewise.
12159         [C99-based standards] (ctgammal): Likewise.
12160         * conform/data/inttypes.h-data [C99-based standards]: Include
12161         stdint.h-data.  Remove all expectations for stdint.h contents.
12162         [C99-based standards] (PRI*): Do not allow.
12163         [C99-based standards] (SCN*): Likewise.
12164         [C99-based standards] (*_t): Likewise.
12165         [C99-based-standards] (PRId8): Expect macro.
12166         [C99-based-standards] (PRIi8): Likewise.
12167         [C99-based-standards] (PRIo8): Likewise.
12168         [C99-based-standards] (PRIu8): Likewise.
12169         [C99-based-standards] (PRIx8): Likewise.
12170         [C99-based-standards] (PRIX8): Likewise.
12171         [C99-based-standards] (SCNd8): Likewise.
12172         [C99-based-standards] (SCNi8): Likewise.
12173         [C99-based-standards] (SCNo8): Likewise.
12174         [C99-based-standards] (SCNu8): Likewise.
12175         [C99-based-standards] (SCNx8): Likewise.
12176         [C99-based-standards] (PRIdLEAST8): Likewise.
12177         [C99-based-standards] (PRIiLEAST8): Likewise.
12178         [C99-based-standards] (PRIoLEAST8): Likewise.
12179         [C99-based-standards] (PRIuLEAST8): Likewise.
12180         [C99-based-standards] (PRIxLEAST8): Likewise.
12181         [C99-based-standards] (PRIXLEAST8): Likewise.
12182         [C99-based-standards] (SCNdLEAST8): Likewise.
12183         [C99-based-standards] (SCNiLEAST8): Likewise.
12184         [C99-based-standards] (SCNoLEAST8): Likewise.
12185         [C99-based-standards] (SCNuLEAST8): Likewise.
12186         [C99-based-standards] (SCNxLEAST8): Likewise.
12187         [C99-based-standards] (PRIdFAST8): Likewise.
12188         [C99-based-standards] (PRIiFAST8): Likewise.
12189         [C99-based-standards] (PRIoFAST8): Likewise.
12190         [C99-based-standards] (PRIuFAST8): Likewise.
12191         [C99-based-standards] (PRIxFAST8): Likewise.
12192         [C99-based-standards] (PRIXFAST8): Likewise.
12193         [C99-based-standards] (SCNdFAST8): Likewise.
12194         [C99-based-standards] (SCNiFAST8): Likewise.
12195         [C99-based-standards] (SCNoFAST8): Likewise.
12196         [C99-based-standards] (SCNuFAST8): Likewise.
12197         [C99-based-standards] (SCNxFAST8): Likewise.
12198         [C99-based-standards] (PRId16): Likewise.
12199         [C99-based-standards] (PRIi16): Likewise.
12200         [C99-based-standards] (PRIo16): Likewise.
12201         [C99-based-standards] (PRIu16): Likewise.
12202         [C99-based-standards] (PRIx16): Likewise.
12203         [C99-based-standards] (PRIX16): Likewise.
12204         [C99-based-standards] (SCNd16): Likewise.
12205         [C99-based-standards] (SCNi16): Likewise.
12206         [C99-based-standards] (SCNo16): Likewise.
12207         [C99-based-standards] (SCNu16): Likewise.
12208         [C99-based-standards] (SCNx16): Likewise.
12209         [C99-based-standards] (PRIdLEAST16): Likewise.
12210         [C99-based-standards] (PRIiLEAST16): Likewise.
12211         [C99-based-standards] (PRIoLEAST16): Likewise.
12212         [C99-based-standards] (PRIuLEAST16): Likewise.
12213         [C99-based-standards] (PRIxLEAST16): Likewise.
12214         [C99-based-standards] (PRIXLEAST16): Likewise.
12215         [C99-based-standards] (SCNdLEAST16): Likewise.
12216         [C99-based-standards] (SCNiLEAST16): Likewise.
12217         [C99-based-standards] (SCNoLEAST16): Likewise.
12218         [C99-based-standards] (SCNuLEAST16): Likewise.
12219         [C99-based-standards] (SCNxLEAST16): Likewise.
12220         [C99-based-standards] (PRIdFAST16): Likewise.
12221         [C99-based-standards] (PRIiFAST16): Likewise.
12222         [C99-based-standards] (PRIoFAST16): Likewise.
12223         [C99-based-standards] (PRIuFAST16): Likewise.
12224         [C99-based-standards] (PRIxFAST16): Likewise.
12225         [C99-based-standards] (PRIXFAST16): Likewise.
12226         [C99-based-standards] (SCNdFAST16): Likewise.
12227         [C99-based-standards] (SCNiFAST16): Likewise.
12228         [C99-based-standards] (SCNoFAST16): Likewise.
12229         [C99-based-standards] (SCNuFAST16): Likewise.
12230         [C99-based-standards] (SCNxFAST16): Likewise.
12231         [C99-based-standards] (PRId32): Likewise.
12232         [C99-based-standards] (PRIi32): Likewise.
12233         [C99-based-standards] (PRIo32): Likewise.
12234         [C99-based-standards] (PRIu32): Likewise.
12235         [C99-based-standards] (PRIx32): Likewise.
12236         [C99-based-standards] (PRIX32): Likewise.
12237         [C99-based-standards] (SCNd32): Likewise.
12238         [C99-based-standards] (SCNi32): Likewise.
12239         [C99-based-standards] (SCNo32): Likewise.
12240         [C99-based-standards] (SCNu32): Likewise.
12241         [C99-based-standards] (SCNx32): Likewise.
12242         [C99-based-standards] (PRIdLEAST32): Likewise.
12243         [C99-based-standards] (PRIiLEAST32): Likewise.
12244         [C99-based-standards] (PRIoLEAST32): Likewise.
12245         [C99-based-standards] (PRIuLEAST32): Likewise.
12246         [C99-based-standards] (PRIxLEAST32): Likewise.
12247         [C99-based-standards] (PRIXLEAST32): Likewise.
12248         [C99-based-standards] (SCNdLEAST32): Likewise.
12249         [C99-based-standards] (SCNiLEAST32): Likewise.
12250         [C99-based-standards] (SCNoLEAST32): Likewise.
12251         [C99-based-standards] (SCNuLEAST32): Likewise.
12252         [C99-based-standards] (SCNxLEAST32): Likewise.
12253         [C99-based-standards] (PRIdFAST32): Likewise.
12254         [C99-based-standards] (PRIiFAST32): Likewise.
12255         [C99-based-standards] (PRIoFAST32): Likewise.
12256         [C99-based-standards] (PRIuFAST32): Likewise.
12257         [C99-based-standards] (PRIxFAST32): Likewise.
12258         [C99-based-standards] (PRIXFAST32): Likewise.
12259         [C99-based-standards] (SCNdFAST32): Likewise.
12260         [C99-based-standards] (SCNiFAST32): Likewise.
12261         [C99-based-standards] (SCNoFAST32): Likewise.
12262         [C99-based-standards] (SCNuFAST32): Likewise.
12263         [C99-based-standards] (SCNxFAST32): Likewise.
12264         [C99-based-standards] (PRId64): Likewise.
12265         [C99-based-standards] (PRIi64): Likewise.
12266         [C99-based-standards] (PRIo64): Likewise.
12267         [C99-based-standards] (PRIu64): Likewise.
12268         [C99-based-standards] (PRIx64): Likewise.
12269         [C99-based-standards] (PRIX64): Likewise.
12270         [C99-based-standards] (SCNd64): Likewise.
12271         [C99-based-standards] (SCNi64): Likewise.
12272         [C99-based-standards] (SCNo64): Likewise.
12273         [C99-based-standards] (SCNu64): Likewise.
12274         [C99-based-standards] (SCNx64): Likewise.
12275         [C99-based-standards] (PRIdLEAST64): Likewise.
12276         [C99-based-standards] (PRIiLEAST64): Likewise.
12277         [C99-based-standards] (PRIoLEAST64): Likewise.
12278         [C99-based-standards] (PRIuLEAST64): Likewise.
12279         [C99-based-standards] (PRIxLEAST64): Likewise.
12280         [C99-based-standards] (PRIXLEAST64): Likewise.
12281         [C99-based-standards] (SCNdLEAST64): Likewise.
12282         [C99-based-standards] (SCNiLEAST64): Likewise.
12283         [C99-based-standards] (SCNoLEAST64): Likewise.
12284         [C99-based-standards] (SCNuLEAST64): Likewise.
12285         [C99-based-standards] (SCNxLEAST64): Likewise.
12286         [C99-based-standards] (PRIdFAST64): Likewise.
12287         [C99-based-standards] (PRIiFAST64): Likewise.
12288         [C99-based-standards] (PRIoFAST64): Likewise.
12289         [C99-based-standards] (PRIuFAST64): Likewise.
12290         [C99-based-standards] (PRIxFAST64): Likewise.
12291         [C99-based-standards] (PRIXFAST64): Likewise.
12292         [C99-based-standards] (SCNdFAST64): Likewise.
12293         [C99-based-standards] (SCNiFAST64): Likewise.
12294         [C99-based-standards] (SCNoFAST64): Likewise.
12295         [C99-based-standards] (SCNuFAST64): Likewise.
12296         [C99-based-standards] (SCNxFAST64): Likewise.
12297         [C99-based-standards] (PRIdMAX): Likewise.
12298         [C99-based-standards] (PRIiMAX): Likewise.
12299         [C99-based-standards] (PRIoMAX): Likewise.
12300         [C99-based-standards] (PRIuMAX): Likewise.
12301         [C99-based-standards] (PRIxMAX): Likewise.
12302         [C99-based-standards] (PRIXMAX): Likewise.
12303         [C99-based-standards] (SCNdMAX): Likewise.
12304         [C99-based-standards] (SCNiMAX): Likewise.
12305         [C99-based-standards] (SCNoMAX): Likewise.
12306         [C99-based-standards] (SCNuMAX): Likewise.
12307         [C99-based-standards] (SCNxMAX): Likewise.
12308         [C99-based-standards] (PRIdPTR): Likewise.
12309         [C99-based-standards] (PRIiPTR): Likewise.
12310         [C99-based-standards] (PRIoPTR): Likewise.
12311         [C99-based-standards] (PRIuPTR): Likewise.
12312         [C99-based-standards] (PRIxPTR): Likewise.
12313         [C99-based-standards] (PRIXPTR): Likewise.
12314         [C99-based-standards] (SCNdPTR): Likewise.
12315         [C99-based-standards] (SCNiPTR): Likewise.
12316         [C99-based-standards] (SCNoPTR): Likewise.
12317         [C99-based-standards] (SCNuPTR): Likewise.
12318         [C99-based-standards] (SCNxPTR): Likewise.
12319         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12320         allow.
12321         * conform/data/stdint.h-data: Update comments to clarify
12322         requirements.
12323         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
12324         type.
12325         [C99-based standards] (INT8_MAX): Likewise.
12326         [C99-based standards] (INT16_MIN): Likewise.
12327         [C99-based standards] (INT16_MAX): Likewise.
12328         [C99-based standards] (INT32_MIN): Likewise.
12329         [C99-based standards] (INT32_MAX): Likewise.
12330         [C99-based standards] (INT64_MIN): Likewise.
12331         [C99-based standards] (INT64_MAX): Likewise.
12332         [C99-based standards] (UINT8_MAX): Likewise.
12333         [C99-based standards] (UINT16_MAX): Likewise.
12334         [C99-based standards] (UINT32_MAX): Likewise.
12335         [C99-based standards] (UINT64_MAX): Likewise.
12336         [C99-based standards] (INT_LEAST8_MIN): Likewise.
12337         [C99-based standards] (INT_LEAST8_MAX): Likewise.
12338         [C99-based standards] (INT_LEAST16_MIN): Likewise.
12339         [C99-based standards] (INT_LEAST16_MAX): Likewise.
12340         [C99-based standards] (INT_LEAST32_MIN): Likewise.
12341         [C99-based standards] (INT_LEAST32_MAX): Likewise.
12342         [C99-based standards] (INT_LEAST64_MIN): Likewise.
12343         [C99-based standards] (INT_LEAST64_MAX): Likewise.
12344         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12345         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12346         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12347         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12348         [C99-based standards] (INT_FAST8_MIN): Likewise.
12349         [C99-based standards] (INT_FAST8_MAX): Likewise.
12350         [C99-based standards] (INT_FAST16_MIN): Likewise.
12351         [C99-based standards] (INT_FAST16_MAX): Likewise.
12352         [C99-based standards] (INT_FAST32_MIN): Likewise.
12353         [C99-based standards] (INT_FAST32_MAX): Likewise.
12354         [C99-based standards] (INT_FAST64_MIN): Likewise.
12355         [C99-based standards] (INT_FAST64_MAX): Likewise.
12356         [C99-based standards] (UINT_FAST8_MAX): Likewise.
12357         [C99-based standards] (UINT_FAST16_MAX): Likewise.
12358         [C99-based standards] (UINT_FAST32_MAX): Likewise.
12359         [C99-based standards] (UINT_FAST64_MAX): Likewise.
12360         [C99-based standards] (INTPTR_MIN): Likewise.
12361         [C99-based standards] (INTPTR_MAX): Likewise.
12362         [C99-based standards] (UINTPTR_MAX): Likewise.
12363         [C99-based standards] (INTMAX_MIN): Likewise.
12364         [C99-based standards] (INTMAX_MAX): Likewise.
12365         [C99-based standards] (UINTMAX_MAX): Likewise.
12366         [C99-based standards] (PTRDIFF_MIN): Likewise.
12367         [C99-based standards] (PTRDIFF_MAX): Likewise.
12368         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12369         [C99-based standards] (SIZE_MAX): Likewise.
12370         [C99-based standards] (WCHAR_MAX): Likewise.
12371         [C99-based standards] (WINT_MAX): Likewise.
12372         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
12373         constraint on value.
12374         [C99-based standards] (WCHAR_MIN): Likewise.
12375         [C99-based standards] (WINT_MIN): Likewise.
12376         [C99-based standards] (*_t): Allow.
12377         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12378         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12379         Include math.h-data and complex.h-data.  Remove all expectations
12380         of math.h and complex.h contents.
12381         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12382         at end of line.
12383         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12384         (struct tm): Expect tag.
12385         [C99-based-standards] (wcstof): Expect function.
12386         [C99-based-standards] (wcstold): Likewise.
12387         [C99-based-standards] (wcstoll): Likewise.
12388         [C99-based-standards] (wcstoull): Likewise.
12389         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12390         macro-int-constant.  Specify type.
12391         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
12392         constraint on value.
12393         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12394         Specify type.
12395         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12396         Specify value.
12397         [ISO C standards]: Do not allow headers.
12398         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12399         wcs[abcdefghijklmnopqrstuvwxyz]*.
12400         [ISO C standards] (*_t): Do not allow.
12401         * conform/data/wctype.h-data [C99-based standards] (iswblank):
12402         Expect function.
12403         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12404         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12405         Specify type.
12406         [ISO C standards]: Do not allow headers.
12407         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12408         is[abcdefghijklmnopqrstuvwxyz]*.
12409         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12410         to[abcdefghijklmnopqrstuvwxyz]*.
12411         [ISO C standards] (*_t): Do not allow.
12412         * conform/data/stdalign.h-data: New file.
12413         * conform/data/stdbool.h-data: Likewise.
12414         * conform/data/stdnoreturn.h-data: Likewise.
12416 2012-11-07  Roland McGrath  <roland@hack.frob.com>
12418         [BZ #14815]
12419         * manual/filesys.texi (Directory Entries): Typo fix.
12420         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12422 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12424         * elf/elf.h (EM_AARCH64): New macro.
12425         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12426         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12427         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12428         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12429         (R_AARCH64_TLSDESC): Likewise.
12430         (NT_ARM_TLS): Likewise.
12431         (NT_ARM_HW_BREAK): Likewise.
12432         (NT_ARM_HW_WATCH): Likewise.
12434 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12436         [BZ #14811]
12437         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12438         (__ieee754_powl): Saturate nonzero exponents with absolute value
12439         below 0x1p-79 to +/- 0x1p-79.
12440         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12441         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12442         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12443         nonzero exponents with absolute value below 0x1p-32 to +/-
12444         0x1p-32.
12445         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12446         (__ieee754_powl): Saturate nonzero exponents with absolute value
12447         below 0x1p-79 to +/- 0x1p-79.
12448         * math/libm-test.inc (pow_test): Add more tests.
12450 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12452         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12453         _dl_s390_cap_flags with kernel. Increase string length.
12454         (_dl_s390_platforms): Add z196 and zEC12.
12456 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12458         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12459         Change XOPEN21K to XOPEN2K.
12461 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
12463         * string/memmove.c: Use memcpy when possible.
12465 2012-11-06  Andreas Jaeger  <aj@suse.de>
12467         * po/eo.po: Update from translation team.
12469 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
12471         [BZ #14793]
12472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12473         exponent and small x and y exponents, scale x or y up.  Increase
12474         by 2 the exponent used in scaling up.
12475         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12476         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12477         * math/libm-test.inc (fma_test): Add more tests.
12478         (fma_test_towardzero): Likewise.
12479         (fma_test_downward): Likewise.
12480         (fma_test_upward): Likewise.
12482 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
12484         [BZ #14805]
12485         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12486         fenv_t *.
12488         [BZ #14801]
12489         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12490         namespace for names of struct fields.
12491         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12492         fenv_t fields.
12493         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12494         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12496 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12498         [BZ #3665]
12499         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12501 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12503         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12504         PTR_DEMANGLE.
12506         [BZ #5246]
12507         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12508         PTR_DEMANGLE.
12510 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
12512         [BZ #14797]
12513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12514         definitely overflow as x * y not x * y + z.
12515         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12516         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12517         * math/libm-test.inc (fma_test): Add more tests.
12518         (fma_test_towardzero): Likewise.
12519         (fma_test_downward): Likewise.
12520         (fma_test_upward): Likewise.
12522 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12524         [BZ #157]
12526         * include/stub-tag.h: Remove file.
12527         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12528         '#include' of it.
12529         * manual/maint.texi (Porting): Don't reference it.
12530         * Makerules ($(objpfx)stubs): Likewise.
12531         * dirent/closedir.c: Don't include <stub-tag.h>.
12532         * dirent/dirfd.c: Likewise.
12533         * dirent/fdopendir.c: Likewise.
12534         * dirent/getdents.c: Likewise.
12535         * dirent/getdents64.c: Likewise.
12536         * dirent/opendir.c: Likewise.
12537         * dirent/readdir.c: Likewise.
12538         * dirent/readdir64.c: Likewise.
12539         * dirent/readdir64_r.c: Likewise.
12540         * dirent/readdir_r.c: Likewise.
12541         * dirent/rewinddir.c: Likewise.
12542         * dirent/seekdir.c: Likewise.
12543         * dirent/telldir.c: Likewise.
12544         * gmon/profil.c: Likewise.
12545         * grp/setgroups.c: Likewise.
12546         * inet/if_index.c: Likewise.
12547         * io/access.c: Likewise.
12548         * io/chdir.c: Likewise.
12549         * io/chmod.c: Likewise.
12550         * io/chown.c: Likewise.
12551         * io/close.c: Likewise.
12552         * io/dup.c: Likewise.
12553         * io/dup2.c: Likewise.
12554         * io/dup3.c: Likewise.
12555         * io/euidaccess.c: Likewise.
12556         * io/faccessat.c: Likewise.
12557         * io/fchdir.c: Likewise.
12558         * io/fchmod.c: Likewise.
12559         * io/fchmodat.c: Likewise.
12560         * io/fchown.c: Likewise.
12561         * io/fchownat.c: Likewise.
12562         * io/fcntl.c: Likewise.
12563         * io/flock.c: Likewise.
12564         * io/fstatfs.c: Likewise.
12565         * io/fstatfs64.c: Likewise.
12566         * io/fstatvfs.c: Likewise.
12567         * io/fstatvfs64.c: Likewise.
12568         * io/futimens.c: Likewise.
12569         * io/fxstat.c: Likewise.
12570         * io/fxstat64.c: Likewise.
12571         * io/fxstatat.c: Likewise.
12572         * io/fxstatat64.c: Likewise.
12573         * io/getcwd.c: Likewise.
12574         * io/isatty.c: Likewise.
12575         * io/lchmod.c: Likewise.
12576         * io/lchown.c: Likewise.
12577         * io/link.c: Likewise.
12578         * io/linkat.c: Likewise.
12579         * io/lseek.c: Likewise.
12580         * io/lseek64.c: Likewise.
12581         * io/lxstat64.c: Likewise.
12582         * io/mkdir.c: Likewise.
12583         * io/mkdirat.c: Likewise.
12584         * io/mkfifo.c: Likewise.
12585         * io/mkfifoat.c: Likewise.
12586         * io/open.c: Likewise.
12587         * io/open64.c: Likewise.
12588         * io/openat.c: Likewise.
12589         * io/openat64.c: Likewise.
12590         * io/pipe.c: Likewise.
12591         * io/pipe2.c: Likewise.
12592         * io/poll.c: Likewise.
12593         * io/posix_fadvise.c: Likewise.
12594         * io/posix_fadvise64.c: Likewise.
12595         * io/posix_fallocate.c: Likewise.
12596         * io/posix_fallocate64.c: Likewise.
12597         * io/read.c: Likewise.
12598         * io/readlink.c: Likewise.
12599         * io/readlinkat.c: Likewise.
12600         * io/rmdir.c: Likewise.
12601         * io/sendfile.c: Likewise.
12602         * io/sendfile64.c: Likewise.
12603         * io/statfs.c: Likewise.
12604         * io/statfs64.c: Likewise.
12605         * io/statvfs.c: Likewise.
12606         * io/statvfs64.c: Likewise.
12607         * io/symlink.c: Likewise.
12608         * io/symlinkat.c: Likewise.
12609         * io/ttyname.c: Likewise.
12610         * io/ttyname_r.c: Likewise.
12611         * io/umask.c: Likewise.
12612         * io/unlink.c: Likewise.
12613         * io/unlinkat.c: Likewise.
12614         * io/utime.c: Likewise.
12615         * io/utimensat.c: Likewise.
12616         * io/write.c: Likewise.
12617         * io/xmknod.c: Likewise.
12618         * io/xmknodat.c: Likewise.
12619         * io/xstat.c: Likewise.
12620         * io/xstat64.c: Likewise.
12621         * login/getpt.c: Likewise.
12622         * login/grantpt.c: Likewise.
12623         * login/unlockpt.c: Likewise.
12624         * math/e_acoshl.c: Likewise.
12625         * math/e_acosl.c: Likewise.
12626         * math/e_asinl.c: Likewise.
12627         * math/e_atan2l.c: Likewise.
12628         * math/e_atanhl.c: Likewise.
12629         * math/e_coshl.c: Likewise.
12630         * math/e_expl.c: Likewise.
12631         * math/e_fmodl.c: Likewise.
12632         * math/e_gammal_r.c: Likewise.
12633         * math/e_hypotl.c: Likewise.
12634         * math/e_j0l.c: Likewise.
12635         * math/e_j1l.c: Likewise.
12636         * math/e_jnl.c: Likewise.
12637         * math/e_lgammal_r.c: Likewise.
12638         * math/e_log10l.c: Likewise.
12639         * math/e_log2l.c: Likewise.
12640         * math/e_logl.c: Likewise.
12641         * math/e_powl.c: Likewise.
12642         * math/e_rem_pio2l.c: Likewise.
12643         * math/e_sinhl.c: Likewise.
12644         * math/e_sqrtl.c: Likewise.
12645         * math/fclrexcpt.c: Likewise.
12646         * math/fedisblxcpt.c: Likewise.
12647         * math/feenablxcpt.c: Likewise.
12648         * math/fegetenv.c: Likewise.
12649         * math/fegetexcept.c: Likewise.
12650         * math/fegetround.c: Likewise.
12651         * math/feholdexcpt.c: Likewise.
12652         * math/fesetenv.c: Likewise.
12653         * math/fesetround.c: Likewise.
12654         * math/feupdateenv.c: Likewise.
12655         * math/fgetexcptflg.c: Likewise.
12656         * math/fraiseexcpt.c: Likewise.
12657         * math/fsetexcptflg.c: Likewise.
12658         * math/ftestexcept.c: Likewise.
12659         * math/k_cosl.c: Likewise.
12660         * math/k_rem_pio2l.c: Likewise.
12661         * math/k_sinl.c: Likewise.
12662         * math/k_tanl.c: Likewise.
12663         * math/s_asinhl.c: Likewise.
12664         * math/s_atanl.c: Likewise.
12665         * math/s_cbrtl.c: Likewise.
12666         * math/s_erfl.c: Likewise.
12667         * math/s_expm1l.c: Likewise.
12668         * math/s_log1pl.c: Likewise.
12669         * math/s_tanhl.c: Likewise.
12670         * misc/acct.c: Likewise.
12671         * misc/brk.c: Likewise.
12672         * misc/chflags.c: Likewise.
12673         * misc/chroot.c: Likewise.
12674         * misc/fchflags.c: Likewise.
12675         * misc/fgetxattr.c: Likewise.
12676         * misc/flistxattr.c: Likewise.
12677         * misc/fremovexattr.c: Likewise.
12678         * misc/fsetxattr.c: Likewise.
12679         * misc/fsync.c: Likewise.
12680         * misc/ftruncate.c: Likewise.
12681         * misc/futimes.c: Likewise.
12682         * misc/futimesat.c: Likewise.
12683         * misc/getdomain.c: Likewise.
12684         * misc/getdtsz.c: Likewise.
12685         * misc/gethostid.c: Likewise.
12686         * misc/gethostname.c: Likewise.
12687         * misc/getloadavg.c: Likewise.
12688         * misc/getpagesize.c: Likewise.
12689         * misc/getsysstats.c: Likewise.
12690         * misc/getxattr.c: Likewise.
12691         * misc/gtty.c: Likewise.
12692         * misc/ioctl.c: Likewise.
12693         * misc/lgetxattr.c: Likewise.
12694         * misc/listxattr.c: Likewise.
12695         * misc/llistxattr.c: Likewise.
12696         * misc/lremovexattr.c: Likewise.
12697         * misc/lsetxattr.c: Likewise.
12698         * misc/lutimes.c: Likewise.
12699         * misc/madvise.c: Likewise.
12700         * misc/mincore.c: Likewise.
12701         * misc/mlock.c: Likewise.
12702         * misc/mlockall.c: Likewise.
12703         * misc/mmap.c: Likewise.
12704         * misc/mprotect.c: Likewise.
12705         * misc/msync.c: Likewise.
12706         * misc/munlock.c: Likewise.
12707         * misc/munlockall.c: Likewise.
12708         * misc/munmap.c: Likewise.
12709         * misc/preadv.c: Likewise.
12710         * misc/preadv64.c: Likewise.
12711         * misc/ptrace.c: Likewise.
12712         * misc/pwritev.c: Likewise.
12713         * misc/pwritev64.c: Likewise.
12714         * misc/readv.c: Likewise.
12715         * misc/reboot.c: Likewise.
12716         * misc/remap_file_pages.c: Likewise.
12717         * misc/removexattr.c: Likewise.
12718         * misc/revoke.c: Likewise.
12719         * misc/select.c: Likewise.
12720         * misc/setdomain.c: Likewise.
12721         * misc/setegid.c: Likewise.
12722         * misc/seteuid.c: Likewise.
12723         * misc/sethostid.c: Likewise.
12724         * misc/sethostname.c: Likewise.
12725         * misc/setregid.c: Likewise.
12726         * misc/setreuid.c: Likewise.
12727         * misc/setxattr.c: Likewise.
12728         * misc/sstk.c: Likewise.
12729         * misc/stty.c: Likewise.
12730         * misc/swapoff.c: Likewise.
12731         * misc/swapon.c: Likewise.
12732         * misc/sync.c: Likewise.
12733         * misc/syncfs.c: Likewise.
12734         * misc/syscall.c: Likewise.
12735         * misc/truncate.c: Likewise.
12736         * misc/ualarm.c: Likewise.
12737         * misc/usleep.c: Likewise.
12738         * misc/ustat.c: Likewise.
12739         * misc/utimes.c: Likewise.
12740         * misc/vhangup.c: Likewise.
12741         * misc/writev.c: Likewise.
12742         * posix/_exit.c: Likewise.
12743         * posix/alarm.c: Likewise.
12744         * posix/execve.c: Likewise.
12745         * posix/fexecve.c: Likewise.
12746         * posix/fork.c: Likewise.
12747         * posix/fpathconf.c: Likewise.
12748         * posix/getaddrinfo.c: Likewise.
12749         * posix/getegid.c: Likewise.
12750         * posix/geteuid.c: Likewise.
12751         * posix/getgid.c: Likewise.
12752         * posix/getgroups.c: Likewise.
12753         * posix/getlogin.c: Likewise.
12754         * posix/getlogin_r.c: Likewise.
12755         * posix/getpgid.c: Likewise.
12756         * posix/getpid.c: Likewise.
12757         * posix/getppid.c: Likewise.
12758         * posix/getresgid.c: Likewise.
12759         * posix/getresuid.c: Likewise.
12760         * posix/getsid.c: Likewise.
12761         * posix/getuid.c: Likewise.
12762         * posix/glob64.c: Likewise.
12763         * posix/nanosleep.c: Likewise.
12764         * posix/pathconf.c: Likewise.
12765         * posix/pause.c: Likewise.
12766         * posix/posix_madvise.c: Likewise.
12767         * posix/pread.c: Likewise.
12768         * posix/pread64.c: Likewise.
12769         * posix/pwrite.c: Likewise.
12770         * posix/pwrite64.c: Likewise.
12771         * posix/sched_getaffinity.c: Likewise.
12772         * posix/sched_getp.c: Likewise.
12773         * posix/sched_gets.c: Likewise.
12774         * posix/sched_primax.c: Likewise.
12775         * posix/sched_primin.c: Likewise.
12776         * posix/sched_rr_gi.c: Likewise.
12777         * posix/sched_setaffinity.c: Likewise.
12778         * posix/sched_setp.c: Likewise.
12779         * posix/sched_sets.c: Likewise.
12780         * posix/sched_yield.c: Likewise.
12781         * posix/setgid.c: Likewise.
12782         * posix/setlogin.c: Likewise.
12783         * posix/setpgid.c: Likewise.
12784         * posix/setresgid.c: Likewise.
12785         * posix/setresuid.c: Likewise.
12786         * posix/setsid.c: Likewise.
12787         * posix/setuid.c: Likewise.
12788         * posix/sleep.c: Likewise.
12789         * posix/spawni.c: Likewise.
12790         * posix/sysconf.c: Likewise.
12791         * posix/times.c: Likewise.
12792         * posix/wait.c: Likewise.
12793         * posix/wait3.c: Likewise.
12794         * posix/wait4.c: Likewise.
12795         * posix/waitpid.c: Likewise.
12796         * resolv/gai_sigqueue.c: Likewise.
12797         * resource/getpriority.c: Likewise.
12798         * resource/getrlimit.c: Likewise.
12799         * resource/getrusage.c: Likewise.
12800         * resource/nice.c: Likewise.
12801         * resource/setpriority.c: Likewise.
12802         * resource/setrlimit.c: Likewise.
12803         * resource/ulimit.c: Likewise.
12804         * rt/aio_cancel.c: Likewise.
12805         * rt/aio_fsync.c: Likewise.
12806         * rt/aio_read.c: Likewise.
12807         * rt/aio_sigqueue.c: Likewise.
12808         * rt/aio_suspend.c: Likewise.
12809         * rt/aio_write.c: Likewise.
12810         * rt/clock_getres.c: Likewise.
12811         * rt/clock_gettime.c: Likewise.
12812         * rt/clock_nanosleep.c: Likewise.
12813         * rt/clock_settime.c: Likewise.
12814         * rt/lio_listio.c: Likewise.
12815         * rt/mq_close.c: Likewise.
12816         * rt/mq_getattr.c: Likewise.
12817         * rt/mq_notify.c: Likewise.
12818         * rt/mq_open.c: Likewise.
12819         * rt/mq_receive.c: Likewise.
12820         * rt/mq_send.c: Likewise.
12821         * rt/mq_setattr.c: Likewise.
12822         * rt/mq_timedreceive.c: Likewise.
12823         * rt/mq_timedsend.c: Likewise.
12824         * rt/mq_unlink.c: Likewise.
12825         * rt/shm_open.c: Likewise.
12826         * rt/shm_unlink.c: Likewise.
12827         * rt/timer_create.c: Likewise.
12828         * rt/timer_delete.c: Likewise.
12829         * rt/timer_getoverr.c: Likewise.
12830         * rt/timer_gettime.c: Likewise.
12831         * rt/timer_settime.c: Likewise.
12832         * setjmp/__longjmp.c: Likewise.
12833         * setjmp/setjmp.c: Likewise.
12834         * signal/kill.c: Likewise.
12835         * signal/killpg.c: Likewise.
12836         * signal/raise.c: Likewise.
12837         * signal/sigaction.c: Likewise.
12838         * signal/sigaltstack.c: Likewise.
12839         * signal/sigblock.c: Likewise.
12840         * signal/sigignore.c: Likewise.
12841         * signal/sigintr.c: Likewise.
12842         * signal/signal.c: Likewise.
12843         * signal/sigpause.c: Likewise.
12844         * signal/sigpending.c: Likewise.
12845         * signal/sigqueue.c: Likewise.
12846         * signal/sigreturn.c: Likewise.
12847         * signal/sigset.c: Likewise.
12848         * signal/sigsetmask.c: Likewise.
12849         * signal/sigstack.c: Likewise.
12850         * signal/sigsuspend.c: Likewise.
12851         * signal/sigtimedwait.c: Likewise.
12852         * signal/sigvec.c: Likewise.
12853         * signal/sigwait.c: Likewise.
12854         * signal/sigwaitinfo.c: Likewise.
12855         * signal/sysv_signal.c: Likewise.
12856         * socket/accept.c: Likewise.
12857         * socket/accept4.c: Likewise.
12858         * socket/bind.c: Likewise.
12859         * socket/connect.c: Likewise.
12860         * socket/getpeername.c: Likewise.
12861         * socket/getsockname.c: Likewise.
12862         * socket/getsockopt.c: Likewise.
12863         * socket/isfdtype.c: Likewise.
12864         * socket/listen.c: Likewise.
12865         * socket/recv.c: Likewise.
12866         * socket/recvfrom.c: Likewise.
12867         * socket/recvmsg.c: Likewise.
12868         * socket/send.c: Likewise.
12869         * socket/sendmsg.c: Likewise.
12870         * socket/sendto.c: Likewise.
12871         * socket/setsockopt.c: Likewise.
12872         * socket/shutdown.c: Likewise.
12873         * socket/sockatmark.c: Likewise.
12874         * socket/socket.c: Likewise.
12875         * socket/socketpair.c: Likewise.
12876         * stdio-common/ctermid.c: Likewise.
12877         * stdio-common/cuserid.c: Likewise.
12878         * stdio-common/remove.c: Likewise.
12879         * stdio-common/rename.c: Likewise.
12880         * stdio-common/renameat.c: Likewise.
12881         * stdio-common/tempname.c: Likewise.
12882         * stdlib/getcontext.c: Likewise.
12883         * stdlib/makecontext.c: Likewise.
12884         * stdlib/setcontext.c: Likewise.
12885         * stdlib/swapcontext.c: Likewise.
12886         * stdlib/system.c: Likewise.
12887         * streams/fattach.c: Likewise.
12888         * streams/fdetach.c: Likewise.
12889         * streams/getmsg.c: Likewise.
12890         * streams/getpmsg.c: Likewise.
12891         * streams/putmsg.c: Likewise.
12892         * streams/putpmsg.c: Likewise.
12893         * sysdeps/unix/bsd/getpt.c: Likewise.
12894         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12895         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12896         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12898         Likewise.
12899         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12900         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12901         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12902         * sysvipc/msgctl.c: Likewise.
12903         * sysvipc/msgget.c: Likewise.
12904         * sysvipc/msgrcv.c: Likewise.
12905         * sysvipc/msgsnd.c: Likewise.
12906         * sysvipc/semctl.c: Likewise.
12907         * sysvipc/semget.c: Likewise.
12908         * sysvipc/semop.c: Likewise.
12909         * sysvipc/semtimedop.c: Likewise.
12910         * sysvipc/shmat.c: Likewise.
12911         * sysvipc/shmctl.c: Likewise.
12912         * sysvipc/shmdt.c: Likewise.
12913         * sysvipc/shmget.c: Likewise.
12914         * termios/tcdrain.c: Likewise.
12915         * termios/tcflow.c: Likewise.
12916         * termios/tcflush.c: Likewise.
12917         * termios/tcgetattr.c: Likewise.
12918         * termios/tcgetpgrp.c: Likewise.
12919         * termios/tcsendbrk.c: Likewise.
12920         * termios/tcsetattr.c: Likewise.
12921         * termios/tcsetpgrp.c: Likewise.
12922         * time/adjtime.c: Likewise.
12923         * time/clock.c: Likewise.
12924         * time/getitimer.c: Likewise.
12925         * time/gettimeofday.c: Likewise.
12926         * time/setitimer.c: Likewise.
12927         * time/settimeofday.c: Likewise.
12928         * time/stime.c: Likewise.
12929         * time/time.c: Likewise.
12931 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
12933         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12934         /usr/old/bin.
12936         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12937         instead of spaces.
12938         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12940 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
12942         [BZ #14796]
12943         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12944         FE_TONEAREST before applying Dekker multiplication and Knuth
12945         addition.  Clear inexact exceptions and check for exact zero
12946         results afterwards.
12947         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12948         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12949         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12950         * math/libm-test.inc (fma_test): Add more tests.
12951         (fma_test_towardzero): Likewise.
12952         (fma_test_downward): Likewise.
12953         (fma_test_upward): Likewise.
12954         * sysdeps/generic/math_private.h (default_libc_fesetround): New
12955         function.
12956         (libc_fesetround): New macro.
12957         (libc_fesetroundf): Likewise.
12958         (libc_fesetroundl): Likewise.
12959         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12960         function.
12961         (libc_fesetround_387): Likewise.
12962         (libc_fesetroundf): New macro.
12963         (libc_fesetround): Likewise.
12964         (libc_fesetroundl): Likewise.
12965         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12966         function.
12967         (libc_fesetroundf): New macro.
12968         (libc_fesetround): Likewise.
12969         (libc_fesetroundl): Likewise.
12970         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12971         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12972         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12973         libm_hidden_ver.
12974         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12975         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12976         libm_hidden_def.
12977         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12978         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12979         libm_hidden_ver.
12980         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12981         libm_hidden_def.
12983         [BZ #3439]
12984         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12985         integer constant usable in #if and use that to give value to enum
12986         constant.
12987         (FE_DIVBYZERO): Likewise.
12988         (FE_UNDERFLOW): Likewise.
12989         (FE_OVERFLOW): Likewise.
12990         (FE_INVALID): Likewise.
12991         (FE_INVALID_SNAN): Likewise.
12992         (FE_INVALID_ISI): Likewise.
12993         (FE_INVALID_IDI): Likewise.
12994         (FE_INVALID_ZDZ): Likewise.
12995         (FE_INVALID_IMZ): Likewise.
12996         (FE_INVALID_COMPARE): Likewise.
12997         (FE_INVALID_SOFTWARE): Likewise.
12998         (FE_INVALID_SQRT): Likewise.
12999         (FE_INVALID_INTEGER_CONVERSION): Likewise.
13000         (FE_TONEAREST): Likewise.
13001         (FE_TOWARDZERO): Likewise.
13002         (FE_UPWARD): Likewise.
13003         (FE_DOWNWARD): Likewise.
13004         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13005         (FE_DIVBYZERO): Likewise.
13006         (FE_OVERFLOW): Likewise.
13007         (FE_UNDERFLOW): Likewise.
13008         (FE_INEXACT): Likewise.
13009         (FE_TONEAREST): Likewise.
13010         (FE_DOWNWARD): Likewise.
13011         (FE_UPWARD): Likewise.
13012         (FE_TOWARDZERO): Likewise.
13013         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13014         (FE_UNDERFLOW): Likewise.
13015         (FE_OVERFLOW): Likewise.
13016         (FE_DIVBYZERO): Likewise.
13017         (FE_INVALID): Likewise.
13018         (FE_TONEAREST): Likewise.
13019         (FE_TOWARDZERO): Likewise.
13020         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13021         (FE_OVERFLOW): Likewise.
13022         (FE_UNDERFLOW): Likewise.
13023         (FE_DIVBYZERO): Likewise.
13024         (FE_INEXACT): Likewise.
13025         (FE_TONEAREST): Likewise.
13026         (FE_TOWARDZERO): Likewise.
13027         (FE_UPWARD): Likewise.
13028         (FE_DOWNWARD): Likewise.
13029         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13030         (FE_DIVBYZERO): Likewise.
13031         (FE_OVERFLOW): Likewise.
13032         (FE_UNDERFLOW): Likewise.
13033         (FE_INEXACT): Likewise.
13034         (FE_TONEAREST): Likewise.
13035         (FE_DOWNWARD): Likewise.
13036         (FE_UPWARD): Likewise.
13037         (FE_TOWARDZERO): Likewise.
13039 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
13041         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13043 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
13045         * scripts/cross-test-ssh.sh (command): Use newlines to separate
13046         commands.  Quote $PWD.
13047         (blacklist_exports): Don't use remove_newlines.  Replace "declare
13048         -x" by "export".
13049         (remove_newlines): Remove.
13051 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
13053         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13054         * stdlib/stdlib.h (atof): Moved to ...
13055         * include/bits/stdlib-float.h: Here.  New file.
13056         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13057         * stdlib/bits/stdlib-float.h: New file.
13058         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13059         -mno-sse -mno-mmx.
13060         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13061         <xmmintrin.h>.
13063 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13065         * conform/conformtest.pl (@headers): Add fenv.h.
13066         * conform/data/fenv.h-data: New file.
13067         * include/fenv.h [_ISOMAC]: Disable all contents of file except
13068         include of <math/fenv.h>.
13070         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13071         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13072         && !UNIX98].  Enables tests for XOPEN2K8.
13073         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13074         POSIX2008]: Likewise.
13076         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13077         (struct rusage): Do not expect type or its members.
13079         [BZ #3439]
13080         * math/math.h (FP_NAN): Define macro to integer constant usable in
13081         #if and use that to give value to enum constant.
13082         (FP_INFINITE): Likewise.
13083         (FP_ZERO): Likewise.
13084         (FP_SUBNORMAL): Likewise.
13085         (FP_NORMAL): Likewise.
13087 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
13089         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13090         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13091         arguments.
13093 2012-11-02  Roland McGrath  <roland@hack.frob.com>
13095         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13096         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13097         autoconf-time if not.
13098         * configure.in: Remove AC_PREREQ.
13100 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13102         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13103         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13104         of the internal implementation.
13106 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13108         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13109         except include of <misc/sys/syslog.h>.
13111 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13114         function returns with a NULL context exit with zero.
13116 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13118         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13120 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
13122         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13123         (run_program_cmd): This.
13124         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13125         (tst_langinfo): New variable.  Use it.
13127 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
13129         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13130         floating point opcodes.
13132 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13134         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13135         variable.
13137         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13139         * sysdeps/mach/hurd/powerpc: Remove directory.
13140         * sysdeps/mach/powerpc: Likewise.
13142 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13144         * scripts/check-local-headers.sh: Ignore c++ headers.
13146 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13148         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13149         __libc_cleanup_region_start argument.
13151 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
13153         [BZ #14784]
13154         [BZ #14785]
13155         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13156         x * y using scaling, not as x * y + z.
13157         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13158         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13159         * math/libm-test.inc (fma_test): Add more tests.
13160         (fma_test_towardzero): Likewise.
13161         (fma_test_downward): Likewise.
13162         (fma_test_upward): Likewise.
13164 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13166         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13168 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13170         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13171         New variable.
13173 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
13175         * rt/tst-shm.c (worker): Correct checking for mmap failure.
13177 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13180         Fix sort order.
13181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13182         Likewise.
13184 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13187         Fix the order of the list for glibc 2.17.
13188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13189         Likewise.
13191 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13195 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13197         [BZ #14610]
13198         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13199         for low part of x being zero before using __atanl (y).
13200         * math/libm-test.inc (atan2_test): Add another test.
13202         * manual/install.texi (Configuring and compiling): Document
13203         general use of test-wrapper and test-wrapper-env.
13204         * INSTALL: Regenerated.
13206         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13207         (__fma): Do not extract and scale down low bits on after-rounding
13208         systems when result rounded to normal precision would have normal
13209         exponent.
13210         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13211         (__fmal): Do not extract and scale down low bits on after-rounding
13212         systems when result rounded to normal precision would have normal
13213         exponent.
13214         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13215         (__fmal): Do not extract and scale down low bits on after-rounding
13216         systems when result rounded to normal precision would have normal
13217         exponent.
13218         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13219         macro.
13220         (fma_test): Add more tests.
13221         (fma_test_towardzero): Likewise.
13222         (fma_test_downward): Likewise.
13223         (fma_test_upward): Likewise.
13225 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
13227         * sysdeps/i386/tininess.h: Renamed to ...
13228         * sysdeps/x86/tininess.h: This.
13229         * sysdeps/x86_64/tininess.h: Removed.
13231 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13233         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13234         input.  Use $(build-program-cmd).
13235         ($(objpfx)tst-array1-static.out): Likewise.
13236         ($(objpfx)tst-array2.out): Likewise.
13237         ($(objpfx)tst-array3.out): Likewise.
13238         ($(objpfx)tst-array4.out): Likewise.
13239         ($(objpfx)tst-array5.out): Likewise.
13240         ($(objpfx)tst-array5-static.out): Likewise.
13242 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
13244         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13245         if defined.
13247         * nss/nsswitch.h (nss_interface_function): Provide new
13248         macro for use with NSS functions.
13249         * grp/initgroups.c: Use new macro.
13250         * nss/getXXbyYY.c: Likewise.
13251         * nss/getXXbyYY_r.c: Likewise.
13252         * nss/getXXent.c: Likewise.
13253         * nss/getXXent_r.c: Likewise.
13254         * sysdeps/posix/getaddrinfo.c: Likewise.
13256 2012-10-30  Andreas Jaeger  <aj@suse.de>
13258         * po/ru.po: Update Russion translation from translation project.
13260 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13262         [BZ #14152]
13263         [BZ #14783]
13264         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13265         result and shift together with sticky bit instead of replicating
13266         round-to-nearest rounding.
13267         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13268         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13269         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
13270         missing underflow exceptions.
13271         (fma_test_towardzero): Add more tests.
13272         (fma_test_downward): Likewise.
13273         (fma_test_upward): Likewise.
13275         [BZ #14047]
13276         * sysdeps/generic/tininess.h: New file.
13277         * sysdeps/i386/tininess.h: Likewise.
13278         * sysdeps/sh/tininess.h: Likewise.
13279         * sysdeps/x86_64/tininess.h: Likewise.
13280         * stdlib/tst-strtod-underflow.c: Likewise.
13281         * stdlib/tst-tininess.c: Likewise.
13282         * stdlib/strtod_l.c: Include <tininess.h>.
13283         (round_and_return): Do not set errno for exact underflow cases.
13284         Force an underflow exception when setting errno for underflow.
13285         Determine underflow based on rounding to normal precision if
13286         TININESS_AFTER_ROUNDING.
13287         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13288         ERANGE for exact underflow cases.
13289         * stdlib/Makefile (tests): Add tst-tininess and
13290         tst-strtod-underflow.
13291         ($(objpfx)tst-tininess): Use $(link-libm).
13292         ($(objpfx)tst-strtod-underflow): Likewise.
13294 2012-10-30  Andreas Jaeger  <aj@suse.de>
13296         [BZ#14767]
13297         * elf/Makefile (tests): Remove conditional for have-initfini-array
13298         since this is now always required and the variable does not exist
13299         anymore.
13300         (tests-static): Likewise.
13301         (modules-names): Likewise.
13303         * po/eo.po: Add Esperanto translation from translation project.
13305         * elf/tst-array1.c (fini_array): Make writeable so that it can be
13306         merged with constructor/destructor.
13307         (init_array): Likewise.
13308         * elf/tst-array2dep.c (fini_array): Likewise.
13309         (init_array): Likewise.
13311 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
13313         * manual/message.texi: Delete @cartouche tags.
13315 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
13317         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13318         EOPNOTSUPP.
13319         * sysdeps/mach/hurd/fsync.c: Likewise.
13321         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13322         [_POSIX_REALTIME_SIGNALS]: Change condition to
13323         [_POSIX_REALTIME_SIGNALS > 0].
13325 2012-10-27  Andreas Jaeger  <aj@suse.de>
13327         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13328         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13329         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13330         [__WORDSIZE != 64]: Likewise.
13332 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
13334         *  iconvdata/tst-table.sh: Remove ${SHELL}.
13335         *  iconvdata/tst-tables.sh: Likewise.
13337 2012-10-25  David S. Miller  <davem@davemloft.net>
13339         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13340         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13341         of strtoull.
13343         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13344         ifunc-impl-list.c
13345         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13346         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13347         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13348         file.
13350 2012-10-25  Roland McGrath  <roland@hack.frob.com>
13352         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13353         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13354         __getdirentries.
13356 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13357             Jim Blandy  <jimb@codesourcery.com>
13359         * scripts/cross-test-ssh.sh: New file.
13360         * manual/install.texi (Configuring and compiling): Document use of
13361         cross-test-ssh.sh.
13362         * INSTALL: Regenerated.
13364 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
13366         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13367         EOPNOTSUPP.
13369 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13371         * Makeconfig (run-program-prefix): Fix comment.
13373 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13374             Jim Blandy  <jimb@codesourcery.com>
13376         * Makeconfig (test-wrapper): New variable,
13377         (test-wrapper-env): Likewise.
13378         [$(cross-compiling) = yes && $(test-wrapper) != ""]
13379         (run-built-tests): Define to yes.
13380         (run-program-prefix): Use $(test-wrapper).
13381         (built-program-cmd): Likewise.
13382         * Rules (make-test-out): Use $(test-wrapper-env) and
13383         $(host-built-program-cmd).
13384         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13385         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13386         tst-pathopt.sh.
13387         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13388         $(test-wrapper-env) to tst-rtld-load-self.sh.
13389         ($(objpfx)order2.out): Use $(test-wrapper).
13390         ($(objpfx)tst-initorder.out): Likewise.
13391         ($(objpfx)tst-initorder2.out): Likewise.
13392         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13393         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13394         (test_wrapper_env): New variable.  Use it to run ld.so.
13395         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13396         Use it to run ld.so.
13397         (test_wrapper_env): Likewise.
13398         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13399         $(test-wrapper) to run-iconv-test.sh.
13400         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13401         (ICONV): Use $test_wrapper.
13402         * posix/Makefile ($(objpfx)globtest.out): Pass
13403         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13404         globtest.sh, not $(run-program-prefix).
13405         * posix/globtest.sh (run_via_rtld_prefix): New variable.
13406         (test_wrapper): Likewise.
13407         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
13408         set together with run_via_rtld_prefix.
13409         (run_program_prefix): Define in terms of test_wrapper and
13410         run_via_rtld_prefix.
13412 2012-10-24  Roland McGrath  <roland@hack.frob.com>
13414         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13415         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13416         Targets removed.
13418         [BZ #14743]
13419         * include/time.h: Remove librt_hidden_proto (clock_gettime).
13420         Declare __clock_getres, __clock_gettime, __clock_settime,
13421         __clock_nanosleep, and __clock_getcpuclockid.
13422         * rt/clock_gettime.c: Define __clock_gettime as an alias.
13423         Remove librt_hidden_def (clock_gettime).
13424         * sysdeps/unix/clock_gettime.c: Likewise.
13425         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13426         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13427         * rt/clock_getres.c: Define __clock_getres as an alias.
13428         * sysdeps/posix/clock_getres.c: Likewise.
13429         * rt/clock_settime.c: Define __clock_settime as an alias.
13430         * sysdeps/unix/clock_settime.c: Likewise.
13431         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13432         * sysdeps/unix/clock_nanosleep.c: Likewise.
13433         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13434         * rt/clock-compat.c: New file.
13435         * rt/Makefile (librt-routines): Add clock-compat and move
13436         $(clock-routines) to ...
13437         (routines): ... here, new variable.
13438         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13439         Don't add get_clockfreq here.
13440         * rt/Versions (libc: GLIBC_2.17): New version set.
13441         Add clock_* symbols here.
13442         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
13443         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13444         (GLIBC_2.17): Add clock_* symbols.
13445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13447         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13449         Likewise.
13450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13451         Likewise.
13452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13456         * NEWS: Mention the move.
13458         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13459         Use __open, __read, __close rather than their public counterparts.
13460         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13461         (__get_clockfreq_via_cpuinfo): Likewise.
13462         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13463         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13465         * config.h.in (HAVE_IFUNC): New #undef.
13466         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13467         was successful.
13468         * configure: Regenerated.
13470 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
13472         * configure.in: Move READELF check to start of file.
13473         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13474         libc_cv_asm_gnu_indirect_function in the process.
13475         * configure: Regenerated.
13477 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
13479         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13480         send the output to /dev/null.
13481         (libc_cv_cc_with_libunwind): Likewise.
13482         (libc_cv_as_noexecstack): Likewise.
13483         * configure: Regenerate.
13485 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13487         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13489         * posix/globtest.sh (TMPDIR): Do not set.
13490         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13491         (testout): Likewise.
13493 2012-10-24  Andreas Jaeger  <aj@suse.de>
13495         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13496         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13497         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13498         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13499         posix_fadvise64, posix_fallocate64.
13501         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13502         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13503         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13504         Likewise.
13505         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13506         Likewise.
13507         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13509         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13510         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13511         <bits/fcntl-linux.h>.
13512         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13514         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13515         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13516         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13517         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13518         [__WORDSIZE != 64]: Likewise.
13520 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
13522         * Makeconfig (run-built-tests): New variable.
13523         * Rules [$(cross-compiling) = yes]: Change condition to
13524         [$(run-built-tests) = no].
13525         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13526         to [$(run-built-tests) = yes].
13527         * elf/Makefile [$(cross-compiling) = no]: Likewise
13528         * grp/Makefile [$(cross-compiling) = no]: Likewise.
13529         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13530         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13531         * intl/Makefile [$(cross-compiling) = no]: Likewise.
13532         * io/Makefile [$(cross-compiling) = no]: Likewise.
13533         * libio/Makefile [$(cross-compiling) = no]: Likewise.
13534         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13535         * misc/Makefile [$(cross-compiling) = no]: Likewise.
13536         * posix/Makefile [$(cross-compiling) = no]: Likewise.
13537         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13538         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13539         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13540         * string/Makefile [$(cross-compiling) = no]: Likewise.
13542         * posix/Makefile ($(objpfx)globtest.out): Pass
13543         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13544         $(rtld-installed-name).
13545         * posix/globtest.sh (elf_objpfx): Remove variable.
13546         (rtld_installed_name): Likewise.
13547         (library_path): Likewise.
13548         (run_program_prefix): New variable.  Use for running globtest
13549         binary.
13551 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
13552             Joseph Myers  <joseph@codesourcery.com>
13554         * Makeconfig (host-built-program-cmd): New variable.
13555         * elf/Makefile (tst-stackguard1-ARGS): Use
13556         $(host-built-program-cmd).
13557         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13558         (tst-spawn-ARGS): Likewise.
13559         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13561 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
13562             Jim Blandy  <jimb@codesourcery.com>
13564         * Makeconfig (run-via-rtld-prefix): New variable.
13565         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13566         (built-program-cmd): Likewise.
13568 2012-10-22  Andreas Jaeger  <aj@suse.de>
13570         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13571         __O_RSYNC if it exists, otherwise to O_SYNC.
13573 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
13574             Joseph Myers  <joseph@codesourcery.com>
13576         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13577         /dev/null.
13578         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13579         from /dev/null
13580         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13581         /dev/null.
13583 2012-10-22  Andreas Jaeger  <aj@suse.de>
13585         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13586         Define always.
13587         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13589         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13590         bits/fcntl-linux.h.
13592         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13593         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13595         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13596         to __O_LARGEFILE.
13597         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13598         to __O_LARGEFILE.
13600 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
13601             Joseph Myers  <joseph@codesourcery.com>
13603         * config.make.in (NM): New variable.
13605 2012-10-21  Andreas Jaeger  <aj@suse.de>
13607         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13608         definitions and declarations that are provided by
13609         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13611 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
13613         [BZ #14683]
13614         * elf/Makefile (tests-static): Add tst-leaks1-static.
13615         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13616         ($(objpfx)tst-leaks1-static): New rule.
13617         ($(objpfx)tst-leaks1-static-mem): Likewise.
13618         (tst-leaks1-static-ENV): New macro.
13619         * elf/dl-open.c (dl_open_worker): Check the main application
13620         only if SHARED is defined.
13621         * elf/tst-leaks1-static.c: New file.
13623 2012-10-20  Andreas Jaeger  <aj@suse.de>
13625         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13626         generic values for Linux.
13627         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13628         and declarations that are provided by <bits/fcntl-linux.h> and
13629         include <bits/fcntl-linux.h>.
13630         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13631         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13633 2012-10-20  Roland McGrath  <roland@hack.frob.com>
13635         * io/fcntl.h: Move include of <bits/types.h> to the top and
13636         include it unconditionally.
13638 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
13640         * wcsmbs/Makefile (tests-ifunc): New variable.
13641         (tests): Add $(tests-ifunc).
13642         * wcsmbs/test-wcschr-ifunc.c: New file.
13643         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13644         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13645         * wcsmbs/test-wcslen-ifunc.c: Likewise.
13646         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13647         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13649         * string/Makefile (tests-ifunc): New variable.
13650         (tests): Add $(tests-ifunc).
13651         * string/test-memccpy.c (TEST_NAME): New macro.
13652         * string/test-memchr.c (TEST_NAME): Likewise.
13653         * string/test-memcmp.c (TEST_NAME): Likewise.
13654         * string/test-memcpy.c (TEST_NAME): Likewise.
13655         * string/test-memmem.c (TEST_NAME): Likewise.
13656         * string/test-memmove.c (TEST_NAME): Likewise.
13657         * string/test-memset.c (TEST_NAME): Likewise.
13658         * string/test-rawmemchr.c (TEST_NAME): Likewise.
13659         * string/test-stpcpy.c (TEST_NAME): Likewise.
13660         * string/test-stpncpy.c (TEST_NAME): Likewise.
13661         * string/test-strcasecmp.c (TEST_NAME): Likewise.
13662         * string/test-strcasestr.c (TEST_NAME): Likewise.
13663         * string/test-strcat.c (TEST_NAME): Likewise.
13664         * string/test-strchr.c (TEST_NAME): Likewise.
13665         * string/test-strcmp.c(TEST_NAME): Likewise.
13666         * string/test-strcpy.c (TEST_NAME): Likewise.
13667         * string/test-strcspn.c (TEST_NAME): Likewise.
13668         * string/test-strlen.c (TEST_NAME): Likewise.
13669         * string/test-strncasecmp.c (TEST_NAME): Likewise.
13670         * string/test-strncmp.c (TEST_NAME): Likewise.
13671         * string/test-strncpy.c (TEST_NAME): Likewise.
13672         * string/test-strnlen.c (TEST_NAME): Likewise.
13673         * string/test-strpbrk.c (TEST_NAME): Likewise.
13674         * string/test-strrchr.c (TEST_NAME): Likewise.
13675         * string/test-strspn.c (TEST_NAME): Likewise.
13676         * string/test-strstr.c (TEST_NAME): Likewise.
13677         * string/test-bcopy-ifunc.c: New file.
13678         * string/test-bzero-ifunc.c: Likewise.
13679         * string/test-memccpy-ifunc.c: Likewise.
13680         * string/test-memchr-ifunc.c: Likewise.
13681         * string/test-memcmp-ifunc.c: Likewise.
13682         * string/test-memcpy-ifunc.c: Likewise.
13683         * string/test-memmem-ifunc.c: Likewise.
13684         * string/test-memmove-ifunc.c: Likewise.
13685         * string/test-mempcpy-ifunc.c: Likewise.
13686         * string/test-memset-ifunc.c: Likewise.
13687         * string/test-rawmemchr-ifunc.c: Likewise.
13688         * string/test-stpcpy-ifunc.c: Likewise.
13689         * string/test-stpncpy-ifunc.c: Likewise.
13690         * string/test-strcasecmp-ifunc.c: Likewise.
13691         * string/test-strcasestr-ifunc.c: Likewise.
13692         * string/test-strcat-ifunc.c: Likewise.
13693         * string/test-strchr-ifunc.c: Likewise.
13694         * string/test-strchrnul-ifunc.c: Likewise.
13695         * string/test-strcmp-ifunc.c: Likewise.
13696         * string/test-strcpy-ifunc.c: Likewise.
13697         * string/test-strcspn-ifunc.c: Likewise.
13698         * string/test-strlen-ifunc.c: Likewise.
13699         * string/test-strncasecmp-ifunc.c: Likewise.
13700         * string/test-strncat-ifunc.c: Likewise.
13701         * string/test-strncmp-ifunc.c: Likewise.
13702         * string/test-strncpy-ifunc.c: Likewise.
13703         * string/test-strnlen-ifunc.c: Likewise.
13704         * string/test-strpbrk-ifunc.c: Likewise.
13705         * string/test-strrchr-ifunc.c: Likewise.
13706         * string/test-strspn-ifunc.c: Likewise.
13707         * string/test-strstr-ifunc.c: Likewise.
13709         * debug/Makefile (tests-ifunc): New variable.
13710         (tests): Add $(tests-ifunc).
13711         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13712         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13713         * debug/test-stpcpy_chk-ifunc.c: New file.
13714         * debug/test-strcpy_chk-ifunc.c: Likewise.
13716 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13718         [BZ #13601]
13719         * elf/dl-load.c (open_verify): Retry read if the entire ELF
13720         header is not read in.
13722 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
13724         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
13725         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
13726         directly.  Pass built executable to script as
13727         $(built-program-cmd).
13728         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
13729         $testprogram without using LD_LIBRARY_PATH and $ldso.
13731         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13732         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13733         $(rtld-installed-name).
13734         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13735         (rtld_installed_name): Likewise.
13736         (library_path): Likewise.
13737         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
13738         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13739         $(run-program-prefix) to tst-tables.sh.
13740         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
13741         it to run tst-table-from and tst-table-to.
13742         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13743         Pass it to tst-table.sh.
13744         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13745         $(run-program-prefix) to tst-gettext.sh.
13746         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13747         tst-translit.sh.
13748         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13749         tst-gettext2.sh.
13750         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
13751         to run tst-gettext.
13752         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
13753         to run tst-gettext2.
13754         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
13755         to run tst-translit.
13756         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13757         $(run-program-prefix) to tst-mtrace.sh.
13758         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
13759         to run tst-mtrace.
13760         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13761         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13762         $(rtld-installed-name).
13763         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13764         (rtld_installed_name): Likewise.
13765         (run_program_prefix): New variable.  Use it to run wordexp-test.
13767         * Makeconfig (ARCH): Remove all definitions.
13768         (machine): Likewise.
13769         [ARCH]: Remove conditional code.
13770         [!objdir]: Give error.
13771         [!objdir] (objpfx): Remove.
13772         [!objdir] (common-objpfx): Likewise.
13773         [!objdir] (common-objdir): Likewise.
13774         * configure.in (config_makefile): Remove.  Hardcode Makefile in
13775         AC_CONFIG_FILES call.
13776         * configure: Regenerated.
13778         [BZ #13888]
13779         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13780         or TMPDIR.
13781         (testout): Likewise.
13783         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13784         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13785         $(rtld-installed-name).
13786         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13787         (rtld_installed_name): Likwise.
13788         (runit): Remove function.
13789         (run_getconf): New variable,  Use it for running getconf binary.
13791 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
13793         [BZ #14716]
13794         * string/test-memmem.c (check_result): New function.
13795         (do_one_test): Use it.
13796         (check1): New function.
13797         (test_main): Use it.
13799 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
13801         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13803 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
13805         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13806         (_G_LSEEK64): Likewise.
13807         (_G_MMAP64): Likewise.
13808         (_G_FSTAT64): Likewise.
13809         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13810         (_G_LSEEK64): Likewise.
13811         (_G_MMAP64): Likewise.
13812         (_G_FSTAT64): Likewise.
13813         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13814         unconditional.  Call __mmap64 directly.
13815         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13816         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
13817         __lseek64 directly.
13818         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13819         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
13820         __mmap64 directly.
13821         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13822         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13823         __lseek64 directly.
13824         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13825         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13826         __lseek64 directly.
13827         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13828         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
13829         __lseek64 directly.
13830         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13831         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
13832         __fxstat64 directly.
13833         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13834         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13835         unconditional.
13836         (freopen64) [!_G_OPEN64]: Remove conditional code.
13837         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13838         unconditional.
13839         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13840         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13841         unconditional.
13842         (ftello64) [!_G_LSEEK64]: Remove conditional code.
13843         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13844         unconditional.
13845         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13846         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13847         unconditional.
13848         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13849         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13850         unconditional.
13851         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13852         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13853         unconditional.
13854         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13855         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13856         unconditional.
13857         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13859 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13861         [BZ #12140]
13862         * manual/memory.texi (Malloc Tunable Parameters): Add note
13863         about free list pointers overwriting some perturb bytes.
13864         Wording suggested by Roland McGrath.
13866 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
13868         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13869         (lgamma_test): Likewise.
13870         (tgamma_test): Likewise.
13872 2012-10-16  Florian Weimer  <fweimer@redhat.com>
13874         [BZ #14700]
13875         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13876         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13878 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
13880         * NEWS: Mention BZ #14716.
13881         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13882         when removing AVAILABLE1_USES_J macro.
13884 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
13886         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13887         (__bswap_64): __uint64_t for unsigned 64-bit int.
13889 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
13891         * include/string.h (memmem): Declare libc hidden alias.
13892         * string/memmem.c (memmem): Define libc hidden alias.
13893         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13894         __read, __close instead of open, read, close.
13896 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
13898         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13899         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13900         global and hidden.
13901         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13902         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13903         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13904         Likewise.
13905         (__rawmemchr_sse2): Likewise.
13906         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13907         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13908         (__strchr_sse2): Likewise.
13909         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13910         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13911         (__strcasecmp_sse2): Likewise.
13912         (__strncasecmp_sse2): Likewise.
13913         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13914         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13915         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13916         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13917         (__strrchr_sse2): Likewise.
13918         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13919         ifunc-impl-list.c.
13920         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13921         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13922         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13923         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13924         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13925         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13926         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13927         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13928         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13929         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13930         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13931         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13932         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13933         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13934         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13935         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13936         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13937         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13938         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13939         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13940         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13941         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13942         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13943         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13944         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13945         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13946         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13947         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13948         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13949         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13951         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13952         global and hidden.
13953         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13954         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13955         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13956         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13957         Likewise.
13958         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13959         Likewise.
13960         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13961         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13962         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13963         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13964         ifunc-impl-list.c.
13965         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13966         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13967         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13968         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13969         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13970         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13971         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13972         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13973         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13974         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13975         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13976         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13977         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13978         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13979         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13980         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13981         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13982         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13983         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13984         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13985         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13986         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13987         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13988         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13989         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13990         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13991         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13992         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13993         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13994         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13995         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13996         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13997         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13998         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13999         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14000         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14001         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14002         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14003         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14004         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14005         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14007         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14008         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14009         * include/ifunc-impl-list.h: New file.
14010         * misc/ifunc-impl-list.c: Likewise.
14011         * misc/Makefile (routines): Add ifunc-impl-list.
14012         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14013         * string/test-string.h: Include <ifunc-impl-list.h>.
14014         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14015         impl_array): New variables.
14016         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14017         are defined.
14018         (test_init): Call __libc_ifunc_impl_list to initialize
14019         func_list if TEST_IFUNC and TEST_NAME are defined.
14021         * string/Makefile (strop-tests): Add bcopy and bzero.
14022         * string/test-bcopy.c: New file.
14023         * string/test-bzero.c: Likewise.
14024         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14025         defined.
14026         * string/test-memset.c: Support bzero test if TEST_BZERO is
14027         defined.
14028         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14029         __libc_memmove.
14030         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14031         __libc_memset.
14032         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14033         of memset.
14035 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
14037         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14038         * configure: Regenerated.
14040         * Makeconfig (+link-static-before-libc): Don't include
14041         $(link-static-libc).
14043         * libio/libio.h (_IO_pos_t): Remove.
14045 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14047         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
14048         McGrath.
14050 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14052         * crypt/crypt-entry.c: Include fips-private.h.
14053         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14054         * crypt/md5c-test.c (main): Tolerate disabled MD5.
14055         * sysdeps/unix/sysv/linux/fips-private.h: New file.
14056         * sysdeps/generic/fips-private.h: New file, dummy fallback.
14058 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14060         * crypt/crypt-private.h: Include stdbool.h.
14061         (_ufc_setup_salt_r): Return bool.
14062         * crypt/crypt-entry.c: Include errno.h.
14063         (__crypt_r): Return NULL with EINVAL for bad salt.
14064         * crypt/crypt_util.c (bad_for_salt): New.
14065         (_ufc_setup_salt_r): Check that salt is long enough and within
14066         the specified alphabet.
14067         * crypt/badsalttest.c: New file.
14068         * crypt/Makefile (tests): Add it.
14069         ($(objpfx)badsalttest): New.
14071 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
14073         * NEWS: Add entry for BZ #14602.
14075 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14077         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14078         type-generic.
14079         * math/libm-test.inc: Update comment listing what functions and
14080         macros are tested.
14081         (isgreater_test): New function.
14082         (isgreaterequal_test): Likewise.
14083         (isless_test): Likewise.
14084         (islessequal_test): Likewise.
14085         (islessgreater_test): Likewise.
14086         (isunordered_test): Likewise.
14087         (main): Call the new functions.
14089 2012-10-09  Roland McGrath  <roland@hack.frob.com>
14091         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14092         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14093         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14094         * sysdeps/i386/configure: Regenerated.
14095         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14096         * sysdeps/mach/configure: Regenerated.
14097         * sysdeps/mach/hurd/configure: Regenerated.
14098         * sysdeps/powerpc/configure: Regenerated.
14099         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14100         * sysdeps/powerpc/powerpc64/configure: Regenerated.
14101         * sysdeps/s390/s390-32/configure: Regenerated.
14102         * sysdeps/s390/s390-64/configure: Regenerated.
14103         * sysdeps/sh/configure: Regenerated.
14104         * sysdeps/sparc/configure: Regenerated.
14105         * sysdeps/unix/sysv/linux/configure: Regenerated.
14106         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14107         * sysdeps/x86_64/configure: Regenerated.
14109         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14110         defined.  Don't check if MAP is NULL.
14112 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14114         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14115         (_G_stat64): Likewise.
14116         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14117         (_G_stat64): Likewise.
14118         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14119         instead of struct _G_stat64.
14120         * libio/fileops.c (mmap_remap_check): Likewise.
14121         (decide_maybe_mmap): Likewise.
14122         (_IO_new_file_seekoff): Likewise.
14123         (_IO_file_stat): Likewise.
14124         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14125         _G_off64_t.
14126         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14127         instead of struct _G_stat64.
14128         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14130 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
14132         [BZ #14602]
14133         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14134         Replace with ...
14135         (CHECK_EOL): New macro.
14136         (two_way_short_needle): Check beginning of haystack for EOL.  Use
14137         CHECK_EOL.
14138         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14139         Replace with CHECK_EOL.
14140         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14141         Replace with CHECK_EOL.
14143 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
14145         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14146         type-generic.
14147         * math/libm-test.inc: Update comment listing what functions and
14148         macros are tested.
14149         (finite_test): New function.
14150         (isinf_test): Likewise.
14151         (isnan_test): Likewise.
14152         (fpclassify_test): Test subnormal input.
14153         (isfinite_test): Likewise.
14154         (isnormal_test): Likewise.
14155         (main): Call the new functions.
14157 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
14159         [BZ #14660]
14160         * Makerules (%.dynsym): Force C locale when running
14161         $(OBJDUMP) --dynamic-syms.
14163 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
14165         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14166         <stdint.h>.
14168 2012-10-06  David S. Miller  <davem@davemloft.net>
14170         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14171         upper 32-bits of the length value in %o2 since we use branch-on-register
14172         tests which consider the entire 64-bit register.
14174 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
14176         * string/test-strstr.c (check2): Add a test for page boundary.
14178 2012-10-05  David S. Miller  <davem@davemloft.net>
14180         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14181         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14182         file.
14183         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14184         sysdep_routines.
14185         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14186         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14187         and bzero when HWCAP_SPARC_CRYPTO is present.
14189 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
14191         [BZ #14602]
14192         * string/test-strstr.c (check2): New function.
14193         (test_main): Call check2.
14195         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14196         and bug-strchr1.
14197         * string/bug-strcasestr1.c (do_test): Moved to ...
14198         * string/test-strcasestr.c (check1): Here.  New function.
14199         (do_one_test): Break out result checking code into ...
14200         (check_result): This.  New function.
14201         (do_one_test): Call check_result.
14202         (test_main): Call check1.
14203         * string/bug-strchr1.c (do_test): Moved to ...
14204         * string/test-strchr.c (check1): Here.  New function.
14205         (do_one_test): Break out result checking code into ...
14206         (check_result): This.  New function.
14207         (do_one_test): Call check_result.
14208         (test_main): Call check1.
14209         * string/bug-strstr1.c (main): Moved to ...
14210         * string/test-strstr.c (check1): Here.  New function.
14211         (do_one_test): Break out result checking code into ...
14212         (check_result): This.  New function.
14213         (do_one_test): Call check_result.
14214         (test_main): Call check1.
14215         * string/bug-strcasestr1.c: Removed.
14216         * string/bug-strchr1.c: Likewise.
14217         * string/bug-strstr1.c: Likewise.
14219         * elf/Makefile (dl-routines): Add hwcaps.
14220         * elf/dl-support.c (_dl_important_hwcaps): Removed.
14221         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14222         (_dl_important_hwcaps): Moved to ...
14223         * elf/dl-hwcaps.c: Here.  New file.
14224         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14226         [BZ #14557]
14227         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14228         if IS_IN_rtld isn't defined.
14230         * elf/dl-support.c (_dl_sysinfo_map): New.
14231         Include "get-dynamic-info.h" and "setup-vdso.h".
14232         (_dl_non_dynamic_init): Call setup_vdso.
14233         * elf/dynamic-link.h: Don't include <assert.h>.
14234         (elf_get_dynamic_info): Moved to ...
14235         * elf/get-dynamic-info.h: Here.  New file.
14236         * elf/dynamic-link.h: Include "get-dynamic-info.h".
14237         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14238         * elf/setup-vdso.h: Here.  New file.
14239         * elf/rtld.c: Include "setup-vdso.h".
14240         (dl_main): Call setup_vdso.
14242 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
14244         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14245         creal in comment listing functions tested.  List finite, isinf,
14246         isnan, isless, islessequal, isgreater, isgreaterequal,
14247         islessgreater, isunordered, lgamma_r and pow10 as functions and
14248         macros not tested.  Mention which functions not tested are aliases
14249         for other functions.  Fix typo.  Note that signs of NaNs are not
14250         tested.
14252         * scripts/config.guess: Update from config.git.
14253         * scripts/config.sub: Likewise.
14255 2012-10-04  Roland McGrath  <roland@hack.frob.com>
14257         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14258         * misc/madvise.c (madvise): Renamed to __madvise.
14259         Make madvise a weak alias.
14260         * include/sys/mman.h: Declare __madvise.
14261         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14262         * sysdeps/unix/syscalls.list
14263         (madvise): Make __madvise the strong name, and madvise a weak alias.
14264         * sysdeps/unix/sysv/linux/syscalls.list
14265         (madvise, mmap): Remove redundant entries.
14266         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14267         * malloc/malloc.c (mtrim): Likewise.
14268         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14270 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14272         * sysdeps/mach/hurd/dl-cache.c: File removed.
14273         * config.h.in (USE_LDCONFIG): New #undef.
14274         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14275         * configure: Regenerated.
14276         * elf/Makefile (dl-routines): Add dl-cache only under
14277         [$(use-ldconfig) = yes].
14278         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14279         cache on [USE_LDCONFIG].
14280         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14281         [USE_LDCONFIG].
14282         * elf/rtld.c (dl_main): Likewise.
14284 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
14286         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14287         _SC_LEVEL4_CACHE_LINESIZE.
14289 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14291         * sysdeps/unix/bsd/confstr.h: File removed.
14293 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
14295         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14296         sys/sdt-config.h.
14298 2012-10-02  Roland McGrath  <roland@hack.frob.com>
14300         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14301         Make 'mapoff' field ElfW(Off) rather than off_t.
14303 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
14305         * nscd/Makefile: Remove nscd-cflags and all its users.
14306         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14307         (CFLAGS-nonlib): Add compiler flags for nscd modules.
14309         [BZ #10631]
14310         * malloc.c (malloc_printerr): Clarify error message.
14312 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
14314         [BZ #14648]
14315         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14316         Set bit_FMA_Usable if FMA is supported.
14317         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14318         macro.
14319         (bit_FMA4_Usable): Updated.
14320         (index_FMA_Usable): New macro.
14321         (CPUID_FMA): Likewise
14322         (HAS_FMA): Defined with bit_FMA_Usable.
14324 2012-10-01  Roland McGrath  <roland@hack.frob.com>
14326         * bits/types.h (__swblk_t): Type removed.
14327         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14328         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14329         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14330         (__SWBLK_T_TYPE): Likewise.
14331         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14332         (__SWBLK_T_TYPE): Likewise.
14333         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14334         (__SWBLK_T_TYPE): Likewise.
14335         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14336         (__SWBLK_T_TYPE): Likewise.
14338 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
14339             Honza Horak <hhorak@redhat.com>
14341         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14342         (xdr_mapname): Use YPMAXMAP as maxsize.
14343         (xdr_peername): Use YPMAXPEER as maxsize.
14344         (xdr_keydat): Use YPAXRECORD as maxsize.
14345         (xdr_valdat): Use YPMAXRECORD as maxsize.
14347 2012-10-01  Roland McGrath  <roland@hack.frob.com>
14349         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14351         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14352         * csu/init-first.c: ... here.
14353         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14354         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14355         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14356         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14357         * sysdeps/i386/init-first.c: File removed.
14358         * sysdeps/sh/init-first.c: File removed.
14360 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
14362         [BZ #14645]
14363         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14364         if x * y might underflow to zero and z is zero.
14365         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14366         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14367         * math/libm-test.inc (min_subnorm_value): New variable.
14368         (fma_test): Add more tests.
14369         (fma_test_towardzero): Likewise.
14370         (fma_test_downward): Likewise
14371         (fma_test_upward): Likewise.
14372         (initialize): Set min_subnorm_value.
14374 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
14376         [BZ #14638]
14377         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14378         0 + 0.
14379         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14380         mode for addition resulting in exact zero.
14381         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14382         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14383         exact 0 + 0.
14384         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14385         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14386         * math/libm-test.inc (fma_test): Add more tests.
14387         (fma_test_towardzero): New function.
14388         (fma_test_downward): Likewise.
14389         (fma_test_upward): Likewise.
14390         (main): Call the new functions.
14392 2012-09-28  David S. Miller  <davem@davemloft.net>
14394         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14396 2012-09-28  Roland McGrath  <roland@hack.frob.com>
14398         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14399         instead of SIGALRM.
14401         * sysdeps/gnu/_G_config.h: Moved to ...
14402         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14403         * sysdeps/mach/hurd/_G_config.h: Moved to ...
14404         * sysdeps/generic/_G_config.h: ... here.
14406         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
14408         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14410         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14411         Conditionalize target on [libnss_test1.so-version].
14413         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14415         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14416         (elfobjdir): Move out of conditionals.
14418         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14419         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14420         (__nss_lookup_function): Conditionalize label remove_from_tree on
14421         [!DO_STATIC_NSS || SHARED], matching its only use.
14423 2012-09-28  David S. Miller  <davem@davemloft.net>
14425         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14426         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14427         file.
14428         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14429         sysdep_routines.
14430         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14431         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14432         when HWCAP_SPARC_CRYPTO is present.
14434 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14436         * io/tst-mknodat.c: Create a FIFO instead of a socket.
14438 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
14440         [BZ #6530]
14441         * stdio-common/vfprintf.c (process_string_arg): Revert
14442         2000-07-22 change.
14444 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
14446         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14447         for testcase.
14448         * stdio-common/tst-sprintf.c: Include <locale.h>
14449         (main): Test sprintf's handling of incomplete multibyte
14450         characters.
14452 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
14454         * elf/dl-runtime.c (VERSYMIDX): Removed.
14455         * elf/dl-version.c (VERSYMIDX): Likewise.
14456         * elf/do-rel.h (VERSYMIDX): Likewise.
14457         (VALIDX): Likewise.
14458         * elf/dynamic-link.h (VERSYMIDX): Likewise.
14459         * elf/rtld.c (VALIDX): Likewise.
14460         (ADDRIDX): Likewise.
14461         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14462         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14463         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14464         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14465         (VALIDX): Likewise.
14466         (ADDRIDX): Likewise.
14468 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14470         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14472 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
14474         [BZ #11438]
14475         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14476         to global scope.
14477         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14478         addresses are in the same scope as 192.0.2/24.
14479         * posix/gai.conf: Document new scope table defaults.
14481 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14483         [BZ #5298]
14484         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14485         for ftell.  Compute offsets from write pointers instead.
14486         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14488 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14490         [BZ #14543]
14491         * libio/Makefile (tests): New test case tst-fseek.
14492         * libio/tst-fseek.c: New test case to verify that fseek/ftell
14493         combination works in wide mode.
14494         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14495         state when the external buffer state changes.
14497 2012-09-27  David S. Miller  <davem@davemloft.net>
14499         [BZ #14376]
14500         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14501         pass reloc->r_addend in as the 'high' argument to
14502         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14506 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14508         * rt/tst-aio2.c: Include <pthread.h>.
14509         * rt/tst-aio3.c: Likewise.
14511 2012-09-27  Steve Ellcey  <sellcey@mips.com>
14513         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14515 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
14517         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14518         contents on [SHARED].
14520 2012-09-26  Marek Polacek  <polacek@redhat.com>
14522         [BZ #14530]
14523         [BZ #13741]
14524         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14525         for C++ and GCC <4.3 as well as for non GCC compilers.
14527 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
14529         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14531 2012-09-25  Roland McGrath  <roland@hack.frob.com>
14533         * Makefile.in (all, install): Declare with .PHONY.
14534         Reported by Michael Hope <michael.hope@linaro.org>.
14536 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14538         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14539         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14540         system header.
14541         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14542         Likewise.
14543         (sydep_routines): Add the new and the internal functions.
14544         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14545         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14547         (GLIBC_2.17): Add the new function.
14548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14549         (GLIBC_2.17): Likewise.
14550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14551         (GLIBC_2.17): Likewise.
14552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14553         (GLIBC_2.17): Likewise.
14554         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14556 2012-09-25  Alan Modra  <amodra@gmail.com>
14558         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14559         Add release barrier before setting once_control to say
14560         initialisation is done.  Add hints on lwarx.  Use macro in
14561         place of isync.
14562         (clear_once_control): Add release barrier.
14564 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
14566         [BZ #13629]
14567         * math/s_clog.c (__clog): Handle more values close to |z| = 1
14568         specially.
14569         * math/s_clog10.c (__clog10): Likewise.
14570         * math/s_clog10f.c (__clog10f): Likewise.
14571         * math/s_clog10l.c (__clog10l): Likewise.
14572         * math/s_clogf.c (__clogf): Likewise.
14573         * math/s_clogl.c (__clogl): Likewise.
14574         * math/Makefile (libm-calls): Add x2y2m1.
14575         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14576         (__x2y2m1): Likewise.
14577         (__x2y2m1l): Likewise.
14578         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14579         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14580         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14581         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14582         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14583         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14584         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14585         * sysdeps/i386/fpu/libm-test-ulps: Update.
14586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14588         [BZ #14621]
14589         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14590         int as type of variable DEPTH.
14591         (glob): Use size_t instead of int as type of variables NEWCOUNT
14592         and OLD_PATHC.
14594 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14596         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14597         Add s_sincosf-sse2.
14598         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14599         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14600         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14601         macros for using routine as __sincosf_ia32.
14602         Use macro for function declaration and weak_alias.
14603         * sysdeps/i386/fpu/libm-test-ulps: Update.
14605         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14606         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14608         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14609         subnormal argument.
14610         * math/s_cexpf.c (__cexpf): Likewise.
14611         * math/s_csinf.c (__csinf): Likewise.
14612         * math/s_csinhf.c (__csinhf): Likewise.
14613         * math/s_ctanf.c (__ctanf): Likewise.
14614         * math/s_ctanhf.c (__ctanhf): Likewise.
14615         * math/s_ccosh.c (__ccoshf): Likewise.
14616         * math/s_cexp.c (__cexpl): Likewise.
14617         * math/s_csin.c (__csin): Likewise.
14618         * math/s_csinh.c (__csinh): Likewise.
14619         * math/s_ctan.c (__ctan): Likewise.
14620         * math/s_ctanh.c (ctanh): Likewise.
14621         * math/s_ccoshl.c (__ccoshl): Likewise.
14622         * math/s_cexpl.c (__cexpl): Likewise.
14623         * math/s_csinl.c (__csinl): Likewise.
14624         * math/s_csinhl.c (__csinhl): Likewise.
14625         * math/s_ctanl.c (__ctanl): Likewise.
14626         * math/s_ctanhl.c (__ctanhl): Likewise.
14628 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
14630         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14631         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14632         (_IO_off_t): Define to __off_t, not _G_off_t.
14633         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14634         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14635         (_IO_wint_t): Define to wint_t, not _G_wint_t.
14636         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14637         type of __dummy and __dummy2 fields.
14638         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14639         (_G_ssize_t): Likewise.
14640         (_G_off_t): Likewise.
14641         (_G_pid_t): Likewise.
14642         (_G_uid_t): Likewise.
14643         (_G_wchar_t): Likewise.
14644         (_G_wint_t): Likewise.
14645         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14646         (_G_ssize_t): Likewise.
14647         (_G_off_t): Likewise.
14648         (_G_pid_t): Likewise.
14649         (_G_uid_t): Likewise.
14650         (_G_wchar_t): Likewise.
14651         (_G_wint_t): Likewise.
14652         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14653         (_G_ssize_t): Likewise.
14654         (_G_off_t): Likewise.
14655         (_G_pid_t): Likewise.
14656         (_G_uid_t): Likewise.
14657         (_G_wchar_t): Likewise.
14658         (_G_wint_t): Likewise.
14660 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14662         * malloc/arena.c: Include malloc-sysdep.h.
14663         (shrink_heap): Use check_may_shrink_heap to decide if madvise
14664         is sufficient to shrink the heap or an unmap is needed.
14665         * sysdeps/generic/malloc-sysdep.h: New file.  Define
14666         new function check_may_shrink_heap.
14667         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
14668         new function check_may_shrink_heap.
14670 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14672         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14673         comments.
14675 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
14677         * catgets/test-gencat.sh: Add "set -e".
14678         * elf/tst-pathopt.sh: Likewise.
14679         * grp/tst_fgetgrent.sh: Likewise.
14680         * iconvdata/run-iconv-test.sh: Likewise.
14681         * intl/tst-gettext.sh: Likewise.
14682         * intl/tst-gettext2.sh: Likewise.
14683         * intl/tst-gettext4.sh: Likewise.
14684         * intl/tst-gettext6.sh: Likewise.
14685         * intl/tst-translit.sh: Likewise.
14686         * io/ftwtest-sh: Likewise.
14687         * libio/test-freopen.sh: Likewise.
14688         * malloc/tst-mtrace.sh: Likewise.
14689         * posix/globtest.sh: Likewise.
14690         * posix/tst-getconf.sh: Likewise.
14691         * posix/wordexp-tst.sh: Likewise.
14692         * stdio-common/tst-printf.sh: Likewise.
14693         * stdio-common/tst-unbputc.sh: Likewise.
14694         * stdlib/tst-fmtmsg.sh: Likewise.
14695         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14696         * catgets/Makefile: Do not specify -e option when running
14697         testsuite shell scripts.
14698         * elf/Makefile: Likewise.
14699         * grp/Makefile: Likewise.
14700         * iconvdata/Makefile: Likewise.
14701         * intl/Makefile: Likewise.
14702         * io/Makefile: Likewise.
14703         * libio/Makefile: Likewise.
14704         * malloc/Makefile: Likewise.
14705         * posix/Makefile: Likewise.
14706         * stdio-common/Makefile: Likewise.
14707         * stdlib/Makefile: Likewise.
14708         * sysdeps/x86_64/Makefile: Likewise.
14710         * io/ftwtest-sh: Add copyright header.
14711         * posix/globtest.sh: Likewise.
14712         * posix/tst-getconf.sh: Likewise.
14713         * posix/wordexp-tst.sh: Likewise.
14714         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14716 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
14718         [BZ #13679]
14719         * Makeconfig (+link): Defined as $(+link-static) if
14720         $(build-shared) isn't yes.
14721         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14722         isn't yes.
14723         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14725         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14727         [BZ #14562]
14728         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14729         new chunk size with MALLOC_ALIGN_MASK.
14731 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
14733         [BZ #5044]
14734         * stdio-common/printf_fphex.c: Include <stdbool.h> and
14735         <rounding-mode.h>.
14736         (__printf_fphex): Determine rounding using get_rounding_mode and
14737         round_away.
14738         * stdio-common/tst-printf-round.c (struct hex_test): New
14739         structure.
14740         (hex_tests): New variable.
14741         (test_hex_in_one_mode): New function.
14742         (do_test): Also run tests for hex float output.
14744 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
14746         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14747         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14748         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14749         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14750         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14751         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14752         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14753         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14755 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
14757         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14758         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14759         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14760         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14762 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
14764         [BZ #14579]
14765         * elf/rtld.c (dl_main): Limit the check for self loading to normal
14766         mode only.
14767         * elf/tst-rtld-load-self.sh: New test.
14768         * elf/Makefile: Run it.
14770 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
14772         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14773         (tst-writev-ENV): Remove.
14774         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14776 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
14778         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14780 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
14782         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14783         unconditional.
14784         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14785         Likewise.
14786         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14787         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14788         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14789         Likewise.
14791 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
14793         [BZ #14587]
14794         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14795         * config.make.in (have-cpp-asm-debuginfo): Removed.
14796         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14797         * configure: Regenerated.
14799 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
14801         [BZ #5044]
14802         * stdio-common/printf_fp.c: Include <stdbool.h> and
14803         <rounding-mode.h>.
14804         (___printf_fp): Determine rounding using get_rounding_mode and
14805         round_away.
14806         * stdio-common/tst-printf-round.c: New file.
14807         * stdio-common/Makefile (tests): Add tst-printf-round.
14808         (link-libm): New variable.
14809         ($(objpfx)tst-printf-round): Depend in $(link-libm).
14811 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
14813         [BZ #14576]
14814         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14815         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14816         Likewise.
14817         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14818         Likewise.
14820 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
14822         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14823         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14824         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14825         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14827 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
14829         [BZ #14518]
14830         * include/rounding-mode.h: New file.
14831         * sysdeps/generic/get-rounding-mode.h: Likewise.
14832         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14833         * stdlib/strtod_l.c: Include <rounding-mode.h>.
14834         (MAX_VALUE): New macro.
14835         (MIN_VALUE): Likewise.
14836         (overflow_value): New function.
14837         (underflow_value): Likewise.
14838         (round_and_return): Use overflow_value and underflow_value to
14839         determine return values in overflow and underflow cases.  Use
14840         round_away to determine rounding depending on rounding mode.
14841         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14842         determine return values in overflow and underflow cases.
14843         * stdlib/tst-strtod-round.c: Include <fenv.h>.
14844         (struct test_results): New structure.
14845         (struct test): Use struct test_results to store expected results
14846         for all rounding modes.
14847         (TEST): Include expected results for all rounding modes.
14848         (test_in_one_mode): New function.
14849         (do_test): Use test_in_one_mode to compute and check results.
14850         Check results for all rounding modes.
14851         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14852         $(link-libm).
14854 2012-12-09  Allan McRae  <allan@archlinux.org>
14856         * sysdeps/i386/fpu/libm-test-ulps: Update
14858 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
14860         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14861         (_G_int32_t): Likewise.
14862         (_G_uint16_t): Likewise.
14863         (_G_uint32_t): Likewise.
14864         (_G_HAVE_BOOL): Likewise.
14865         (_G_HAVE_ATEXIT): Likewise.
14866         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14867         (_G_HAVE_IO_FILE_OPEN): Likewise.
14868         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14869         (_G_int32_t): Likewise.
14870         (_G_uint16_t): Likewise.
14871         (_G_uint32_t): Likewise.
14872         (_G_HAVE_BOOL): Likewise.
14873         (_G_HAVE_ATEXIT): Likewise.
14874         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14875         (_G_HAVE_IO_FILE_OPEN): Likewise.
14876         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14877         (_G_int32_t): Likewise.
14878         (_G_uint16_t): Likewise.
14879         (_G_uint32_t): Likewise.
14880         (_G_HAVE_BOOL): Likewise.
14881         (_G_HAVE_ATEXIT): Likewise.
14882         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14883         (_G_HAVE_IO_FILE_OPEN): Likewise.
14885 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
14887         * csu/libc-tls.c: Update copyright years.
14889 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
14891         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14892         [!_G_USING_THUNKS]: Remove conditional code.
14893         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14894         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14896         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14897         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14898         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14899         (_G_VTABLE_LABEL_PREFIX): Likewise.
14900         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14901         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14902         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14903         (_G_VTABLE_LABEL_PREFIX): Likewise.
14904         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14905         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14906         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14907         (_G_VTABLE_LABEL_PREFIX): Likewise.
14908         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14910 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
14912         * libio/Makefile: Include ../Makeconfig before tests.
14913         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14914         only if $(build-shared) is yes.
14916         * iconv/gconv_db.c: Update copyright years.
14918 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14920         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14921         unwind info if defined PIC. Fix special cases description.
14922         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14924         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14925         DP_HI_MASK entry.
14926         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14928 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
14930         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14932         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14933         is NULL.
14935         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14936         (LDLIBS-tst-chk4): This.
14937         (LDFLAGS-tst-chk5): Renamed to ...
14938         (LDLIBS-tst-chk5): This.
14939         (LDFLAGS-tst-chk6): Renamed to ...
14940         (LDLIBS-tst-chk6): This.
14941         (LDFLAGS-tst-lfschk4): Renamed to ...
14942         (LDLIBS-tst-lfschk4): This.
14943         (LDFLAGS-tst-lfschk5): Renamed to ...
14944         (LDLIBS-tst-lfschk5): This.
14945         (LDFLAGS-tst-lfschk6): Renamed to ...
14946         (LDLIBS-tst-lfschk6): This.
14948         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14949         on $(common-objpfx)soversions.mk.
14951 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
14953         [BZ #10014]
14954         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14955         example host name.
14957 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14959         * malloc/arena.c (arena_get_retry): New function that gets
14960         another arena for the caller to try its request on.
14961         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14962         current arena cannot fulfill the request.
14963         (__libc_memalign): Likewise.
14964         (__libc_memalign): Likewise.
14965         (__libc_pvalloc): Likewise.
14966         (__libc_calloc): Likewise.
14968 2012-09-05  John Tobey  <john.tobey@gmail.com>
14970         [BZ #13542]
14971         * manual/arith.texi (Operations on Complex): Fix description
14972         of carg branch cut.
14974 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14976         [BZ #10014]
14977         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14978         host name.
14980         [BZ #10038]
14981         * manual/memory.texi (Memory): Make order of menu items match
14982         order of sections.
14984 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14986         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14987         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
14988         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14990 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14992         * csu/libc-tls.c (static_dtv): Renamed to ...
14993         (_dl_static_dtv): This.  Make it global.
14994         (_dl_initial_dtv): Removed.
14995         (__libc_setup_tls): Updated.
14996         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14997         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14998         DL_INITIAL_DTV.
15000 2012-09-06  Petr Machata  <pmachata@redhat.com>
15002         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15003         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15004         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15005         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15007 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15009         [BZ #14545]
15010         * csu/libc-tls.c (_dl_initial_dtv): New variable.
15011         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15012         freeing dtv[-1].
15014 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15016         [BZ #14544]
15017         * Makeconfig (link-static-before-libc): Replace $(+prector)
15018         with $(+prectorT).
15019         (link-static-after-libc): Replace $(+postctor) with
15020         $(+postctorT).
15021         (link-bounded): Replace $(+prector)/$(+postctor) with
15022         $(+prectorT)/$(+postctorT).
15023         (+prectorT): New macro.
15024         (+postctorT): Likewise.
15026 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15028         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15029         (round_str): Handle values above the maximum for IBM long double
15030         as inexact.
15031         * stdlib/tst-strtod-round.c (tests): Regenerated.
15033 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15035         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15036         assembler flag.
15037         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15038         zarch_nohighgprs around the zarch optimized routines.
15039         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15040         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15041         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15042         for zarch.
15044 2012-09-05  David S. Miller  <davem@davemloft.net>
15046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15048         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15049         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15050         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15051         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15052         entries.
15054 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15056         * malloc/arena.c: Fold copyright years.
15057         * malloc/mcheck.c, malloc/memusage.c: Likewise.
15059 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15061         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15063 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15065         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
15067 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15069         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15070         change internal state upon failure.
15072 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15074         * malloc/mcheck.c (mcheck_check_all): Fix typo.
15075         * malloc/memusage.c (mmap): Likewise.
15076         (mmap64, mremap): Likewise.  Adjust name in comment.
15078 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15080         * libio/fileops.c: Fix typos in comments.
15081         * libio/oldfileops.c: Likewise.
15082         * libio/wfileops.c: Likewise.
15084 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15086         [BZ #1349]
15087         * malloc/Makefile (tests): Add tst-malloc-usable test case.
15088         (tst-malloc-usable-ENV): Set environment for test case.
15089         * malloc/hooks.c (malloc_check_get_size): New function to get
15090         requested size.
15091         * malloc/malloc.c (musable): Use malloc_check_get_size.
15092         * malloc/tst-malloc-usable.c: New test case.
15094 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15096         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15098 2012-09-05  Allan McRae  <allan@archlinux.org>
15100         [BZ #13966]
15101         * configure.in (CXX_SYSINCLUDES): Use compiler output to
15102         determine header location.
15103         * configure: Regenerated.
15105 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15107         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15108         float format.
15109         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15110         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15111         format.
15112         (test): Regenerate.
15114 2012-09-04  David S. Miller  <davem@davemloft.net>
15116         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15117         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15118         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15120 2012-09-04  Florian Weimer  <fweimer@redhat.com>
15122         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15123         failures.
15125         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15127 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
15129         [BZ #9914]
15130         * libio/iogetdelim.c: Include <limits.h>.
15131         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15132         + len + 1 would overflow.
15134 2012-09-03  Andreas Jaeger  <aj@suse.de>
15136         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15137         * sysdeps/i386/fpu/libm-test-ulps: Update.
15139 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15141         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15142         Add s_sinf-sse2, s_conf-sse2.
15144         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15145         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15146         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15147         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15149         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15150         for using routine as __sinf_ia32.
15151         Use macro for function declaration and weak_alias.
15152         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15153         for using routine as __cosf_ia32.
15154         Use macro for function declaration and weak_alias.
15156         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15157         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15159         * sysdeps/x86_64/fpu/s_sinf.S: New file.
15160         * sysdeps/x86_64/fpu/s_cosf.S: New file.
15161         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15163         * math/libm-test.inc (cos_test): Add more test cases.
15164         (sin_test): Likewise.
15165         (sincos_test): Likewise.
15167 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15169         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15170         (IFUNC_RESOLVE): Make pointers to the specialized implementations
15171         hidden.
15172         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15174 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
15176         [BZ #14538]
15177         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15178         first element of the GOT.
15179         (elf_machine_load_address): Return the difference between
15180         the runtime address of _DYNAMIC and elf_machine_dynamic ().
15182 2012-09-01  Allan McRae  <allan@archlinux.org>
15184         [BZ #13412]
15185         * configure.in (AWK): Require gawk version 3.0 or later.
15186         * configure: Regenerated.
15188 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
15190         * sysdeps/unix/sysv/linux/kernel-features.h
15191         (__ASSUME_POSIX_CPU_TIMERS): Remove.
15192         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15193         [__NR_clock_getres]: Make code unconditional.
15194         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15195         (clock_getcpuclockid): Remove code left unreachable by removal of
15196         conditionals.
15197         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15198         code unconditional.
15199         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15200         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15201         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15202         Make code unconditional.
15203         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15204         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15205         * sysdeps/unix/sysv/linux/clock_settime.c
15206         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15207         conditional code.
15208         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15209         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15211 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
15213         [BZ #14476]
15214         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15215         scripts/test-installation.pl.
15217         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15218         and $ld_so_version if it is set.
15220 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15222         [BZ #14516]
15223         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15224         failure if reading from procfs failed.
15225         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15227 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15229         * sysdeps/unix/sysv/linux/kernel-features.h
15230         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15231         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15232         Remove conditional code.
15233         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15234         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15235         Remove conditional code.
15236         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15237         * sysdeps/unix/sysv/linux/i386/fxstat.c
15238         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15239         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15240         * sysdeps/unix/sysv/linux/i386/fxstatat.c
15241         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15242         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15243         * sysdeps/unix/sysv/linux/i386/lxstat.c
15244         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15245         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15246         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15247         Remove conditional code.
15248         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15249         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15250         Remove conditional code.
15251         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15252         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15253         <kernel-features.h>.
15254         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15255         Remove.
15256         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15257         Remove conditional code.
15258         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15259         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15260         Remove conditional.
15262 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
15264         [BZ #5400]
15265         * NEWS: Add fixed bug number.
15267 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15269         [BZ #14519]
15270         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15271         underflowing exponent in case of negative sign.
15272         * stdlib/tst-strtod-round-data: Add more tests.
15273         * stdlib/tst-strtod-round.c (tests): Regenerated.
15275         [BZ #3479]
15276         * stdlib/strtod_l.c (NDIG): Remove.
15277         (HEXNDIG): Likewise.
15278         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15279         smallest representable value.
15280         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15281         lie within an exact representation of 1/2 ulp of the result.
15282         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15283         unconditionally.
15284         (TENS_P9_IDX): Define unconditionally.
15285         (TENS_P9_SIZE): Likewise.
15286         (TENS_P10_IDX): Likewise.
15287         (TENS_P10_SIZE): Likewise.
15288         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15289         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15290         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15291         entries for 10^2^13 and 10^2^14.
15292         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15293         (TENS_P13_IDX): Define.
15294         (TENS_P13_SIZE): Likewise.
15295         (TENS_P14_IDX): Likewise.
15296         (TENS_P14_SIZE): Likewise.
15297         (_fpioconst_pow10): Change array size to
15298         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
15299         unconditional.
15300         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15301         1024]: Add entries for 10^2^13 and 10^2^14.
15302         [LAST_POW10 > _LAST_POW10]: Remove #error.
15303         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15304         (_fpioconst_pow10): Change array size to
15305         FPIOCONST_POW10_ARRAY_SIZE.
15306         * stdlib/gen-fpioconst.c: New file.
15307         * stdlib/gen-tst-strtod-round.c: Likewise.
15308         * stdlib/tst-strtod-round-data: Likewise.
15309         * stdlib/tst-strtod-round.c: Likewise.
15310         * stdlib/Makefile (tests): Add tst-strtod-round.
15312         [BZ #14459]
15313         * stdlib/strtod_l.c: Include <stdint.h>.
15314         (NDEBUG): Do not define.
15315         (round_and_return): Change EXPONENT parameter to type intmax_t.
15316         Rearrange calculations to avoid internal overflow possibilities.
15317         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15318         Rearrange calculations to avoid internal overflow possibilities.
15319         Assert that number fits inside MPNSIZE limbs.
15320         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15321         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
15322         calculations and add assertions to avoid internal overflow
15323         possibilities.  Add casts to avoid signed/unsigned operations.
15324         * stdlib/tst-strtod-overflow.c: New file.
15325         * stdlib/Makefile (tests): Add tst-strtod-overflow.
15327 2012-08-25  Marek Polacek  <polacek@redhat.com>
15329         * time/time.h: Fix some typos in comments.
15331 2012-08-23  Roland McGrath  <roland@hack.frob.com>
15333         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15334         * posix/tst-rfc3484-2.c: Likewise.
15335         * posix/tst-rfc3484-3.c: Likewise.
15337 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
15339         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15340         (EF_ARM_ABI_FLOAT_HARD): Likewise.
15342 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
15344         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15345         #include of fxstatat64.c.
15347 2012-08-22  Roland McGrath  <roland@hack.frob.com>
15349         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15350         * shadow/getspent_r.c: Likewise.
15351         * shadow/getspnam.c: Likewise.
15352         * shadow/getspnam_r.c: Likewise.
15353         * gshadow/getsgent.c: Likewise.
15354         * gshadow/getsgent_r.c: Likewise.
15355         * gshadow/getsgnam.c: Likewise.
15356         * gshadow/getsgnam_r.c: Likewise.
15357         * inet/getnetbyad.c: Likewise.
15358         * inet/getnetbyad_r.c: Likewise.
15359         * inet/getnetbynm.c: Likewise.
15360         * inet/getnetbynm_r.c: Likewise.
15361         * inet/getnetent.c: Likewise.
15362         * inet/getnetent_r.c: Likewise.
15363         * inet/getproto.c: Likewise.
15364         * inet/getproto_r.c: Likewise.
15365         * inet/getprtent.c: Likewise.
15366         * inet/getprtent_r.c: Likewise.
15367         * inet/getprtname.c: Likewise.
15368         * inet/getprtname_r.c: Likewise.
15369         * inet/getrpcbyname.c: Likewise.
15370         * inet/getrpcbyname_r.c: Likewise.
15371         * inet/getrpcbynumber.c: Likewise.
15372         * inet/getrpcbynumber_r.c: Likewise.
15373         * inet/getrpcent.c: Likewise.
15374         * inet/getrpcent_r.c: Likewise.
15375         * inet/getaliasent.c: Likewise.
15376         * inet/getaliasent_r.c: Likewise.
15377         * inet/getaliasname.c: Likewise.
15378         * inet/getaliasname_r.c: Likewise.
15379         * nscd/getgrgid_r.c: Likewise.
15380         * nscd/getgrnam_r.c: Likewise.
15381         * nscd/gethstbyad_r.c: Likewise.
15382         * nscd/gethstbynm3_r.c: Likewise.
15383         * nscd/getpwnam_r.c: Likewise.
15384         * nscd/getpwuid_r.c: Likewise.
15385         * nscd/getsrvbynm_r.c: Likewise.
15386         * nscd/getsrvbypt_r.c: Likewise.
15387         * nscd/gai.c: Likewise.
15389         * configure.in (build_nscd): New substituted variable, set
15390         by --disable-build-nscd and defaults to $use_nscd.
15391         * configure: Regenerated.
15392         * config.make.in (build-nscd): New substituted variable.
15393         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15394         Change conditional to require [$(build-nscd) = yes] as well.
15395         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15397         [BZ# 13696]
15398         * configure.in (use_nscd): New substituted variable, set by
15399         --disable-nscd.  If enabled, define USE_NSCD.
15400         * configure: Regenerated.
15401         * config.h.in: Add USE_NSCD.
15402         * config.make.in (use-nscd): New substituted variable.
15403         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15404         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15405         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15406         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15407         (CFLAGS-getgrnam_r.c): Likewise.
15408         (CFLAGS-initgroups.c): Likewise.
15409         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15410         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15411         Variables removed.
15412         * inet/getnetgrent_r.c
15413         (nscd_setnetgrent): New function, broken out of ...
15414         (setnetgrent): ... here.  Call it.
15415         (innetgr): Conditionalize nscd bits on [USE_NSCD].
15416         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15417         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15418         * nscd/Makefile (routines, aux): Move definitions after include of
15419         Makeconfig.  Conditionalize on [$(use-nscd) != no].
15420         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15421         Conditionalize on [USE_NSCD].
15422         (is_nscd, nscd_init_cb): Likewise.
15423         (nss_load_library): Conditionalize init callback on [USE_NSCD].
15424         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15425         * nss/nss_db/db-init.c: Likewise.
15426         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15427         [USE_NSCD].
15428         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15429         (make_request): Use it.
15430         (cache_valid_p): New function.
15431         (__check_pf): Use it.
15432         * NEWS: Add item for --disable-nscd.
15434 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
15436         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15437         to support sed >= 4.2.1-20-ga9bf076.
15438         * configure: Regenerated.
15440 2012-08-22  Roland McGrath  <roland@hack.frob.com>
15442         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15443         Conditionalize whole body on [IREL].
15445 2012-08-22  Jeff Law <law@redhat.com>
15447         [BZ #14505]
15448         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15449         if the family is PF_UNSPEC.
15451 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
15453         * Makerules (lib-version): Rename from V.
15454         (install-lib-nosubdir): Change V to lib-version.
15456 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
15458         [BZ #14252]
15459         * powerpc32/power6/wcschr.c: New file.
15460         * powerpc32/power6/wcscpy.c: New file.
15461         * powerpc32/power6/wcsrchr.c: New file.
15462         * powerpc64/power6/wcschr.c: New file.
15463         * powerpc64/power6/wcscpy.c: New file.
15464         * powerpc64/power6/wcsrchr.c: New file.
15466 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15468         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15469         (two_way_short_needle): Use it.
15470         * string/strstr.c (AVAILABLE1_USES_J): Define.
15471         * string/strcasestr.c: Likewise.
15473         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15474         array references.
15475         * string/strcasestr.c (TOLOWER): Make side-effect safe.
15477         [BZ #11607]
15478         * NEWS: Add an entry.
15479         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15480         define their defaults.
15481         (two_way_short_needle): Detect end-of-string on-the-fly.
15482         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15483         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15484         * string/bug-strcasestr1.c: New test.
15485         * string/Makefile: Run it.
15487 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15489         [BZ #11607]
15490         * string/str-two-way.h (two_way_short_needle): Optimize matching of
15491         the first character.
15493 2012-08-21  Roland McGrath  <roland@hack.frob.com>
15495         * csu/elf-init.c (__libc_csu_irel): Function removed.
15496         * csu/libc-start.c (apply_irel): New function.
15497         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15499 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
15501         * sysdeps/unix/sysv/linux/kernel-features.h
15502         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15503         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15504         <kernel-features.h>.
15505         [__NR_fadvise64_64]: Make code unconditional.
15506         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15507         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15508         !__NR_fadvise64_64)]: Likewise.
15509         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15510         !__NR_fadvise64_64))]: Likewise.
15511         [__NR_fadvise64]: Make code unconditional.
15512         [!__NR_fadvise64]: Remove conditional code.
15513         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15514         <kernel-features.h>.
15515         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15516         unconditional.
15517         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15518         conditional code.
15519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15520         not include <kernel-features.h>.
15521         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15522         unconditional.
15523         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15524         conditional code.
15525         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15526         include <kernel-features.h>.
15527         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15528         unconditional.
15529         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15530         conditional code.
15532 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
15534         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15535         slight instruction rearrangements per scrollpipe analysis.
15536         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15538 2012-08-20  Roland McGrath  <roland@hack.frob.com>
15540         * manual/syslog.texi (syslog; vsyslog, closelog):
15541         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15542         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15544         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15545         DSOCAPS to match condition on defining it.
15547 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
15549         * sysdeps/unix/sysv/linux/kernel-features.h
15550         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15552         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15553         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15555         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15556         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15558         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15559         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15561         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15562         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15564         * sysdeps/unix/sysv/linux/kernel-features.h
15565         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15566         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15567         unconditional.
15568         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15569         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15570         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15571         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15572         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15573         Make code unconditional.
15574         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15575         (__mmap64) [!__NR_mmap2]: Likewise.
15576         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15577         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15578         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15579         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15580         [__NR_mmap2]: Make code unconditional.
15581         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15582         (__mmap64) [!__NR_mmap2]: Likewise.
15584 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15586         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15588 2012-08-18  Andreas Jaeger  <aj@suse.de>
15590         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15592 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
15594         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15595         * include/unistd.h (__have_sock_cloexec): Likewise.
15596         (__have_pipe2): Likewise.
15597         (__have_dup3): Likewise.
15599 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
15601         [BZ #9685]
15602         * include/unistd.h (__have_pipe2): Change define into an extern int.
15603         (__have_dup3): Likewise.
15604         * socket/have_sock_cloexec.c: Include fcntl.h.
15605         (__have_pipe2): New variable.
15606         (__have_dup3): Likewise.
15608 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
15610         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15612 2012-08-17  Marek Polacek  <polacek@redhat.com>
15614         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15615         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15617 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15619         * configure.in: Add AC_SUBST for sysheaders.
15620         * configure: Regenerated.
15621         * config.make.in (sysheaders): New substituted variable.
15623         * sysdeps/unix/mkfifo.c: Moved ...
15624         * sysdeps/posix/mkfifo.c: ... here.
15625         * sysdeps/unix/mkfifoat.c: Moved ...
15626         * sysdeps/posix/mkfifoat.c: ... here.
15628         * sysdeps/unix/utime.c: Moved ...
15629         * sysdeps/posix/utime.c: ... here.
15631         * sysdeps/unix/time.c: Moved ...
15632         * sysdeps/posix/time.c: ... here.
15633         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15634         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15636         * sysdeps/unix/nice.c: Moved ...
15637         * sysdeps/posix/nice.c: ... here.
15639         * sysdeps/unix/alarm.c: Moved ...
15640         * sysdeps/posix/alarm.c: ... here.
15642         * intl/Makefile ($(codeset_mo)): Depend on the input file.
15644 2012-08-17  Jeff Law <law@redhat.com>
15646         * intl/Makefile (codeset_mo): New variable.
15647         ($(codeset_mo)): New target.
15648         (tst-codeset.out): Depend on that.  Remove explicit rule.
15649         (tst-gettext3.out, tst-gettext5.out): Likewise.
15650         (LOCPATH-ENV, tst-codeset-ENV): New variables.
15651         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15652         * intl/tst-codeset.sh: Remove.
15653         * intl/tst-gettext3.sh: Likewise.
15654         * intl/tst-gettext5.sh: Likewise.
15656 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15658         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
15659         * sysdeps/unix/syscalls.list: ... here.
15661         * sysdeps/posix/getaddrinfo.c
15662         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15663         (gaiconf_init, gaiconf_reload): Use them.
15664         [!_STATBUF_ST_NSEC]
15665         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15666         Define using time_t rather than struct timespec.
15668         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15669         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15670         Macros removed.
15671         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15672         [!NO_THREADS].
15673         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15674         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15675         Likewise.
15677         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15678         __libc_cleanup_push argument.
15680         * bits/param.h: New file.
15681         * misc/sys/param.h: New file.
15682         * include/sys/param.h: New file.
15683         * misc/Makefile (headers): Add bits/param.h.
15684         * sysdeps/generic/sys/param.h: File removed.
15685         * sysdeps/unix/sysv/linux/bits/param.h: New file.
15686         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15687         * sysdeps/mach/hurd/bits/param.h: New file.
15688         * sysdeps/mach/hurd/sys/param.h: File removed.
15690         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15691         last change.
15693         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15694         [_IO_MTSAFE_IO].
15695         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15696         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15697         New macros.
15699         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15700         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15701         rather than -D_IO_MTSAFE_IO conditionally.
15702         * stdio-common/Makefile (CPPFLAGS): Likewise.
15703         * wcsmbs/Makefile (CPPFLAGS): Likewise.
15704         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15705         Use $(libio-mtsafe).
15706         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15707         of -D_IO_MTSAFE_IO.
15708         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15709         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15710         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15711         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15712         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15713         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15714         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15715         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15716         (CFLAGS-fread_u_chk.c): Likewise.
15717         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15718         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15719         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15720         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15721         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15722         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15723         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15724         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15725         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15727         * libio/Makefile: Test [$(libc-reentrant) = yes]
15728         instead of [$(filter %REENTRANT, $(defines)) nonempty].
15730         * Makeconfig
15731         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15732         * sysdeps/pthread/configure: File removed.
15733         * sysdeps/pthread/Makeconfig: New file.
15734         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15735         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15737 2012-08-16  Gary Benson  <gbenson@redhat.com>
15739         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15740         unmapping the first object in a namespace.
15742 2012-08-16  Roland McGrath  <roland@hack.frob.com>
15744         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15745         (__internal_setnetgrent): ... this.  Add internal_function to
15746         definition.  Add libc_hidden_def.
15747         (setnetgrent): Update caller.
15748         (internal_endnetgrent): Renamed to ...
15749         (__internal_endnetgrent): ... this.  Add internal_function to
15750         definition.  Add libc_hidden_def.
15751         (endnetgrent): Update caller.
15752         (internal_getnetgrent_r): Renamed to ...
15753         (__internal_getnetgrent_r): ... this.  Add internal_function to
15754         definition.  Add libc_hidden_def.
15755         (__getnetgrent_r): Update caller.
15756         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
15758 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
15760         * stdlib/longlong.h: Update from GCC.
15762 2012-08-16  Roland McGrath  <roland@hack.frob.com>
15764         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15765         on _QL, which is set by umul_ppmm but never used.
15766         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15767         variables, which are set by GMP macros but never used.
15768         * stdio-common/_itowa.c (_itowa): Likewise.
15769         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15770         * stdlib/mod_1.c (mpn_mod_1): Likewise.
15772 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
15774         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15775         struct La_sh_regs is not constant.
15776         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15777         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15778         and struct La_sparc64_regs are not constant.
15780 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
15782         * sysdeps/unix/sysv/linux/kernel-features.h
15783         (__ASSUME_POSIX_TIMERS): Remove.
15784         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15785         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15786         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15787         Make code unconditional.
15788         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15789         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15790         Make code unconditional.
15791         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15792         * sysdeps/unix/sysv/linux/clock_nanosleep.c
15793         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15794         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15795         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15796         Make code unconditional.
15797         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15798         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15799         (__libc_missing_posix_timers): Remove.
15801 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15803         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15804         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15806         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15808         * elf/dl-sym.c: Include <stdlib.h>.
15810         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15811         constants, which avoids warnings in 32-bit builds.
15813         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15814         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15816         * misc/lseek.c: File moved to ...
15817         * io/lseek.c: ... here.
15819         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15821         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15822         shifting LEN more than 31 bits at once.
15824 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15826         [BZ #14195]
15827         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15828         segmentation fault for a case of two empty input strings.
15829         * string/test-strncasecmp.c (check1): Renamed to...
15830         (bz12205): ...this.
15831         (bz14195): Add new testcase for two empty input strings and N > 0.
15832         (test_main): Call new testcase, adapt for renamed function.
15834 2012-08-15  Andreas Jaeger  <aj@suse.de>
15836         [BZ #14090]
15837         * crypt/md5test2.c: New test, based on test supplied by Serge
15838         Belyshev <belyshev@depni.sinp.msu.ru>.
15839         * crypt/Makefile (xtests): Add md5test-giant..
15840         * crypt/Makefile ($(objpfx)md5test-giant): Add.
15842 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
15844         [BZ #14090]
15845         * crypt/md5.c (md5_process_block): Don't assume the buffer
15846         length is less than 2**32.
15847         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15848         length is less than 2**64.
15850 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15852         * string/str-two-way.h: Include <sys/param.h>.
15853         (MAX): Macro removed.
15855         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15856         Move #define and #undef of memmove to just before and after
15857         including <string.h>.
15859         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15860         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15861         and after including <string.h>.  Move declarations of
15862         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15863         to before #include "string/memmove.c".
15865         * include/dirent.h: Declare __getdirentries.
15867         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15868         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15870 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
15872         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15873         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15874         * sysdeps/i386/configure: Regenerated.
15875         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15876         STABS_CURRENT_FILE, and STABS_FUN.
15877         (END): Remove call to STABS_FUN_END.
15878         (STABS_CURRENT_FILE1): Delete.
15879         (STABS_CURRENT_FILE): Likewise.
15880         (STABS_FUN): Likewise.
15881         (STABS_FUN_END): Likewise.
15882         (STABS_FUN2): Likewise.
15883         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15884         * sysdeps/x86_64/configure: Regenerated.
15886 2012-08-14  Roland McGrath  <roland@hack.frob.com>
15888         * elf/dl-open.c: Include <atomic.h>.
15889         * elf/dl-lookup.c: Likewise.
15891 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
15893         * sysdeps/unix/sysv/linux/kernel-features.h
15894         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15895         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15896         unconditionally.
15897         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15898         unconditionally.
15899         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15900         condition on __ASSUME_CLONE_THREAD_FLAGS.
15902 2012-08-14  Andreas Jaeger  <aj@suse.de>
15904         * sysdeps/i386/fpu/libm-test-ulps: Update.
15906 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
15908         * include/atomic.h (atomic_exchange_and_add): Split into ...
15909         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15910         New atomic macros.
15912 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
15914         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15916 2012-08-13  Jeff Law <law@redhat.com>
15918         * manual/stdio.texi (snprintf): Clarify handling of the trailing
15919         null byte in the output string.
15921 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
15923         * sysdeps/unix/sysv/linux/kernel-features.h
15924         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15925         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15926         (__ASSUME_ARG_MAX_STACK_BASED): Define.
15927         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15928         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15929         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
15930         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15932 2012-08-09  Jeff Law <law@redhat.com>
15934         [BZ #13939]
15935         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15936         When avoid_arena is set, don't retry in the that arena.  Pick the
15937         next one, whatever it might be.
15938         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15939         (arena_lock): Pass in new parameter to arena_get2.
15940         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15941         arena_get2.
15942         (__libc_malloc): Unify retrying after main arena failure with
15943         __libc_memalign version.
15944         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15946 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15948         [BZ #14166]
15949         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15950         to __redirect_strstr.
15951         (__strstr_sse42): Use typeof __redirect_strstr.
15952         (__strstr_ia32): Likewise.
15953         (__libc_strstr): New prototype.
15954         (strstr): Renamed to ...
15955         (__libc_strstr): This.
15956         (strstr): New strong alias of __libc_strstr.
15957         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15958         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15959         __redirect_time.
15960         Include <time.h>.
15961         (__libc_time): New prototype.
15962         (time_ifunc): Replace time with __libc_time.
15963         (time): New strong alias and hidden definition of __libc_time.
15964         (__GI_time): Remove strong alias.
15965         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15966         Include <stddef.h>.
15967         (memmove): Redefined to __redirect_memmove.
15968         (__memmove_sse2): Use typeof __redirect_memmove.
15969         (__memmove_ssse3): Likewise.
15970         (__memmove_ssse3_back): Likewise.
15971         (__libc_memmove): New prototype.
15972         (memmove): Renamed to ...
15973         (__libc_memmove): This.
15974         (memmove): New strong alias of __libc_memmove.
15976 2012-08-08  Mark Salter  <msalter@redhat.com>
15978         * elf/elf.h
15979         (R_MN10300_TLS_GD): Define.
15980         (R_MN10300_TLS_LD): Likewise.
15981         (R_MN10300_TLS_LDO): Likewise.
15982         (R_MN10300_TLS_GOTIE): Likewise.
15983         (R_MN10300_TLS_IE): Likewise.
15984         (R_MN10300_TLS_LE): Likewise.
15985         (R_MN10300_TLS_DTPMOD): Likewise.
15986         (R_MN10300_TLS_DTPOFF): Likewise.
15987         (R_MN10300_TLS_TPOFF): Likewise.
15988         (R_MN10300_SYM_DIFF): Likewise.
15989         (R_MN10300_ALIGN): Likewise.
15990         (R_MN10300_NUM): Update.
15992 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
15994         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15995         Remove.
15997 2012-08-08  Roland McGrath  <roland@hack.frob.com>
15999         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16001         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16002         sysdeps/unix -> sysdeps/posix move.
16003         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16005 2012-08-07      Allan McRae     <allan@archlinux.org>
16007         [BZ #14303]
16008         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16009         (SUNOS_CPP): Likewise.
16010         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16011         not found.
16012         (open_input): Call CPP using execvp.
16014 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16016         * sysdeps/unix/sysv/linux/kernel-features.h
16017         (__ASSUME_PROT_GROWSUPDOWN): Remove.
16018         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16019         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16020         (__ASSUME_WAITID_SYSCALL): Likewise.
16021         * sysdeps/unix/sysv/linux/dl-execstack.c
16022         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16023         code unconditional.
16024         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16025         conditional code.
16026         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16027         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16028         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16029         code.
16030         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16031         unconditional.
16032         [__ASSUME_WAITID_SYSCALL]: Likewise.
16033         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16035 2012-08-07  Roland McGrath  <roland@hack.frob.com>
16037         * sysdeps/unix/closedir.c: Renamed to ...
16038         * sysdeps/posix/closedir.c: ... here.
16039         * sysdeps/unix/dirfd.c: Renamed to ...
16040         * sysdeps/posix/dirfd.c: ... here.
16041         * sysdeps/unix/dirstream.h: Renamed to ...
16042         * sysdeps/posix/dirstream.h: ... here.
16043         * sysdeps/unix/fdopendir.c: Renamed to ...
16044         * sysdeps/posix/fdopendir.c: ... here.
16045         * sysdeps/unix/opendir.c: Renamed to ...
16046         * sysdeps/posix/opendir.c: ... here.
16047         * sysdeps/unix/readdir.c: Renamed to ...
16048         * sysdeps/posix/readdir.c: ... here.
16049         * sysdeps/unix/readdir_r.c: Renamed to ...
16050         * sysdeps/posix/readdir_r.c: ... here.
16051         * sysdeps/unix/rewinddir.c: Renamed to ...
16052         * sysdeps/posix/rewinddir.c: ... here.
16053         * sysdeps/unix/seekdir.c: Renamed to ...
16054         * sysdeps/posix/seekdir.c: ... here.
16055         * sysdeps/unix/telldir.c: Renamed to ...
16056         * sysdeps/posix/telldir.c: ... here.
16057         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16058         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16059         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16060         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16062         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16063         * bits/fcntl.h: ... here.
16065         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16066         not 0.
16067         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16068         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16069         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16070         (struct flock): Move l_start, l_len to the beginning.
16071         Use __pid_t for l_pid.
16072         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16073         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16074         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16075         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16076         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16077         [__USE_LARGEFILE64] (struct flock64): New type.
16078         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16080         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16081         * bits/dirent.h: ... here.
16083         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16084         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16086 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16088         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16089         Change from 2.6.0 to 2.6.16.
16090         * sysdeps/unix/sysv/linux/configure: Regenerated.
16091         * sysdeps/unix/sysv/linux/kernel-features.h
16092         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16093         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16094         version.
16095         (__ASSUME_UTIMES): Likewise.
16096         (__ASSUME_CLONE_STOPPED): Remove.
16097         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16098         architectures, not kernel version.
16099         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16100         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16101         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16102         (__ASSUME_WAITID_SYSCALL): Likewise.
16103         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16104         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16105         * README: State 2.6.16 as minimum Linux kernel version.  Do not
16106         refer to older versions.
16108 2012-08-06  Roland McGrath  <roland@hack.frob.com>
16110         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16111         Define alphasort64 as an alias.
16112         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16113         Define versionsort64 as an alias.
16114         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16115         Define scandir64 as an alias.
16116         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16117         Define scandirat64 as an alias.
16118         * dirent/alphasort64.c (alphasort64):
16119         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16120         * dirent/versionsort64.c: Likewise.
16121         * dirent/scandir64.c: Likewise.
16122         * dirent/scandirat64.c: Likewise.
16123         * sysdeps/wordsize-64/alphasort.c: File removed.
16124         * sysdeps/wordsize-64/alphasort64.c: File removed.
16125         * sysdeps/wordsize-64/scandir.c: File removed.
16126         * sysdeps/wordsize-64/scandir64.c: File removed.
16127         * sysdeps/wordsize-64/scandirat.c: File removed.
16128         * sysdeps/wordsize-64/scandirat64.c: File removed.
16129         * sysdeps/wordsize-64/versionsort.c: File removed.
16130         * sysdeps/wordsize-64/versionsort64.c: File removed.
16131         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16132         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16133         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16134         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16135         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16136         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16137         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16138         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16140         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16141         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16142         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16143         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16144         [defined __arch64__ || defined __sparcv9]
16145         (__INO_T_MATCHES_INO64_T): New macro.
16146         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16147         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16148         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16149         * sysdeps/unix/sysv/linux/bits/dirent.h
16150         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16151         (_DIRENT_MATCHES_DIRENT64): New macro.
16153         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16154         Define lockf64 as an alias.
16155         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16156         Define fseeko64 as an alias.
16157         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16158         Define ftello64 as an alias.
16159         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16160         Define _IO_fgetpos64 and fgetpos64 as aliases.
16161         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16162         Define _IO_fsetpos64 and fsetpos64 as aliases.
16163         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16164         Conditionalize body on this.
16165         * libio/fseeko64.c: Likewise.
16166         * libio/ftello64.c: Likewise.
16167         * libio/iofgetpos64.c: Likewise.
16168         * libio/iofsetpos64.c: Likewise.
16169         * sysdeps/wordsize-64/lockf.c: File removed.
16170         * sysdeps/wordsize-64/lockf64.c: File removed.
16171         * sysdeps/wordsize-64/fseeko.c: File removed.
16172         * sysdeps/wordsize-64/fseeko64.c: File removed.
16173         * sysdeps/wordsize-64/ftello.c: File removed.
16174         * sysdeps/wordsize-64/ftello64.c: File removed.
16175         * sysdeps/wordsize-64/iofgetpos.c: File removed.
16176         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16177         * sysdeps/wordsize-64/iofsetpos.c: File removed.
16178         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16179         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16180         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16181         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16182         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16183         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16184         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16185         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16186         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16187         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16188         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16190         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16191         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16192         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16193         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16194         [defined __arch64__ || defined __sparcv9]
16195         (__OFF_T_MATCHES_OFF64_T): New macro.
16196         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16197         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16198         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16199         (__OFF_T_MATCHES_OFF64_T): New macro.
16201 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16203         * stdlib/secure-getenv.c (__secure_getenv): Replace
16204         GLIBC_2_16 with GLIBC_2_17.
16206 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16208         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16209         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16211 2012-08-03  David S. Miller  <davem@davemloft.net>
16213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16215 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16217         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16218         Remove.
16219         (__ASSUME_CORRECT_SI_PID): Likewise.
16220         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16221         (__ASSUME_TMPFS_NAME): Likewise.
16222         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16223         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16224         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16225         (HAVE_AUX_SECURE): Make definition unconditional.
16226         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16227         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16229 2012-08-03  Roland McGrath  <roland@hack.frob.com>
16231         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16232         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16233         * sysdeps/mach/hurd/eloop-threshold.h: New file.
16234         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16235         __eloop_threshold instead of SYMLOOP_MAX.
16237         * sysdeps/generic/eloop-threshold.h: New file.
16238         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16239         of MAXSYMLINKS.
16240         * elf/chroot_canon.c (chroot_canon): Likewise.
16242 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16244         [BZ #13717]
16245         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16246         Change to 2.6.0 everywhere.
16247         * sysdeps/unix/sysv/linux/configure: Regenerated.
16248         * sysdeps/unix/sysv/linux/kernel-features.h
16249         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16250         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16251         kernel versions.
16252         (__ASSUME_POSIX_TIMERS): Define unconditionally.
16253         (__ASSUME_FUTEX_REQUEUE): Remove.
16254         (__ASSUME_STATFS64): Define unconditionally.
16255         (__ASSUME_AT_SECURE): Likewise.
16256         (__ASSUME_CORRECT_SI_PID): Likewise.
16257         (__ASSUME_TGKILL): Define without depending on kernel version for
16258         i386.
16259         (__ASSUME_UTIMES): Likewise.
16260         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16261         kernel version.
16262         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16263         (__ASSUME_TMPFS_NAME): Likewise.
16264         * README: Update reference to Linux kernel versions.
16266 2012-08-02  Marek Polacek  <polacek@redhat.com>
16268         [BZ# 14150]
16269         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
16270         libc_cv_asm_type_prefix with %.
16271         * configure: Regenerated.
16272         * include/libc-symbols.h: Remove comment about
16273         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16274         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16275         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16276         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16277         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16278         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16279         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16280         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16281         * elf/tst-unique2mod1.c: Likewise.
16282         * elf/tst-unique1mod2.c: Likewise.
16283         * elf/tst-unique1mod1.c: Likewise.
16284         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16285         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16286         Replace ASM_TYPE_DIRECTIVE with .type.
16287         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16288         * sysdeps/i386/sysdep.h: Likewise.
16289         * sysdeps/x86_64/sysdep.h: Likewise.
16290         * sysdeps/sh/sysdep.h: Likewise.
16291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16292         Do not define ASM_TYPE_DIRECTIVE.
16293         * sysdeps/powerpc/sysdep.h: Likewise.
16294         * sysdeps/powerpc/powerpc32/sysdep.h:
16295         Replace ASM_TYPE_DIRECTIVE with .type.
16296         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16297         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16298         * sysdeps/i386/fpu/e_powf.S: Likewise.
16299         * sysdeps/i386/fpu/e_expl.S: Likewise.
16300         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16301         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16302         * sysdeps/i386/fpu/e_pow.S: Likewise.
16303         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16304         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16305         * sysdeps/i386/fpu/s_expm1.S: Likewise.
16306         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16307         * sysdeps/i386/fpu/e_log2.S: Likewise.
16308         * sysdeps/i386/fpu/e_log2l.S: Likewise.
16309         * sysdeps/i386/fpu/e_scalb.S: Likewise.
16310         * sysdeps/i386/fpu/e_powl.S: Likewise.
16311         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16312         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16313         * sysdeps/i386/fpu/e_logl.S: Likewise.
16314         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16315         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16316         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16317         * sysdeps/i386/fpu/e_log2f.S: Likewise.
16318         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16319         * sysdeps/i386/fpu/e_log.S: Likewise.
16320         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16321         * sysdeps/i386/fpu/e_logf.S: Likewise.
16322         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16323         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16324         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16325         * sysdeps/i386/fpu/e_log10.S: Likewise.
16326         * sysdeps/i386/fpu/s_frexp.S: Likewise.
16327         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16328         * sysdeps/i386/fpu/s_asinh.S: Likewise.
16329         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16330         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16331         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16332         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16333         * sysdeps/i386/i686/strtok.S: Likewise.
16334         * sysdeps/i386/i386-mcount.S: Likewise.
16335         * sysdeps/i386/strtok.S: Likewise.
16336         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16337         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16338         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16339         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16340         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16341         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16342         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16343         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16344         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16345         * sysdeps/x86_64/_mcount.S: Likewise.
16346         * sysdeps/x86_64/strtok.S: Likewise.
16347         * sysdeps/sh/_mcount.S: Likewise.
16349 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16351         * libio/iofopen.c: Include <fcntl.h>.
16352         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16353         (_IO_fopen64, fopen64): Define as aliases.
16354         * libio/iofopen64.c: Include <fcntl.h>.
16355         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16356         Conditionalize body on this.
16357         * sysdeps/wordsize-64/iofopen.c: File removed.
16358         * sysdeps/wordsize-64/iofopen64.c: File removed.
16360 2012-08-01  Marek Polacek  <polacek@redhat.com>
16362         * libc/Makeconfig: Use elf in place of binfmt-subdir.
16363         Use dlfcn directly instead of a variable.
16364         (binfmt-subdir): Do not define.
16365         (dlfcn): Likewise.
16367 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
16369         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16370         Remove all definitions.
16371         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16372         <kernel-features.h>.
16373         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16374         (miss_F_GETOWN_EX): Remove all definitions.
16375         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16376         macro definition.
16377         [!__ASSUME_FCNTL64]: Remove conditional code.
16378         [__ASSUME_FCNTL64]: Make code unconditional.
16379         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16380         <kernel-features.h>.
16381         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16382         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16383         (lockf64) [__NR_fcntl64]: Make code unconditional.
16384         (lockf64) [__ASSUME_FCNTL64]: Likewise.
16386         * sysdeps/unix/sysv/linux/kernel-features.h
16387         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16388         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16389         Make code unconditional.
16390         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16391         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16393         [__NR_vfork]: Make code unconditional.
16394         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16395         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16397         [__NR_vfork]: Make code unconditional.
16398         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16399         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16401 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16403         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16404         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16406         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16407         Define mkstemp64 as an alias.
16408         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16409         Define mkstemps64 as an alias.
16410         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16411         Define mkostemp64 as an alias.
16412         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16413         Define mkostemps64 as an alias.
16414         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16415         Conditionalize body on this.
16416         * misc/mkostemp64.c: Likewise.
16417         * misc/mkostemps64.c: Likewise.
16418         * misc/mkstemps64.c: Likewise.
16419         * sysdeps/wordsize-64/mkstemp64.c: File removed.
16420         * sysdeps/wordsize-64/mkostemp64.c: File removed.
16421         * sysdeps/wordsize-64/mkostemp.c: File removed.
16422         * sysdeps/wordsize-64/mkstemp.c: File removed.
16423         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16424         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16425         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16426         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16428         [BZ #14138]
16429         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16430         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16431         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16432         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16434         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16435         compat_symbol macros from <shlib-compat.h> rather than the underlying
16436         default_symbol_version and symbol_version macros, so that DEFAULT
16437         lines in shlib-versions are respected.
16438         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16440 2012-08-01  Florian Weimer  <fweimer@redhat.com>
16442         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16443         Declare with warn_unused_result.
16444         (setgid, setregid, setegid, setresgid): Likewise.
16445         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16446         Likewise.
16447         * WUR-REPORT: Remove set*id functions.
16449 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
16451         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16453 2012-07-31  Roland McGrath  <roland@hack.frob.com>
16455         [BZ #10191]
16456         * include/sys/socket.h (__libc_accept, __libc_accept4):
16457         Add attribute_hidden.
16458         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16460         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16461         use of PTR_MANGLE.
16462         * inet/getnetgrent_r.c (setup): Likewise.
16464         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16466 2012-07-31  David S. Miller  <davem@davemloft.net>
16468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16470 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
16472         [BZ #13629]
16473         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16474         value between 1.0 and 2.0 and smaller part has absolute value less
16475         than 1.0.
16476         * math/s_clog10.c (__clog10): Likewise.
16477         * math/s_clog10f.c (__clog10f): Likewise.
16478         * math/s_clog10l.c (__clog10l): Likewise.
16479         * math/s_clogf.c (__clogf): Likewise.
16480         * math/s_clogl.c (__clogl): Likewise.
16481         * math/libm-test.inc (clog_test): Add more tests.
16482         (clog10_test): Likewise.
16483         * sysdeps/i386/fpu/libm-test-ulps: Update.
16484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16486 2012-07-31  Florian Weimer  <fweimer@redhat.com>
16488         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16489         Exit with zero in case no suitable GID is found, and write a
16490         message to standard error.
16492 2012-07-30  Roland McGrath  <roland@hack.frob.com>
16494         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16495         rather than to 1.
16496         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16497         (MAXPATHLEN): Removed.
16498         (NOGROUP, NODEV): New macros.
16499         (setbit, clrbit, isset, isclr): New macros.
16500         (howmany, roundup, powerof2): New macros.
16501         (DEV_BSIZE): New macro.
16503         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16504         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16506         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16507         definition on [!__NO_LONG_DOUBLE_MATH].
16509         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16510         PTR_MANGLE and PTR_DEMANGLE.
16512         * socket/accept4.c (accept4): Rename to __libc_accept4.
16513         Define accept4 as a weak alias.
16515         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16516         on [_DIRENT_HAVE_D_TYPE].
16517         * io/ftw.c (ftw_dir): Likewise.
16519         * io/xmknod.c (__xmknod): Don't check PATH for being null.
16521         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16523         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16524         Use the BSD numbers rather than the arbitrary ones we had.
16525         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16526         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16527         (SIGXCPU, SIGXFSZ): New macros.
16528         (_NSIG): Now 32.
16530         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16531         initializer on [_LIBC_REENTRANT].
16533         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16534         definitions inside [_POSIX_MAPPED_FILES].
16536         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16538         * dirent/opendir.c: Include <fcntl.h>.
16540         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16541         (__libc_getspecific): Likewise.
16542         (__libc_key_create): Likewise.
16544         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16545         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16546         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16547         (tmpfile64): Define as alias.
16548         * sysdeps/wordsize-64/tmpfile.c: File removed.
16549         * sysdeps/wordsize-64/tmpfile64.c: File removed.
16550         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16551         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16553         * stdio-common/vfscanf.c: Include <stdbool.h>.
16554         * nss/makedb.c: Likewise.
16555         * stdio-common/_i18n_number.h: Likewise.
16556         * argp/argp-help.c: Likewise.
16557         * posix/wordexp.c: Likewise.
16558         * sysdeps/posix/spawni.c: Likewise.
16559         * nss/nss_files/files-initgroups.c: Likewise.
16560         * stdio-common/reg-modifier.c: Include <stdlib.h>.
16561         * nss/nss_files/files-initgroups.c: Likewise.
16562         * nss/nss_db/db-netgrp.c: Likewise.
16563         * nss/nss_db/db-initgroups.c: Likewise.
16564         * io/fchmodat.c: Include <sys/stat.h>.
16566         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16567         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16569         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16570         [HAVE_MMAP].
16572         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16573         Add multiple inclusion protection.
16575 2012-07-27  David S. Miller  <davem@davemloft.net>
16577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16579 2012-07-27  Gary Benson  <gbenson@redhat.com>
16581         [BZ #14298]
16582         * elf/rtld.c: Include <stap-probe.h>.
16583         (dl_main): Added static probes "init_start" and "init_complete".
16584         * elf/dl-load.c: Include <stap-probe.h>.
16585         (lose): Take new parameter "nsid".
16586         Added static probe "map_failed".
16587         (_dl_map_object_from_fd): Pass namespace id to lose.
16588         Added static probe "map_start".
16589         (open_verify): Pass namespace id to lose.
16590         * elf/dl-open.c: Include <stap-probe.h>.
16591         (dl_open_worker) Added static probes "map_complete", "reloc_start"
16592         and "reloc_complete".
16593         * elf/dl-close.c: Include <stap-probe.h>.
16594         (_dl_close_worker): Added static probes "unmap_start" and
16595         "unmap_complete".
16596         * elf/rtld-debugger-interface.txt: New file documenting the above.
16598 2012-07-26  Roland McGrath  <roland@hack.frob.com>
16600         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16601         rather than a string variable.
16602         * sunrpc/rpc_main.c (h_output): Likewise.
16603         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16605 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
16607         * inet/check_native.c: New file.
16609 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
16611         [BZ #13629]
16612         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16613         if larger part has absolute value 1.0.
16614         * math/s_clog10.c (__clog10): Likewise.
16615         * math/s_clog10f.c (__clog10f): Likewise.
16616         * math/s_clog10l.c (__clog10l): Likewise.
16617         * math/s_clogf.c (__clogf): Likewise.
16618         * math/s_clogl.c (__clogl): Likewise.
16619         * math/libm-test.inc (clog_test): Add more tests.
16620         (clog10_test): Likewise.
16621         * sysdeps/i386/fpu/libm-test-ulps: Update.
16622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16624         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16625         (pltexit): Likewise.
16626         (La_regs): Likewise.
16627         (La_retval): Likewise.
16628         (int_retval): Likewise.
16629         Update #error for removed macros to refer only to definitions in
16630         tst-audit.h.
16631         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16632         macro.
16633         (pltexit): Likewise.
16634         (La_regs): Likewise.
16635         (La_retval): Likewise.
16636         (int_retval): Likewise.
16637         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16638         macro.
16639         (pltexit): Likewise.
16640         (La_regs): Likewise.
16641         (La_retval): Likewise.
16642         (int_retval): Likewise.
16643         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16644         macro.
16645         (pltexit): Likewise.
16646         (La_regs): Likewise.
16647         (La_retval): Likewise.
16648         (int_retval): Likewise.
16649         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16650         macro.
16651         (pltexit): Likewise.
16652         (La_regs): Likewise.
16653         (La_retval): Likewise.
16654         (int_retval): Likewise.
16655         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16656         macro.
16657         (pltexit): Likewise.
16658         (La_regs): Likewise.
16659         (La_retval): Likewise.
16660         (int_retval): Likewise.
16661         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16662         macro.
16663         (pltexit): Likewise.
16664         (La_regs): Likewise.
16665         (La_retval): Likewise.
16666         (int_retval): Likewise.
16667         * sysdeps/generic/tst-audit.h: Update comment to refer only to
16668         macro definitions in tst-audit.h.
16669         * sysdeps/i386/tst-audit.h: New file.
16670         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16671         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16672         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16673         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16674         * sysdeps/sh/tst-audit.h: Likewise.
16675         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16676         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16677         * sysdeps/x86_64/tst-audit.h: Likewise.
16679 2012-07-26  Andreas Jaeger  <aj@suse.de>
16681         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16682         ptrace.
16684         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16685         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16686         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16687         PTRACE_O_MASK.
16688         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16689         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16690         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16692         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16693         value.
16695         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16696         _sigsys.
16697         (si_call_addr, si_syscall, si_arch): Define new macro.
16698         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16699         _sigsys.
16700         (si_call_addr, si_syscall, si_arch): Define new marcro.
16701         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16702         _sigsys.
16703         (si_call_addr, si_syscall, si_arch): Define new macro.
16704         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16705         _sigsys.
16706         (si_call_addr, si_syscall, si_arch): Define new macro.
16708 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
16710         [BZ #13717]
16711         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16712         Change to 2.4.21 where previously 2.4.1.
16713         * sysdeps/unix/sysv/linux/configure: Regenerated.
16714         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16715         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16716         Linux kernel version.
16717         (__ASSUME_STD_AUXV): Remove.
16718         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16719         kernel version.
16720         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16721         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16722         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16723         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16724         (__ASSUME_NETLINK_SUPPORT): Likewise.
16725         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16726         (__no_netlink_support): Remove conditional definition.
16727         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16728         Remove.
16729         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16730         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16731         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16732         (if_nameindex_ioctl): Remove.
16733         (if_nameindex_netlink): Do not handle __no_netlink_support.
16734         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16735         code.
16736         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16737         Remove conditional code.
16738         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16739         code.
16740         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16741         unconditional.
16742         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16743         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16744         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16745         Remove.
16746         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16747         [!__ASSUME_STD_AUXV]: Remove conditional code.
16748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16749         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16750         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16752         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16753         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16754         code.
16755         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16757         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16758         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16759         conditional code.
16760         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16762         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16763         code.
16764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16765         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16766         conditional code.
16767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16768         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16769         code unconditional.
16770         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16771         conditional code.
16772         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16773         unconditional.
16774         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16775         conditional code.
16776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16777         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16778         unconditional.
16779         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16780         conditional code.
16781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16782         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16783         code unconditional.
16784         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16785         conditional code.
16786         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16787         unconditional.
16788         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16789         conditional code.
16790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16791         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16792         code unconditional.
16793         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16794         conditional code.
16795         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16796         unconditional.
16797         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16798         conditional code.
16800 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
16802         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16803         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16804         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16805         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16806         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16807         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16808         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16809         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16810         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16811         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16812         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16813         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16814         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16815         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16816         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16817         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16818         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16819         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16820         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16821         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16822         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16823         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16824         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16826 2012-07-25  Florian Weimer  <fweimer@redhat.com>
16828         * Versions.def: Add GLIBC_2.17.
16829         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16830         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16831         Introduce __libc_secure_getenv.
16832         * stdlib/Versions (2.17): Add secure_getenv
16833         (GLIBC_PRIVATE): Add __libc_secure_getenv.
16834         * stdlib/secure-getenv.c: Rename __secure_getenv to
16835         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
16836         symbol __secure_getenv for GLIBC_2.0.
16837         * stdlib/tst-secure-getenv.c: New.
16838         * stdlib/Makefile (tests): Add testcase.
16839         * manual/startup.texi (Environment Access): Document
16840         secure_getenv.
16841         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16842         __libc_secure_getenv.
16843         * inet/ruserpass.c (ruserpass): Likewise.
16844         * malloc/mtrace.c (mtrace): Likewise.
16845         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16846         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16847         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16848         * sysdeps/posix/tempname.c: Likewise.  Evaluate
16849         HAVE_SECURE_GETENV.
16850         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16851         __secure_getenv to __libc_secure_getenv.
16852         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16854         Likewise.
16855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16856         Likewise.
16857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16859         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16865 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
16867         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16868         (struct La_i86_retval): Likewise.
16869         (struct La_x86_64_regs): Likewise.
16870         (struct La_x86_64_retval): Likewise.
16871         (struct La_x32_regs): Likewise.
16872         (struct La_x32_retval): Likewise.
16873         (struct La_ppc32_regs): Likewise.
16874         (struct La_ppc32_retval): Likewise.
16875         (struct La_ppc64_regs): Likewise.
16876         (struct La_ppc64_retval): Likewise.
16877         (struct La_sh_regs): Likewise.
16878         (struct La_sh_retval): Likewise.
16879         (struct La_s390_32_regs): Likewise.
16880         (struct La_s390_32_retval): Likewise.
16881         (struct La_s390_64_regs): Likewise.
16882         (struct La_s390_64_retval): Likewise.
16883         (struct La_sparc32_regs): Likewise.
16884         (struct La_sparc32_retval): Likewise.
16885         (struct La_sparc64_regs): Likewise.
16886         (struct La_sparc64_retval): Likewise.
16887         (struct audit_ifaces): Remove architecture-specific pltenter and
16888         pltexit members.
16889         * sysdeps/i386/ldsodefs.h: New file.
16890         * sysdeps/powerpc/ldsodefs.h: Likewise.
16891         * sysdeps/s390/ldsodefs.h: Likewise.
16892         * sysdeps/sh/ldsodefs.h: Likewise.
16893         * sysdeps/sparc/ldsodefs.h: Likewise.
16894         * sysdeps/x86_64/ldsodefs.h: Likewise.
16896 2012-07-25  Marek Polacek  <polacek@redhat.com>
16898         [BZ #6808]
16899         * math/libm-test.inc (yn_test): Add another test.
16900         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16901         to ERANGE when the result is +-Inf.
16902         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16903         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16904         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16905         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16907 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
16909         * conform/data/time.h-data (NULL): Use macro-constant.  Require
16910         equal to 0.
16911         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
16912         clock_t.
16913         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
16915 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
16917         * configure.in <sysdeps resolving>: Correct printing
16918         Implies_before.
16919         * configure: Regenerate.
16921 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
16923         * math/w_ilogb.c: Include <limits.h>.
16924         * math/w_ilogbl.c: Likewise.
16926 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16928         * manual/lang.texi (__va_copy): Document primarily as ISO C99
16929         va_copy.  Document allowing for unavailable va_copy only as
16930         pre-C99 compatibility.
16931         * manual/string.texi (Copying and Concatenation): Use va_copy
16932         instead of __va_copy in concat example.
16934 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
16936         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16937         (__sendto): Use create_address_port.  Initialize APORT and deallocate
16938         it if not null.
16940         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16941         with O_NOLINK passed to __file_name_lookup.
16943         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16944         with O_NOLINK passed to __file_name_lookup.
16946         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16947         negative N or less than NGIDS.
16949         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16950         type to string_t.  Set ERANGE as errno and return it if NAME is not big
16951         enough.  Use memcpy instead of strncpy.
16953 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16955         * elf/Makefile (check-data): Remove.
16956         (localplt.data): New vpath directive.
16957         ($(objpfx)check-localplt.out): Use localplt.data from vpath
16958         instead of $(check-data).
16959         * scripts/data/localplt-generic.data: Move to ...
16960         * sysdeps/generic/localplt.data: ... here.
16961         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16962         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16963         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16965         ... here.
16966         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16968         ... here.
16969         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16971         ... here.
16972         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16974         ... here.
16975         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16977         ... here.
16978         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16980         ... here.
16982 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16984         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16985         PPC32 and PPC64 files.
16986         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16987         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16989 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16991         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16992         __makecontext_ret to ...
16993         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16994         ... here and call exit if uc_link is NULL.  New file.
16995         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16996         __makecontext_ret.S.
16997         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16998         __makecontext_ret to ...
16999         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17000         ... here and call exit if uc_link is NULL.  New file.
17001         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17002         __makecontext_ret.S.
17004 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17006         * elf/elf.h (R_390_IRELATIVE): New definition.
17007         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17008         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
17009         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17010         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17011         (elf_machine_lazy_rel): Likewise.
17012         * sysdeps/s390/dl-irel.h: New file.
17013         * sysdeps/s390/s390-64/memcpy.S: New asm code.
17014         * sysdeps/s390/s390-64/memset.S: New asm code.
17015         * sysdeps/s390/s390-64/memcmp.S: New asm code.
17016         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17017         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17018         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17019         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17020         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17021         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17022         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17023         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17024         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17025         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17026         * sysdeps/s390/s390-32/memcpy.S: New asm code.
17027         * sysdeps/s390/s390-32/memset.S: New asm code.
17028         * sysdeps/s390/s390-32/memcmp.S: New asm code.
17030 2012-07-17  Marek Polacek  <polacek@redhat.com>
17032         [BZ #14349]
17033         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17034         * sysdeps/s390/s390-64/configure.in: Likewise.
17035         * sysdeps/sparc/configure.in: Likewise.
17036         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17037         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17038         * sysdeps/i386/configure.in: Likewise.
17039         * sysdeps/x86_64/configure.in: Likewise.
17040         * sysdeps/sh/configure.in: Likewise.
17041         * sysdeps/s390/s390-32/configure: Regenerated.
17042         * sysdeps/s390/s390-64/configure: Likewise.
17043         * sysdeps/x86_64/configure: Likewise.
17044         * sysdeps/sh/configure: Likewise.
17045         * sysdeps/powerpc/powerpc64/configure: Likewise.
17046         * sysdeps/powerpc/powerpc32/configure: Likewise.
17047         * sysdeps/sparc/configure: Likwise.
17048         * sysdeps/i386/configure: Likewise.
17050         * elf/dl-open.c: Comment fixes.
17052 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
17054         * Makefile [CXX] (check-data): Remove.
17055         [CXX] (c++-types.data): New vpath directive.
17056         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17057         vpath.  Do not allow for C++ type data being missing.
17058         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17059         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17060         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17061         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17062         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17063         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17064         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17066         ... here.
17067         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17069         ... here.
17070         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17072         ... here.
17073         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17075         ... here.
17076         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17078         ... here.
17079         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17081         ... here.
17082         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17084         ... here.
17085         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17088         * elf/tls-macros.h (TLS_LE): Move architecture-specific
17089         definitions to architecture-specific files.
17090         (TLS_IE): Likewise.
17091         (TLS_LD): Likewise.
17092         (TLS_GD): Likewise.
17093         * sysdeps/i386/tls-macros.h: New file.
17094         * sysdeps/powerpc/tls-macros.h: Likewise.
17095         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17096         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17097         * sysdeps/sh/tls-macros.h: Likewise.
17098         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17099         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17100         * sysdeps/x86_64/tls-macros.h: Likewise.
17102 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17104         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17105         zero value for regular exit case.
17107         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17108         (__start_context): Preserve zero value for regular exit case.
17110 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17111             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17113         * manual/setjmp.texi (setcontext): Clarify normal process
17114         termination when uc_link is the null pointer.
17115         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17116         exit call.
17118 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
17120         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17121         preprocessor.  Test for each exception mask separately.
17123 2012-07-16  Andreas Jaeger  <aj@suse.de>
17125         * po/ru.po: Update from translation team.
17127 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
17129         * conform/data/string.h-data (NULL): Use macro-constant.  Require
17130         equal to 0.
17131         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17132         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17133         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17134         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17135         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17137 2012-07-13  Andreas Jaeger  <aj@suse.de>
17139         * po/fr.po: Update from translation team.
17141 2012-07-12  Marek Polacek  <polacek@redhat.com>
17143         [BZ #14173]
17144         * math/libm-test.inc (yn_test): Add test for BZ #14173.
17145         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17146         loop condition.
17148 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
17150         [BZ #13717]
17151         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17152         Change to 2.4.1 where previously 2.4.0.
17153         * sysdeps/unix/sysv/linux/configure: Regenerated.
17154         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17155         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17156         version.
17157         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17158         (__ASSUME_AT_CLKTCK): Remove.
17159         (__ASSUME_AT_PAGESIZE): Likewise.
17160         (__ASSUME_AT_XID): Likewise.
17161         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17162         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17163         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17164         unconditionally.
17165         (HAVE_AUX_PAGESIZE): Likewise.
17166         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17167         [__ASSUME_AT_CLKTCK]: Make code unconditional.
17168         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17170 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
17172         [BZ #14307]
17173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17174         the temporary buffer used to invoke __gethostbyname2_r,
17175         __gethostbyaddr_r and gethostbyname4_r to make room for struct
17176         host_data / struct gaih_addrtuple.
17177         * resolv/nss_dns/dns-host.c (global scope): Move definition of
17178         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17179         header file nss/nsswitch.h.
17180         * nss/nsswitch.h (global scope): Add definition of implementation
17181         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17182         resolv/nss_dns/dns-host.c).
17184 2012-07-11  Andreas Jaeger  <aj@suse.de>
17186         * po/fr.po: Update from translation team.
17188         * po/sv.po: Update from translation team
17189         * po/fr.po: Another update from translation team.
17191 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17193         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17194         for subnormals or multiply small sinh result by itself.
17195         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17198 2012-07-11  David S. Miller  <davem@davemloft.net>
17200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17202 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
17204         [BZ #14347]
17205         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17206         (INTERNAL_MARK): Shift it here.
17208 2012-07-10  Marek Polacek  <polacek@redhat.com>
17210         [BZ #14151]
17211         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
17212         libc_cv_asm_global_directive with .globl.
17213         * configure: Regenerated.
17214         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17215         with .globl.
17216         * sysdeps/i386/configure: Regenerated.
17217         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17218         with .globl.
17219         * sysdeps/x86_64/configure: Regenerated.
17220         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17221         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17222         * elf/tst-unique2mod2.c: Likewise.
17223         * elf/tst-unique2mod1.c: Likewise.
17224         * elf/tst-unique1mod2.c: Likewise.
17225         * elf/tst-unique1mod1.c: Likewise.
17226         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17227         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17228         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17229         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17230         * sysdeps/mach/sysdep.h: Likewise.
17231         * sysdeps/i386/sysdep.h: Likewise.
17232         * sysdeps/i386/i386-mcount.S: Likewise.
17233         * sysdeps/x86_64/_mcount.S: Likewise.
17234         * sysdeps/x86_64/sysdep.h: Likewise.
17235         * sysdeps/sh/_mcount.S: Likewise.
17236         * sysdeps/sh/sysdep.h: Likewise.
17237         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17238         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17239         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17240         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17241         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17242         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17243         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17244         * locale/localeinfo.h: Likewise.
17245         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17246         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17248 2012-07-09  Roland McGrath  <roland@hack.frob.com>
17250         [BZ #14336]
17251         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17252         system".
17253         * manual/message.texi (The Uniforum approach): Likewise.
17254         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17255         (glibc iconv Implementation): Likewise.
17257 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
17259         [BZ #14337]
17260         * math/s_clog.c (__clog): Avoid scaling a value down where that
17261         could result in underflow.
17262         * math/s_clog10.c (__clog10): Likewise.
17263         * math/s_clog10f.c (__clog10f): Likewise.
17264         * math/s_clog10l.c (__clog10l): Likewise.
17265         * math/s_clogf.c (__clogf): Likewise.
17266         * math/s_clogl.c (__clogl): Likewise.
17267         * math/libm-test.inc (clog_test): Add more tests.
17268         (clog10_test): Likewise.
17269         * sysdeps/i386/fpu/libm-test-ulps: Update.
17270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17272 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
17274         [BZ #14283]
17275         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17276         by 7 not 8 to examine high bit of fractional part.
17278         [BZ #14042]
17279         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17280         for call to __mcount_internal.
17281         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17282         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17283         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17285 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
17287         [BZ #14154]
17288         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17289         approximation for values within 0x1p-13f of an odd multiple of
17290         pi/4.
17291         * math/libm-test.inc (tan_test): Do not allow spurious underflow
17292         exception.  Add more tests.
17293         * sysdeps/i386/fpu/libm-test-ulps: Update.
17295         [BZ #6778]
17296         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17297         inputs and return -1 for them.  Do not check for +Inf in case not
17298         reachable for +Inf.
17299         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17300         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17301         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17302         and return -1 for them.  Do not check for +Inf in case not
17303         reachable for +Inf.
17304         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17305         define.
17306         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17307         and return -1 for them.  Do not check for +Inf in case not
17308         reachable for +Inf.
17309         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
17310         spurious underflow.
17311         * sysdeps/i386/fpu/libm-test-ulps: Update.
17312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17314 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
17316         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17318 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
17320         [BZ #14157]
17321         [BZ #14331]
17322         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17323         could result in spurious underflow.  Scale down values above
17324         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17325         * math/s_csqrtf.c (__csqrtf): Likewise.
17326         * math/s_csqrtl.c (__csqrtl): Likewise.
17327         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
17328         spurious underflow.
17329         * sysdeps/i386/fpu/libm-test-ulps: Update.
17330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17332 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17334         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17335         xopen-msg.sed.
17336         * catgets/xopen-msg.awk: New file.
17337         * catgets/xopen-msg.sed: Removed.
17339         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17340         po2text.sed.
17341         * intl/po2test.awk: New file.
17342         * intl/po2test.sed: Removed.
17344 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
17346         [BZ #14328]
17347         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17348         or multiply small sinh result by itself.
17349         * math/s_ctanf.c (__ctanf): Likewise.
17350         * math/s_ctanh.c (__ctanh): Likewise.
17351         * math/s_ctanhf.c (__ctanhf): Likewise.
17352         * math/s_ctanhl.c (__ctanhl): Likewise.
17353         * math/s_ctanl.c (__ctanl): Likewise.
17354         * math/libm-test.inc (ctan_test_tonearest): New function.
17355         (ctan_test_towardzero): Likewise.
17356         (ctan_test_downward): Likewise.
17357         (ctan_test_upward): Likewise.
17358         (ctanh_test_tonearest): Likewise.
17359         (ctanh_test_towardzero): Likewise.
17360         (ctanh_test_downward): Likewise.
17361         (ctanh_test_upward): Likewise.
17362         (main): Call these new functions.
17363         * sysdeps/i386/fpu/libm-test-ulps: Update.
17364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17366 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
17368         * .gitignore: Delete /ports entry.
17370 2012-07-03  Andreas Jaeger  <aj@suse.de>
17372         * po/bg.po: Update from translation team.
17373         * po/cs.po: Likewise.
17374         * po/de.po: Likewise.
17375         * po/hr.po: Likewise.
17376         * po/nl.pl: Likewise.
17377         * po/pl.po: Likewise.
17378         * po/vi.po: Likewise.
17380 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
17382         * Makeconfig [!+link] (+link-before-libc): New variable.
17383         [!+link] (+link-after-libc): Likewise.
17384         [!+link] (+link-tests): Likewise.
17385         [!+link] (+link): Define in terms of $(+link-before-libc) and
17386         $(+link-after-libc).
17387         [!+link-static] (+link-static-before-libc): New variable.
17388         [!+link-static] (+link-static-after-libc): Likewise.
17389         [!+link-static] (+link-static-tests): Likewise.
17390         [!+link-static] (+link-static): Define in terms of
17391         $(+link-static-before-libc) and $(+link-static-after-libc).
17392         [build-shared] (link-libc-before-gnulib): New variable.
17393         [build-shared] (link-libc-tests): Likewise.
17394         [build-shared] (link-libc): Define in terms of
17395         $(link-libc-before-gnulib).
17396         [!build-shared] (link-libc-tests): New variable.
17397         (link-libc-static-tests): New variable.
17398         [!gnulib] (gnulib-arch): New variable.
17399         [!gnulib] (gnulib-tests): Likewise.
17400         [!gnulib] (static-gnulib-arch): Likewise.
17401         [!gnulib] (static-gnulib-tests): Likewise.
17402         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
17403         Define with "=" instead of ":=".
17404         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
17405         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
17406         * Rules (binaries-all-notests): New variable.
17407         (binaries-all-tests): Likewise.
17408         (binaries-static-notests): Likewise.
17409         (binaries-static-tests): Likewise.
17410         (binaries-all): Define using $(binaries-all-notests) and
17411         $(binaries-all-tests).
17412         (binaries-static): Define using $(binaries-static-notests) and
17413         $(binaries-static-tests).
17414         (binaries-shared-tests): New variable.
17415         (binaries-shared-notests): Likewise.
17416         (binaries-shared): Remove variable.
17417         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17418         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17419         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17420         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17421         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17422         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17423         * elf/Makefile (sln-modules): New variable.
17424         (extra-objs): Add $(sln-modules:=.o).
17425         (ldconfig-modules): Add static-stubs.
17426         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17427         * elf/static-stubs.c: New file.
17429         [BZ #14283]
17430         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17431         by 7 not 8 to examine high bit of fractional part.  Use volatile
17432         variables when splitting into final array of floats if
17433         __FLT_EVAL_METHOD__ != 0.
17434         * math/libm-test.inc (cos_test): Add another test.
17435         (sin_test): Likewise.
17436         * sysdeps/i386/fpu/libm-test-ulps: Update.
17438         [BZ #14273]
17439         * math/libm-test.inc (cosh_test): Add more tests.
17441         * version.h (RELEASE): Set to "development".
17442         (VERSION): Set to "2.16.90".
17444 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
17446         * NEWS: Update copyright. Remove last-updated date.
17447         Mention math library bug fixes and timezone data changes.
17448         * README: Mention GNU/Hurd, x32, and HPPA support status.
17450 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
17452         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17454 2012-06-27  Andreas Jaeger  <aj@suse.de>
17456         * manual/contrib.texi (Contributors): Add Samuel Thibault.
17458 2012-06-25  Andreas Jaeger  <aj@suse.de>
17460         * sysdeps/s390/fpu/libm-test-ulps: Update.
17462 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
17463             Thomas Schwinge  <thomas@codesourcery.com>
17465         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17466         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17467         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17468         fanotify_mark.
17470 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
17472         * sysdeps/mach/start.c: Remove file.
17473         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17474         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17475         * sysdeps/sh/init-first.c: Likewise.
17477         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17478         registers for frame unwinding purposes, add CFI directives.
17479         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17480         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17481         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17482         Likewise.
17484         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17485         __fortify_fail returning.
17486         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17488         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17489         sysdeps/sh/____longjmp_chk.S.
17490         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17491         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17492         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17493         (gen-as-const-headers): Append sigaltstack-offsets.sym.
17495         * sysdeps/sh/abort-instr.h: New file.
17496         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17497         process in case exit returns.
17499         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17500         initialize the GOT register before use.
17502         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17503         calculation of ARGC > 4.
17505         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17506         meaningful names to some local labels.
17508 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17509             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17511         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17512         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17513         (__arch_compare_and_exchange_val_16_acq): Likewise.
17514         (__arch_compare_and_exchange_val_32_acq): Likewise.
17515         (atomic_exchange_and_add): Fix gUSA sequence.
17516         (atomic_add): Likewise.
17517         (atomic_add_negative): Likewise.
17518         (atomic_add_zero): Likewise.
17519         (atomic_bit_test_set): Likewise.
17521 2012-06-22  Andreas Schwab  <schwab@redhat.com>
17523         [BZ #13579]
17524         * include/link.h (struct link_map): Add l_free_initfini.
17525         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17526         l_initfini.
17527         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17528         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17529         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17530         set.
17532 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
17534         * configure.in: Use AC_LANG_SOURCE.
17535         * configure: Regenerate.
17537 2012-06-22  Roland McGrath  <roland@hack.frob.com>
17539         * configure.in (libc_cv_localstatedir): New substituted variable.
17540         * configure: Regenerated.
17541         * config.make.in (localstatedir): New variable, substituted from
17542         libc_cv_localstatedir.
17543         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17544         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17545         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17546         * sysdeps/gnu/configure: Regenerated.
17548 2012-06-21  Jeff Law  <law@redhat.com>
17550         [BZ #14277]
17551         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17552         free.  Simplify list management for _LIBC case.
17554 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
17556         [BZ #14273]
17557         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17558         Clear sign bit of 64-bit integer value before comparing against
17559         overflow value.
17561         * sysdeps/mach/configure: Regenerated.
17563 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
17565         [BZ #14278]
17566         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17568 2012-06-21  Jeff Law  <law@redhat.com>
17570         [BZ #13882]
17571         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
17572         uint16_t for elements in the "seen" array to avoid char overflows.
17573         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17574         * elf/dl-open.c (dl_open_worker): Likewise.
17576 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
17578         * scripts/list-sources.sh: Scan PORTS for translations.
17579         * po/libc.pot: Regenerated.
17581 2012-06-21  Andreas Jaeger  <aj@suse.de>
17583         [BZ #12194]
17584         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17585         warning.
17586         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17587         * bits/byteswap-16.h (__bswap_16): Likewise.
17588         * bits/byteswap.h (__bswap_constant_16): Likewise.
17590 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
17592         [BZ #14117]
17593         * sysdeps/i386/fpu_control.h: Removed.
17594         * sysdeps/x86_64/fpu_control.h: Moved to ...
17595         * sysdeps/x86/fpu_control.h: Here.
17597         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17598         (_FPU_SETCW): Likewise.
17600 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
17602         [BZ #14117]
17603         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17604         * sysdeps/x86/fpu/bits/mathinline.h: This.
17605         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17607         [BZ #14050]
17608         [BZ #14117]
17609         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17610         functions if __x86_64__ is defined.
17612 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
17614         * string/endian.h: Add !__ASSEMBLER__ condition for including
17615         conversion interfaces.
17617 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
17619         [BZ #14241]
17620         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17621         of ABS(x) in calculating zero to negative powers other than odd
17622         integers.
17623         * math/libm-test.inc (pow_test): Add more tests.
17625 2012-06-15  Andreas Jaeger  <aj@suse.de>
17627         * manual/contrib.texi (Contributors): Update entry of Liubov
17628         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17629         Machado Filho.
17631 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
17633         * string/string.h: Add __wur to GNU version of strerror_r.
17635 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
17637         [BZ #14229]
17638         * string/Makefile (tests): Add tst-strtok_r.
17639         * string/tst-strtok_r.c: New file.
17640         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17641         RAX_LP/RDX_LP on SAVE_PTR.
17643 2012-06-14  Roland McGrath  <roland@hack.frob.com>
17645         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17647 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
17649         * libm_test.inc (csqrt_test): Allow more spurious underflow
17650         exceptions.
17651         (j0_test): Likewise.
17652         (j1_test): Likewise.
17653         (y0_test): Likewise.
17654         (y1_test): Likewise.
17656 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
17658         * po/Makefile (libc.pot): Use UTF-8 charset.
17660 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
17662         [BZ #14210]
17663         Suppress sign-conversion warning from FD_SET.
17664         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17665         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17666         not unsigned long int.
17667         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17669 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
17671         [BZ #14050]
17672         [BZ #14117]
17673         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17674         __extern_always_inline instead of __extern_inline.
17675         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17676         (__signbit): Likewise.
17677         (__signbitl): Support C++ namespace.
17678         (lrintf): New inline function.
17679         (lrint): Likewise.
17680         (llrintf): Likewise.
17681         (llrint): Likewise.
17682         (fmaxf): Likewise.
17683         (fmax): Likewise.
17684         (fminf): Likewise.
17685         (fmin): Likewise.
17686         (rint): Likewise.
17687         (rintf): Likewise.
17688         (ceil): Likewise.
17689         (ceilf): Likewise.
17690         (floor): Likewise.
17691         (floorf): Likewise.
17692         (nearbyint): Likewise.
17693         (nearbyintf): Likewise.
17695 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
17697         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17698         non-default versions.
17700 2012-06-11  Roland McGrath  <roland@hack.frob.com>
17702         [BZ #14218]
17703         * manual/argp.texi (Argp): Reword argp_parse description slightly.
17705 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
17707         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17708         (FE_UPWARD, FE_DOWNWARD): Don't define.
17709         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17710         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17712         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17713         reading it.
17714         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17715         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17717 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17719         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17720         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17721         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17722         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17724 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
17726         [BZ #14117]
17727         * sysdeps/i386/fpu/bits/fenv.h: Removed.
17728         * sysdeps/i386/fpu/Implies: New file.
17729         * sysdeps/x86_64/fpu/Implies: Likewise.
17730         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17731         * sysdeps/x86/fpu/bits/fenv.h: This.
17733         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17734         __SSE_MATH__.
17736 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17738         [BZ #14134]
17739         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17740         character 0xffff that matches the last element of the
17741         conversion table.
17743 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17745         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17746         fmodl commit.
17748 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17750         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17751         values higher than 25.6283.
17753 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17755         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17756         subnormal exponent extraction and add some __builtin_expect.
17757         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17758         Fix for subnormal mantissa calculation.
17760 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
17762         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17763         cpu2 is -1 and errno is not ENOSYS.
17765 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
17767         [BZ #14117]
17768         * sysdeps/i386/i486/bits/string.h: Renamed to ...
17769         * sysdeps/x86/bits/string.h: This.
17770         * sysdeps/x86_64/bits/string.h: Removed.
17772         * sysdeps/i386/i486/bits/string.h: Define inline functions only
17773         if not compiling for x86-64, but compiling for >= i486.
17775         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17776         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17778         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17779         New macro from Linux kernel 3.4.0.
17780         (FP_XSTATE_MAGIC2): Likewise.
17781         (FP_XSTATE_MAGIC2_SIZE): Likewise.
17782         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17783         (struct _fpx_sw_bytes): New struct.
17784         (struct _xsave_hdr): Likewise.
17785         (struct _ymmh_state): Likewise.
17786         (struct _xstate): Likewise.
17788         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17789         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17790         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17791         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17792         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17793         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17795         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17796         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17797         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17798         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17799         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17800         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17802 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17804         [BZ #13743]
17805         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17806         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17807         (sysdep_headers): Include sys/platform/ppc.h.
17808         * sysdeps/powerpc/test-gettimebase.c: Test for
17809         __ppc_get_timebase() to catch future ISA opcode/insn changes.
17810         * manual/Makefile (appendices): Include platform.texi.
17811         * manual/contrib.texi (Contributors): Update @node pointers.
17812         * manual/maint.texi (Maintenance): Likewise.
17813         (Platform): New node.
17814         * manual/platform.texi: New file.  Document the new features.
17816 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17817             Jakub Jelinek  <jakub@redhat.com>
17819         [BZ #14188]
17820         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17821         where __builtin_expect is unavailable.
17823 2012-06-03  David S. Miller  <davem@davemloft.net>
17825         * stdlib/longlong.h: Updated from GCC.
17827 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
17829         [BZ #14042]
17830         * sysdeps/powerpc/powerpc32/mcount.c: New file.
17831         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17832         __mcount_internal.
17833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17834         (GLIBC_2.16): Likewise.
17836 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17838         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17840 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17843         (default-abi): New variable.
17844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17845         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17846         variable.
17847         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17848         Likewise.
17849         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17850         Likewise.
17851         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17852         Likewise.
17854         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17855         definition.  Document in comment.
17857 2012-06-01  David S. Miller  <davem@davemloft.net>
17859         * stdlib/longlong.h: Updated from GCC.
17861 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17863         [BZ #14117]
17864         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17865         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17866         sys/debugreg.h sys/io.h here.
17867         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17868         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17869         sys/io.h.
17870         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17871         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17872         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17873         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17874         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17875         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17877         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17878         Define only if __x86_64__ is defined.
17880 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17882         [BZ #14048]
17883         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17884         Use int64_t for variable i.
17885         * math/libm-test.inc (fmod_test): Add more tests.
17887         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17888         z computation is not scheduled after fetestexcept.
17889         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17890         Use math_force_eval instead of asm to ensure calculation scheduled
17891         before exception test.
17892         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17893         Ensure a1 + u.d computation is not scheduled after fetestexcept.
17895 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
17897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17898         computation is not scheduled after fetestexcept.
17900 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17902         [BZ #14117]
17903         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17904         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17906 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17908         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17909         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17911 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17913         [BZ #14117]
17914         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17915         <bits/wordsize.h>.
17916         (__WCHAR_MIN): Support __WORDSIZE == 64.
17917         (__WCHAR_MAX): Likewise.
17919         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17920         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17922         [BZ #14183]
17923         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17924         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17926         [BZ #14117]
17927         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17928         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17930         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17931         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17933         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17934         Defined to 1 if __x86_64__ isn't defined.
17935         (_STAT_VER_LINUX_OLD): New.
17936         (st_atime): Remove duplicate.
17937         (st_mtime): Likewise.
17938         (st_ctime): Likewise.
17940 2012-05-31  David S. Miller  <davem@davemloft.net>
17942         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17943         entries.
17945 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
17947         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17948         gen-libm-test.pl.
17950         [BZ #14132]
17951         * elf/dl-reloc.c: Include <_itoa.h>.
17952         (_dl_reloc_bad_type): Remove use of INTUSE.
17953         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17954         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17955         * stdio-common/psiginfo.c (psiginfo): Likewise.
17956         * stdio-common/psignal.c (psignal): Likewise.
17957         * string/strsignal.c (strsignal): Likewise.
17958         * include/signal.h (_sys_siglist): Declare hidden proto.
17959         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
17960         INTVARDEF with libc_hidden_data_def.
17961         * stdio-common/itoa-udigits.c: Likewise.
17962         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17963         (_itoa_lower_digits_internal): Remove declaration.
17964         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17965         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17966         (_sys_sigabbrev_internal): Remove aliases.
17967         (_sys_siglist): Define hidden alias.
17969 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
17971         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17972         bits/sysctl.h.
17974 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17976         [BZ #14117]
17977         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17978         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17980         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17981         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17982         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17983         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17984         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17985         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17987         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17988         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17989         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17991         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17992         with __addr.
17993         (insw): Likewise.
17994         (insl): Likewise.
17995         (outsb): Likewise.
17996         (outsw): Likewise.
17997         (outsl): Likewise.
17999         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18000         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18001         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18003         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18004         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18005         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18006         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18007         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18008         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18010         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18011         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18013         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18014         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18016         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18017         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18018         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18020         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18021         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18022         to ...
18023         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18025         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18026         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18027         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18029         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18030         for x86-64.
18031         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18033 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
18035         * math/math.h (M_El): Use two more decimal places.
18036         (M_LOG2El): Likewise.
18037         (M_LOG10El): Likewise.
18038         (M_LN2l): Likewise.
18039         (M_LN10l): Likewise.
18040         (M_PIl): Likewise.
18041         (M_PI_2l): Likewise.
18042         (M_PI_4l): Likewise.
18043         (M_1_PIl): Likewise.
18044         (M_2_PIl): Likewise.
18045         (M_2_SQRTPIl): Likewise.
18046         (M_SQRT2l): Likewise.
18047         (M_SQRT1_2l): Likewise.
18049 2012-05-31  David S. Miller  <davem@davemloft.net>
18051         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18052         values between float registers.
18053         * sysdeps/sparc/sparc64/memset.S: Likewise.
18054         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18056 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
18058         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18059         -D_FORTIFY_SOURCE=1.
18060         (CPPFLAGS-tst-longjmp_chk.c): Define.
18061         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18062         (CPPFLAGS-tst-longjmp_chk2.c): Define.
18063         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18064         CFLAGS-tst-wchar-h.c.
18066 2012-05-31  Marek Polacek  <polacek@redhat.com>
18068         [BZ #14132]
18069         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18070         __endmntent_internal): Remove declaration.
18071         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18072         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18073         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18075 2012-05-30  David S. Miller  <davem@davemloft.net>
18077         * sysdeps/sparc/sparc32/soft-fp/q_util.c
18078         (___Q_simulate_exceptions): Use real FP ops rather than writing
18079         into the %fsr.
18080         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18081         Likewise.
18083 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18085         [BZ #14117]
18086         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18087         * sysdeps/x86/bits/xtitypes.h: This.
18089         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18090         * sysdeps/x86/bits/wordsize.h: This.
18092         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18093         * sysdeps/x86/bits/huge_vall.h: This.
18095         * sysdeps/i386/bits/select.h: Removed.
18096         * sysdeps/x86_64/bits/select.h: Renamed to ...
18097         * sysdeps/x86/bits/select.h: This.
18099         * sysdeps/i386/bits/setjmp.h: Removed.
18100         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18101         * sysdeps/x86/bits/setjmp.h: This.
18103         * sysdeps/i386/bits/mathdef.h: Removed.
18104         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18105         * sysdeps/x86/bits/mathdef.h: This.
18107 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
18109         [BZ #14132]
18110         * include/sys/socket.h (__connect_internal)
18111         (__libc_sa_len_internal): Remove declaration.
18112         (__connect, __libc_sa_len): Declare hidden_proto.
18113         (SA_LEN): Remove use of INTUSE.
18114         * socket/connect.c: Add libc_hidden_def.
18115         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18116         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18117         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18118         alias.
18119         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18120         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18121         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18122         of adding _internal alias.
18124 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18126         [BZ #14117]
18127         * sysdeps/i386/bits/link.h: Removed.
18128         * sysdeps/i386/bits/linkmap.h: Likewise.
18129         * sysdeps/x86_64/bits/link.h: Renamed to ...
18130         * sysdeps/x86/bits/link.h: This.
18131         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18132         * sysdeps/x86/bits/linkmap.h: This.
18134         * sysdeps/i386/bits/endian.h: Removed.
18135         * sysdeps/x86_64/bits/endian.h: Renamed to ...
18136         * sysdeps/x86/bits/endian.h: This.
18138         * sysdeps/i386/bits/byteswap.h: Removed.
18139         * sysdeps/i386/bits/byteswap-16.h: Likewise.
18140         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18141         * sysdeps/x86/bits/byteswap.h: This.
18142         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18143         * sysdeps/x86/bits/byteswap-16.h: This.
18144         * sysdeps/i386/Implies: Add x86.
18145         * sysdeps/x86_64/Implies: Likewise.
18147 2012-05-30  David S. Miller  <davem@davemloft.net>
18149         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18150         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18151         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18152         (FP_TRAPPING_EXCEPTIONS): Define.
18153         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18154         (FP_TRAPPING_EXCEPTIONS): Define.
18155         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18156         subnormals only when inexact has been signalled or underflow
18157         exceptions are enabled.
18158         (_FP_PACK_CANONICAL): Likewise.
18160 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18162         [BZ #14183]
18163         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18164         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18166 2012-05-30  Richard Henderson  <rth@twiddle.net>
18168         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18169         with #ifndef NOT_IN_libc.
18171         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
18172         marked to avoid plt entry.
18174 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18176         [BZ #14112]
18177         * Makeconfig (default-abi): New macro.
18178         (abi-includes): Likewise.
18179         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
18180         $(abi-$(default-abi)-lib-soname) for soname if defined.
18181         ($(common-objpfx)gnu/lib-names.stmp): Generate from
18182         abi-variants.
18183         * Makefile (installed-stubs): Likewise.
18184         * include/stubs-biarch.h: Removed.
18185         * scripts/lib-names.awk: Only handle one library at a time.
18186         * scripts/soversions.awk: Remove WORDSIZE support.
18187         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18188         entries.
18189         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18190         Removed.
18191         (syscall-list-default-condition): Likewise.
18192         (syscall-list-default-condition): Likewise.
18193         (syscall-list-includes): Likewise.
18194         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18195         syscall-list-* with abi-*.  Handle undefined abi-variants.
18196         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18197         * sysdeps/unix/sysv/linux/i386/Implies: New file.
18198         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18199         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18200         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18201         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18202         Removed.
18203         (syscall-list-32-options): Likewise.
18204         (syscall-list-32-condition): Likewise.
18205         (syscall-list-64-options): Likewise.
18206         (syscall-list-64-condition): Likewise.
18207         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18208         macro.
18209         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18210         Renamed to ...
18211         (abi-*): This.
18212         (abi-64-ld-soname): New macro.
18213         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18214         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18215         Renamed to ...
18216         (abi-*): This.
18217         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18218         * sysdeps/x86_64/x32/shlib-versions: Likewise.
18220 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
18222         * sysdeps/unix/sysv/linux/kernel-features.h
18223         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18224         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18225         include <kernel-features.h>.
18226         [!__NR_ftruncate64]: Remove conditional code.
18227         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18228         [__NR_ftruncate64]: Make code unconditional.
18229         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18230         * sysdeps/unix/sysv/linux/truncate64.c: Do not
18231         include <kernel-features.h>.
18232         [!__NR_ftruncate64]: Remove conditional code.
18233         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18234         [__NR_ftruncate64]: Make code unconditional.
18235         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18237         include <kernel-features.h>.
18238         [!__NR_ftruncate64]: Remove conditional code.
18239         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18240         [__NR_ftruncate64]: Make code unconditional.
18241         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18243         include <kernel-features.h>.
18244         [!__NR_ftruncate64]: Remove conditional code.
18245         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18246         [__NR_ftruncate64]: Make code unconditional.
18247         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18249         * configure.in (libc_cv_fpie): Weaken to a compile test using
18250         LIBC_TRY_CC_OPTION.
18251         * configure: Regenerated.
18253 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18259         Refreshed.
18260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18266         Refreshed.
18268 2012-05-27  David S. Miller  <davem@davemloft.net>
18270         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18271         (___Q_zero): New.
18272         (__Q_simulate_exceptions): Return void.  Change to simulate
18273         exceptions by writing into the %fsr.
18274         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18275         (__Qp_handle_exceptions): Likewise.
18276         (numbers): Delete.
18277         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18278         __Qp_handle_exceptions.
18279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18280         __Qp_handle_exceptions.
18281         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18282         as unused and give dummy FP_RND_NEAREST initializer.
18283         (FP_INHIBIT_RESULTS): Define.
18284         (___Q_simulate_exceptions): Update declaration.
18285         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18286         formatting.
18287         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18288         as unused and give dummy FP_RND_NEAREST initializer.
18289         (__Qp_handle_exceptions): Update declaration.
18290         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18291         formatting.
18293 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
18295         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18296         the temporary FPU control word.
18297         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18298         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18299         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18300         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18301         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18302         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18303         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18304         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18305         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18306         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18307         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18309 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18311         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18312         fields.
18314 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
18316         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18317         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18318         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18319         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18320         Likewise.
18321         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18322         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18323         Likewise.
18325 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
18327         * po/h.po: Update from translation team.
18329 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
18331         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18333         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18334         handling of denormals.
18335         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18336         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18337         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18338         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18339         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18340         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18341         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18342         Likewise.
18344 2012-05-26  Marek Polacek  <polacek@redhat.com>
18346         [BZ #14152]
18347         * math/libm-test.inc (fma_test): Don't always expect underflow
18348         exception.
18350 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18352         [BZ #12416]
18353         * elf/tst-execstack.c: Include stackinfo.h.
18354         (do_test): Adjust test case to ensure that pthread_getattr_np
18355         behaviour remains the same after marking stack executable.
18357 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
18359         * sysdeps/unix/sysv/linux/kernel-features.h
18360         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18361         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18362         kernel-features.h.
18363         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18364         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18365         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18366         kernel-features.h.
18367         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18368         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18370 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
18372         * configure.in: Define the default includes to being none.
18373         * configure: Regenerated.
18375 2012-05-25  Roland McGrath  <roland@hack.frob.com>
18377         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18378         * sysdeps/x86_64/setjmp.S: Likewise.
18379         * sysdeps/i386/bsd-setjmp.S: Likewise.
18380         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18381         * sysdeps/i386/setjmp.S: Likewise.
18382         * sysdeps/i386/__longjmp.S: Likewise.
18383         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18384         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18386         * include/stap-probe.h: New file.
18387         * configure.in: Handle --enable-systemtap.
18388         * configure: Regenerated.
18389         * config.h.in (USE_STAP_PROBE): New #undef.
18390         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18391         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18392         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18394 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
18396         [BZ #13717]
18397         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18398         to 2.4.0 where earlier.
18399         * sysdeps/unix/sysv/linux/configure: Regenerated.
18400         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18401         <kernel-features.h>.
18402         [__ASSUME_32BITUIDS]: Make code unconditional.
18403         [!__ASSUME_32BITUIDS]: Remove conditional code.
18404         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18405         <kernel-features.h>.
18406         [__ASSUME_32BITUIDS]: Make code unconditional.
18407         [!__ASSUME_32BITUIDS]: Remove conditional code.
18408         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18409         [__ASSUME_32BITUIDS]: Make code unconditional.
18410         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18411         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18412         <kernel-features.h>.
18413         [__ASSUME_32BITUIDS]: Make code unconditional.
18414         [!__ASSUME_32BITUIDS]: Remove conditional code.
18415         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18416         <kernel-features.h>.
18417         [__ASSUME_32BITUIDS]: Make code unconditional.
18418         [!__ASSUME_32BITUIDS]: Remove conditional code.
18419         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18420         <kernel-features.h>.
18421         [__ASSUME_32BITUIDS]: Make code unconditional.
18422         [!__ASSUME_32BITUIDS]: Remove conditional code.
18423         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18424         <kernel-features.h>.
18425         [__ASSUME_32BITUIDS]: Make code unconditional.
18426         [!__ASSUME_32BITUIDS]: Remove conditional code.
18427         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18428         <kernel-features.h>.
18429         [__ASSUME_32BITUIDS]: Make code unconditional.
18430         [!__ASSUME_32BITUIDS]: Remove conditional code.
18431         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18432         <kernel-features.h>.
18433         [__ASSUME_32BITUIDS]: Make code unconditional.
18434         [!__ASSUME_32BITUIDS]: Remove conditional code.
18435         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18436         <kernel-features.h>.
18437         [__ASSUME_32BITUIDS]: Make code unconditional.
18438         [!__ASSUME_32BITUIDS]: Remove conditional code.
18439         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18440         <kernel-features.h>.
18441         [__ASSUME_32BITUIDS]: Make code unconditional.
18442         [!__ASSUME_32BITUIDS]: Remove conditional code.
18443         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18444         <kernel-features.h>.
18445         [__ASSUME_32BITUIDS]: Make code unconditional.
18446         [!__ASSUME_32BITUIDS]: Remove conditional code.
18447         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18448         <kernel-features.h>.
18449         [__ASSUME_32BITUIDS]: Make code unconditional.
18450         [!__ASSUME_32BITUIDS]: Remove conditional code.
18451         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18452         <kernel-features.h>.
18453         [__NR_setresgid] (__setresgid): Do not declare.
18454         [__ASSUME_32BITUIDS]: Make code unconditional.
18455         [!__ASSUME_32BITUIDS]: Remove conditional code.
18456         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18457         <kernel-features.h>.
18458         [__NR_setresuid] (__setresuid): Do not declare.
18459         [__ASSUME_32BITUIDS]: Make code unconditional.
18460         [!__ASSUME_32BITUIDS]: Remove conditional code.
18461         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18462         <kernel-features.h>.
18463         [__ASSUME_32BITUIDS]: Make code unconditional.
18464         [!__ASSUME_32BITUIDS]: Remove conditional code.
18465         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18466         <kernel-features.h>.
18467         [__ASSUME_32BITUIDS]: Make code unconditional.
18468         [!__ASSUME_32BITUIDS]: Remove conditional code.
18469         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18470         <kernel-features.h>.
18471         [__ASSUME_32BITUIDS]: Make code unconditional.
18472         [!__ASSUME_32BITUIDS]: Remove conditional code.
18473         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18474         <kernel-features.h>.
18475         [__ASSUME_32BITUIDS]: Make code unconditional.
18476         [!__ASSUME_32BITUIDS]: Remove conditional code.
18477         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18478         <kernel-features.h>.
18479         [__ASSUME_32BITUIDS]: Make code unconditional.
18480         [!__ASSUME_32BITUIDS]: Remove conditional code.
18481         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18482         <kernel-features.h>.
18483         [__ASSUME_32BITUIDS]: Make code unconditional.
18484         [!__ASSUME_32BITUIDS]: Remove conditional code.
18485         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18486         <kernel-features.h>.
18487         [__ASSUME_32BITUIDS]: Make code unconditional.
18488         [!__ASSUME_32BITUIDS]: Remove conditional code.
18489         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18490         <kernel-features.h>.
18491         [__ASSUME_32BITUIDS]: Make code unconditional.
18492         [!__ASSUME_32BITUIDS]: Remove conditional code.
18493         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18494         <kernel-features.h>.
18495         [__ASSUME_32BITUIDS]: Make code unconditional.
18496         [!__ASSUME_32BITUIDS]: Remove conditional code.
18497         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18498         <kernel-features.h>.
18499         [__ASSUME_32BITUIDS]: Make code unconditional.
18500         [!__ASSUME_32BITUIDS]: Remove conditional code.
18501         * sysdeps/unix/sysv/linux/kernel-features.h
18502         (__ASSUME_SETRESUID_SYSCALL): Remove.
18503         (__ASSUME_SETRESGID_SYSCALL): Likewise.
18504         (__ASSUME_32BITUIDS): Likewise.
18505         (__ASSUME_LDT_WORKS): Likewise.
18506         (__ASSUME_O_DIRECTORY): Likewise.
18507         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18508         architecture but not kernel version.
18509         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18510         (__ASSUME_MMAP2_SYSCALL): Likewise.
18511         (__ASSUME_STAT64_SYSCALL): Likewise.
18512         (__ASSUME_IPC64): Likewise.
18513         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18514         <kernel-features.h>.
18515         [__ASSUME_32BITUIDS]: Make code unconditional.
18516         [!__ASSUME_32BITUIDS]: Remove conditional code.
18517         * sysdeps/unix/sysv/linux/opendir.c: Do not include
18518         <kernel-features.h>.
18519         [__ASSUME_O_DIRECTORY]: Make code unconditional.
18520         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18521         132096]: Remove conditional code.
18522         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18523         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18524         <kernel-features.h>.
18525         [__ASSUME_32BITUIDS]: Make code unconditional.
18526         [!__ASSUME_32BITUIDS]: Remove conditional code.
18527         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18528         <kernel-features.h>.
18529         [__ASSUME_32BITUIDS]: Make code unconditional.
18530         [!__ASSUME_32BITUIDS]: Remove conditional code.
18531         * sysdeps/unix/sysv/linux/setegid.c: Do not include
18532         <kernel-features.h>.
18533         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18534         unconditional.
18535         (__setresgid): Do not declare.
18536         [__ASSUME_32BITUIDS]: Make code unconditional.
18537         [!__ASSUME_32BITUIDS]: Remove conditional code.
18538         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18539         <kernel-features.h>.
18540         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18541         unconditional.
18542         (__setresuid): Do not declare.
18543         [__ASSUME_32BITUIDS]: Make code unconditional.
18544         [!__ASSUME_32BITUIDS]: Remove conditional code.
18545         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18546         <kernel-features.h>.
18547         [__ASSUME_32BITUIDS]: Make code unconditional.
18548         [!__ASSUME_32BITUIDS]: Remove conditional code.
18549         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18550         <kernel-features.h>.
18551         [__ASSUME_32BITUIDS]: Make code unconditional.
18552         [!__ASSUME_32BITUIDS]: Remove conditional code.
18554 2012-05-25  Richard Henderson  <rth@twiddle.net>
18556         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18557         dl_hwcap to ifunc resolver.
18558         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18559         elf_ifunc_invoke.
18560         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18561         dl_hwcap to ifunc resolver.
18562         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18564 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18566         [BZ #14153]
18567         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18568         for |x| <= 2**-26, not 2**-57.
18569         * math/libm-test.inc (acos_test): Do not allow spurious underflow
18570         exception.
18572 2012-05-24  Jeff Law  <law@redhat.com>
18574         * stdio-common/Makefile (tests): Add bug25.
18575         * stdio-common/bug25.c: New test.
18577 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18579         [BZ #13576]
18580         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18581         multiple of MALLOC_ALIGNMENT in size.
18582         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18584 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18586         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18587         Require >= 256.
18588         (FILENAME_MAX): Use macro-int-constant.
18589         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
18590         (_IOFBF): Use macro-int-constant.
18591         (_IOLBF): Likewise.
18592         (_IONBF): Likewise.
18593         (SEEK_CUR): Likewise.
18594         (SEEK_END): Likewise.
18595         (SEEK_SET): Likewise.
18596         (TMP_MAX): Likewise.
18597         (EOF): Use macro-int-constant.  Require < 0.
18598         (NULL): Use macro-constant.  Require == 0.
18599         (stdin): Require type to be FILE *.
18600         (stdout): Likewise.
18601         (stderr): Likewise.
18602         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18603         macro-int-constant.
18604         (EXIT_SUCCESS): Likewise.
18605         (NULL): Use macro-constant.  Require == 0.
18606         (RAND_MAX): Use macro-int-constant.
18607         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18608         [C99-based standards] (strtof): Require function.
18609         [C99-based standards] (strtold): Likewise.
18610         [C99-based standards] (strtoll): Likewise.
18611         [C99-based standards] (strtoull): Likewise.
18612         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18613         [ISO || ISO99 || ISO11] (limits.h): Likewise.
18614         [ISO || ISO99 || ISO11] (math.h): Likewise.
18615         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18616         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18617         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18619 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
18621         [BZ #14132]
18622         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18623         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18624         * intl/dgettext.c (DCGETTEXT): Likewise.
18625         * intl/gettext.c (DCGETTEXT): Likewise.
18626         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18627         * posix/regex_internal.h (gettext): Likewise.
18628         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18629         Remove declaration.
18630         * include/argz.h (__argz_count_internal)
18631         (__argz_stringify_internal): Remove declaration.
18632         (__argz_count, __argz_stringify): Declare hidden proto.
18633         * intl/dcgettext.c: Remove use of INTDEF.
18634         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18635         * string/argz-stringify.c: Likewise.
18636         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18637         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18638         Declare hidden proto.
18639         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18640         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18641         Declare hidden proto.
18642         * include/stdio.h (__asprintf_internal): Don't declare.
18643         (__asprintf): Don't define as macro.  Declare hidden proto.
18644         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18645         (__fsetlocking): Declare hidden proto.
18646         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18647         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18648         hidden proto.
18649         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18650         (_IO_setlinebuf): Remove use of INTUSE.
18651         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18652         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18653         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18654         Remove declaration.
18655         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18656         (_IO_do_flush): Remove use of INTUSE.
18657         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18658         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18659         (_IO_adjust_column, _IO_least_wmarker)
18660         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18661         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18662         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18663         (_IO_default_doallocate, _IO_wdefault_doallocate)
18664         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18665         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18666         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18667         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18668         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18669         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18670         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18671         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18672         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18673         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18674         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18675         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18676         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18677         proto.
18678         (_IO_flush_all_internal, _IO_adjust_column_internal)
18679         (_IO_default_uflow_internal, _IO_default_finish_internal)
18680         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18681         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18682         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18683         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18684         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18685         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18686         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18687         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18688         (_IO_file_close_internal, _IO_file_close_it_internal)
18689         (_IO_file_underflow_internal, _IO_file_overflow_internal)
18690         (_IO_file_init_internal, _IO_file_attach_internal)
18691         (_IO_file_fopen_internal, _IO_file_read_internal)
18692         (_IO_file_sync_internal, _IO_file_seek_internal)
18693         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18694         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18695         (_IO_str_underflow_internal, _IO_str_overflow_internal)
18696         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18697         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18698         (_IO_list_all_internal, _IO_link_in_internal)
18699         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18700         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18701         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18702         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18703         (_IO_do_write_internal, _IO_padn_internal)
18704         (_IO_getline_info_internal, _IO_getline_internal)
18705         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18706         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18707         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18708         (_IO_vfscanf_internal, _IO_vfprintf_internal)
18709         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18710         (_IO_init_internal, _IO_un_link_internal): Don't declare.
18711         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18712         with libc_hidden_ver, remove use of INTUSE.
18713         * libio/genops.c: Likewise.
18714         * libio/freopen.c: Likewise.
18715         * libio/freopen64.c: Likewise.
18716         * libio/iofclose.c: Likewise.
18717         * libio/iofdopen.c: Likewise.
18718         * libio/iofflush.c: Likewise.
18719         * libio/iofflush_u.c: Likewise.
18720         * libio/iofgets.c: Likewise.
18721         * libio/iofgets_u.c: Likewise.
18722         * libio/iofopen.c: Likewise.
18723         * libio/iofopncook.c: Likewise.
18724         * libio/iofread.c: Likewise.
18725         * libio/iofread_u.c: Likewise.
18726         * libio/ioftell.c: Likewise.
18727         * libio/iofwrite.c: Likewise.
18728         * libio/iogetline.c: Likewise.
18729         * libio/iogets.c: Likewise.
18730         * libio/iogetwline.c: Likewise.
18731         * libio/iopadn.c: Likewise.
18732         * libio/iopopen.c: Likewise.
18733         * libio/ioseekoff.c: Likewise.
18734         * libio/ioseekpos.c: Likewise.
18735         * libio/iosetbuffer.c: Likewise.
18736         * libio/iosetvbuf.c: Likewise.
18737         * libio/ioungetc.c: Likewise.
18738         * libio/ioungetwc.c: Likewise.
18739         * libio/iovdprintf.c: Likewise.
18740         * libio/iovsprintf.c: Likewise.
18741         * libio/iovsscanf.c: Likewise.
18742         * libio/memstream.c: Likewise.
18743         * libio/obprintf.c: Likewise.
18744         * libio/oldfileops.c: Likewise.
18745         * libio/oldiofclose.c: Likewise.
18746         * libio/oldiofdopen.c: Likewise.
18747         * libio/oldiofopen.c: Likewise.
18748         * libio/oldiopopen.c: Likewise.
18749         * libio/oldstdfiles.c: Likewise.
18750         * libio/putc.c: Likewise.
18751         * libio/setbuf.c: Likewise.
18752         * libio/setlinebuf.c: Likewise.
18753         * libio/stdfiles.c: Likewise.
18754         * libio/strops.c: Likewise.
18755         * libio/vasprintf.c: Likewise.
18756         * libio/vscanf.c: Likewise.
18757         * libio/vsnprintf.c: Likewise.
18758         * libio/vswprintf.c: Likewise.
18759         * libio/wfiledoalloc.c: Likewise.
18760         * libio/wfileops.c: Likewise.
18761         * libio/wgenops.c: Likewise.
18762         * libio/wmemstream.c: Likewise.
18763         * libio/wstrops.c: Likewise.
18764         * libio/__fpurge.c: Likewise.
18765         * libio/__fsetlocking.c: Likewise.
18766         * assert/assert.c: Likewise.
18767         * debug/fgets_chk.c: Likewise.
18768         * debug/fgets_u_chk.c: Likewise.
18769         * debug/fread_chk.c: Likewise.
18770         * debug/fread_u_chk.c: Likewise.
18771         * debug/gets_chk.c: Likewise.
18772         * debug/obprintf_chk.c: Likewise.
18773         * debug/vasprintf_chk.c: Likewise.
18774         * debug/vdprintf_chk.c: Likewise.
18775         * debug/vsnprintf_chk.c: Likewise.
18776         * debug/vsprintf_chk.c: Likewise.
18777         * malloc/mtrace.c: Likewise.
18778         * misc/error.c: Likewise.
18779         * misc/syslog.c: Likewise.
18780         * stdio-common/asprintf.c: Likewise.
18781         * stdio-common/fxprintf.c: Likewise.
18782         * stdio-common/getw.c: Likewise.
18783         * stdio-common/isoc99_fscanf.c: Likewise.
18784         * stdio-common/isoc99_scanf.c: Likewise.
18785         * stdio-common/isoc99_vfscanf.c: Likewise.
18786         * stdio-common/isoc99_vscanf.c: Likewise.
18787         * stdio-common/isoc99_vsscanf.c: Likewise.
18788         * stdio-common/printf-prs.c: Likewise.
18789         * stdio-common/printf_fp.c: Likewise.
18790         * stdio-common/printf_fphex.c: Likewise.
18791         * stdio-common/printf_size.c: Likewise.
18792         * stdio-common/putw.c: Likewise.
18793         * stdio-common/scanf.c: Likewise.
18794         * stdio-common/sprintf.c: Likewise.
18795         * stdio-common/tmpfile.c: Likewise.
18796         * stdio-common/vfprintf.c: Likewise.
18797         * stdio-common/vfscanf.c: Likewise.
18798         * stdlib/strfmon_l.c: Likewise.
18799         * sunrpc/openchild.c: Likewise.
18800         * sunrpc/xdr_stdio.c: Likewise.
18801         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18802         * sysdeps/mach/hurd/tmpfile.c: Likewise.
18804 2012-05-24  Roland McGrath  <roland@hack.frob.com>
18806         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18808         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18809         in the third column, to generate for the shared library an IFUNC
18810         that uses _dl_vdso_vsym.
18811         * Makerules (COMPILE.c, compile-stdin.c): New variables.
18812         * Makeconfig (object-suffixes-noshared): New variable.
18814         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18815         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18816         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18817         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18819         [BZ #14132]
18820         * include/sys/time.h (__gettimeofday): Remove macro.
18821         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18822         * time/gettimeofday.c (__gettimeofday): Remove #undef.
18823         Remove INTDEF.
18824         (__gettimeofday): Add libc_hidden_def.
18825         (gettimeofday): Add libc_hidden_weak.
18826         * sysdeps/mach/gettimeofday.c: Likewise.
18827         * sysdeps/posix/gettimeofday.c: Likewise.
18828         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18829         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18830         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18831         (__gettimeofday_internal): Remove strong_alias.
18832         (__gettimeofday): Add libc_hidden_def.
18833         (gettimeofday): Add libc_hidden_weak.
18834         * sysdeps/unix/syscalls.list (gettimeofday):
18835         Remove __gettimeofday_internal alias.
18837 2012-05-24  Daniel Jacobowitz  <drow@false.org>
18838             H.J. Lu  <hongjiu.lu@intel.com>
18840         [BZ #12495]
18841         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18842         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18843         (largebin_index_32_big): New.
18844         (largebin_index): Use it for 16-byte alignment.
18845         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
18846         correction with front_misalign.
18848 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18852         Likewise.
18853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18854         Likewise.
18855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18856         Likewise.
18857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18858         Likewise.
18859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18860         Likewise.
18861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18862         Likewise.
18863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18864         Likewise.
18865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18866         Likewise.
18867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18868         Likewise.
18869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18870         Likewise.
18871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18872         Likewise.
18873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18874         Likewise.
18876         * scripts/data/c++-types-x32-linux-gnu.data: New file.
18877         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18879 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18881         [BZ #10846]
18882         [BZ #14036]
18883         * math/libm-test.inc (exp_test): Add test from bug 14036.
18884         (pow_test): Add test from bug 10846.
18886         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18887         and other flags.
18888         (special_function): Do not include flags in test name.
18889         (parse_args): Likewise.
18890         * sysdeps/i386/fpu/libm-test-ulps: Update.
18891         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18892         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18893         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18896         * math/gen-libm-test.pl (%beautify): Add entries for underflow
18897         exceptions.
18898         * math/libm-test.inc ("Philosophy"): Update comment about
18899         exception testing.
18900         (UNDERFLOW_EXCEPTION): New macro.
18901         (UNDERFLOW_EXCEPTION_OK): Likewise.
18902         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18903         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18904         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18905         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18906         (INVALID_EXCEPTION_OK): Update value.
18907         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18908         (OVERFLOW_EXCEPTION_OK): Likewise.
18909         (IGNORE_ZERO_INF_SIGN): Likewise.
18910         (test_exceptions): Handle underflow exceptions.
18911         (acos_test): Update for underflow exception expectations.
18912         (cexp_test): Likewise.
18913         (clog_test): Likewise.
18914         (clog10_test): Likewise.
18915         (csqrt_test): Likewise.
18916         (ctan_test): Likewise.
18917         (ctanh_test): Likewise.
18918         (exp_test): Likewise.
18919         (exp10_test): Likewise.
18920         (exp2_test): Likewise.
18921         (expm1_test): Likewise.
18922         (fma_test): Likewise.
18923         (j0_test): Likewise.
18924         (jn_test): Likewise.
18925         (nexttoward_test): Likewise.
18926         (pow_test): Likewise.
18927         (scalbn_test): Likewise.
18928         (scalbln_test): Likewise.
18929         (tan_test): Likewise.
18930         (y1_test): Likewise.
18931         * sysdeps/i386/fpu/libm-test-ulps: Update.
18932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18934 2012-05-23  David S. Miller  <davem@davemloft.net>
18936         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18937         (__libc_sigaction): Remove unused local variables.
18939 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18941         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18943 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
18945         mktime: avoid signed integer overflow
18946         * time/mktime.c (__mktime_internal): Do not mishandle the case
18947         where diff == INT_MIN.
18949         mktime: simplify computation of average
18950         * time/mktime.c (ranged_convert): Use new time_t_avg function
18951         instead of rolling our own (probably-slower) code.
18953         mktime: do not assume signed right shift propagates sign bit
18954         * time/mktime.c (isdst_differ): New static function.
18955         (__mktime_internal): No need to normalize tm_isdst now.
18956         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18957         tm_isdst values.
18959         mktime: merge another wrapv change from gnulib
18960         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18961         from some compilers.
18963         mktime: remove incorrect attempt at unusual arithmetics
18964         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18965         The code didn't really work on such machines anyway.
18966         (TYPE_MINIMUM): Assume two's complement.
18967         (twos_complement_arithmetic): Verify that long_int and time_t
18968         are two's complement (or unsigned, in the latter case).
18970         mktime: check signed shifts on long_int and time_t, too
18971         * time/mktime.c (SHR): Check that shifts work as desired
18972         on the types long_int and time_t too, as SHR is used on
18973         such types.
18975         mktime: do not assume 'long' is wide enough
18976         * time/mktime.c (verify): Move decl up.
18977         (long_int): New type.
18978         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18979         to remove assumption in the code that 'long' is wide enough to
18980         store year values.  This assumption is not true on x32 and on
18981         some non-glibc platforms.
18983         mktime: merge wrapv change from gnulib
18984         * time/mktime.c (WRAPV): New macro.
18985         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18986         (guess_time_tm, __mktime_internal): Do not assume that signed
18987         integer overflow wraps around; modern compilers generate code
18988         where this assumption is no longer valid.
18990 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18992         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18993         Replace "jmp L(pseudo_end)" with "ret".
18994         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18995         Likewise.
18997 2012-05-23  Andreas Jaeger  <aj@suse.de>
18999         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19000         * sysdeps/unix/sysv/linux/poll.c: Remove file.
19002 2012-05-23  Andreas Jaeger  <aj@suse.de>
19003             Maximilian Attems  <max@stro.at>
19005         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19006         New macros.
19008 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19010         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19011         code so that pseudo_end is just ret and the stack pointer is
19012         correct also for static library in error case.
19014 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
19016         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19017         move to syscalls.list.
19018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19023         * manual/install.texi (Running make install): Do not mention Linux
19024         kernel version for which pt_chown is not needed.
19025         (Linux): Do not mention problems with nscd with 2.0 kernels.
19026         * INSTALL: Regenerated.
19028 2012-05-23  Andreas Jaeger  <aj@suse.de>
19030         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19031         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19032         macro.
19033         * sysdeps/unix/sysv/linux/s390/bits/mman.h
19034         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19035         * sysdeps/unix/sysv/linux/sh/bits/mman.h
19036         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19037         * sysdeps/unix/sysv/linux/i386/bits/mman.h
19038         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19039         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19040         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19041         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19042         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19043         * sysdeps/unix/sysv/linux/bits/in.h
19044         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19046 2012-05-22  Roland McGrath  <roland@hack.frob.com>
19048         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19049         (PREPARE_VERSION): Just use assert instead, it will be elided
19050         under [NDEBUG] anyway.
19052 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19054         * sysdeps/unix/sysv/linux/Makefile: Include
19055         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19056         (sysdep_routines): Remove sysctl.
19057         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19058         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19059         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19060         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19061         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19063 2012-05-22  Andreas Jaeger  <aj@suse.de>
19065         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19066         that pseudo_end is just ret and the stack pointer is correct also
19067         for static library in error case.
19069 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19071         [BZ #14122]
19072         * nss/nsswitch.c (defconfig_entries): New variable.
19073         (__nss_database_lookup): Don't leak defconfig entries.
19074         (nss_parse_service_list): Don't leak on error paths.
19075         (free_database_entries): New function.
19076         (free_defconfig): New function.
19077         (free_mem): Move common code to free_database_entries.
19079 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19081         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19082         Add arch_prctl.
19083         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19085         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19086         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19087         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19088         New macro.
19089         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19090         (INTERNAL_SYSCALL_TYPES): Likewise.
19091         (LOAD_ARGS_TYPES_[1-6]): Likewise.
19092         (LOAD_REGS_TYPES_[1-6]): Likewise.
19093         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19094         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19096 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19098         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19099         copysignl for GLIBC_2_0.
19100         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19101         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19102         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19103         logbl for GLIBC_2_0.
19104         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19105         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19107 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19109         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19110         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19112         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19113         Use "neg %eax".
19115         * time/mktime.c: Update copyright years.
19117 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19119         mktime: merge comment-quoting-style change from gnulib
19120         * time/mktime.c: Quote 'like this' in comments.
19121         The GNU coding standards suggest that we no longer quote `like this',
19122         as "`" and "'" are typically rendered asymmetrically nowadays.
19123         The typical gnulib style is to quote 'like this' when quoting
19124         code, and "like this" when quoting English.
19126         * time/mktime.c (compile-command): Add "-I.".
19128         mktime: merge mktime-internal.h change from gnulib
19129         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19131         mktime: merge time_r change from gnulib
19132         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19134         mktime: merge DEBUG change from gnulib
19135         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19136         case system <time.h> has a #define.
19138         mktime: merge <sys/types.h> change from gnulib
19139         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19140         since <time.t> is now guaranteed to define time_t.
19142         mktime: merge HAVE_CONFIG_H change from gnulib
19143         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19145 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19147         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19148         Use "neg %eax".
19150         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19151         __rlim_t cast.
19152         (struct rusage): Use anonymous union to pad each field to
19153         __syscall_slong_t.
19155 2012-05-21  David S. Miller  <davem@davemloft.net>
19157         * Makefules (o-iterator): Remove .s cases.
19158         (compile-command.s): Delete.
19159         (COMPILE.s): Delete.
19160         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19162 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
19164         * configure.in (libc_cv_predef_stack_protector): Only consider
19165         "foobar" and "__stack_chk_fail" lines in libc_undefs.
19166         * configure: Regenerated.
19168 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19170         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19171         New macro.  Use R*LP on int and pointer.
19172         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19173         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19174         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19175         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19177         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19178         [__WORDSIZE_TIME64_COMPAT32] instead of
19179         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19180         (struct utmp): Likewise.
19181         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19182         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19183         Renamed to ...
19184         (__WORDSIZE_TIME64_COMPAT32): This.
19185         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19186         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19187         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19188         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19189         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19190         (__WORDSIZE_TIME64_COMPAT32): New macro.
19192 2012-05-21  Andreas Jaeger  <aj@suse.de>
19194         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19195         only if [SHARED]. Add prototype for __wcschr_ia32.
19197 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19199         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19200         of %rbp unmolested in the jmp_buf while mangling the low bits.
19201         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19202         unmolested high bits of %rbp while demangling the low bits.
19203         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19205 2012-05-21  Andreas Jaeger  <aj@suse.de>
19207         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19208         * sunrpc/svc_simple.c: Use it for registerrpc.
19209         * sunrpc/xcrypt.c: Use it for passwd2des.
19211         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19213 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19215         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19216         Don't define if [__SYSCALL_WORDSIZE != 32].
19217         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19218         New macro.
19220 2012-05-21  Bruno Haible  <bruno@clisp.org>
19221             Andreas Jaeger  <aj@suse.de>
19223         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19224         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19225         inptr and inend for must_buffer_ch.
19226         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19227         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19228         * stdio-common/Makefile (tests): Remove bug15.
19229         (bug15-ENV): Remove macro.
19230         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19231         anymore.
19233 2012-05-19  Andreas Jaeger  <aj@suse.de>
19234             Roland McGrath  <roland@hack.frob.com>
19236         * manual/contrib.texi: Completely rewritten. It contains now an
19237         alphabetical list of contributors and their contributions.
19239 2012-05-21  Richard Henderson  <rth@twiddle.net>
19241         * misc/getauxval.c (__getauxval): Use unsigned long int.
19242         * misc/sys/auxv.h: Include <sys/cdefs.h>.
19243         (getauxval): Use unsigned long int.
19245 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19247         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19249 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19251         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19252         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19253         __alignof__ (long double).
19255 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19259 2012-05-20  Richard Henderson  <rth@twiddle.net>
19261         * misc/getauxval.c: New file.
19262         * misc/sys/auxv.h: New file.
19263         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19264         (routines): Add getauxval.
19265         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19266         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19267         * elf/dl-sysdep.c (_dl_auxv): Remove.
19268         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19269         * elf/dl-support.c (_dl_auxv): New variable.
19270         (_dl_aux_init): Initialize it.
19271         * manual/startup.texi (Auxiliary Vector): New node.
19272         * sysdeps/generic/bits/hwcap.h: New file.
19273         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19274         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
19275         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19276         * sysdeps/sparc/sysdep.h: ... here.  Include it.
19277         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19278         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19280         Update.
19281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19284         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19290 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19294 2012-05-19  David S. Miller  <davem@davemloft.net>
19296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19298 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
19300         [BZ #14123]
19301         * math/s_ccosh.c: Include <float.h>
19302         (__ccosh): Avoid internal overflow calculating sinh and cosh
19303         values before multiplying by sin and cos values.
19304         * math/s_ccoshf.c: Likewise.
19305         * math/s_ccoshl.c: Likewise.
19306         * math/s_csin.c: Likewise.
19307         * math/s_csinf.c: Likewise.
19308         * math/s_csinl.c: Likewise.
19309         * math/s_csinh.c: Likewise.
19310         * math/s_csinhf.c: Likewise.
19311         * math/s_csinhl.c: Likewise.
19312         * math/libm-test.inc (ccos_test): Add more tests.
19313         (ccosh_test): Likewise.
19314         (csin_test): Likewise.
19315         (csinh_test): Likewise.
19316         * sysdeps/i386/fpu/libm-test-ulps: Update.
19317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19319 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19321         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19322         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19324         * sysdeps/x86_64/x32/_itoa.h: Add comment.
19326 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
19328         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19329         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19330         * sysdeps/powerpc/soft-fp/Versions: Likewise.
19331         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19332         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19333         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19334         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19335         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19336         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19337         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19338         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19339         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19340         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19341         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19342         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19343         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19344         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19345         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19346         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19347         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19348         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19349         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19350         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19351         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19352         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19353         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19354         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19355         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19356         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19357         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19358         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19360 2012-05-18  Andreas Jaeger  <aj@suse.de>
19362         * csu/.gitignore: Delete.
19364 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19366         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19367         (timex): Use __syscall_slong_t.
19369 2012-05-18  Andreas Jaeger  <aj@suse.de>
19370             Carlos O'Donell  <carlos_odonell@mentor.com>
19372         * manual/install.texi (Configuring and compiling): Update
19373         description about files modified in the source directory.
19374         * INSTALL: Regenerated.
19376 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19378         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19379         value.  Use "or" to set return value to -1.
19380         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19381         negate return value.
19383 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19385         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19386         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19387         failure if the compiler has Graphite support disabled.
19388         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19389         Likewise.
19390         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19391         CFLAGS-memmove.c): Likewise.
19392         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19393         Likewise.
19395 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19397         * sysdeps/x86_64/x32/_itoa.h: New file.
19399         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19400         getdents system call only if kernel and user dirents have the
19401         same d_ino and d_off.
19403         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19404         LLONG_MAX != LONG_MAX.
19405         (_itoa_word): Use _ITOA_WORD_TYPE on value.
19406         (_fitoa_word): Likewise.
19408         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19409         years.
19410         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19411         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19412         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19414         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19415         include <bits/wordsize.h>.  Check __x86_64__ instead of
19416         __WORDSIZE.
19417         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19418         if __x86_64__ is defined.  Use anonymous union on fpstate.
19420         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19421         anonymous union.
19423 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
19425         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19426         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19427         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19428         Refer to _rtld_local_ro instead of _rtld_global_ro.
19429         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19430         Likewise.
19431         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19432         Likewise.
19433         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19434         Likewise.
19435         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19436         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19437         of _rtld_global, and rtld_progname instead of _dl_argv[0].
19439         * sysdeps/powerpc/powerpc32/dl-machine.c
19440         (__elf_machine_runtime_setup) [PROF]: Don't reference
19441         _dl_prof_resolve.
19443 2012-05-18  Andreas Jaeger  <aj@suse.de>
19445         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19446         function only available for GCCs before 3.4 since GCC 3.4
19447         introduced a builtin.
19448         (lrint): Likewise.
19449         (llrintf): Likewise.
19450         (llrint): Likewise.
19451         (fmaxf): Likewise.
19452         (fmax): Likewise.
19453         (fminf): Likewise.
19454         (fmin): Likewise.
19455         (rint): Likewise.
19456         (rintf): Likewise.
19457         (nearbyint): Likewise.
19458         (nearbyintf): Likewise.
19459         (ceil): Likewise.
19460         (ceilf): Likewise.
19461         (floor): Likewise.
19462         (floorf): Likewise.
19464 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19466         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19467         on both fields and cast pointer to __syscall_ulong_t.
19469         * bits/types.h (__fsword_t): New type.
19470         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19471         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19472         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19473         (__FSWORD_T_TYPE): Likewise.
19474         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19475         (__FSWORD_T_TYPE): Likewise.
19476         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19477         (__FSWORD_T_TYPE): Likewise.
19478         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19479         (__FSWORD_T_TYPE): Likewise.
19480         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19481         __SWORD_TYPE with __fsword_t.
19482         (statfs64): Likewise.
19484 2012-05-17  David S. Miller  <davem@davemloft.net>
19486         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19488 2012-05-17  Andreas Jaeger  <aj@suse.de>
19490         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19491         warning.
19493 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19495         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19497 2012-05-17  Andreas Jaeger  <aj@suse.de>
19499         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19500         when it is used.
19502 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
19504         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19506 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19508         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19509         * sysdeps/x86_64/tst-mallocalign1.c: New file.
19511 2012-05-17  Andreas Jaeger  <aj@suse.de>
19512             Carlos O'Donell  <carlos_odonell@mentor.com>
19514         [BZ #14059]
19515         * sysdeps/x86_64/multiarch/init-arch.h
19516         (bit_YMM_Usable): Rename to...
19517         (bit_AVX_Usable): ... this.
19518         (bit_FMA4_Usable): New macro.
19519         (bit_XMM_state): New macro.
19520         (bit_YMM_state): New macro.
19521         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19522         [__ASSEMBLER__] (index_AVX_Usable): ... this.
19523         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19524         (CPUID_OSXSAVE): New macro.
19525         (CPUID_AVX): New macro.
19526         (CPUID_FMA4): New macro.
19527         (index_YMM_Usable): Rename to...
19528         (index_AVX_Usable): ... this.
19529         (HAS_AVX): Use HAS_ARCH_FEATURE.
19530         (HAS_FMA4): Likewise.
19531         (HAS_YMM_USABLE): Remove.
19532         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19533         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19534         are present.
19535         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19536         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19537         * sysdeps/x86_64/multiarch/Makefile: Likewise.
19538         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19539         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19541 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
19543         * math/libm-test.c: Support platforms without multiple rounding modes.
19544         * math/bug-nextafter.c: Support platforms without FP exceptions.
19545         * math/bug-nexttoward.c: Likewise.
19546         * math/test-fenv.c: Likewise.
19547         * math/test-misc.c: Likewise.
19548         * stdlib/bug-getcontext.c: Likewise.
19550 2012-05-17  Andreas Jaeger  <aj@suse.de>
19552         * manual/examples/search.c (critter_cmp): Change signature to
19553         avoid warnings.
19554         * manual/string.texi (Collation Functions): Likewise.
19556 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19558         * bits/types.h: Fold copyright years.
19559         * bits/typesizes.h: Likewise.
19560         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19561         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19562         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19563         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19564         * time/time.h: Likewise.
19566 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
19568         [BZ #208]
19569         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19570         in instead of returning them.  Return void.
19571         (__libc_mallinfo): Accumulate over all arenas.
19572         (__malloc_stats): Adjust for change in int_mallinfo interface.
19574 2012-05-16  Roland McGrath  <roland@hack.frob.com>
19576         [BZ #10375]
19577         * configure.in (NM): Add AC_CHECK_TOOL for it.
19578         (libc_extra_cflags): New substituted variable.
19579         Check for -fstack-protector being used implicitly.
19580         * configure: Regenerated.
19581         * config.make.in (config-extra-cflags): New variable,
19582         gets @libc_extra_cflags@.
19583         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19585         [BZ #10375]
19586         * configure.in: Check for _FORTIFY_SOURCE being predefined.
19587         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19588         * configure: Regenerated.
19589         * config.make.in (CPPUNDEFS): New substituted variable.
19590         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19591         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19592         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19594 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19596         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19597         (mq_attr): Use __syscall_slong_t.
19599 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19601         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19602         Check __x86_64__ instead of __WORDSIZE.
19603         (_STAT_VER_LINUX): Likewise.
19604         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
19605         __syscall_ulong_t and __syscall_slong_t.
19606         (stat64): Likewise.
19608 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19610         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19612 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19614         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19616 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19618         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19619         __syscall_ulong_t.
19621         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19622         include <bits/wordsize.h>.  Check __x86_64__ instead of
19623         __WORDSIZE.
19624         (greg_t): Use "__extension__ long long int" if __x86_64__ is
19625         defined.
19626         (mcontext_t): Replace "unsigned long" with "unsigned long long".
19628         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19629         include <bits/wordsize.h>.  Check __x86_64__ instead of
19630         __WORDSIZE.
19631         (user_regs_struct): Use "__extension__ unsigned long long"
19632         instead of "unsigned long" if __x86_64__ is defined.
19633         (user): Likewise.  Pad after pointer field if __ILP32__ is
19634         defined.
19636 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
19638         * configure.in (makeinfo): Require version 4.5 or later.  Allow
19639         versions 5 to 9.
19640         * configure: Regenerated.
19641         * manual/install.texi (texinfo): Increase version requirement to
19642         4.5 or later.
19643         * INSTALL: Regenerated.
19645         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19647 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19649         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19651         * sysdeps/x86_64/x32/ffs.c: New file.
19653         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19654         __syscall_ulong_t.
19655         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19656         defined.  Use __syscall_ulong_t.
19657         (shminfo): Use __syscall_ulong_t.
19658         (shm_info): Likewise.
19660         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19661         __syscall_ulong_t.
19663         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19664         <bits/wordsize.h>.
19665         (msgqnum_t): Use __syscall_ulong_t.
19666         (msglen_t): Likewise.
19667         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
19668         __syscall_ulong_t.
19670         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19671         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19673         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19675         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19676         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19678         * sysvipc/sys/msg.h (msgbuf): Replace long int with
19679         __syscall_slong_t.
19681         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19682         include <bits/wordsize.h>.  Check __x86_64__ instead of
19683         __WORDSIZE.
19685         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19686         "unsigned long long int" if __x86_64__ is defined.
19687         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19689         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19690         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19691         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19693         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19694         <stdint.h>.
19695         (GET_PC): Cast to uintptr_t first.
19696         (GET_FRAME): Likewise.
19697         (GET_STACK): Likewise.
19699         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19700         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19701         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19702         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19703         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19704         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19705         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19706         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19707         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19708         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19709         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19710         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19711         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19712         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19713         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19714         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19715         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19716         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19717         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19718         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19719         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19720         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19721         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19722         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19723         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19724         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19725         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19726         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19727         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19729 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
19731         * Makerules (+depfiles): Also collect depfiles from .oS in
19732         $(extra-objs).
19733         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19734         .oS, $(libnldbl-routines)).
19736         * Makerules (native-compile-mkdep-flags): Define.
19737         * sunrpc/Makefile (extra-objs): Add $(addprefix
19738         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19739         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19740         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
19741         calling $(make-target-directory).
19743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19745         * bits/types.h (__snseconds_t): Removed.
19746         * time/time.h (struct timespec): Replace __snseconds_t with
19747         __syscall_slong_t.
19748         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19749         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19750         Likewise.
19751         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19752         (__SNSECONDS_T_TYPE): Likewise.
19753         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19754         (__SNSECONDS_T_TYPE): Likewise.
19755         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19756         (__SNSECONDS_T_TYPE): Likewise.
19758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19760         * sysdeps/mach/hurd/bits/typesizes.h
19761         (__SYSCALL_SLONG_TYPE): New macro.
19762         (__SYSCALL_ULONG_TYPE): Likewise.
19764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19766         * bits/types.h (__syscall_slong_t): New type.
19767         (__syscall_ulong_t): Likewise.
19769         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19770         (__SYSCALL_ULONG_TYPE): Likewise.
19771         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19772         (__SYSCALL_SLONG_TYPE): Likewise.
19773         (__SYSCALL_ULONG_TYPE): Likewise.
19774         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19775         (__SYSCALL_SLONG_TYPE): Likewise.
19776         (__SYSCALL_ULONG_TYPE): Likewise.
19777         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19778         (__SYSCALL_SLONG_TYPE): Likewise.
19779         (__SYSCALL_ULONG_TYPE): Likewise.
19781 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19783         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19784         Add sigaltstack-offsets.sym.
19785         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19786         <sigaltstack-offsets.h>.
19787         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
19788         longjmp_msg pointer.
19789         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
19790         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19791         signal stack.
19792         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19794 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19796         * elf/stackguard-macros.h: Remove file.
19797         * sysdeps/generic/stackguard-macros.h: New file.
19798         * sysdeps/i386/stackguard-macros.h: Likewise.
19799         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19800         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19801         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19802         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19803         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19804         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19805         * sysdeps/x86_64/stackguard-macros.h: Likewise.
19806         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19807         <elf/stackguard-macros.h>.
19809         [BZ #14109]
19810         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19811         __aligned__ in attribute.
19812         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19813         (gregset_t): Likewise.
19815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19817         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19818         * sysdeps/x86_64/64/Implies-after: Here.  New file.
19819         * sysdeps/x86_64/x32/Implies-after: New file.
19821 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19823         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19824         and access return value for _dl_profile_fixup.  Use R10_LP to
19825         load frame size.
19827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19829         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19833         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19834         * sysdeps/x86_64/x32/sysdep.h: New file.
19836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19838         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19839         * sysdeps/x86_64/setjmp.S: Likewise.
19841 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19843         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19844         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19845         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19846         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19847         remove unused global constant.
19849 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
19851         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19852         include of <not-cancel.h>.
19854 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19856         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19858 2012-05-15  Jeff Law  <law@redhat.com>
19859             Andreas Jaeger  <aj@suse.de>
19861         [BZ #13594]
19862         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19863         out from...
19864         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19865         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19866         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19867         code changing __hst_map_handle.map.
19869 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19871         * configure.in (sysnames): Look for Implies-before and Implies-after
19872         files.
19873         * configure: Regenerated.
19875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19877         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19878         8-byte data alignment with LP_SIZE alignment.
19880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19882         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19883         into R10_LP.
19885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19887         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19891         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19892         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19893         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19894         Likewise.
19895         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19899         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19900         (stackinfo_sub_sp): Likewise.
19902 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19904         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19905         RAX_LP.
19907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19909         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19910         into R*_LP.
19912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19914         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19915         sizes into R*_LP.
19917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19919         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19923         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19924         into R11_LP and load __x86_64_shared_cache_size_half into
19925         R8_LP.
19927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19929         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19930         R8_LP.
19932 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19934         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19935         logb for POWER7.
19936         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19937         logbf for POWER7.
19938         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19939         logbl for POWER7.
19940         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19941         powerpc32/power7/fpu/s_logb.c via #include.
19942         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19943         powerpc32/power7/fpu/s_logbf.c via #include.
19944         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19945         powerpc32/power7/fpu/s_logbl.c via #include.
19947 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19949         * README.libm: Remove file.
19951 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19953         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19954         count for x32.  Use R*_LP and omit operand-size suffix.
19956 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19958         * shlib-versions: Move x86_64-.*-linux.* entries to ...
19959         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
19960         * sysdeps/x86_64/x32/shlib-versions: New file.
19962 2012-05-14  Roland McGrath  <roland@hack.frob.com>
19964         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19965         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19966         Use _dl_fatal_printf instead.
19968 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19970         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19971         set if not set by the user.  Do not allow for being unset.
19972         * sysdeps/unix/sysv/linux/configure: Regenerated.
19974 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19976         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19977         the `q' suffix from lea and replace .quad with ASM_ADDR.
19979 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19981         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19982         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
19983         instead of $17.
19984         (PTR_DEMANGLE): Likewise.
19986 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19988         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19989         (LP_OP): Likewise.
19990         (ASM_ADDR): Likewise.
19991         (RAX_LP): Likewise.
19992         (RBP_LP): Likewise.
19993         (RBX_LP): Likewise.
19994         (RCX_LP): Likewise.
19995         (RDI_LP): Likewise.
19996         (RSI_LP): Likewise.
19997         (RSP_LP): Likewise.
19998         (R8_LP): Likewise.
19999         (R9_LP): Likewise.
20000         (R10_LP): Likewise.
20001         (R10_LP): Likewise.
20002         (R11_LP): Likewise.
20003         (R12_LP): Likewise.
20004         (R13_LP): Likewise.
20005         (R14_LP): Likewise.
20006         (R15_LP): Likewise.
20008 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20010         * sysdeps/x86_64/x32/dl-machine.h: New file.
20012 2012-05-14  Andreas Jaeger  <aj@suse.de>
20014         * manual/Makefile (subdir): Remove export of subdir.
20015         (all): Remove target.
20016         (.PHONY): Remove all from list.
20017         (mkinstalldirs): Remove.
20018         (.PHONY): Remove installdirs from list.
20019         ($(inst_infodir)/libc.info): Use make-target-directory.
20020         (installdirs): Remove.
20021         (subdir_%): Remove.
20022         (glibc-targets): Remove.
20023         (lib): Remove.
20024         (stubs): Remove.
20025         ($(objpfx)stubs ../po/manual.pot): Remove.
20026         ($(objpfx)stamp%): Remove.
20027         (make-target-directory): Remove.
20028         (subdir_install): Remove.
20029         (routines): Remove.
20030         (aux): Remove.
20031         (sources): Remove.
20032         (objects): Remove.
20033         (headers): Remove.
20035         [BZ #13750]
20036         * manual/.gitignore: Remove, it's not needed anymore.
20037         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20038         all files in it.
20039         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20040         directory.
20041         (texis): Renamed to $(objpfx)texis.
20042         (texis-path): New, contains path to generated files.
20043         (chapters.%): Use texis-path for complete path, add extra argument
20044         libc-texinfo.sh.
20045         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20046         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20047         (summary,texi, stamp-summary): Use complete path of
20048         files. Generate files in build dir.
20049         (dir-add.texi): Build in build dir.
20050         (libm-err.texi,stamp-libm-err): Likewise.
20051         (version.texi, stamp-version): Likewise.
20052         (.%c.texi): Likewise.
20053         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20054         (mostlyclean): Remove target.
20055         (realclean): Remove target.
20056         (generated): Add new variable with contents from mostlyclean and
20057         realclean, remove entries duplicated in common-mostlyclean, add
20058         stamp-libm-err and stamp-version.
20059         (generated-dirs): Add libc directory.
20060         ($(inst_infodir)/libc.info): Install files from build dir.
20062         * manual/install.texi (Configuring and compiling): Adjust since
20063         the info files are not part of the tar ball anymore.
20065 2012-05-14  Andreas Jaeger  <aj@suse.de>
20067         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20068         variable.
20070 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20072         [BZ #13717]
20073         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20074         to 2.2.0 where earlier.
20075         * sysdeps/unix/sysv/linux/configure: Regenerated.
20076         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20077         Remove conditional code.
20078         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20079         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20080         Remove conditional code.
20081         [!__NR_lchown]: Likewise.
20082         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20083         [__NR_lchown]: Likewise.
20084         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20085         comment referencing __ASSUME_LCHOWN_SYSCALL.
20086         * sysdeps/unix/sysv/linux/i386/sigaction.c
20087         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20088         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20089         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20090         Remove conditional code.
20091         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20092         (__protocol_available): Remove #if 0 code.
20093         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20094         conditional code.
20095         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20096         * sysdeps/unix/sysv/linux/kernel-features.h
20097         (__ASSUME_GETCWD_SYSCALL): Don't define.
20098         (__ASSUME_REALTIME_SIGNALS): Likewise.
20099         (__ASSUME_PREAD_SYSCALL): Likewise.
20100         (__ASSUME_PWRITE_SYSCALL): Likewise.
20101         (__ASSUME_POLL_SYSCALL): Likewise.
20102         (__ASSUME_LCHOWN_SYSCALL): Likewise.
20103         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20104         non-SPARC.
20105         (__ASSUME_SIOCGIFNAME): Don't define.
20106         (__ASSUME_MSG_NOSIGNAL): Likewise.
20107         (__ASSUME_SENDFILE): Define unconditionally.
20108         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20109         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20110         conditional code.
20111         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20112         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20113         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20114         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20115         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20116         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20117         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20119         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20120         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20122         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20123         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20125         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20126         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20128         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20129         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20131         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20132         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20134         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20135         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20137         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20138         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20140         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20141         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20142         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20143         Remove conditional code.
20144         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20145         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20146         Remove conditional code.
20147         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20148         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20149         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20150         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20151         Remove conditional code.
20152         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20153         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20154         Remove conditional code.
20155         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20156         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20157         Remove conditional code.
20158         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20159         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20160         Remove conditional code.
20161         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20162         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20163         Remove conditional code.
20164         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20165         * sysdeps/unix/sysv/linux/sh/pwrite64.c
20166         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20167         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20168         * sysdeps/unix/sysv/linux/sigaction.c
20169         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20170         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20171         * sysdeps/unix/sysv/linux/sigpending.c
20172         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20173         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20174         * sysdeps/unix/sysv/linux/sigprocmask.c
20175         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20176         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20177         * sysdeps/unix/sysv/linux/sigsuspend.c
20178         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20179         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20180         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20181         (__libc_missing_rt_sigs): Remove.
20182         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20183         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20184         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20185         Remove conditional code.
20186         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20187         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20188         return 1.
20189         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20190         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20191         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20192         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20194 2012-05-14  Andreas Jaeger  <aj@suse.de>
20196         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20197         it's not used in glibc.
20198         (__coshm1): Likewise.
20199         (__acosh1p): Likewise.
20200         (__sgn): Likewise.
20202         * manual/string.texi (Copying and Concatenation): Add missing
20203         variable in concat example.
20204         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20206 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20208         [BZ #14103]
20209         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20210         __builtin_clzl with __builtin_clzll.
20212 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20214         [BZ #14104]
20215         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20216         libc_freeres_ptr.
20218 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20220         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20221         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20222         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20223         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20225 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
20227         * NEWS: Update ia64 info.
20229 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
20231         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20232         used as bcopy.
20234 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
20236         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20237         * sysdeps/unix/syscalls.list (dup3): Likewise.
20238         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20239         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20241 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20243         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20244         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20246 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20248         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20249         thread pointer.
20250         (TLS_IE): Use mov/add instead of movq/addq to load thread
20251         pointer.
20252         (TLS_GD_PREFIX): New.
20253         (TLS_GD): Use it.
20255 2012-05-11  David S. Miller  <davem@davemloft.net>
20257         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20258         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20259         (_FPU_SETCW): Likewise.
20261 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20263         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20264         is 32-byte aligned.
20266 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
20268         [BZ #11837]
20269         * iconvdata/gb18030.c: Update tables.
20270         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
20271         characters specially.
20272         (BODY for TO_LOOP): Add encoding of missing ranges.
20274 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
20276         [BZ #13673]
20277         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20278         * sysdeps/mach/hurd/dup3.c: Likewise.
20279         * sysdeps/mach/hurd/readlinkat.c: Likewise.
20280         * sysdeps/powerpc/memmove.c:: Likewise.
20282 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20284         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20285         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20287 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20289         * elf/elf.h (R_X86_64_RELATIVE64): New.
20290         (R_X86_64_NUM): Updated.
20291         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20292         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
20293         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20294         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20295         tst-quad1pie tst-quad2pie
20296         (modules-names): Add tst-quadmod1 tst-quadmod2.
20297         ($(objpfx)tst-quad1): New dependency.
20298         ($(objpfx)tst-quad2): Likewise.
20299         ($(objpfx)tst-quad1pie): Likewise.
20300         ($(objpfx)tst-quad2pie): Likewise.
20301         * sysdeps/x86_64/tst-quad1.c: New file.
20302         * sysdeps/x86_64/tst-quad1pie.c: New file.
20303         * sysdeps/x86_64/tst-quad2.c: Likewise.
20304         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20305         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20306         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20307         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20308         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20310 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20312         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20313         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20314         * streams/stropts.h (t_scalar_t): Define type.
20316         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20317         (_PATH_PRESERVE): Set to "/var/lib".
20318         (_PATH_RWHODIR): Set to "/var/spool/rwho".
20320         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20321         instead of int.
20323         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20324         if __dir_mkfile succeeded.
20326         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20327         checking for _hurd_dtablesize.  Unlock it right after having
20328         finished _hurd_dtable allocation.
20330 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20332         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20333         * sysdeps/mach/hurd/configure: Regenerated.
20334         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20335         special-casing to...
20336         * sysdeps/gnu/configure.in: ... this new file.
20337         * sysdeps/unix/sysv/linux/configure: Regenerated.
20338         * sysdeps/gnu/configure: New generated file.
20340         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20341         for Linux: use nsec instead of usec, as well as:
20342         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20343         members of type struct timespec.
20344         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20345         New macros.
20346         (struct stat64): Likewise.
20347         (_STATBUF_ST_NSEC): New macro.
20348         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20350         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20351         __strtoul_internal rather than strtoul.
20353 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20355         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20356         and reject them.
20358 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20360         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20361         which preserves existing values.
20362         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20364 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20366         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20367         TIMEOUT values.  Return EINVAL for NFDS values either negative or
20368         greater than FD_SETSIZE.
20370 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20372         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20373         allocated, call __vm_protect to finish enabling the existing space, and
20374         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20375         allocate the remainder.
20377 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20379         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20380         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
20382 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20384         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20385         sysdeps/mach/hurd/readlink.c.
20387         * posix/tst-sysconf.c (posix_options): Only use
20388         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20389         _POSIX_SYNCHRONIZED_IO when they are defined
20390         * sysdeps/mach/hurd/bits/posix_opt.h:
20391         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20392         (_XOPEN_REALTIME): Undefine macro.
20393         (_XOPEN_REALTIME_THREADS): Undefine macro.
20394         (_XOPEN_SHM): Undefine macro.
20395         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20396         macro to -1.
20397         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20398         macro to -1.
20399         (_POSIX_ASYNC_IO): Undefine macro.
20400         (_POSIX_PRIORITIZED_IO): Undefine macro.
20401         (_POSIX_SPIN_LOCKS): Define macro to -1.
20403         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20404         SA_NODEFER, SA_RESETHAND.
20405         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20406         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20407         F_DUPFD_CLOEXEC.
20409 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20411         * elf/Makefile (pldd-modules): Define unconditionally.
20413 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20415         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20417 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20419         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20420         Return ENOENT when name is empty.
20421         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20423 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20425         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20427         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20429 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20431         Fix mlock in all cases except non-readable pages.
20432         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20433         instead of VM_PROT_ALL as parameter to __vm_wire function.
20435         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20436         (__mkdir): When path is `/', just fail with EEXIST.
20437         * sysdeps/mach/hurd/mkdirat.c: Likewise.
20439 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20441         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20442         <sys/uio.h> (for writev).
20443         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20444         and <sys/param.h> (for MIN).
20446 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20448         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20449         REQUESTED_TIME.  Properly set the remaining time and return EINTR
20450         if interrupted.
20452 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20454         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20455         Depend on against $(link-rpcuserlibs).
20457 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20459         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20460         (__libc_stack_end): Do not use attribute_relro.
20461         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20462         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20463         to libthread-provided value.
20464         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20465         attribute_relro.
20467 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20469         [BZ #3748]
20470         * bits/libc-lock.h (__libc_once_get): New macro.
20471         * sysdeps/mach/bits/libc-lock.h: Likewise.
20472         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20473         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20474         instead of using implementation details.
20476         * libio/fileops.c: Unconditionally include <kernel-features.h>.
20477         * libio/freopen.c: Likewise.
20478         * libio/freopen64.c: Likewise.
20479         * misc/syslog.c: Likewise.
20480         * nscd/connections.c: Likewise.
20481         * nscd/netgroupcache.c: Likewise.
20482         * sysdeps/posix/getcwd.c: Likewise.
20484 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20486         * math/w_ilogbf.c: Add #include <limits.h>.
20488 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20490         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20491         path instead of returning without unlocking.
20493         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20494         immediate-write ioctls.
20495         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20497 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20499         * sysdeps/mach/hurd/i386/init-first.c (init): Use
20500         __builtin_frame_address instead of making assumptions about the
20501         location of the return address relative to DATA.  Force early load of
20502         the return address.
20503         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20504         __builtin_frame_address.
20506         dup3 for GNU Hurd.
20507         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20508         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
20509         implement dup3 and do some further code clean-ups.
20510         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20511         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20513 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20515         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20517         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20518         HURD_CRITICAL_END around holding _hurd_dtable_lock.
20519         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20520         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20521         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20522         d->port.lock.
20524         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20525         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
20526         when handler == SIG_ERR, not when handler != SIG_ERR.
20528 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20530         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20531         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20532         definitions.
20534         accept4 for GNU Hurd.
20535         * include/sys/socket.h (__libc_accept4): New prototype.
20536         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
20537         to implement __libc_accept4.
20538         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20539         __libc_accept4.
20540         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20542         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20543         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20544         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20545         signal-defines.sym.
20547 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20549         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20551 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20553         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20554         assertion on O_CLOEXEC flag.
20555         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20556         * hurd/intern-fd.c: Likewise.
20557         * hurd/port2fd.c: Likewise.
20559 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20561         [BZ #3906]
20562         * bits/in.h (IPV6_PKTINFO): Define new macro.
20563         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20565 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20567         [BZ #13954]
20568         [BZ #13955]
20569         [BZ #13956]
20570         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20571         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20572         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20573         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20574         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20575         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20576         * math/libm-test.inc (logb_test) : Additional logb tests.
20578 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
20579             Andreas Jaeger  <aj@suse.de>
20581         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20582         * configure: Regenerated.
20583         * config.h.in (LINK_OBSOLETE_RPC): New macro.
20584         * config.make.in (link-obsolete-rpc): New substituted variable.
20585         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20586         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20587         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20588         (shared-only-routines): Don't set it under [link-obsolete-rpc],
20589         so that libc.a contains the symbols.
20590         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20591         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20592         * sunrpc/auth_none.c: Likewise.
20593         * sunrpc/auth_unix.c: Likewise.
20594         * sunrpc/authdes_prot.c: Likewise.
20595         * sunrpc/authuxprot.c: Likewise.
20596         * sunrpc/clnt_gen.c: Likewise.
20597         * sunrpc/clnt_perr.c: Likewise.
20598         * sunrpc/clnt_raw.c: Likewise.
20599         * sunrpc/clnt_simp.c: Likewise.
20600         * sunrpc/clnt_tcp.c: Likewise.
20601         * sunrpc/clnt_udp.c: Likewise.
20602         * sunrpc/clnt_unix.c: Likewise.
20603         * sunrpc/des_crypt.c: Likewise.
20604         * sunrpc/des_soft.c: Likewise.
20605         * sunrpc/get_myaddr.c: Likewise.
20606         * sunrpc/key_call.c: Likewise.
20607         * sunrpc/key_prot.c: Likewise.
20608         * sunrpc/netname.c: Likewise.
20609         * sunrpc/pm_getmaps.c: Likewise.
20610         * sunrpc/pm_getport.c: Likewise.
20611         * sunrpc/pmap_clnt.c: Likewise.
20612         * sunrpc/pmap_prot.c: Likewise.
20613         * sunrpc/pmap_prot2.c: Likewise.
20614         * sunrpc/pmap_rmt.c: Likewise.
20615         * sunrpc/publickey.c: Likewise.
20616         * sunrpc/rpc_cmsg.c: Likewise.
20617         * sunrpc/rpc_common.c: Likewise.
20618         * sunrpc/rpc_dtable.c: Likewise.
20619         * sunrpc/rpc_prot.c: Likewise.
20620         * sunrpc/rpc_thread.c: Likewise.
20621         * sunrpc/rtime.c: Likewise.
20622         * sunrpc/svc.c: Likewise.
20623         * sunrpc/svc_auth.c: Likewise.
20624         * sunrpc/svc_raw.c: Likewise.
20625         * sunrpc/svc_run.c: Likewise.
20626         * sunrpc/svc_tcp.c: Likewise.
20627         * sunrpc/svc_udp.c: Likewise.
20628         * sunrpc/svc_unix.c: Likewise.
20629         * sunrpc/svcauth_des.c: Likewise.
20630         * sunrpc/xcrypt.c: Likewise.
20631         * sunrpc/xdr.c: Likewise.
20632         * sunrpc/xdr_array.c: Likewise.
20633         * sunrpc/xdr_float.c: Likewise.
20634         * sunrpc/xdr_intXX_t.c: Likewise.
20635         * sunrpc/xdr_mem.c: Likewise.
20636         * sunrpc/xdr_rec.c: Likewise.
20637         * sunrpc/xdr_ref.c: Likewise.
20638         * sunrpc/xdr_sizeof.c: Likewise.
20639         * sunrpc/xdr_stdio.c: Likewise.
20641 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20643         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20644         change.  Update copyright years.
20646 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
20648         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20650 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
20651             Joseph Myers  <joseph@codesourcery.com>
20652             Paul Pluzhnikov  <ppluzhnikov@google.com>
20654         [BZ #14012]
20655         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20656         requiring rpcgen.
20657         [cross-compiling] (extra-libs): Likewise.
20658         [cross-compiling] (extra-libs-others): Likewise.
20659         [cross-compiling] (librpcsvc-routines): Likewise.
20660         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20661         [cross-compiling] (omit-deps): Likewise.
20662         (sunrpc-CPPFLAGS): New variable.
20663         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20664         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20665         (cross-rpcgen-objs): New variable.
20666         (extra-objs): Append $(cross-rpcgen-objs).
20667         ($(cross-rpcgen-objs)): New rule.
20668         ($(objpfx)cross-rpcgen): Likewise.
20669         (rpcgen-cmd): Define to use $(built-program-file).  Expand
20670         comment.
20671         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20672         ($(objpfx)x%.stmp): Likewise.
20673         * sunrpc/proto.h [IS_IN_build] (_): Define.
20674         [IS_IN_build] (_libc_intl_domainname): Likewise.
20676 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20678         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20679         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20680         and R_X86_64_TPOFF64.
20682 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
20684         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20685         sysdeps/unix/sysv/syscalls.list.
20686         (stime): Likewise.
20687         (utime): Likewise.
20688         * sysdeps/unix/sysv/syscalls.list: Remove file.
20690 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
20692         [BZ #3440]
20693         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20694         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20695         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20696         (__LC_IDENTIFICATION): Make these macros useful in #if
20697         expressions, as required by C99.
20699 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
20701         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20702         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
20703         after this.
20705 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
20707         * stdlib/longlong.h: Updated from GCC.
20709 2012-05-09  Andreas Jaeger  <aj@suse.de>
20711         * nscd/nscd.c (run_modes): Make named enum, reorder so that
20712         default is first entry.
20713         (run_mode): Set type.
20714         (main): Remove informal message about syslog.
20715         (options): Fix typo.
20717         [BZ #14053]
20718         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20719         to asm.
20720         (lrint): Likewise.
20721         (llrintf): Likewise.
20722         (llrint): Likewise.
20723         (rint): Likewise.
20724         (rintf): Likewise.
20725         (nearbyint): Likewise.
20726         (nearbyintf): Likewise.
20728 2012-05-09  Andreas Jaeger  <aj@suse.de>
20729             Pedro Alves  <palves@redhat.com>
20731         * nscd/nscd.c (run_mode): Use enum.
20732         (main): Cleanup coding style issue.
20734 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
20735             Andreas Jaeger  <aj@suse.de>
20737         * nscd/nscd.c (go_background): Replaced with...
20738         (run_mode): ... this.
20739         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20740         (options): Add -F --foreground.
20741         (main): Implement it.
20742         (parse_opt): Parse it.
20744 2012-05-09  Andreas Jaeger  <aj@suse.de>
20746         [BZ #14083]
20747         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20748         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20749         -Wconversion warning.
20750         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20751         Likewise.
20753 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
20755         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
20756         == 0.
20757         (LC_ALL): Use macro-int-constant.
20758         (LC_COLLATE): Likewise.
20759         (LC_CTYPE): Likewise.
20760         (LC_MESSAGES): Likewise.
20761         (LC_MONETARY): Likewise.
20762         (LC_NUMERIC): Likewise.
20763         (LC_TIME): Likewise.
20764         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20765         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20766         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20767         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20768         Specify type.
20769         [C99-based standards] (float_t): Expect type.
20770         [C99-based standards] (double_t): Expect type.
20771         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
20772         type.
20773         [C99-based standards] (HUGE_VALL): Likewise.
20774         [C99-based standards] (INFINITY): Likewise.
20775         [C99-based standards] (NAN): Likewise.
20776         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20777         [C99-based standards] (FP_NAN): Likewise.
20778         [C99-based standards] (FP_NORMAL): Likewise.
20779         [C99-based standards] (FP_SUBNORMAL): Likewise.
20780         [C99-based standards] (FP_ZERO): Likewise.
20781         [C99-based standards] (FP_FAST_FMA): Use
20782         optional-macro-int-constant.  Specify type.  Require == 1.
20783         [C99-based standards] (FP_FAST_FMAF): Likewise.
20784         [C99-based standards] (FP_FAST_FMAL): Likewise.
20785         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20786         [C99-based standards] (FP_ILOGBNAN): Likewise.
20787         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20788         Specify type.
20789         [C99-based standards] (MATH_ERREXCEPT): Likewise.
20790         [C99-based standards] (math_errhandling): Specify type.
20791         [ISO99 || ISO11] (signgam): Do not allow.
20792         [non-C99-based standards] (copysignf): Do not allow.
20793         [non-C99-based standards] (exp2f): Likewise.
20794         [non-C99-based standards] (log2f): Likewise.
20795         [non-C99-based standards] (modff): Allow.
20796         [non-C99-based standards] (erff): Do not allow.
20797         [non-C99-based standards] (erfcf): Likewise.
20798         [non-C99-based standards] (gammaf): Likewise.
20799         [non-C99-based standards] (hypotf): Likewise.
20800         [non-C99-based standards] (j0f): Likewise.
20801         [non-C99-based standards] (j1f): Likewise.
20802         [non-C99-based standards] (jnf): Likewise.
20803         [non-C99-based standards] (lgammaf): Likewise.
20804         [non-C99-based standards] (tgammaf): Likewise.
20805         [non-C99-based standards] (y0f): Likewise.
20806         [non-C99-based standards] (y1f): Likewise.
20807         [non-C99-based standards] (ynf): Likewise.
20808         [non-C99-based standards] (isnanf): Likewise.
20809         [non-C99-based standards] (acoshf): Likewise.
20810         [non-C99-based standards] (asinhf): Likewise.
20811         [non-C99-based standards] (atanhf): Likewise.
20812         [non-C99-based standards] (cbrtf): Likewise.
20813         [non-C99-based standards] (expm1f): Likewise.
20814         [non-C99-based standards] (ilogbf): Likewise.
20815         [non-C99-based standards] (log1pf): Likewise.
20816         [non-C99-based standards] (logbf): Likewise.
20817         [non-C99-based standards] (nextafterf): Likewise.
20818         [non-C99-based standards] (remainderf): Likewise.
20819         [non-C99-based standards] (rintf): Likewise.
20820         [non-C99-based standards] (scalbf): Likewise.
20821         [non-C99-based standards] (copysignl): Likewise.
20822         [non-C99-based standards] (exp2l): Likewise.
20823         [non-C99-based standards] (log2l): Likewise.
20824         [non-C99-based standards] (modfl): Allow.
20825         [non-C99-based standards] (erfl): Do not allow.
20826         [non-C99-based standards] (erfcl): Likewise.
20827         [non-C99-based standards] (gammal): Likewise.
20828         [non-C99-based standards] (hypotl): Likewise.
20829         [non-C99-based standards] (j0l): Likewise.
20830         [non-C99-based standards] (j1l): Likewise.
20831         [non-C99-based standards] (jnl): Likewise.
20832         [non-C99-based standards] (lgammal): Likewise.
20833         [non-C99-based standards] (tgammal): Likewise.
20834         [non-C99-based standards] (y0l): Likewise.
20835         [non-C99-based standards] (y1l): Likewise.
20836         [non-C99-based standards] (ynl): Likewise.
20837         [non-C99-based standards] (isnanl): Likewise.
20838         [non-C99-based standards] (acoshl): Likewise.
20839         [non-C99-based standards] (asinhl): Likewise.
20840         [non-C99-based standards] (atanhl): Likewise.
20841         [non-C99-based standards] (cbrtl): Likewise.
20842         [non-C99-based standards] (expm1l): Likewise.
20843         [non-C99-based standards] (ilogbl): Likewise.
20844         [non-C99-based standards] (log1pl): Likewise.
20845         [non-C99-based standards] (logbl): Likewise.
20846         [non-C99-based standards] (nextafterl): Likewise.
20847         [non-C99-based standards] (remainderl): Likewise.
20848         [non-C99-based standards] (rintl): Likewise.
20849         [non-C99-based standards] (scalbl): Likewise.
20850         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20851         [non-C99-based standards] (FP_*): Do not allow.
20852         [C99-based standards] (FP_*): Change to
20853         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20854         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20855         allow.
20856         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20857         (SIG_ERR): Likewise.
20858         [X/Open-based standards] (SIG_HOLD): Likewise.
20859         (SIG_IGN): Likewise.
20860         (SIGABRT): Use macro-int-constant.  Specify type.  Require
20861         positive value.
20862         (SIGFPE): Likewise.
20863         (SIGILL): Likewise.
20864         (SIGINT): Likewise.
20865         (SIGSEGV): Likewise.
20866         (SIGTER): Likewise.
20867         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20868         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20869         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20870         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20871         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20872         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20873         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20874         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20875         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20876         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20877         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20878         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20879         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20880         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20881         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20882         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20883         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20884         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20885         [X/Open-based standards] (SIGTRAP): Likewise.
20886         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20887         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20888         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20889         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20890         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20891         allow.
20893 2012-05-08  Ian Wienand  <ianw@vmware.com>
20895         [BZ #14080]
20896         * time/tzset.c (__tzset_parse_tz): Update default rules for
20897         daylight time changes in the Energy Policy Act of 2005.
20899 2012-05-09  Andreas Jaeger  <aj@suse.de>
20901         [BZ #13983]
20902         * elf/ldconfig.c (parse_conf): Change string to make clear that
20903         ldconfig only issued a warning if ld.so.conf does not exist.
20905 2012-05-08  David S. Miller  <davem@davemloft.net>
20907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20908         movxtod instead of popping the value on the stack.
20910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20912 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
20914         * config.h.in: Add HAVE_ARM_PCS_VFP.
20916 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
20918         [BZ #13979]
20919         * include/features.h: Warn if user requests __FORTIFY_SOURCE
20920         checking but the checks are disabled for any reason.
20922 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20924         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20925         and ELF64_R_TYPE with ELFW(R_TYPE).
20927 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
20929         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20930         (ulimit): Likewise.
20932         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20933         (settimeofday): Likewise.
20935 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
20937         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
20938         a struct th_u2 inside the union, and move tu_block/tu_code into
20939         a new th_u3 union of tu_block/tu_code inside of that.  Move
20940         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
20941         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
20942         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20943         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20944         (th_stuff): Change to th_u1.tu_stuff.
20945         (th_data): Define.
20946         (th_msg): Change to th_u1.th_u2.tu_data.
20948 2012-05-07  David S. Miller  <davem@davemloft.net>
20950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20952         [BZ #14074]
20953         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20954         (SETUP_PIC_REG): Use it.
20955         (SETUP_PIC_REG_LEAF): Use it.
20957 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
20959         [BZ #13885]
20960         [BZ #13923]
20961         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20962         USE_AS_EXPM1L.
20963         (EXPL_FINITE): Likewise.
20964         (FLDLOG): Likewise.
20965         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20966         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20967         e_expl.S.
20968         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20969         USE_AS_EXPM1L.
20970         (EXPL_FINITE): Likewise.
20971         (FLDLOG): Likewise.
20972         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20973         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20974         e_expl.S.
20975         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
20976         test of -max_value argument for long double.
20977         * sysdeps/i386/fpu/libm-test-ulps: Update.
20978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20980 2012-05-06  David S. Miller  <davem@davemloft.net>
20982         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20983         quad soft-float symbols whose references which are compiler
20984         generated.
20985         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20987 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
20989         [BZ #13884]
20990         [BZ #13914]
20991         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20992         USE_AS_EXP10L.
20993         (EXPL_FINITE): Likewise.
20994         (FLDLOG): Likewise.
20995         (c0): Likewise.
20996         (c1): Likewise.
20997         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20998         Adjust comments for base varying.
20999         (__expl_finite): Change alias to EXPL_FINITE.
21000         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21001         e_expl.S.
21002         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21003         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21004         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21005         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21006         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21007         USE_AS_EXP10L.
21008         (EXPL_FINITE): Likewise.
21009         (FLDLOG): Likewise.
21010         (c0): Likewise.
21011         (c1): Likewise.
21012         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21013         Adjust comments for base varying.
21014         (__expl_finite): Change alias to EXPL_FINITE.
21015         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
21016         tests for bugs.
21017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21019         [BZ #14064]
21020         * math/libm-test.inc (check_float_internal): Correct ulp
21021         calculation for subnormal expected results.
21023 2012-05-06  Andreas Jaeger  <aj@suse.de>
21025         * Makeconfig (+math-flags): New, set to -frounding-math.
21026         (+cflags): Add +math-flags so that all of glibc gets compiled with
21027         it.
21029         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21031 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
21033         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21034         Disable one test.
21036         [BZ #13787]
21037         [BZ #13922]
21038         [BZ #14036]
21039         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21040         (__ieee754_expl): Allow for and saturate large arguments.
21041         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21042         (u_threshold): Likewise.
21043         (__exp): Call __ieee754_exp before checking for overflow and
21044         underflow.
21045         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21046         (u_threshold): Likewise.
21047         (__expf): Call __ieee754_expf before checking for overflow and
21048         underflow.
21049         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21050         (u_threshold): Likewise.
21051         (__expl): Call __ieee754_expl before checking for overflow and
21052         underflow.
21053         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21054         (__ieee754_expl): Allow for and saturate large arguments.
21055         * math/libm-test.inc (exp_test): Add another test.  Do not allow
21056         missing overflow exception on overflow.
21057         (expm1_test): Do not allow missing overflow exception on overflow.
21059         * sysdeps/i386/fpu/e_expl.c: Move to ...
21060         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
21061         rather than using inline asm.
21062         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21063         * sysdeps/x86_64/fpu/e_expl.S: Copy from
21064         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21066         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21067         (nice): Likewise.
21068         (poll): Likewise.
21069         (signal): Likewise.
21070         (time): Likewise.
21071         (times): Likewise.
21073 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21075         * sysdeps/unix/syscalls.list (adjtime): Add entry from
21076         sysdeps/unix/common/syscalls.list.
21077         (fchmod): Likewise.
21078         (fchown): Likewise.
21079         (ftruncate): Likewise.
21080         (getrusage): Likewise.
21081         (gettimeofday): Likewise.
21082         (setpgid): Likewise.
21083         (setregid): Likewise.
21084         (setreuid): Likewise.
21085         (sigaction): Likewise.
21086         (truncate): Likewise.
21087         (vhangup): Likewise.
21088         * sysdeps/unix/common/syscalls.list: Remove file.
21089         * sysdeps/unix/bsd/Implies: Don't include unix/common.
21090         * sysdeps/unix/sysv/linux/Implies: Likewise.
21092 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
21094         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21096         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21097         Moved to ...
21098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21099         Here.
21100         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21101         to ...
21102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21103         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21104         to ...
21105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21106         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21107         to ...
21108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21109         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21110         to ...
21111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21112         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21113         to ...
21114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21115         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21116         to ...
21117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21118         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21119         to ...
21120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21121         Here.
21122         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21123         to ...
21124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21125         Here.
21126         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21127         to ...
21128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21129         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21130         Moved to ...
21131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21132         Here.
21133         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21134         to ...
21135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21137 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21139         * sysdeps/unix/common/bits/dirent.h: Remove file.
21140         * sysdeps/unix/common/bits/fcntl.h: Likewise.
21142         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21143         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21144         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21145         * sysdeps/unix/bsd/isatty.c: Likewise.
21146         * sysdeps/unix/bsd/tcdrain.c: Likewise.
21147         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21148         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21150 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21152         [BZ #13563]
21153         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21154         long double comparison inaccuracies.
21155         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21158 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
21160         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21161         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21163 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21165         [BZ #14049]
21166         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21167         nonzero digits before rounding a hex value.
21168         * stdlib/tst-strtod.c (tests): Add another test.
21170 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21172         * sysdeps/s390/fpu/libm-test-ulps: Update.
21174 2012-05-03  Andreas Jaeger  <aj@suse.de>
21176         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21177         does not get optimized out.
21178         (malloc_opt_barrier): New.
21180 2012-05-03  Andreas Jaeger  <aj@suse.de>
21181             Roland McGrath  <roland@hack.frob.com>
21183         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21184         intermediate file deletion.
21185         (generated): Add .symlist files.
21187 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
21189         [BZ #13775]
21190         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21191         Redirect under this condition.
21192         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21193         [__USE_GNU] (__dprintf_chk): Not under this condition.
21194         [__USE_GNU] (__vdprintf_chk): Likewise.
21195         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21196         under this condition.
21197         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21198         [__USE_XOPEN2K8] (dprintf): Define under this condition.
21199         [__USE_XOPEN2K8] (vdprintf): Likewise.
21200         [__USE_GNU] (__dprintf_chk): Not under this condition.
21201         [__USE_GNU] (__vdprintf_chk): Likewise.
21202         [__USE_GNU] (dprintf): Likewise.
21203         [__USE_GNU] (vdprintf): Likewise.
21205 2012-05-03  Roland McGrath  <roland@hack.frob.com>
21207         * elf/Makefile (common-generated): Set this instead of generated for
21208         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
21209         $(all-built-dso)-derived lists.
21211 2012-05-03  Andreas Jaeger  <aj@suse.de>
21213         * sysdeps/i386/fpu/libm-test-ulps: Update.
21215         * FAQ: Removed.
21216         * FAQ.in: Likewise.
21217         * scripts/gen-FAQ.pl: Likewise.
21218         * manual/install.texi (Installation): Point to online location of
21219         FAQ.
21220         * Makefile (files-for-dist): Remove FAQ.
21221         (FAQ): Remove.
21223 2012-05-02  Allan McRae  <allan@archlinux.org>
21225         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21226         (LDFLAGS-reldepmod5.so): Likewise.
21227         (LDFLAGS-reldep6mod1.so): Likewise.
21228         (LDFLAGS-reldep6mod4.so): Likewise.
21229         (LDFLAGS-reldep8mod3.so): Likewise.
21230         (LDFLAGS-unload4mod1.so): Likewise.
21231         (LDFLAGS-unload4mod2.so): Likewise.
21232         (LDFLAGS-tst-initorder): Likewise.
21233         (LDFLAGS-tst-initordera2.so): Likewise.
21234         (LDFLAGS-tst-initordera3.so): Likewise.
21235         (LDFLAGS-tst-initordera4.so): Likewise.
21236         (LDFLAGS-tst-initorderb2.so): Likewise.
21237         (LDFLAGS-noload): Likewise.
21238         (LDFLAGS-next): Likewise.
21239         (LDFLAGS-order2mod1.so): Likewise.
21240         (LDFLAGS-order2mod2.so): Likewise.
21241         (LDFLAGS-tst-initorder2): Likewise.
21242         (LDFLAGS-tst-initorder2a.so): Likewise.
21243         (LDFLAGS-tst-initorder2b.so): Likewise.
21244         (LDFLAGS-tst-initorder2c.so): Likewise.
21245         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21247 2012-05-02  David S. Miller  <davem@davemloft.net>
21249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21251 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21253         [BZ #14055]
21254         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21256 2012-05-02  Andreas Jaeger  <aj@suse.de>
21258         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21259         since we manipulate rounding mode.
21260         (CPPFLAGS-test-idouble.c): Likewise.
21261         (CPPFLAGS-test-ifloat.c): Likewise.
21262         (CFLAGS-test-ldouble.c): Likewise.
21263         (CFLAGS-test-double.c): Likewise.
21264         (CFLAGS-test-float.c): Likewise.
21265         (CFLAGS-test-misc.c): Likewise.
21266         (CFLAGS-test-test-fenv.c): Likewise.
21268 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21270         [BZ #2550]
21271         [BZ #2570]
21272         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21273         comparisons to determine direction to adjust input.
21275 2012-05-01  Roland McGrath  <roland@hack.frob.com>
21277         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21278         output to the target.
21280         * scripts/localplt.awk: New file.
21281         * elf/Makefile ($(objpfx)check-localplt): Target removed.
21282         (check-localplt-CFLAGS): Variable removed.
21283         ($(all-built-dso:=.jmprel)): New static pattern rule.
21284         (generated): Add those targets.
21285         (localplt-built-dso): New variable.
21286         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21288         * elf/check-localplt.c: File removed.
21290         * scripts/check-execstack.awk: New file.
21291         * elf/Makefile ($(objpfx)check-execstack): Target removed.
21292         (check-execstack-CFLAGS): Variable removed.
21293         ($(objpfx)check-execstack.h): Target removed.
21294         ($(objpfx)execstack-default): New target.
21295         (generated): Add that instead of check-execstack.h.
21296         ($(all-built-dso:=.phdr)): New static pattern rule.
21297         (generated): Add those targets.
21298         * elf/check-execstack.c: File removed.
21300         * scripts/check-textrel.awk: New file.
21301         * elf/Makefile ($(objpfx)check-textrel): Target removed.
21302         (check-textrel-CFLAGS): Variable removed.
21303         (all-built-dso): Use := to define.o
21304         ($(all-built-dso:=.dyn)): New static pattern rule.
21305         (generated): Add those targets.
21306         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21307         * config.make.in (READELF): New substituted variable.
21308         * elf/check-textrel.c: File removed.
21310 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
21312         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21313         allow.
21314         * conform/data/ctype.h-data [C99-based standards] (isblank):
21315         Expect function.
21316         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21317         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21318         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21319         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21320         Specify type.  Require positive value.
21321         (EILSEQ): Likewise.
21322         (ERANGE): Likewise.
21323         [ISO || POSIX] (EILSEQ): Do not expect.
21324         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21325         Specify type.  Require positive value.
21326         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21327         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21328         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21329         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21330         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21331         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21332         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21333         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21334         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21335         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21336         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21337         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21338         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21339         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21340         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21341         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21342         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21343         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21344         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21345         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21346         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21347         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21348         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21349         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21350         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21351         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21352         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21353         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21354         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21355         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21356         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21357         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21358         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21359         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21360         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21361         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21362         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21363         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21364         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21365         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21366         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21367         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21368         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21369         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21370         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21371         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21372         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21373         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21374         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21375         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21376         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21377         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21378         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21379         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21380         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21381         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21382         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21383         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21384         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21385         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21386         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21387         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21388         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21389         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21390         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21391         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21392         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21393         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21394         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21395         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21396         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21397         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21398         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21399         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21400         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21401         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21402         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21403         Require >= 2.
21404         (FLT_ROUNDS): Expect as macro, not constant.
21405         (FLT_MANT_DIG): Use macro-int-constant.
21406         (DBL_MANT_DIG): Likewise.
21407         (LDBL_MANT_DIG): Likewise.
21408         (FLT_DIG): Likewise.
21409         (DBL_DIG): Likewise.
21410         (LDBL_DIG): Likewise.
21411         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
21412         (DBL_MIN_EXP): Likewise.
21413         (LDBL_MIN_EXP): Likewise.
21414         (FLT_MAX_EXP): Use macro-int-constant.
21415         (DBL_MAX_EXP): Likewise.
21416         (LDBL_MAX_EXP): Likewise.
21417         (FLT_MAX_10_EXP): Likewise.
21418         (DBL_MAX_10_EXP): Likewise.
21419         (LDBL_MAX_10_EXP): Likewise.
21420         (FLT_MAX): Use macro-constant.
21421         (DBL_MAX): Likewise.
21422         (LDBL_MAX): Likewise.
21423         (FLT_EPSILON): Use macro-constant.  Give upper bound.
21424         (DBL_EPSILON): Likewise.
21425         (LDBL_EPSILON): Likewise.
21426         (FLT_MIN): Likewise.
21427         (DBL_MIN): Likewise.
21428         (LDBL_MIN): Likewise.
21429         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21430         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21431         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21432         [ISO11] (FLT_HAS_SUBNORM): Likewise.
21433         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21434         [ISO11] (DBL_DECIMAL_DIG): Likewise.
21435         [ISO11] (FLT_DECIMAL_DIG): Likewise.
21436         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21437         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21438         [ISO11] (FLT_TRUE_MIN): Likewise.
21439         [ISO11] (LDBL_TRUE_MIN): Likewise.
21440         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21441         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21442         (SCHAR_MIN): Use macro-int-constant.  Specify type.
21443         (SCHAR_MAX): Likewise.
21444         (UCHAR_MAX): Likewise.
21445         (CHAR_MIN): Likewise.
21446         (CHAR_MAX): Likewise.
21447         (MB_LEN_MAX): Use macro-int-constant.
21448         (SHRT_MIN): Use macro-int-constant.  Specify type.
21449         (SHRT_MAX): Likewise.
21450         (USHRT_MAX): Likewise.
21451         (INT_MAX): Likewise.
21452         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
21453         bound negative.
21454         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21455         bound with "U".
21456         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21457         bound with "L".
21458         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
21459         bound negative.  Suffix upper bound with "L".
21460         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21461         bound with "UL".
21462         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21463         Specify type.
21464         [C99-based standards] (LLONG_MAX): Likewise.
21465         [C99-based standards] (ULLONG_MAX): Likewise.
21466         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
21467         == 0.
21468         [ISO11] (max_align_t): Require type.
21469         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21471         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21472         from $CFLAGS, without defining away __attribute__ calls.
21473         (checknamespace): Use $CFLAGS_namespace.
21475         * conform/conformtest.pl (@keywords): Only include C99 keywords
21476         for standards based on C99 or C11.
21478         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21479         Disable tests.
21480         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21481         UNIX98]: Likewise.
21483         * conform/conformtest.pl: Handle "macro-int-constant" and test for
21484         usability of symbols in #if.
21486         * conform/conformtest.pl: If macro or constant types start
21487         "promoted:", expect the symbol to be of the following type
21488         promoted by the integer promotions.
21490         * conform/conformtest.pl: Parse all "constant" and "macro" lines
21491         in one place.  Also handle "macro-constant".
21493         * conform/conformtest.pl: Only accept expected macro values with
21494         "==".  Parse all "macro" lines in one place.
21495         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21497         * conform/conformtest.pl: Handle braced types on "constant" lines
21498         instead of handling "typed-constant".
21499         * conform/data/signal.h-data: Use "constant" instead of
21500         "typed-constant".
21502         * conform/conformtest.pl: Handle "optional-" at start of lines in
21503         one place rather than duplicating several cases.  Handle each
21504         format of "macro" line with initial "optional-".
21506         * conform/conformtest.pl: Only accept expected constant or
21507         optional-constant values with "==".  Parse all "constant" lines in
21508         one place.  Parse all "optional-constant" lines in one place.
21509         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21510         * conform/data/fmtmsg.h-data: Likewise.
21511         * conform/data/netinet/in.h-data: Likewise.
21512         * conform/data/tar.h-data: Likewise.
21513         * conform/data/limits.h-data: Use "==" form on "constant" and
21514         "optional-constant" lines.
21516         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21517         Use -std=c99 for XOPEN2K.
21518         (@knownproblems): Remove.
21519         (newtoken): Don't check %isknown.
21521         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21522         Do not expect macro.
21523         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21524         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21525         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21526         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21527         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21528         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21529         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21530         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21531         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21532         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21533         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21534         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21535         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21536         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21537         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21538         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21539         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21540         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21541         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21542         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21543         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21544         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21545         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21546         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21547         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21548         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21549         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21550         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21551         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21552         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21553         [XPG3] (acosh): Likewise.
21554         [XPG3] (asinh): Likewise.
21555         [XPG3] (atanh): Likewise.
21556         [XPG3] (cbrt): Likewise.
21557         [XPG3] (expm1): Likewise.
21558         [XPG3] (ilogb): Likewise.
21559         [XPG3] (log1p): Likewise.
21560         [XPG3] (logb): Likewise.
21561         [XPG3] (nextafter): Likewise.
21562         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21563         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21564         [XPG3] (remainder): Likewise.
21565         [XPG3] (rint): Likewise.
21566         [XPG3 || XPG4 || UNIX98] (round): Likewise.
21567         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21568         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21569         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21570         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21571         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21572         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21573         [UNIX98 || XOPEN2K] (scalb): Expect.
21574         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21575         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21576         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21577         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21578         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21579         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21580         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21581         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21582         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21583         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21584         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21585         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21586         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21587         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21588         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21589         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21590         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21591         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21592         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21593         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21594         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21595         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21596         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21597         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21598         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21599         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21600         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21601         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21602         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21603         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21604         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21605         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21606         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21607         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21608         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21609         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21610         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21611         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21612         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21613         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21614         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21615         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21616         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21617         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21618         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21619         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21620         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21621         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21622         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21623         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21624         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21625         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21626         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21627         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21628         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21629         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21630         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21631         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21632         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21633         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21634         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21635         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21636         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21637         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21638         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21639         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21640         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21641         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21642         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21643         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21644         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21645         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21646         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21647         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21648         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21649         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21650         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21651         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21652         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21653         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21654         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21655         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21656         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21657         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21658         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21659         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21660         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21661         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21662         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21663         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21664         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21665         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21666         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21667         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21668         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21669         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21670         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21671         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21672         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21673         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21674         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21675         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21676         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21677         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21678         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21679         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21680         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21681         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21682         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21683         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21684         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21685         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21686         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21687         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21688         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21689         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21690         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21691         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21692         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21693         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21694         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21695         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21696         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21697         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21698         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21699         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21700         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21701         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21702         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21703         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21704         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21705         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21706         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21707         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21708         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21709         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21710         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21712         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21713         _XOPEN_SOURCE_EXTENDED for XPG4.
21715         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21717         * Makeconfig (localtime): Remove variable.
21718         (inst_localtime-file): Likewise.
21720 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21723         Update.
21724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21725         Update.
21726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21727         Update.
21728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21729         Update.
21730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21731         Update.
21732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21733         Update.
21734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21735         Update.
21736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21737         Update.
21738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21739         Update.
21741 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
21743         [BZ #2550]
21744         [BZ #2570]
21745         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21746         comparisons to determine direction to adjust input.
21747         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21748         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21749         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21750         Likewise.
21751         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21752         Likewise.
21753         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21754         Likewise.
21755         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21756         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21757         Likewise.
21758         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21759         Likewise.
21760         * math/libm-test.inc (nexttoward_test): Add more tests.
21762 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21764         [BZ #14040]
21765         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21766         in version GLIBC_2.1, not GLIBC_2.0.
21767         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21768         Likewise.
21770 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
21772         [BZ #13942]
21773         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21774         (1 - x) * (1 + x).
21775         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21776         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21777         * math/libm-test.inc (acos_test): Add more tests.
21778         (asin_test): Likewise.
21779         * sysdeps/i386/fpu/libm-test-ulps: Update.
21780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21782         [BZ #14034]
21783         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21784         of square root.
21785         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21786         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21787         * math/libm-test.inc (acos_test_tonearest): New function.
21788         (acos_test_towardzero): Likewise.
21789         (acos_test_downward): Likewise.
21790         (acos_test_upward): Likewise.
21791         (asin_test_tonearest): Likewise.
21792         (asin_test_towardzero): Likewise.
21793         (asin_test_downward): Likewise.
21794         (asin_test_upward): Likewise.
21795         (main): Call the new functions.
21796         * sysdeps/i386/fpu/libm-test-ulps: Update.
21797         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21799         [BZ #13884]
21800         [BZ #13924]
21801         * math/e_exp10.c: Include <float.h>.
21802         (__ieee754_exp10): Handle underflow here rather than multiplying
21803         large negative argument by M_LN10.
21804         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21805         of __ieee754_expf.
21806         * math/e_exp10l.c: Include <float.h>.
21807         (__ieee754_exp10l): Handle underflow here rather than multiplying
21808         large negative argument by M_LN10l.
21809         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
21810         spurious overflow exception on underflow.
21812 2012-04-29  Marek Polacek  <polacek@redhat.com>
21814         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21815         (__fortify_function): New macro.
21816         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21817         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21818         __extern_always_inline.
21819         * libio/bits/stdio2.h: Likewise.
21820         * libio/bits/stdio.h: Likewise.
21821         * string/string.h: Likewise.
21822         * string/bits/string3.h: Likewise.
21823         * include/stdio.h: Likewise.
21824         * stdlib/bits/stdlib.h: Likewise.
21825         * stdlib/stdlib.h: Likewise.
21826         * rt/bits/mqueue2.h: Likewise.
21827         * rt/mqueue.h: Likewise.
21828         * posix/bits/unistd.h: Likewise.
21829         * posix/unistd.h: Likewise.
21830         * io/bits/poll2.h: Likewise.
21831         * io/bits/fcntl2.h: Likewise.
21832         * io/fcntl.h: Likewise.
21833         * io/sys/poll.h: Likewise.
21834         * misc/bits/syslog.h: Likewise.
21835         * misc/bits/syslog-ldbl.h: Likewise.
21836         * misc/sys/syslog.h: Likewise.
21837         * socket/bits/socket2.h: Likewise.
21838         * socket/sys/socket.h: Likewise.
21839         * debug/tst-chk1.c: Likewise.
21840         * wcsmbs/bits/wchar2.h: Likewise.
21841         * wcsmbs/bits/wchar-ldbl.h: Likewise.
21842         * wcsmbs/wchar.h: Likewise.
21844 2012-04-29  Andreas Jaeger  <aj@suse.de>
21846         * Makerules (tests): Remove enable-check-abi protection.
21847         (check-abi-warn): Remove.
21848         (check-abi-%): Remove check-abi-warn usage.
21850         * configure.in: Remove check-abi configure option.
21851         * configure: Regenerated.
21852         * config.make.in (enable-check-abi): Remove.
21854 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
21856         [BZ #14033]
21857         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21858         double functions to double *_finite functions.
21860         [BZ #13941]
21861         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21862         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21863         LDBL_MIN_EXP.
21864         * stdio-common/Makefile (tests): Add tst-sprintf3.
21865         * stdio-common/tst-sprintf3.c: New file.
21867         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21868         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21870 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21872         * conform/conformtest.pl: Remove duplicate typed-constant
21873         handling.
21875 2012-04-28  David S. Miller  <davem@davemloft.net>
21877         * Makerules (%.abilist): Add vpath on sysdep_dirs.
21878         (check-abi-%): Remove AWK script prerequisite and explicit
21879         abilist directory.
21880         (check-abi): Rewrite to just diff the symlist with the abilist.
21881         (config-tls, config-abi-config): Delete, no longer used.
21882         (update-abi-%): Remove AWK script and explicit abilist directory.
21883         (update-abi): Rewrite to simply compare and conditionally copy the
21884         symlist and the sysdep abilist file.  Remove update-abi-config
21885         checks.
21886         * abilist/ld.abilist: Remove.
21887         * abilist/libBrokenLocale.abilist: Remove.
21888         * abilist/libanl.abilist: Remove.
21889         * abilist/libcrypt.abilist: Remove.
21890         * abilist/libdl.abilist: Remove.
21891         * abilist/librt.abilist: Remove.
21892         * abilist/libthread_db.abilist: Remove.
21893         * abilist/libutil.abilist: Remove.
21894         * scripts/extract-abilist.awk: Remove.
21895         * scripts/merge-abilist.awk: Remove.
21896         * sysdeps/generic/libcidn.abilist: New file.
21897         * sysdeps/generic/libnss_compat.abilist: New file.
21898         * sysdeps/generic/libnss_db.abilist: New file.
21899         * sysdeps/generic/libnss_dns.abilist: New file.
21900         * sysdeps/generic/libnss_files.abilist: New file.
21901         * sysdeps/generic/libnss_hesiod.abilist: New file.
21902         * sysdeps/generic/libnss_nis.abilist: New file.
21903         * sysdeps/generic/libnss_nisplus.abilist: New file.
21904         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21905         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21906         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21907         file.
21908         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21909         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21910         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21911         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21912         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21913         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21914         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21915         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21916         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21917         file.
21918         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21919         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21920         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21921         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21922         file.
21923         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21924         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21925         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21926         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21927         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21928         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21929         file.
21930         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21931         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21932         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21933         file.
21934         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21935         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21936         New file.
21937         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21938         New file.
21939         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21940         New file.
21941         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21942         New file.
21943         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21944         New file.
21945         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21946         New file.
21947         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21948         New file.
21949         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21950         New file.
21951         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21952         New file.
21953         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21954         New file.
21955         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21956         New file.
21957         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21958         New file.
21959         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21960         New file.
21961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21962         file.
21963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21964         New file.
21965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21966         New file.
21967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21968         file.
21969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21970         New file.
21971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21972         New file.
21973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21974         file.
21975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21976         New file.
21977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21978         New file.
21979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21980         New file.
21981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21982         New file.
21983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21984         New file.
21985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21986         New file.
21987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21989         file.
21990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21991         New file.
21992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21993         file.
21994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21995         file.
21996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21997         file.
21998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21999         file.
22000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22001         file.
22002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22003         New file.
22004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22005         file.
22006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22007         file.
22008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22009         New file.
22010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22011         file.
22012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22014         file.
22015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22016         New file.
22017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22018         file.
22019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22020         file.
22021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22022         file.
22023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22024         file.
22025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22026         file.
22027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22028         New file.
22029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22030         file.
22031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22032         file.
22033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22034         New file.
22035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22036         file.
22037         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22038         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22039         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22040         file.
22041         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22042         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22043         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22044         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22045         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22046         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22047         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22048         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22049         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22050         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22053         file.
22054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22055         New file.
22056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22057         file.
22058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22059         file.
22060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22061         file.
22062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22063         file.
22064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22065         file.
22066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22067         New file.
22068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22069         New file.
22070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22071         file.
22072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22073         New file.
22074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22075         file.
22076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22078         file.
22079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22080         New file.
22081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22082         file.
22083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22084         file.
22085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22086         file.
22087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22088         file.
22089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22090         file.
22091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22092         New file.
22093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22094         New file.
22095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22096         file.
22097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22098         New file.
22099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22100         file.
22102 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22104         * conform/conformtest.pl: Fix typo in handling typed-constant from
22105         allow-header.
22107 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22109         * README: Cut down references to pre-2.6 Linux kernels and
22110         Linuxthreads.  Update lists of configurations in libc and ports
22111         and sort alphabetically.  Say "or newer" with Linux kernel version
22112         requirements.
22114         * config.h.in [IS_IN_build]: Allow compiling without optimization.
22116 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22118         [BZ #887]
22119         * math/libm-test.inc (logb_test_downward): New test to expose
22120         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22121         rounding mode.
22123 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22125         [BZ #14027]
22126         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22127         to be done.
22128         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22129         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22131 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
22133         * sysdeps/unix/i386/brk.S: Remove file.
22134         * sysdeps/unix/i386/dl-brk.S: Likewise.
22135         * sysdeps/unix/i386/pipe.S: Likewise.
22136         * sysdeps/unix/i386/sigreturn.S: Likewise.
22137         * sysdeps/unix/i386/syscall.S: Likewise.
22138         * sysdeps/unix/i386/vfork.S: Likewise.
22139         * sysdeps/unix/i386/wait.S: Likewise.
22141         * sysdeps/unix/common/tcsendbrk.c: Move to ...
22142         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22144         * configure.in (arm*-none*): Do not allow without
22145         --enable-hacker-mode.
22146         (netbsd*): Remove case setting base_os.
22147         (386bsd*): Likewise.
22148         (freebsd*): Likewise.
22149         (bsdi*): Likewise.
22150         (osf*): Likewise.
22151         (sunos*): Likewise.
22152         (ultrix*): Likewise.
22153         (newsos*): Likewise.
22154         (dynix*): Likewise.
22155         (*bsd*): Likewise.
22156         (sysv*): Likewise.
22157         (isc*): Likewise.
22158         (esix*): Likewise.
22159         (sco*): Likewise.
22160         (minix*): Likewise.
22161         (irix4*): Likewise.
22162         (irix6*): Likewise.
22163         (solaris[2-9]*): Likewise.
22164         (none): Likewise.
22165         * configure: Regenerated.
22167 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22169         [BZ #11521]
22170         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22171         overflow or cancellation in calculating denominator.
22172         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22173         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22174         down expression to avoid unexpected rounding in newer GCCs.
22175         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22177 2012-04-26  David S. Miller  <davem@davemloft.net>
22179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22180         long-double compat symbols.
22181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22195 2012-04-25  David S. Miller  <davem@davemloft.net>
22197         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22198         HWCAP_* values only after the memory barriers have been defined.
22199         (atomic_full_barrier): Define.
22200         (atomic_read_barrier): Define.
22201         (atomic_write_barrier): Define.
22203 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22205         * shlib-versions: Add libgcc_s version information.
22206         * sysdeps/generic/libgcc_s.h: Remove.
22207         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22208         libgcc_s.h.
22209         * sysdeps/gnu/unwind-resume.c: Likewise.
22210         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22212 2012-04-25  David S. Miller  <davem@davemloft.net>
22214         * sysdeps/unix/sparc/brk.S: Delete.
22215         * sysdeps/unix/sparc/dl-brk.S: Delete.
22216         * sysdeps/unix/sparc/pipe.S: Delete.
22217         * sysdeps/unix/sparc/sysdep.S: Delete.
22218         * sysdeps/unix/sparc/sysdep.h: Delete.
22219         * sysdeps/unix/sparc/vfork.S: Delete.
22220         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22221         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22222         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22223         ret_ERRVAL, r0, r1, MOVE): Define.
22224         (JUMPTARGET): Remove.
22225         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22226         sysdeps/unix/sparc/sysdep.h
22227         (ENTRY, END): Remove.
22228         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22230 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
22232         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22233         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22234         -DIS_IN_build.
22236         * timezone/README: Update upstream location and email address for
22237         tzcode and tzdata.
22238         * timezone/zdump.c: Update from tzcode 2012b.
22239         * timezone/zic.c: Likewise.
22241         * configure.in (libc_cv_as_needed): Remove test.
22242         * configure: Regenerated.
22243         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22244         conditional definition.
22245         [$(have-as-needed) != yes] (no-as-needed): Likewise.
22246         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22247         * config.make.in (have-as-needed): Remove variable.
22249 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22250             Paul Pluzhnikov  <ppluzhnikov@google.com>
22252         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22253         strings correctly.
22255 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22257         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22258         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22259         * sysdeps/sh/strlen.S: Likewise.
22261 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22263         * sysdeps/unix/fork.S: Remove file.
22264         * sysdeps/unix/i386/fork.S: Likewise.
22265         * sysdeps/unix/sparc/fork.S: Likewise.
22267         * sysdeps/unix/system.c: Remove file.
22268         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22270         * sysdeps/unix/getegid.S: Remove file.
22271         * sysdeps/unix/geteuid.S: Likewise.
22273 2012-04-24  Roland McGrath  <roland@hack.frob.com>
22275         * scripts/check-localplt.awk: New file.
22276         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22277         of diff.
22278         * scripts/data/localplt-generic.data: Add a comment.
22280         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22281         NODE when __dir_mkfile failed.
22282         * sysdeps/mach/hurd/symlinkat.c: Likewise.
22283         Reported by Ludovic Courtès <ludo@gnu.org>.
22285 2012-04-24  Andreas Jaeger  <aj@suse.de>
22287         * Makerules (common-clean): Also remove gen-as-const-headers
22288         files.
22290 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22292         * Makerules (native-compile): Do not change working directory for
22293         build.  Use $(OUTPUT_OPTION) in command.
22294         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22296 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22298         [BZ #13886]
22299         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22300         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22301         * math/libm-test.inc (floor_test): Add more tests.
22302         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22304 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22306         * sysdeps/unix/getdents.c: Remove file.
22307         * sysdeps/unix/sysv/getdents.c: Likewise.
22308         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22310         * sysdeps/unix/syscalls.list (madvise): Add syscall from
22311         sysdeps/unix/mman/syscalls.list.
22312         (mmap): Likewise.
22313         (mprotect): Likewise.
22314         (msync): Likewise.
22315         (munmap): Likewise.
22316         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22317         * sysdeps/unix/mman/syscalls.list: Remove.
22318         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22320         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22321         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22322         * configure: Regenerated.
22323         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22324         $(libgcc_s_suffix).
22325         * config.make.in (libgcc_s_suffix): Remove variable.
22327 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
22329         * sysdeps/unix/sysv/gethostname.c: Move to ...
22330         * sysdeps/posix/gethostname.c: ... here.
22332         * sysdeps/unix/execve.S: Remove file.
22334         * sysdeps/unix/_exit.S: Remove file.
22336 2012-04-23  Andreas Jaeger  <aj@suse.de>
22338         [BZ #13739]
22339         * manual/Makefile: Remove make dist support, there's no
22340         need for a stand-alone documentation tar ball.
22341         (TEXI2DVI): Define always, it's not in Makeconfig.
22342         (dist): Removed.
22343         (tar-it): Removed.
22344         (edition): Removed.
22345         (glibc-doc-$(edition).tar): Removed
22346         (%.Z): Removed.
22347         (%.gz): Removed.
22348         (%.uu): Removed.
22349         (ETAGS): Remove, it's in Makeconfig.
22350         (move-if-change): Remove, it's in Makeconfig.
22352 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
22354         [BZ #13970]
22355         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22356         (strtod, strtof, strtold, strtol, strtoul, strtoq)
22357         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22358         (strtod_l, strtof_l, strtold_l): Remove __wur.
22359         It is not necessarily an error to ignore strtol's return value.
22360         One can reliably look at the stored endptr to decide whether
22361         the number had valid syntax.
22363 2012-04-21  Andreas Jaeger  <aj@suse.de>
22365         [BZ #13739]
22366         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22368 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
22370         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22371         * sysdeps/unix/sysv/Versions: Remove file.
22373 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
22375         [BZ #13927]
22376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22378 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
22380         [BZ #7064]
22381         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22382         version from __vm86.
22384 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
22386         * sysdeps/unix/common/lxstat.c: Remove file.
22387         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22389         * sysdeps/unix/sysv/Makefile: Remove file.
22391         * sysdeps/unix/sysv/direct.h: Remove file.
22393         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22394         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22395         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22396         * sysdeps/unix/sysv/bits/signum.h: Likewise.
22397         * sysdeps/unix/sysv/bits/stat.h: Likewise.
22398         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22399         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22401         * sysdeps/unix/sysv/setrlimit.c: Remove file.
22403         * sysdeps/unix/xmknod.c: Remove file.
22404         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22406         * sysdeps/unix/sysv/settimeofday.c: Remove file.
22408         * sysdeps/unix/sysv/i386/time.S: Remove file.
22410         * sysdeps/unix/fxstat.c: Remove file.
22411         * sysdeps/unix/xstat.c: Likewise.
22412         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22414         * sysdeps/unix/sysv/sigaction.c: Remove file.
22416         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22417         (sysdep_headers): Remove variable.
22418         [termio.h not in sysdep_headers] (generated): Likewise.
22419         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22420         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22421         * sysdeps/unix/sysv/tcdrain.c: Likewise.
22422         * sysdeps/unix/sysv/tcflow.c: Likewise.
22423         * sysdeps/unix/sysv/tcflush.c: Likewise.
22424         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22425         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22426         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22427         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22428         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22430         * sysdeps/unix/siglist.c: Remove file.
22432         * sysdeps/unix/getppid.S: Remove file.
22434         * sysdeps/unix/mkdir.c: Remove file.
22435         * sysdeps/unix/rmdir.c: Likewise.
22437 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
22439         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22440         ERR_MAX value.
22441         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22442         errlist-compat value.
22444 2012-04-18  David S. Miller  <davem@davemloft.net>
22446         * sysdeps/generic/memcopy.h (reg_char): Delete.
22447         * debug/strcat_chk.c: Use char, not reg_char.
22448         * debug/strcpy_chk.c: Likewise.
22449         * debug/strncat_chk.c: Likewise.
22450         * debug/strncpy_chk.c: Likewise.
22451         * string/memchr.c: Likewise.
22452         * string/memrchr.c: Likewise.
22453         * string/rawmemchr.c: Likewise.
22454         * string/strcat.c: Likewise.
22455         * string/strchr.c: Likewise.
22456         * string/strchrnul.c: Likewise.
22457         * string/strcmp.c: Likewise.
22458         * string/strcpy.c: Likewise.
22459         * string/strncat.c: Likewise.
22460         * string/strncmp.c: Likewise.
22461         * string/strncpy.c: Likewise.
22463 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22465         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22466         __builtin_memcopy is called when src and dest ranges are known to not
22467         overlap.
22469 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22471         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22472         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22473         fwd_align_merge macro call.
22474         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22475         bwd_align_merge macro call.
22476         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22478 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22480         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22481         bwd_align_merge macros.
22482         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22483         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22484         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22486 2012-04-18  David S. Miller  <davem@davemloft.net>
22488         * sysdeps/sparc/sparc64/memcopy.h: Delete.
22490 2012-04-18  Andreas Jaeger  <aj@suse.de>
22492         [BZ# 6794]
22493         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22494         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22495         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22497         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22498         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22499         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22501         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22502         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22503         Adjust for changed ldbl-128 files.
22505         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22506         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22507         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22509 2012-04-17  David S. Miller  <davem@davemloft.net>
22511         * sysdeps/sparc/sparc32/memcopy.h: Delete.
22513 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
22515         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22516         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22517         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22518         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22519         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22520         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22522 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22524         [BZ #6794]
22525         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22526         * math/libm-test.inc: Add ilogb errno and exception tests.
22527         * math/w_ilogb.c: New file: ilogb wrapper.
22528         * math/w_ilogbf.c: New file: ilogbf wrapper.
22529         * math/w_ilogbl.c: New file: ilogbl wrapper.
22530         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22531         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22532         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22533         exception being thrown with 0.0 as argument.
22534         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22535         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22536         exception being thrown with 0.0 as argument.
22537         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22538         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22539         exception being thrown with 0.0 as argument.
22540         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22541         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22542         exception being thrown with 0.0 as argument.
22543         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22544         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22545         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22546         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22547         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22548         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22549         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22550         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22551         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22553 2012-04-17  Petr Baudis  <pasky@ucw.cz>
22555         * include/sys/uio.h: Change __vector to __iovec to avoid clash
22556         with altivec.
22558 2012-04-16  Marek Polacek  <polacek@redhat.com>
22560         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22562 2012-04-16  Marek Polacek  <polacek@redhat.com>
22564         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22565         operands of fdivp instruction.
22567 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
22569         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22570         * elf/tst-auditmod3b.c: Likewise.
22571         * elf/tst-auditmod4b.c: Likewise.
22572         * elf/tst-auditmod5b.c: Likewise.
22573         * elf/tst-auditmod6b.c: Likewise.
22574         * elf/tst-auditmod6c.c: Likewise.
22575         * elf/tst-auditmod7b.c: Likewise.
22576         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22577         * sysdeps/x86_64/preconfigure.in: Likewise.
22578         * sysdeps/x86_64/preconfigure: Regenerated.
22580 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
22582         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22583         __ILP32__.
22585 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
22587         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22588         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22590 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
22592         [BZ #13973]
22593         * locale/iso-639.def: Fix gl language name. Spotted by
22594         Yaron Shahrabani.
22596 2012-04-12  Roland McGrath  <roland@hack.frob.com>
22598         [BZ #2074]
22599         * libio/libio.h (__io_write_fn): Update comment.
22601 2012-04-12  Petr Baudis  <pasky@ucw.cz>
22603         [BZ #2074]
22604         * stdio.texi (Hook Functions): The user provided writer function
22605         is not allowed to return -1.
22607 2012-04-11  David S. Miller  <davem@davemloft.net>
22609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22611 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
22613         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22614         Add a leading slash to rtkaio.
22616 2012-04-11  Jim Meyering  <meyering@redhat.com>
22618         [BZ #11959]
22619         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22620         It is not necessarily an error to ignore fwrite's return
22621         value.  One can reliably use ferror to test for errors after
22622         the fact.
22624 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
22626         * bits/types.h (__snseconds_t): New type.
22627         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22629         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22630         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22631         (__SNSECONDS_T_TYPE): Likewise.
22632         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22633         (__SNSECONDS_T_TYPE): Likewise.
22634         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22635         (__SNSECONDS_T_TYPE): Likewise.
22637 2012-04-10  Andreas Jaeger  <aj@suse.de>
22639         [BZ #2636]
22640         * manual/time.texi (Processor Time): Return type of times is
22641         elapsed real time since an arbitrary point in the past.
22642         (CPU Time): Move CLK_TCK from here...
22643         (Processor Time): ...to here.  Correct description.
22644         * manual/conf.texi (Constants for Sysconf): Correct description of
22645         _SC_CLK_TCK.
22647 2012-04-10  David S. Miller  <davem@davemloft.net>
22649         [BZ #13967]
22650         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22651         where the is a gap between DT_REL(A) and DT_JMPREL.
22653 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
22655         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22656         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22657         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22659 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22661         * elf/dl-support.c (_dl_inhibit_cache): New variable.
22662         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22663         (dl_main): Handle --inhibit-cache.
22664         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22665         _dl_inhibit_cache.
22666         * elf/dl-load.c (_dl_map_object): Use it.
22667         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22669 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
22671         [BZ #13872]
22672         * sysdeps/i386/fpu/e_powl.S (p78): New object.
22673         (__ieee754_powl): Saturate large exponents rather than testing for
22674         overflow of y*log2(x).
22675         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22676         * math/libm-test.inc (pow_test): Do not permit spurious overflow
22677         exceptions.
22679         [BZ #11521]
22680         * math/s_ctan.c: Include <float.h>.
22681         (__ctan): Avoid internal overflow or cancellation in calculating
22682         denominator.
22683         * math/s_ctanf.c: Likewise.
22684         * math/s_ctanl.c: Likewise.
22685         * math/s_ctanh.c: Likewise.
22686         * math/s_ctanhf.c: Likewise.
22687         * math/s_ctanhl.c: Likewise.
22688         * math/libm-test.inc (ctan_test): Add more tests.
22689         (ctanh_test): Likewise.
22690         * sysdeps/i386/fpu/libm-test-ulps: Update.
22691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22693 2012-04-09  Andreas Jaeger  <aj@suse.de>
22695         [BZ #6894]
22696         * manual/filesys.texi (Directory Entries): Mention that d_namlen
22697         is an optional BSD extension.
22699         [BZ #10254]
22700         * manual/stdio.texi (Opening Streams): Document additional fopen
22701         parameters.
22703 2012-04-09  Roland McGrath  <roland@hack.frob.com>
22705         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22706         %eax without telling the compiler.
22708 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
22710         [BZ # 13963]
22711         * manual/install.texi: Use sourceware.org.
22713 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
22715         [BZ #13873]
22716         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22717         (__ieee754_pow): Generate overflow and underflow using huge*huge
22718         and tiny*tiny rather than just returning constant infinity or zero
22719         for large exponents.
22720         * math/libm-test.inc (pow_test): Require overflow exceptions for
22721         applicable cases of large exponents.
22723         [BZ #706]
22724         * sysdeps/i386/fpu/e_pow.S (p10): New object.
22725         (__ieee754_pow): Use iterative multiplication algorithm only for
22726         integer exponents with absolute value below 1024.  Check for odd
22727         integer exponents when using algorithm for real exponents.
22728         * math/libm-test.inc (pow_test): Add more tests.
22729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22731 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
22733         [BZ #13705]
22734         * math/libm-test.inc (exp_test): Do not allow overflow exception
22735         on underflow test.
22737 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
22739         [BZ #13705]
22740         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22741         instead of __kernel_standard_f.
22743 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
22745         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22746         * sysdeps/x86_64/memset_chk.S: Likewise.
22748 2012-04-08  Andreas Jaeger  <aj@suse.de>
22750         [BZ #10153]
22751         * manual/startup.texi (Environment Access): Describe return value
22752         for putenv and setenv.
22754         [BZ #6895]
22755         * manual/filesys.texi (Directory Entries): Add description for
22756         DT_LNK.
22758         [BZ #6890]
22759         * manual/filesys.texi (Directory Entries): Clarify that it's file
22760         system not operating system in the description of DT_UNKNOWN.
22762         [BZ #6578]
22763         * manual/syslog.texi (closelog): Fix reference, it's openlog.
22765 2012-04-08  Stephen Compall  <s11@member.fsf.org>
22767         [BZ #6649]
22768         * manual/llio.texi (Opening and Closing Files): Add cross
22769         reference to explain mode argument.
22771 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
22773         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22774         * sysdeps/x86_64/memset_chk.S: Likewise.
22776 2012-04-07  David S. Miller  <davem@davemloft.net>
22778         * elf/elf.h (R_SPARC_WDISP10): Define.
22779         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22780         R_SPARC_SIZE32.
22781         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22782         R_SPARC_SIZE64 and R_SPARC_H34.
22784 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
22786         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22787         conditions and remove no longer applicable assertion.
22789 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22791         * bits/byteswap.h: Include <features.h>.
22792         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22793         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22795 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22797         * bits/byteswap.h (__bswap_16): Removed.
22798         Include <bits/byteswap-16.h> to get __bswap_16.
22799         * sysdeps/i386/bits/byteswap.h: Likewise.
22800         * sysdeps/s390/bits/byteswap.h: Likewise.
22801         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22802         * bits/byteswap-16.h: New file.
22803         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22804         * sysdeps/s390/bits/byteswap-16.h: Likewise.
22805         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22806         * string/Makefile (headers): Add bits/byteswap-16.h.
22808 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22810         [BZ #13895]
22811         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22812         extra indirection.
22813         * nss/Makefile (tests-static, tests): Add tst-nss-static.
22814         * nss/tst-nss-static.c: New.
22816 2012-04-06  Robert Millan  <rmh@gnu.org>
22818         [BZ #6486]
22819         * manual/llio.texi (File Position Primitive): lseek
22820         refers to WHENCE when it really means OFFSET.
22822 2012-04-06  Andreas Jaeger  <aj@suse.de>
22824         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22825         strncmp declarations.
22827         * abilist/libc.abilist: Add __poll and __ppoll.
22829 2012-04-05  David S. Miller  <davem@davemloft.net>
22831         * scripts/check-local-headers.sh: Accept a host triplet in the
22832         path matched by the exclude regexp.
22834         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22835         definition.
22836         * sysdeps/powerpc/powerpc32/dl-machine.h
22837         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22838         * sysdeps/s390/s390-32/dl-machine.h
22839         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22840         * sysdeps/sparc/sparc32/dl-machine.h
22841         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22842         * sysdeps/sparc/sparc64/dl-machine.h
22843         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22845         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22846         lazy binding.
22847         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22848         undefined symbol errors.
22850         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22851         DT_NEEDED entries.
22853 2012-04-05  Michael Matz  <matz@suse.de>
22855         [BZ #13592]
22856         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22858 2012-04-05  Andreas Jaeger  <aj@suse.de>
22860         [BZ #13908]
22861         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22862         comment.
22864 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22866         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22867         which ROUND is no valid rounding mode.
22869 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22871         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22872         read again.
22873         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22875 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22877         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22878         an exception using FPU order intentionally.
22880 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22882         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22883         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22884         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22885         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22887 2012-04-05  Simon Josefsson  <simon@josefsson.org>
22889         [BZ #12340]
22890         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22891         EINVAL when BUFLEN is too smal.
22893 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22895         [BZ #13553]
22896         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22897         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22899 2012-04-03  Andreas Jaeger  <aj@suse.de>
22901         [BZ #13938]
22902         * manual/setjmp.texi (System V contexts): Fix sentence.
22904         [BZ #13926]
22905         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22906         New macro for this case.
22907         [!__GNUC__] (__bswap_64): New inline function for this case.
22908         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22909         * bits/byteswap.h: Likewise.
22910         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22911         ull, guard with __GLIBC_HAVE_LONG_LONG.
22913         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22914         __GLIBC_HAVE_LONG_LONG.
22916         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22917         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22919 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22921         [BZ #13691]
22922         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22923         inptr and inend, rather than using last_ch.
22925 2012-04-02  David S. Miller  <davem@davemloft.net>
22927         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22928         * stdio-common/printf-parse.h (read_int): Change return type to
22929         'int', return -1 on INT_MAX overflow.
22930         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22931         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
22932         overflows INT_MAX.  Check for overflow of in-format-string precision
22933         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
22934         SIZE_MAX not INT_MAX for integer overflow test.
22935         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22936         skip the construct in the format string but do not record anything.
22937         * stdio-common/bug22.c: Adjust to test both width/prevision
22938         INT_MAX overflow as well as total length INT_MAX overflow.  Check
22939         explicitly for proper errno values.
22941 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22943         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22944         CHAR_MAX.
22945         * string/test-strcmp.c [! WIDE]: Likewise.
22946         * time/tst-mktime2.c: Likewise for INT_MAX.
22947         * string/test-string.h: #include <sys/param.h> for MIN.
22949         * csu/init-first.c (__libc_init_first): Call __ctype_init.
22950         * sysdeps/i386/init-first.c (init): Likewise.
22951         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22952         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22953         * sysdeps/sh/init-first.c (init): Likewise.
22955 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
22957         * po/ru.po: Update from translation team.
22958         * po/vi.po: Likewise.
22960 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22962         * resolv/nss_dns/dns-host.c: Merge copyright years.
22964 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22966         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22967         Optimize memcpy with prefetch if
22968         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
22969         src, dst pointers have unequal 16 byte alignments.
22971 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22973         [BZ #13928]
22974         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22975         from a CNAME entry and return the minimum ttl for the query.
22976         (gaih_getanswer_slice): Likewise.
22978 2012-03-30  Jeff Law  <law@redhat.com>
22980         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22981         due to long keys.
22982         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22983         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22985         * resolv/nss_dns/dns-host.c: Update copyright year.
22987 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
22989         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22990         requests to save a system call.  Fix check that all bytes are sent.
22992         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22993         comments for sendmmsg.
22995 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22997         [BZ #13691]
22998         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22999         with only 1 character between 0x0041 and 0x01b0.
23000         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23001         * wcsmbs/tst-mbsnrtowcs.c: New file.
23003 2012-03-29  David S. Miller  <davem@davemloft.net>
23005         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23006         small copies by hand.
23008 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23010         [BZ #13761]
23011         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23012         _nss_compat_initgroups_dyn): Fall back to malloc/free
23013         for large group memberships.
23015 2012-03-28  David S. Miller  <davem@davemloft.net>
23017         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23018         that branches into memcpy.
23019         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23020         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23021         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23022         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23023         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23024         bits.
23025         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23026         implementation too.
23027         * sysdeps/sparc/mempcpy.S: New file.
23029         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23030         the IFUNC routine in the libc case.
23031         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23033         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23034         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23035         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23036         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23037         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23038         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23039         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23040         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23042         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23043         loop to 256 bytes instead of 64 bytes and fix test signedness.
23045         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23046         * sysdeps/sparc/sparc32/Makefile: rather than here...
23047         * sysdeps/sparc/sparc64/Makefile: and here.
23049 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
23051         * malloc/mallocbug.c: Avoid warnings about unused variables.
23053 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23055         [BZ #13760]
23056         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23057         in the right place. Discard and retry query if response is
23058         larger than input buffer size.
23060 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
23062         [BZ #369]
23063         [BZ #2678]
23064         [BZ #3866]
23065         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23066         x for large integer exponent.
23067         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23068         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
23069         sign of result as needed afterwards.
23070         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23071         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23072         result for underflowing pow the same as for overflow.
23073         (__kernel_standard_l): Handle powl overflow and underflow here
23074         rather than calling __kernel_standard.
23075         * math/libm-test.inc (pow_test): Add more tests.
23077         [BZ #3868]
23078         [BZ #13879]
23079         [BZ #13910]
23080         [BZ #13911]
23081         [BZ #13912]
23082         [BZ #13913]
23083         [BZ #13915]
23084         [BZ #13916]
23085         [BZ #13917]
23086         [BZ #13918]
23087         [BZ #13919]
23088         [BZ #13920]
23089         [BZ #13921]
23090         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23091         * sysdeps/ieee754/k_standard.c: Include <float.h>.
23092         (__kernel_standard_l): New function.
23093         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23094         __kernel_standard.
23095         * math/w_acosl.c (__acosl): Likewise.
23096         * math/w_asinl.c (__asinl): Likewise.
23097         * math/w_atan2l.c (__atan2l): Likewise.
23098         * math/w_atanhl.c (__atanhl): Likewise.
23099         * math/w_coshl.c (__coshl): Likewise.
23100         * math/w_exp10l.c (__exp10l): Likewise.
23101         * math/w_exp2l.c (__exp2l): Likewise.
23102         * math/w_fmodl.c (__fmodl): Likewise.
23103         * math/w_hypotl.c (__hypotl): Likewise.
23104         * math/w_j0l.c (__j0l, __y0l): Likewise.
23105         * math/w_j1l.c (__j1l, __y1l): Likewise.
23106         * math/w_jnl.c (__jnl, __ynl): Likewise.
23107         * math/w_lgammal.c (__lgammal): Likewise.
23108         * math/w_log10l.c (__log10l): Likewise.
23109         * math/w_log2l.c (__log2l): Likewise.
23110         * math/w_logl.c (__logl): Likewise.
23111         * math/w_powl.c (__powl): Likewise.
23112         * math/w_remainderl.c (__remainderl): Likewise.
23113         * math/w_scalbl.c (sysv_scalbl): Likewise.
23114         * math/w_sinhl.c (__sinhl): Likewise.
23115         * math/w_sqrtl.c (__sqrtl): Likewise.
23116         * math/w_tgammal.c (__tgammal): Likewise.
23117         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23118         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23119         * math/libm-test.inc (acos_test): Add more tests.
23120         (acosh_test): Likewise.
23121         (asin_test): Likewise.
23122         (atanh_test): Likewise.
23123         (exp_test): Likewise.
23124         (exp10_test): Likewise.
23125         (exp2_test): Likewise.
23126         (expm1_test): Likewise.
23127         (lgamma_test): Likewise.
23128         (log_test): Likewise.
23129         (log10_test): Likewise.
23130         (log1p_test): Likewise.
23131         (log2_test): Likewise.
23132         (pow_test): Do not allow some spurious overflow exceptions.
23133         (sqrt_test): Add more tests.
23134         (tgamma_test): Likewise.
23135         (y0_test): Likewise.
23136         (y1_test): Likewise.
23137         (yn_test): Likewise.
23139 2012-03-27  Anton Blanchard  <anton@samba.org>
23141         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23142         MAP_HUGETLB.
23143         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23144         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23145         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23147 2012-03-27  David S. Miller  <davem@davemloft.net>
23149         * conform/Makefile: Run run-conformtest.sh using $(BASH).
23151         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23152         have-as-vis3 check.
23154 2012-03-27  Andreas Jaeger  <aj@suse.de>
23156         * sysdeps/x86_64/elf/configure.in: Moved to ...
23157         * sysdeps/x86_64/configure.in: ... here.
23158         * sysdeps/x86_64/elf/start.S: Moved to ...
23159         * sysdeps/x86_64/start.S: ... here.
23160         * sysdeps/x86_64/elf/configure: Delete.
23162         * sysdeps/x86_64/configure.in: Merge contents from
23163         sysdeps/i386/configure.in (without i686 check).
23165         * sysdeps/i386/elf/Versions: Merge into ...
23166         * sysdeps/i386/Versions: ... this.
23167         * sysdeps/i386/elf/Versions: Delete file.
23168         * sysdeps/i386/elf/start.S: Moved to ...
23169         * sysdeps/i386/start.S: ...here.
23170         * sysdeps/i386/elf/configure.in: Merge into...
23171         * sysdeps/i386/configure.in: ...here.
23172         * sysdeps/i386/elf/configure.in: Delete file.
23173         * sysdeps/i386/elf/configure: Delete file.
23175         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23176         * debug/backtracesyms.c: ... here.
23177         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23178         * debug/backtracesymsfd.c: ... here.
23179         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23180         * sysdeps/generic/ifunc-sel.h: ... here.
23182         * sysdeps/unix/i386/start.c: Delete file.
23183         * sysdeps/unix/sparc/start.c: Delete file.
23184         * sysdeps/unix/start.c: Delete file.
23186         * sysdeps/sh/elf/configure.in: Moved to ...
23187         * sysdeps/sh/configure.in: ... here.
23188         * sysdeps/sh/elf/start.S: Moved to ...
23189         * sysdeps/sh/start.S: ... here.
23190         * sysdeps/sh/elf/configure: Delete file.
23192         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23193         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23194         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23195         * sysdeps/powerpc/powerpc64/entry.h: ... here.
23196         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23197         * sysdeps/powerpc/powerpc64/start.S: here.
23198         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23199         * sysdeps/powerpc/powerpc64/Makefile: ... this.
23200         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23201         * sysdeps/powerpc/powerpc64/configure.in: ... this.
23202         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23204         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23205         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23206         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23207         * sysdeps/powerpc/powerpc32/start.S: ... here.
23208         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23209         * sysdeps/powerpc/powerpc32/configure.in: ... this.
23210         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23212         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23213         * sysdeps/powerpc/ifunc-sel.h: ... here.
23214         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23215         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23217         * sysdeps/sparc/elf/configure.in: Moved to ...
23218         * sysdeps/sparc/configure.in: ... here.
23219         * sysdeps/sparc/elf/configure: Delete file.
23220         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23221         * sysdeps/sparc/sparc32/start.S: ... here.
23222         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23223         * sysdeps/sparc/sparc64/start.S: ... here.
23224         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23225         * sysdeps/sparc/sparc32/Makefile: ... this.
23226         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23227         * sysdeps/sparc/sparc64/Makefile: ... this.
23229         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23230         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23231         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23232         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23233         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23234         * sysdeps/s390/s390-32/setjmp.S: ... here.
23235         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23236         * sysdeps/s390/s390-32/configure.in: ... here.
23237         * sysdeps/s390/s390-32/elf/configure: Delete file.
23238         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23239         * sysdeps/s390/s390-32/start.S: ... here.
23241         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23242         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23243         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23244         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23245         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23246         * sysdeps/s390/s390-64/setjmp.S: ... here.
23247         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23248         * sysdeps/s390/s390-64/configure.in: ... here
23249         * sysdeps/s390/s390-64/elf/configure: Delete file.
23250         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23251         * sysdeps/s390/s390-64/start.S: ... here.
23252         * sysdeps/s390/s390-64/elf/configure: Delete.
23254         * configure.in: Remove support for elf directories in sysdeps.
23256         * configure: Regenerated.
23257         * sysdeps/i386/configure: Regenerated.
23258         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23259         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23260         * sysdeps/s390/s390-32/configure: Regenerated.
23261         * sysdeps/s390/s390-64/configure: Regenerated.
23262         * sysdeps/sh/configure: Regenerated.
23263         * sysdeps/sparc/configure: Regenerated.
23264         * sysdeps/x86_64/configure: Regenerated.
23266 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
23268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23270         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23271         denormal result into account.
23273 2012-03-25  Roland McGrath  <roland@hack.frob.com>
23275         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23276         Reported by Allan McRae <allan@archlinux.org>.
23278 2012-03-23  Jeff Law  <law@redhat.com>
23280         * nss/getnssent.c (__nss_getent): Fix typo.
23282 2012-03-23  David S. Miller  <davem@davemloft.net>
23284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23286 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
23288         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23289         to pad to uint64_t for each field.
23290         (dl_tls_index): Replace unsigned long with uint64_t.
23292 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
23293         Paul Pluzhnikov  <ppluzhnikov@google.com>
23295         [BZ #6528]
23296         * grp/Makefile (otherlibs): Don't set it.
23297         * inet/Makefile (otherlibs): Likewise.
23298         * login/Makefile (otherlibs): Likewise.
23299         * nscd/Makefile (otherlibs): Likewise.
23300         * posix/Makefile (otherlibs): Likewise.
23301         * pwd/Makefile (otherlibs): Likewise.
23302         * rt/Makefile (otherlibs): Likewise.
23303         * sunrpc/Makefile (otherlibs): Likewise.
23304         * nss/Makefile (otherlibs): Likewise.
23305         Add libnss_files to routines and static-only-routines.
23306         ($(objpfx)getent): Remove rule.
23307         * resolv/Makefile: Add libnss_dns and libresolv to routines and
23308         static-only-routines.
23310 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
23312         [BZ #13892]
23313         * math/s_cexp.c: Include <float.h>.
23314         (__cexp): Handle exp result overflowing not necessarily
23315         overflowing both real and imaginary parts of result.
23316         * math/s_cexpf.c: Likewise.
23317         * math/s_cexpl.c: Likewise.
23318         * math/libm-test.inc (cexp_test): Add more tests.
23319         * sysdeps/i386/fpu/libm-test-ulps: Update.
23320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23322 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23324         * include/link.h (ELFW): New macro.
23325         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23326         Replace ELF64_R_TYPE with ELFW(R_TYPE).
23328 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23330         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23331         with uint64_t.
23333 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23335         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23336         declaration.
23337         (struct La_x32_retval): Likewise.
23339 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23341         * sysdeps/x86_64/preconfigure.in: New file.
23342         * sysdeps/x86_64/preconfigure: New generated file.
23344 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
23346         [BZ #13824]
23347         * math/e_exp2l.c: Include <float.h>.
23348         (__ieee754_exp2l): Handle overflow and underflow cases
23349         separately.  Only pass fractional part of argument to
23350         __ieee754_expl.
23351         * math/libm-test.inc (exp2_test): Add more tests.
23353         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23354         negating x to take absolute value.
23355         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23356         Likewise.
23357         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23358         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23359         Likewise.
23360         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23361         computing low part if x was negated.
23362         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23364 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23366         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23367         la_x32_gnu_pltexit.
23368         (pltexit): Cast int_retval to ptrdiff_t.
23369         * elf/tst-auditmod3b.c: Likewise.
23370         * elf/tst-auditmod4b.c: Likewise.
23371         * elf/tst-auditmod5b.c: Likewise.
23372         * elf/tst-auditmod6b.c: Likewise.
23373         * elf/tst-auditmod6c.c: Likewise.
23374         * elf/tst-auditmod7b.c: Likewise.
23376         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23377         and x32_gnu_pltexit.
23379         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23380         __ELF_NATIVE_CLASS.
23381         (La_x32_regs): New macro.
23382         (La_x32_retval): Likewise.
23383         (la_x32_gnu_pltenter): New function prototype.
23384         (la_x32_gnu_pltexit): Likewise.
23386 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
23388         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23389         exponent.
23391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23393         * configure.in (libc_cv_cc_nofma): Check for option to disable
23394         generation of FMA instructions.
23395         * configure: Regenerate.
23396         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23397         * sysdeps/ieee754/dbl-64/Makefile: New file.
23398         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23399         Remove brandred-fma4.
23400         (CFLAGS-brandred-fma4.c): Remove.
23401         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23402         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23403         define.
23404         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23405         define.
23407 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23409         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23410         LLONG_MAX != LONG_MAX.
23411         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23412         (_fitoa_word): Likewise.
23413         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23414         LLONG_MAX != LONG_MAX.
23415         * stdio-common/_itowa.h: Include <_itoa.h>.
23416         (_itowa_word): Use _ITOA_WORD_TYPE on value.
23417         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
23418         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
23419         only if not defined.
23420         (_ITOA_WORD_TYPE): Likewise.
23421         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23422         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23424 2012-03-21  David S. Miller  <davem@davemloft.net>
23426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23428 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23430         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23431         of x86_64 when setting libc_cv_slibdir, libdir and
23432         libc_cv_localedir.
23433         * sysdeps/unix/sysv/linux/configure: Regenerated.
23435 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23437         * manual/lang.texi (Old Varargs): Remove section.
23438         (How Variadic): Update menu.
23439         (va_start): Do not mention varargs.h.
23441 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23442             Joseph Myers  <joseph@codesourcery.com>
23444         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23445         link test.
23446         * configure: Regenerated.
23448 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23450         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23451         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23452         conformtest.pl
23454 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23456         * NOTES: Remove.
23457         * Makefile (files-for-dist): Remove NOTES.
23458         (NOTES): Remove rule.
23459         * README: Don't refer to NOTES.
23460         * manual/creature.texi: Don't include macros.texi.
23461         * manual/intro.texi (creature.texi): Remove comment referring to
23462         NOTES.
23464         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23465         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23466         * configure: Regenerated.
23467         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23468         LIBC_TRY_CC_OPTION.
23469         (libc_cv_as_i686): Likewise.
23470         (libc_cv_cc_avx): Likewise.
23471         (libc_cv_cc_sse2avx): Likewise.
23472         (libc_cv_cc_fma4): Likewise.
23473         (libc_cv_cc_novzeroupper): Likewise.
23474         * sysdeps/i386/configure: Regenerated.
23476         [BZ #13883]
23477         * sysdeps/i386/fpu/s_cexp.S: Remove.
23478         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23479         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23480         * math/libm-test.inc (cexp_test): Add more tests.
23481         * sysdeps/i386/fpu/libm-test-ulps: Update.
23482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23484 2012-03-21  Allan McRae  <allan@archlinux.org>
23486         * timezone/Makefile: Do not install iso3166.tab and zone.tab
23488 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23490         [BZ #13871]
23491         * math/w_exp2.c: Do not include <float.h>.
23492         (o_threshold, u_threshold): Remove.
23493         (__exp2): Calculate result before checking finiteness and calling
23494         __kernel_standard.
23495         * math/w_exp2f.c: Likewise.
23496         * math/w_exp2l.c: Likewise.
23497         * math/libm-test.inc (exp2_test): Require overflow exception for
23498         1e6 input.
23500         [BZ #3866]
23501         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23502         range of signed 64-bit integers before using fistpll.  Remove
23503         checks for whether integers fit in mantissa bits.
23504         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23505         the range of signed 32-bit integers before using fistpl.  Remove
23506         checks for whether integers fit in mantissa bits.
23507         * sysdeps/i386/fpu/e_powl.S (p64): New object.
23508         (__ieee754_powl): Test for y outside the range of signed 64-bit
23509         integers before using fistpll.  Reduce 64-bit values to 63-bit
23510         ones as needed.
23511         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23512         divide-by-zero is raised for zero to large negative powers.
23513         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23514         (__ieee754_powl): Test for y outside the range of signed 64-bit
23515         integers before using fistpll.  Reduce 64-bit values to 63-bit
23516         ones as needed.
23517         * math/libm-test.inc (pow_test): Add more tests.
23519 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23521         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23522         <stdio-common/_itoa.h>.
23523         * debug/segfault.c: Likewise.
23524         * elf/dl-cache.c: Likewise.
23525         * elf/dl-minimal.c: Likewise.
23526         * elf/dl-misc.c: Likewise.
23527         * elf/dl-sysdep.c: Likewise.
23528         * elf/dl-version.c: Likewise.
23529         * elf/rtld.c: Likewise.
23530         * hurd/hurdsock.c: Likewise.
23531         * hurd/lookup-retry.c: Likewise.
23532         * malloc/malloc.c: Likewise.
23533         * malloc/mtrace.c: Likewise.
23534         * nscd/nscd_getgr_r.c: Likewise.
23535         * nscd/nscd_getpw_r.c: Likewise.
23536         * nscd/nscd_getserv_r.c: Likewise.
23537         * posix/getopt_init.c: Likewise.
23538         * posix/wordexp.c: Likewise.
23539         * stdio-common/_itoa.c: Likewise.
23540         * stdio-common/printf_fphex.c: Likewise.
23541         * stdio-common/vfprintf.c: Likewise.
23542         * string/_strerror.c: Likewise.
23543         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23544         * sysdeps/i386/i686/hp-timing.h: Likewise.
23545         * sysdeps/mach/_strerror.c: Likewise.
23546         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23547         * sysdeps/mach/hurd/sethostid.c: Likewise.
23548         * sysdeps/mach/hurd/xmknodat.c: Likewise.
23549         * sysdeps/mach/xpg-strerror.c: Likewise.
23550         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23551         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23552         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23553         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23554         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23555         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23556         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23557         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23558         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23559         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23560         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23561         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23562         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23563         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23564         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23565         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23566         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23567         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23568         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23569         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23570         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23572         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23574         * stdio-common/_itoa.h: Moved to ...
23575         * sysdeps/generic/_itoa.h: Here.
23577         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23579         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23580         instead of "_itoa.h" and "_itowa.h".
23581         * stdio-common/vfprintf.: Likewise.
23583 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23585         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23586         <bits/wordsize.h>.
23587         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23588         (__signbit): Likwise.
23589         (llrintf): Likwise.
23590         (llrint): Likwise.
23592 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23594         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23595         __WORDSIZE != 64.
23597 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
23599         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23600         OVERFLOW_EXCEPTION_OK.
23601         * math/libm-test.inc ("Philosophy"): Update comment about
23602         exception testing.
23603         (OVERFLOW_EXCEPTION): Define.
23604         (OVERFLOW_EXCEPTION_OK): Likewise.
23605         (INVALID_EXCEPTION_OK): Renumber.
23606         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23607         (IGNORE_ZERO_INF_SIGN): Likewise.
23608         (test_exceptions): Handle FE_OVERFLOW.
23609         (exp10_test): Expect overflow exceptions.
23610         (exp2_test): Likewise.
23611         (expm1_test): Likewise.
23612         (nextafter_test): Likewise.
23613         (pow_test): Likewise.
23614         (scalbn_test): Likewise.
23615         (scalbln_test): Likewise.
23617 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23619         * sysdeps/x86_64/bits/atomic.h
23620         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23621         64bit integer.
23622         (atomic_exchange_acq): Likewise.
23623         (__arch_exchange_and_add_body): Likewise.
23624         (__arch_add_body): Likewise.
23625         (atomic_add_negative): Likewise.
23626         (atomic_add_zero): Likewise.
23628 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23630         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23631         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23633 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23635         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23636         Check __x86_64__ instead of __WORDSIZE.
23638 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23640         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23642 2012-03-19  David S. Miller  <davem@davemloft.net>
23644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23646         * sysdeps/sparc/fpu/fenv_private.h: New file.
23647         * sysdeps/sparc/fpu/math_private.h: Use it.
23648         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23649         Remove.
23650         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23651         (libc_feholdexcept_setroundl): Remove.
23652         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23653         Remove.
23654         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23655         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23657 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23659         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23660         int64_t instead of long int.
23661         (INSERT_WORDS64): Likwise.
23663 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23665         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23666         _Unwind_GetCFA return to _Unwind_Ptr first.
23668 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
23670         [BZ #13629]
23671         * math/s_clog.c: Include <float.h>.
23672         (__clog): Scale large or subnormal inputs.
23673         * math/s_clogf.c: Likewise.
23674         * math/s_clogl.c: Likewise.
23675         * math/s_clog10.c: Include <float.h>.
23676         (M_LOG10_2): Define.
23677         (__clog10): Scale large or subnormal inputs.
23678         * math/s_clog10f.c: Likewise.
23679         * math/s_clog10l.c: Likewise.
23680         * math/libm-test.inc (clog_test): Add more tests.
23681         (clog10_test): Likewise.
23682         * sysdeps/i386/fpu/libm-test-ulps: Update.
23683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23685         [BZ #11451]
23686         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23687         x and y.
23688         * math/libm-test.inc (atan2_test): Add another test.
23690         * Makerules (common-objdir-compile): Remove.
23691         * sysdeps/unix/Makefile (config-generated): Do not add
23692         $(unix-generated) to variable.
23693         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23694         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23695         Remove rule.
23696         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23697         Likewise.
23698         [generic bits/local_lim.h] (before-compile): Do not append to
23699         variable.
23700         [generic bits/local_lim.h] (common-generated): Likewise.
23701         [generic sys/param.h] (before-compile): Do not append to variable.
23702         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23703         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23704         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23705         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23706         include.
23707         [generic sys/param.h] (sys/param.h-includes): Remove variable.
23708         [generic sys/param.h] (sys/param.h-includes): Remove rule.
23709         [generic sys/param.h] ($(addprefix
23710         $(common-objpfx),$(sys/param.h-includes))): Likewise.
23711         [generic sys/param.h] (common-generated): Do not append to
23712         variable.
23713         [generic sys/param.h] (sysdep_headers): Likewise.
23714         [generic bits/errno.h] (before-compile): Do not append to
23715         variable.
23716         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23717         rule.
23718         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23719         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23720         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23721         [generic bits/errno.h] (common-generated): Do not append to
23722         variable.
23723         [generic bits/ioctls.h] (before-compile): Do not append to
23724         variable.
23725         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23726         rule.
23727         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23728         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23729         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23730         rule.
23731         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23732         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23733         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23734         [generic bits/ioctls.h] (common-generated): Do not append to
23735         variable.
23736         [generic sys/syscall.h] (syscall.h): Remove variable.
23737         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23738         rule.
23739         [generic sys/syscall.h] (before-compile): Do not append to
23740         variable.
23741         [generic sys/syscall.h] (common-generated): Likewise.
23742         * sysdeps/unix/errnos-tmpl.c: Remove file.
23743         * sysdeps/unix/errnos.awk: Likewise.
23744         * sysdeps/unix/ioctls-tmpl.c: Likewise.
23745         * sysdeps/unix/ioctls.awk: Likewise.
23746         * sysdeps/unix/mk-local_lim.c: Likewise.
23747         * sysdeps/unix/snarf-ioctls: Likewise.
23749 2012-03-19  Richard Henderson  <rth@twiddle.net>
23751         * sysdeps/i386/fpu/fenv_private.h: New file.
23752         * sysdeps/i386/fpu/math_private.h: Use it.
23753         (math_opt_barrier, math_force_eval): Remove.
23754         (libc_feholdexcept_setround_53bit): Remove.
23755         (libc_feupdateenv_53bit): Remove.
23756         * sysdeps/x86_64/fpu/math_private.h: Likewise.
23757         (math_opt_barrier, math_force_eval): Remove.
23758         (libc_feholdexcept): Remove.
23759         (libc_feholdexcept_setround): Remove.
23760         (libc_fetestexcept, libc_fesetenv): Remove.
23761         (libc_feupdateenv_test): Remove.
23762         (libc_feupdateenv, libc_feholdsetround): Remove.
23763         (libc_feresetround): Remove.
23765         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23766         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23768         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23769         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23770         (libc_feupdateenv_testl): New.
23771         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23772         (libc_feupdateenv_testf): New.
23773         (libc_feupdateenv): Use libc_feupdateenv_test.
23774         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23775         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23777         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23778         (libc_feholdsetroundf, libc_feholdsetroundl): New.
23779         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23780         (libc_feresetround_noex): New.
23781         (libc_feresetround_noexf): New.
23782         (libc_feresetround_noexl): New.
23783         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23784         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23785         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23786         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23787         SET_RESTORE_ROUND.
23788         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23789         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23790         (__cos): Likewise.
23791         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23792         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23793         SET_RESTORE_ROUND_NOEX.
23794         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23795         SET_RESTORE_ROUND_NOEXF.
23796         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23797         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23798         (libc_feholdsetroundf): New.
23799         (libc_feresetround, libc_feresetroundf): New.
23801         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23802         (libc_feholdexcept_setround_53bit): Convert from macro to function.
23803         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
23805         * sysdeps/generic/math_private.h: Include <fenv.h>.
23806         (default_libc_feholdexcept): New.
23807         (default_libc_feholdexcept_setround): New.
23808         (default_libc_fesetenv, default_libc_feupdateenv): New.
23809         (libc_feholdexcept): Only define if undefined.
23810         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23811         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23812         (libc_feholdexcept_setroundl): Likewise.
23813         (libc_feholdexcept_setround_53bit): Likewise.
23814         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23815         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23816         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23817         (libc_feupdateenv_53bit): Likewise.
23818         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23819         (libc_feholdexcept): Convert from macro to inline function.
23820         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23821         (libc_fesetenv, libc_feupdateenv): Likewise.
23823         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23824         not previously defined.
23825         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23826         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23827         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23828         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23829         * sysdeps/ieee754/flt-32/math_private.h: New file.
23830         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23831         math_private.h below SET_FLOAT_WORD.
23832         (__isnan, __isinf_ns, __finite): Remove.
23833         (__isnanf, __isinf_nsf, __finitef): Remove.
23835 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
23837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23839 2012-03-17  David S. Miller  <davem@davemloft.net>
23841         [BZ #6471]
23842         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23843         for 2.16.
23845 2012-03-16  David S. Miller  <davem@davemloft.net>
23847         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23848         warnings.
23850         [BZ #6471]
23851         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23852         properly.
23853         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23854         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23855         sysdep_routines when subdir is sysvipc.
23856         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23857         __getshmlba helper.
23859         * sysdeps/sparc/fpu/libm-test/ulps: Update.
23861 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23863         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23864         [__LP64__].
23866 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23868         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23869         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23870         (__lround): Renamed to ...
23871         (__llround): This.  Replace long int with long long int.
23872         Define lround functions as aliases of llround functions.
23873         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23875 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23877         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23878         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
23879         adresses to uintptr_t.  Replace "long int" and "unsigned long
23880         int" with "greg_t" on va_arg.
23882 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23884         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23885         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23887         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23888         Move e_machine check before EI_CLASS check.  Handle x32
23889         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23890         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23891         SKIP_EM_IA_64 and include
23892         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23894         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23895         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23896         (add_system_dir): New macro.
23898         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23899         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23901 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23903         [BZ #2551]
23904         [BZ #2552]
23905         [BZ #2553]
23906         [BZ #2554]
23907         [BZ #2562]
23908         [BZ #2563]
23909         [BZ #2565]
23910         [BZ #2566]
23911         [BZ #2576]
23912         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23913         (y0): Likewise.
23914         * math/w_j0f.c (j0f): Likewise.
23915         (y0f): Likewise.
23916         * math/w_j0l.c (__j0l): Likewise.
23917         (__y0l): Likewise.
23918         * math/w_j1.c (j1): Likewise.
23919         (y1): Likewise.
23920         * math/w_j1f.c (j1f): Likewise.
23921         (y1f): Likewise.
23922         * math/w_j1l.c (__j1l): Likewise.
23923         (__y1l): Likewise.
23924         * math/w_jn.c (jn): Likewise.
23925         (yn): Likewise.
23926         * math/w_jnf.c (jnf): Likewise.
23927         (ynf): Likewise.
23928         * math/w_jnl.c (__jnl): Likewise.
23929         (__ynl): Likewise.
23930         * math/libm-test.inc (j0_test): Add more tests.
23931         (j1_test): Likewise.
23932         (jn_test): Likewise.  Add trailing semicolon to existing test.
23933         (y0_test): Likewise.
23934         (y1_test): Likewise.
23935         * sysdeps/i386/fpu/libm-test-ulps: Update.
23936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23938         [BZ #13851]
23939         [BZ #13854]
23940         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23941         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23942         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23943         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23944         (__tanl): Set errno for infinite argument.
23945         * sysdeps/i386/fpu/mptan.c: Remove.
23946         * sysdeps/i386/fpu/s_tan.S: Likewise.
23947         * sysdeps/i386/fpu/s_tanl.S: Likewise.
23948         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23949         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23950         * math/libm-test.inc (tan_test): Add more tests and enable more
23951         tests for double and long double.
23952         * sysdeps/i386/fpu/libm-test-ulps: Update.
23953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23955 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
23957         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23958         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23960 2012-03-16  Roland McGrath  <roland@hack.frob.com>
23962         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23963         * configure.in: Use it for both main tree and add-ons.
23964         * configure: Regenerated.
23966 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23968         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23970 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23972         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23973         in comment.
23975         [BZ #13851]
23976         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23977         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23978         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23979         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23980         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23981         infinite argument.
23982         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23983         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23984         != 0 for prec == 2.
23985         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23986         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23987         * sysdeps/i386/fpu/s_cosl.S: Likewise.
23988         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23989         * sysdeps/i386/fpu/s_sinl.S: Likewise.
23990         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23991         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23992         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23993         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23994         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23995         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23996         * math/libm-test.inc (cos_test): Add more tests and enable more
23997         tests for long double.
23998         (sin_test): Likewise.
23999         (sincos_test): Likewise.
24000         * sysdeps/i386/fpu/libm-test-ulps: Update.
24001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24003 2012-03-16  David S. Miller  <davem@davemloft.net>
24005         * sysdeps/sparc/fpu/math_private.h: New file.
24007 2012-03-15  David S. Miller  <davem@davemloft.net>
24009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24010         file.
24011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24013         file.
24014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24015         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24016         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24017         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24018         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24019         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24020         sysdep routines.
24021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24023         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24024         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24026         * sysdeps/sparc/sparc-ifunc.h: New file.
24027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24028         sparc-ifunc.h
24029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24031         Likewise.
24032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24033         Likewise.
24034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24038         Likewise.
24039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24044         Likewise.
24045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24046         Likewise.
24047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24051         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24052         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24053         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24054         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24055         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24056         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24057         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24058         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24061         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24062         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24063         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24064         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24065         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24066         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24067         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24068         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24069         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24070         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24072 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24074         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24075         scaling.
24076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24078 2012-03-15  Andreas Jaeger  <aj@suse.de>
24080         [BZ #13852]
24081         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24082         ieee754/flt-32 implementation for sin, cos and sincos.
24083         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24084         * sysdeps/i386/fpu/s_cosf.S: Likewise.
24085         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24086         * sysdeps/i386/fpu/s_sinf.S: Likewise.
24087         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24088         ieee754/flt-32 implementation for tan.
24090         * math/libm-test.inc (cos_test): Enable some large input tests for
24091         float as well
24092         (sin_test): Likewise.
24093         (sincos_test): Likewise.
24094         (tan_test): Add tests for large input.
24096         * sysdeps/i386/fpu/libm-test-ulps: Update.
24098 2012-03-15  Andreas Jaeger  <aj@suse.de>
24100         [BZ #13658]
24101         * math/libm-test.inc (cos_test): Add more test cases.
24102         (sin_test): Likewise.
24103         (sincos_test): Likewise.
24105 2012-03-15  Andreas Jaeger  <aj@suse.de>
24107         [BZ #13837]
24108         * math/libm-test.inc (cos_test): Add a test case for large input
24109         value.
24110         (sin_test): Likewise.
24111         (sincos_test): Likewise.
24113 2012-03-15  Andreas Jaeger  <aj@suse.de>,
24114         Joseph Myers  <joseph@codesourcery.com>
24116         [BZ #13658]
24117         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24118         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24119         * sysdeps/i386/fpu/branred.c: Likewise.
24120         * sysdeps/i386/fpu/dosincos.c: Likewise.
24121         * sysdeps/i386/fpu/mpa.c: Likewise.
24122         * sysdeps/i386/fpu/s_cos.S: Likewise.
24123         * sysdeps/i386/fpu/s_sin.S: Likewise.
24124         * sysdeps/i386/fpu/s_sincos.S: Likewise.
24125         * sysdeps/i386/fpu/sincos32.c: Likewise.
24127         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24128         Define.
24129         (libc_feupdateenv_53bit): Define.
24130         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24131         Define.
24132         (libc_feupdateenv_53bit): Define.
24134         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24135         53 bit (without extend i386 double precision).
24137         * math/libm-test.inc (sincos_test): Add tests for large input.
24138         (sin): Likewise.
24139         (cos): Likewise.
24141         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24143 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24147 2012-03-15  David S. Miller  <davem@davemloft.net>
24149         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24150         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24151         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24152         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24160         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24163         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24165         file.
24166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24168         file.
24169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24171         file.
24172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24174         file.
24175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24176         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24177         fmin/fmax sysdep routines.
24178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24180 2012-03-14  David S. Miller  <davem@davemloft.net>
24182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24186         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24187         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24188         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24189         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24190         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24195         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24197         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24198         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24199         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24200         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24201         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24202         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24203         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24204         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24205         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24206         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24207         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24208         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24209         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24210         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24211         routines.
24212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24213         file.
24214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24216         file.
24217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24219         file.
24220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24222         file.
24223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24225         file.
24226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24228         file.
24229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24230         file.
24231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24232         file.
24233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24234         file.
24235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24236         New file.
24237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24238         file.
24239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24240         file.
24241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24243         file.
24244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24246         file.
24247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24249         file.
24250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24252         VIS3 routines.
24254         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24255         New file.
24257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24259         * sysdeps/sparc/configure.in: New file.
24260         * sysdeps/sparc/configure: Generate.
24261         * configure.in (libc_cv_sparc_as_vis3): Substitute.
24262         * configure: Regenerate.
24263         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24264         * config.make.in (have-as-vis3): New.
24265         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24266         available use -Av9d instead of -Av9a.
24267         * sysdeps/sparc/sparc64/Makefile: Likewise.
24268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24270         New file.
24271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24272         file.
24273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24274         New file.
24275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24276         file.
24277         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24278         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24279         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24280         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24281         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24283         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24284         fzeros/fnegs to load 0x80000000 into a float register instead of
24285         using the stack.
24286         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24288 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
24290         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24291         bits/syscall.h.
24292         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24293         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24294         ($(inst_includedir)/bits/syscall.h): Remove rule.
24295         ($(objpfx)bits/syscall.d): Include instead of
24296         $(objpfx)syscall-list.d.
24297         (generated): Change syscall-list.h and syscall-list.d to
24298         bits/syscall.h and bits/syscall.d.
24300 2012-03-14  Roland McGrath  <roland@hack.frob.com>
24302         [BZ #13846]
24303         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24305 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
24307         [BZ #13841]
24308         * math/s_csqrt.c: Include <float.h>.
24309         (__csqrt): Scale large or subnormal inputs.
24310         * math/s_csqrtf.c: Likewise.
24311         * math/s_csqrtl.c: Likewise.
24312         * math/libm-test.inc (csqrt_test): Add more tests.
24313         * sysdeps/i386/fpu/libm-test-ulps: Update.
24314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24316         [BZ #13840]
24317         * math/libm-test.inc (hypot_test): Add more tests.
24319 2012-03-13  David S. Miller  <davem@davemloft.net>
24321         [BZ #13840]
24322         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24323         double-precision for the calculation instead of scaling.
24325 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
24327         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24328         manipulate bits before adding and subtracting TWO52[sx].
24329         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24330         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24331         Likewise.
24332         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24334 2012-03-13  David S. Miller  <davem@davemloft.net>
24336         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24337         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24338         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24339         rtld-global-offsets.h
24340         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24342         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24343         large parameters.
24345         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24347         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24348         'err' in the ifdef scope in which it is actually used.
24350         * nss/nss_db/db-init.c: Include string.h
24352 2012-03-12  David S. Miller  <davem@davemloft.net>
24354         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24355         masking out of the most significant byte of random value used.
24356         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24357         Fix coding style in previous change.
24359         * sysdeps/unix/sysv/linux/kernel-features.h
24360         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24361         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24362         expression.
24363         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24364         later.
24366 2012-03-11  David S. Miller  <davem@davemloft.net>
24368         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24369         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24370         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24371         for 'resultvar' otherwise things get truncated on 64-bit.
24373         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24374         Fix masking out of the most significant byte of random value used.
24376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24378 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
24380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24382 2012-03-09  David S. Miller  <davem@davemloft.net>
24384         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24385         variables with appropriate CPP guards.
24386         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24387         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
24388         on resulting framesize and the management of the outregs buffer for pltexit.
24389         Preserve floating point return values across _dl_call_pltexit call.
24390         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24391         framesize and the management of the outregs buffer for pltexit.
24392         Preserve floating point return values across _dl_call_pltexit
24393         call.
24394         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24395         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24396         (print_exit): Fix format string for return register value.
24398 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
24400         * sunrpc/Makefile (others): Add rpcgen.
24401         ($(objpfx)rpcgen): Remove special build rule and dependency on
24402         libc.
24403         * sunrpc/rpcgen.c: New file.
24405 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
24407         [BZ #13673]
24408         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24409         * stdio-common/bug-vfprintf-nargs.c: Likewise.
24410         * sysdeps/i386/crti.S: Likewise.
24411         * sysdeps/i386/crtn.S: Likewise.
24412         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24413         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24414         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24415         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24416         * sysdeps/sh/crti.S: Likewise.
24417         * sysdeps/sh/crtn.S: Likewise.
24418         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24420         [BZ #13673]
24421         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24422         with URL.
24423         * locale/programs/locfile-kw.gperf: Likewise.
24424         * locale/programs/charmap-kw.h: Regenerated.
24425         * locale/programs/locfile-kw.h: Likewise.
24427         [BZ #13673]
24428         * intl/plural.y: Replace FSF snail mail address with URL.
24429         * intl/plural.c: Regenerated.
24431 2012-03-09  Richard Henderson  <rth@twiddle.net>
24433         * include/math_private.h: Remove file.
24434         * math/math_private.h: Move file ...
24435         * sysdeps/generic/math_private.h: ... here.
24437         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24438         * sysdeps/powerpc/fpu/math_private.h: Likewise.
24439         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24441         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24442         and <math_private.h>.
24443         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24444         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24445         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24446         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24447         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24448         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24449         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24450         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24451         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24452         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24453         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24454         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24455         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24456         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24457         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24458         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24459         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24460         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24461         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24462         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24463         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24464         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24465         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24466         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24467         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24468         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24469         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24470         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24471         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24472         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24473         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24474         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24475         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24476         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24477         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24478         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24479         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24480         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24481         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24482         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24483         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24484         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24485         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24486         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24487         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24488         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24489         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24490         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24491         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24492         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24493         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24494         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24495         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24496         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24497         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24498         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24499         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24500         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24501         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24502         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24503         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24504         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24505         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24506         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24507         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24508         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24509         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24510         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24511         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24512         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24513         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24514         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24515         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24516         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24517         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24518         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24519         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24520         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24521         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24522         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24523         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24524         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24525         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24526         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24527         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24528         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24529         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24530         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24531         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24532         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24533         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24534         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24535         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24536         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24537         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24538         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24539         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24540         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24541         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24542         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24543         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24544         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24545         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24546         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24547         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24548         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24549         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24550         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24551         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24552         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24553         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24554         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24555         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24556         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24557         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24558         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24559         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24560         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24561         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24562         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24563         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24564         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24565         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24566         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24567         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24568         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24569         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24570         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24571         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24572         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24573         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24574         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24575         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24576         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24577         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24578         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24579         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24580         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24581         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24582         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24583         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24584         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24585         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24586         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24587         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24588         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24589         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24590         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24591         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24592         * sysdeps/ieee754/k_standard.c: Likewise.
24593         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24594         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24595         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24596         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24597         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24598         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24599         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24600         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24601         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24602         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24603         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24604         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24605         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24606         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24607         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24608         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24609         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24610         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24611         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24612         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24613         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24614         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24615         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24616         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24617         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24618         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24619         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24620         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24621         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24622         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24623         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24624         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24625         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24626         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24627         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24628         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24629         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24630         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24631         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24632         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24633         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24634         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24635         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24636         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24637         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24638         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24639         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24640         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24641         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24642         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24643         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24644         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24645         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24646         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24647         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24648         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24649         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24650         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24651         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24652         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24653         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24654         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24655         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24656         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24657         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24658         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24659         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24660         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24661         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24662         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24663         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24664         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24665         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24666         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24667         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24668         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24669         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24670         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24671         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24672         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24673         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24674         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24675         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24676         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24677         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24678         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24679         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24680         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24681         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24682         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24683         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24684         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24685         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24686         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24687         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24688         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24689         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24690         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24691         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24692         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24693         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24694         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24695         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24696         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24697         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24698         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24699         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24700         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24701         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24702         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24703         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24704         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24705         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24706         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24707         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24708         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24709         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24710         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24711         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24712         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24713         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24714         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24715         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24716         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24717         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24718         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24719         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24720         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24721         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24722         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24723         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24724         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24725         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24726         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24727         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24728         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24729         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24730         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24731         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24732         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24733         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24734         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24735         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24736         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24737         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24738         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24739         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24740         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24741         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24742         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24743         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24744         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24745         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24746         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24747         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24748         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24749         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24750         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24751         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24752         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24753         * sysdeps/ieee754/s_lib_version.c: Likewise.
24754         * sysdeps/ieee754/s_matherr.c: Likewise.
24755         * sysdeps/ieee754/s_signgam.c: Likewise.
24756         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24757         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24758         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24759         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24760         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24761         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24762         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24763         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24764         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24765         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24766         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24767         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24768         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24769         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24770         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24771         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24772         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24773         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24774         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24775         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24776         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24778 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24780         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24781         * sunrpc/rpc_main.c: Likewise.
24782         * sunrpc/rpc_svcout.c: Likewise.
24784 2012-03-09  David S. Miller  <davem@davemloft.net>
24786         * include/math_private.h: New file.
24788 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24790         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24791         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24792         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24793         from <bits/socket_type.h>.
24794         (enum __socket_type): Don't define here.
24795         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24796         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24797         bits/socket_type.h.
24799         [BZ #13566]
24800         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24801         checking __USE_GNU.
24803         * Makerules ($(inst_includedir)/%.h): New rule.
24804         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24805         (install-others): Remove variable setting.
24806         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24808 2012-03-08  Richard Henderson  <rth@twiddle.net>
24810         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24811         from macro to inline function; merge with the
24812         !__LIBC_INTERNAL_MATH_INLINES version.
24813         (__ieee754_sqrtf): Likewise.
24815         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24816         to inline function.
24817         (__rintf, __floor, __floorf): Likewise.
24819         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24820         macro to inline function.
24821         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24823         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24824         not <math/math_private.h>.
24826 2012-03-08  David S. Miller  <davem@davemloft.net>
24828         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24829         copyright year.
24830         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24832 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
24834         * resolv/gai_misc.c (handle_requests): Fix struct timespec
24835         normalization.
24836         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24837         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24839 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
24841         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
24842         be defined individually, they must be defined as a block.  Define
24843         S for printing a string instead of hidint the different by using a
24844         macro for adding the 'l'.
24845         * stdio-common/tst-fphex-wide.c: Adjust.
24847 2012-03-07  Marek Polacek  <polacek@redhat.com>
24849         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24851 2012-03-08  Marek Polacek  <polacek@redhat.com>
24853         [BZ #13806]
24854         * stdio-common/Makefile (tests): Add tst-fphex-wide.
24855         * stdio-common/tst-fphex.c: Define a few macros to make the
24856         test reusable.  Use them.
24857         * stdio-common/tst-fphex-wide.c: New file.
24859 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
24861         [BZ #6911]
24862         * manual/macros.texi (gnusystems): New macro.
24863         (nongnusystems): Likewise.
24864         (gnulinuxhurdsystems): Likewise.
24865         (gnuhurdsystems): Likewise..
24866         (gnulinuxsystems): Likewise.
24867         * manual/charset.texi: Use new macros or @theglibc{} to refer to
24868         variants of the GNU system, not "GNU system".
24869         * manual/conf.texi: Likewise.
24870         * manual/errno.texi: Likewise.  Update example of errno macro
24871         expansion.
24872         * manual/filesys.texi: Likewise.
24873         (getumask): Document as specific to GNU/Hurd.
24874         * manual/install.texi: Likewise.  Reword some references to
24875         GNU/Linux.
24876         * manual/intro.texi: Likewise.
24877         * manual/io.texi: Likewise.
24878         (File Name Portability): Detail which constraints are inapplicable
24879         to all GNU systems and which are only inapplicable to GNU/Hurd.
24880         * manual/job.texi: Likewise.
24881         * manual/llio.texi: Likewise.
24882         (O_NOCTTY): Document as present on GNU/Linux.
24883         * manual/maint.texi: Likewise.
24884         * manual/memory.texi: Likewise.
24885         * manual/pattern.texi: Likewise.
24886         * manual/pipe.texi: Likewise.
24887         * manual/process.texi: Likewise.
24888         * manual/resource.texi: Likewise.
24889         (RUSAGE_CHILDREN): Remove statement about specifying a particular
24890         child on GNU/Hurd.
24891         * manual/setjmp.texi: Likewise.
24892         * manual/signal.texi: Likewise.
24893         * manual/startup.texi: Likewise.
24894         * manual/stdio.texi: Likewise.
24895         * manual/terminal.texi: Likewise.
24896         (ONLCR): Document as POSIX.
24897         (OXTABS): Document availability on GNU/Linux as XTABS.
24898         (ONOEOT): Document availability separately from other bits.
24899         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24900         * manual/time.texi: Likewise.
24901         * manual/users.texi: Likewise.
24902         * INSTALL: Regenerated.
24903         * sysdeps/gnu/errlist.c: Regenerated.
24905         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24906         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24907         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
24908         puts.
24909         * configure: Regenerated.
24911 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
24913         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24914         default includes instead of AC_HEADER_CHECK.
24915         * sysdeps/i386/configure: Regenerated.
24917         [BZ #10716]
24918         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24919         * math/s_cacoshf.c (__cacoshf): Likewise.
24920         * math/s_cacoshl.c (__cacoshl): Likewise.
24921         * math/s_casinh.c (__casinh): Set signs of result from argument.
24922         * math/s_casinhf.c (__casinhf): Likewise.
24923         * math/s_casinhl.c (__casinhl): Likewise.
24924         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24925         (casinh_test): Add more tests.
24926         * sysdeps/i386/fpu/libm-test-ulps: Update.
24927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24929 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
24931         * po/zh_TW.po: Update from translation team.
24933         * login/Makefile (distribute): Remove variable.
24934         * catgets/Makefile: Likewise.
24935         * mach/Makefile: Likewise.
24936         * malloc/Makefile: Likewise.
24937         * misc/Makefile: Likewise.
24938         * iconv/Makefile: Likewise.
24939         * nscd/Makefile: Likewise.
24940         * hurd/Makefile: Likewise.
24941         * manual/Makefile: Likewise.
24942         * locale/Makefile: Likewise.
24943         * intl/Makefile: Likewise.
24944         * conform/Makefile: Likewise.
24945         * nss/Makefile: Likewise.
24946         * time/Makefile: Likewise.
24947         * soft-fp/Makefile: Likewise.
24948         * dirent/Makefile: Likewise.
24949         * gmon/Makefile: Likewise.
24950         * po/Makefile: Likewise.
24951         * rt/Makefile: Likewise.
24952         * socket/Makefile: Likewise.
24953         * math/Makefile: Likewise.
24954         * signal/Makefile: Likewise.
24955         * debug/Makefile: Likewise.
24956         * elf/Makefile: Likewise.
24957         * timezone/Makefile: Likewise.
24958         * stdlib/Makefile: Likewise.
24959         * iconvdata/Makefile: Likewise.
24960         * sunrpc/Makefile: Likewise.
24961         * io/Makefile: Likewise.
24962         * argp/Makefile: Likewise.
24963         * inet/Makefile: Likewise.
24964         * hesiod/Makefile: Likewise.
24965         * grp/Makefile: Likewise.
24966         * csu/Makefile: Likewise.
24967         * wctype/Makefile: Likewise.
24968         * crypt/Makefile: Likewise.
24969         * libio/Makefile: Likewise.
24970         * string/Makefile: Likewise.
24971         * nis/Makefile: Likewise.
24972         * resolv/Makefile: Likewise.
24973         * stdio-common/Makefile: Likewise.
24974         * wcsmbs/Makefile: Likewise.
24975         * dlfcn/Makefile: Likewise.
24976         * posix/Makefile: Likewise.
24978         [BZ #6959]
24979         * timezone/Makefile: Don't install timezone files, just the programs
24980         and scripts.
24982 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
24984         * nss/databases.def: Add missing gshadow entry.
24986         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
24988 2012-03-06  Marek Polacek  <polacek@redhat.com>
24990         [BZ #13726]
24991         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24992         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24993         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24994         * stdio-common/tst-long-dbl-fphex.c: New file.
24996 2012-03-06  David S. Miller  <davem@davemloft.net>
24998         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24999         (set_obp_int): New function.
25000         (get_obp_int): New function.
25001         (__get_clockfreq_via_dev_openprom): Likewise.
25002         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25003         Avoid unused variable warnings on 'val' and use builtin_expect.
25004         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25005         __builtin_expect.
25006         (INLINE_CLONE_SYSCALL): Likewise.
25008 2012-03-05  David S. Miller  <davem@davemloft.net>
25010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25012 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
25014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25016         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25017         only for |x| >= 40.
25018         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25020 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25022         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25023         Replace gettimeofday with __vdso_gettimeofday.
25025         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25026         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25027         __vdso_clock_gettime and __vdso_getcpu.
25029         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25030         time with __vdso_time.
25032 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25034         * manual/lang.texi (size_t): Note types to which size_t may be
25035         equivalent with the GNU C Library, but do not describe when
25036         differences between them are significant.
25038 2012-03-05  Andreas Jaeger  <aj@suse.de>
25040         * sysdeps/i386/fpu/libm-test-ulps: Update.
25042 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25044         [BZ #3976]
25045         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25046         (__ieee754_pow): Save and restore rounding mode and use
25047         round-to-nearest for main computations.
25048         * math/libm-test.inc (pow_test_tonearest): New function.
25049         (pow_test_towardzero): Likewise.
25050         (pow_test_downward): Likewise.
25051         (pow_test_upward): Likewise.
25052         (main): Call the new functions.
25053         * sysdeps/i386/fpu/libm-test-ulps: Update.
25054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25056         [BZ #3976]
25057         * math/libm-test.inc (cosh_test_tonearest): New function.
25058         (cosh_test_towardzero): Likewise.
25059         (cosh_test_downward): Likewise.
25060         (cosh_test_upward): Likewise.
25061         (sinh_test_tonearest): Likewise.
25062         (sinh_test_towardzero): Likewise.
25063         (sinh_test_downward): Likewise.
25064         (sinh_test_upward): Likewise.
25065         (main): Call the new functions.
25066         * sysdeps/i386/fpu/libm-test-ulps: Update.
25067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25069 2012-03-05  Tom de Vries  <tom@codesourcery.com>
25071         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25072         default stack guard is set in last bytes.
25073         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25075 2012-03-05  Kees Cook  <keescook@chromium.org>
25077         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25079         [BZ #13656]
25080         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25081         possibly allocate from heap instead of stack.
25082         * stdio-common/bug-vfprintf-nargs.c: New file.
25083         * stdio-common/Makefile (tests): Add nargs overflow test.
25085 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
25087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25089 2012-03-03  Marek Polacek  <polacek@redhat.com>
25091         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25092         * math/math_private.h: Likewise.
25093         * stdlib/tst-strtod.c: Likewise.
25094         * sysdeps/i386/i486/bits/atomic.h: Likewise.
25095         * sysdeps/x86_64/bits/atomic.h: Likewise.
25097 2012-03-02  David S. Miller  <davem@davemloft.net>
25099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25103         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25104         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25105         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25106         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25108 2012-03-02  Roland McGrath  <roland@hack.frob.com>
25110         [BZ #13792]
25111         * manual/examples/README: New file, says the example source files
25112         can be used under GPL>=2.
25113         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25114         line containing just "*/".
25115         * manual/examples/add.c: Add copyright header (GPL>=2).
25116         * manual/examples/argp-ex1.c: Likewise.
25117         * manual/examples/argp-ex2.c: Likewise.
25118         * manual/examples/argp-ex3.c: Likewise.
25119         * manual/examples/argp-ex4.c: Likewise.
25120         * manual/examples/atexit.c: Likewise.
25121         * manual/examples/db.c: Likewise.
25122         * manual/examples/dir.c: Likewise.
25123         * manual/examples/dir2.c: Likewise.
25124         * manual/examples/execinfo.c: Likewise.
25125         * manual/examples/filecli.c: Likewise.
25126         * manual/examples/filesrv.c: Likewise.
25127         * manual/examples/fmtmsgexpl.c: Likewise.
25128         * manual/examples/genpass.c: Likewise.
25129         * manual/examples/inetcli.c: Likewise.
25130         * manual/examples/inetsrv.c: Likewise.
25131         * manual/examples/isockad.c: Likewise.
25132         * manual/examples/longopt.c: Likewise.
25133         * manual/examples/memopen.c: Likewise.
25134         * manual/examples/memstrm.c: Likewise.
25135         * manual/examples/mkfsock.c: Likewise.
25136         * manual/examples/mkisock.c: Likewise.
25137         * manual/examples/mygetpass.c: Likewise.
25138         * manual/examples/pipe.c: Likewise.
25139         * manual/examples/popen.c: Likewise.
25140         * manual/examples/rprintf.c: Likewise.
25141         * manual/examples/search.c: Likewise.
25142         * manual/examples/select.c: Likewise.
25143         * manual/examples/setjmp.c: Likewise.
25144         * manual/examples/sigh1.c: Likewise.
25145         * manual/examples/sigusr.c: Likewise.
25146         * manual/examples/stpcpy.c: Likewise.
25147         * manual/examples/strdupa.c: Likewise.
25148         * manual/examples/strftim.c: Likewise.
25149         * manual/examples/strncat.c: Likewise.
25150         * manual/examples/subopt.c: Likewise.
25151         * manual/examples/swapcontext.c: Likewise.
25152         * manual/examples/termios.c: Likewise.
25153         * manual/examples/testopt.c: Likewise.
25154         * manual/examples/testpass.c: Likewise.
25155         * manual/examples/timeval_subtract.c: Likewise.
25157         [BZ #13792]
25158         * manual/time.texi (Elapsed Time): Move timeval_subtract example
25159         function to ...
25160         * manual/timeval_subtract.c.texi: ... here, new file.
25162 2012-03-02  David S. Miller  <davem@davemloft.net>
25164         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25166 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
25168         [BZ #3976]
25169         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25170         (__sin): Save and restore rounding mode and use round-to-nearest
25171         for all computations.
25172         (__cos): Save and restore rounding mode and use round-to-nearest
25173         for all computations.
25174         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25175         <fenv.h>.
25176         (tan): Save and restore rounding mode and use round-to-nearest for
25177         all computations.
25178         * math/libm-test.inc (cos_test_tonearest): New function.
25179         (cos_test_towardzero): Likewise.
25180         (cos_test_downward): Likewise.
25181         (cos_test_upward): Likewise.
25182         (sin_test_tonearest): Likewise.
25183         (sin_test_towardzero): Likewise.
25184         (sin_test_downward): Likewise.
25185         (sin_test_upward): Likewise.
25186         (tan_test_tonearest): Likewise.
25187         (tan_test_towardzero): Likewise.
25188         (tan_test_downward): Likewise.
25189         (tan_test_upward): Likewise.
25190         (main): Call the new functions.
25191         * sysdeps/i386/fpu/libm-test-ulps: Update.
25192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25194         [BZ #10135]
25195         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25196         small n, then large n, before computing and testing k+n.
25197         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25198         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25199         Likewise.
25200         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25201         Likewise.
25202         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25203         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25204         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25205         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25206         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25207         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25208         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25209         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25210         * math/libm-test.inc (scalbn_test): Add more tests.
25211         (scalbln_test): Likewise.
25213         * manual/filesys.texi (mode_t): Describe constraints on size and
25214         signedness, not exact equivalence to a particular type.
25215         (ino_t): Likewise.
25216         (ino64_t): Likewise.
25217         (dev_t): Likewise.
25218         (nlink_t): Likewise.
25219         (blkcnt_t): Likewise.
25220         (blkcnt64_t): Likewise.
25221         * manual/llio.texi (off_t): Likewise.
25223         [BZ #3976]
25224         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25225         (__ieee754_exp): Save and restore rounding mode and use
25226         round-to-nearest for all computations.
25227         * math/libm-test.inc (exp_test_tonearest): New function.
25228         (exp_test_towardzero): Likewise.
25229         (exp_test_downward): Likewise.
25230         (exp_test_upward): Likewise.
25231         (main): Call the new functions.
25232         * sysdeps/i386/fpu/libm-test-ulps: Update.
25233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25235 2012-03-01  Chris Demetriou  <cgd@google.com>
25237         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25238         have predictable order.
25240 2012-03-01  David S. Miller  <davem@davemloft.net>
25242         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25244         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25245         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25246         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25247         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25249         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25250         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25251         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25253         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25254         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25255         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25256         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25257         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25261         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25262         * sysdeps/sparc/fpu/libm-test-ulps: to here.
25263         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25265         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25266         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25267         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25268         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25269         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25270         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25271         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25272         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25273         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25274         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25275         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25276         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25277         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25278         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25279         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25280         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25281         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25282         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25283         * sysdeps/sparc/elf/configure: Regenerated.
25285 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
25287         * configure.in (AS, LD): Require binutils 2.20 or later.
25288         * configure: Regenerated.
25289         * manual/install.texi (Tools for Compilation): Give binutils 2.20
25290         as required minimum version.
25291         * INSTALL: Regenerated.
25293         [BZ #2541]
25294         [BZ #4108]
25295         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25296         before squaring exponent.
25297         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25298         bottom long double and 27 bits of top long double before squaring
25299         exponent.
25300         * math/libm-test.inc (erfc_test): Add more tests.
25301         * sysdeps/i386/fpu/libm-test-ulps: Update.
25302         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25305 2012-03-01  Kai Tietz  <ktietz@redhat.com>
25307         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25308         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25309         containing bit-fields.
25310         * soft-fp/extended.h (_FP_UNION_E): Likewise.
25311         * soft-fp/single.h (_FP_UNION_S): Likewise.
25312         * soft-fp/double.h (_FP_UNION_D): Likewise.
25314 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
25316         [BZ #13786]
25317         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25318         not include ../strcmp.S.
25319         [USE_AS_STRNCASECMP_L]: Likewise.
25320         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25321         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25322         * sysdeps/i386/i686/multiarch/strncase_l-c.c
25323         (__strncasecmp_l_ia32): Define as alias to
25324         __strncasecmp_l_nonascii.
25326         [BZ #5794]
25327         * math/libm-test.inc (expm1_test): Add test for bug 5794.
25328         * sysdeps/i386/fpu/libm-test-ulps: Update.
25329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25331         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25334 2012-02-29  Jeff Law  <law@redhat.com>
25336         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25337         out of bounds read.
25339 2012-02-29  Marek Polacek  <polacek@redhat.com>
25341         [BZ #13706]
25342         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25343         * elf/Makefile: Add rules to run tst-unused-dep.out.
25345 2012-02-28  David S. Miller  <davem@davemloft.net>
25347         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25348         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25349         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25350         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25351         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25352         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25354 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
25356         * math/libm-test.inc (llround_test): Move one test from
25357         lround_test.  Use TEST_f_L in moved test.
25358         (lround_test): Move misplaced test to llround_test.  Add testcase
25359         from bug 2561.
25361 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
25363         * sysdeps/x86_64/fpu/e_expf.S: New file.
25364         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25366 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
25368         [BZ #13637]
25369         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25370         of remain_len that may cause incomplete multi-byte character and
25371         false match.
25372         * posix/bug-regex33.c: New file.
25373         * posix/Makefile (tests): Add bug-regex33.
25375 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
25377         * manual/macros.texi: New file.
25378         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25379         * manual/libc.texinfo: Include macros.texi.
25380         * manual/creatute.texi: Likewise.
25381         * manual/install.texi: Likewise.
25382         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25383         @glibcadj{} in references to the GNU C Library.
25384         * manual/charset.texi: Likewise.
25385         * manual/conf.texi: Likewise.
25386         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
25387         when not using those macros.
25388         * manual/creature.texi: Likewise.
25389         * manual/crypt.texi: Likewise.
25390         * manual/errno.texi: Likewise.
25391         * manual/filesys.texi: Likewise.
25392         * manual/header.texi: Likewise.
25393         * manual/install.texi: Likewise.
25394         * manual/intro.texi: Likewise.
25395         * manual/io.texi: Likewise.
25396         * manual/job.texi: Likewise.
25397         * manual/lang.texi: Likewise.
25398         * manual/libc.texiinfo: Likewise.
25399         * manual/llio.texi: Likewise.
25400         * manual/locale.texi: Likewise.
25401         * manual/maint.texi: Likewise.
25402         * manual/math.texi: Likewise.
25403         * manual/memory.texi: Likewise.
25404         * manual/message.texi: Likewise.
25405         * manual/nss.texi: Likewise.
25406         * manual/pattern.texi: Likewise.
25407         * manual/process.texi: Likewise.
25408         * manual/resource.texi: Likewise.
25409         * manual/search.texi: Likewise.
25410         * manual/setjmp.texi: Likewise.
25411         * manual/signal.texi: Likewise.
25412         * manual/socket.texi: Likewise.
25413         * manual/startup.texi: Likewise.
25414         * manual/stdio.texi: Likewise.
25415         * manual/string.texi: Likewise.
25416         * manual/sysinfo.texi: Likewise.
25417         * manual/syslog.texi: Likewise.
25418         * manual/terminal.texi: Likewise.
25419         * manual/time.texi: Likewise.
25420         * manual/users.texi: Likewise.
25421         * INSTALL: Regenerated.
25422         * NOTES: Regenerated.
25423         * sysdeps/gnu/errlist.c: Regenerated.
25425 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
25427         * include/dirent.h: Include <dirstream.h> before
25428         <dirent/dirent.h>.
25430 2012-02-28  David S. Miller  <davem@davemloft.net>
25432         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25433         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25434         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25435         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25437 2012-02-27  David S. Miller  <davem@davemloft.net>
25439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25441         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25442         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25445         frame pointer instead of stack pointer relative arg slot.
25446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25447         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25448         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25450 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
25452         [BZ #3992]
25453         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25455 2012-02-27  David S. Miller  <davem@davemloft.net>
25457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25461         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25462         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25463         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25464         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25466 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
25468         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25469         later.  Allow versions 5-9.
25470         * configure: Regenerated.
25471         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25472         required minimum version and 4.6 as recommended version.  Do not
25473         mention bugs in GCC 2.7 and 2.8.
25474         * INSTALL: Regenerated.
25476 2012-02-27  David S. Miller  <davem@davemloft.net>
25478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25482         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25483         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25484         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25485         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25487         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25488         manipulate bits before adding and subtracting TWO112[sx].
25489         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25491 2012-02-27  Roland McGrath  <roland@hack.frob.com>
25493         [BZ #13775]
25494         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25495         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25496         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25497         being in POSIX, because they are in 1003.1-2008.
25499         * rt/tst-aio.c: Include <fcntl.h>.
25500         * rt/tst-aio7.c: Likewise.
25501         * rt/tst-aio64.c: Likewise.
25503         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25505 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
25507         * manual/install.texi (--with-headers): Describe headers as
25508         interface headers, not private headers.
25509         (Specific advice for GNU/Linux systems): Describe use of headers
25510         from "make headers_install", not private headers from older
25511         kernels.
25512         * INSTALL: Regenerated.
25513         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25514         Change to 2.6.19.
25515         * sysdeps/unix/sysv/linux/configure: Regenerated.
25517         * manual/llio.texi (fclean): Remove documentation.
25519         * manual/Makefile (libc-texi-generated): New variable.  Include
25520         version.texi.
25521         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25522         $(libc-texi-generated), not duplicated list of files.
25523         (version.texi, stamp-version): New rules.
25524         (realclean): Remove $(libc-texi-generated), not individual files
25525         from that list.  Do not remove dir-add.texinfo.
25526         * manual/libc.texinfo: Comment out uses of edition numbers and
25527         references to printed manual.  Remove last-updated dates.
25528         (EDITION): Comment out.
25529         (ISBN): Likewise.
25530         (VERSION, UPDATED): Remove.
25531         (version.texi): Include.
25533 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
25535         * sysdeps/posix/spawni.c: Include <signal.h>.
25536         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25537         * sysdeps/pthread/aio_fsync.c: Likewise.
25539 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
25541         * conform/Makefile (tests): Run only when not cross-compiling and
25542         when fast-check is not defined.
25544         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25545         * conform/data/limits.h-data: Fixes for POSIX2008.
25546         * conform/run-conformtest.sh: Run all tests.
25547         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25548         headers.
25549         * include/bits/dlfcn.h: Likewise.
25550         * include/langinfo.h: Likewise.
25551         * include/monetary.h: Likewise.
25552         * include/sys/poll.h: Likewise.
25554         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25555         for __USE_GNU.
25556         * posix/spawn.h: Define __need_sigset_t.
25557         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25558         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25559         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
25560         to get sigevent_t only.
25561         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25562         only for __USE_GNU.
25563         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25564         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25565         process_vm_writev only for __USE_GNU.
25566         * termios/termios.h: Declare tcgetsid also for POSIX2008.
25568         * conform/Makefile: For now ignore errors from run-conformtest.
25569         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
25570         POSIX to avoid namespace pollution.  Don't prepend headers.
25571         * conform/data/aio.h-data: Fixes for POSIX testing.
25572         * conform/data/fcntl.h-data: Likewise.
25573         * conform/data/glob.h-data: Likewise.
25574         * conform/data/grp.h-data: Likewise.
25575         * conform/data/pthread.h-data: Likewise.
25576         * conform/data/pwd.h-data: Likewise.
25577         * conform/data/signal.h-data: Likewise.
25578         * conform/data/spawn.h-data: Likewise.
25579         * conform/data/stdio.h-data: Likewise.
25580         * conform/data/stdlib.h-data: Likewise.
25581         * conform/data/stropts.h-data: Likewise.
25582         * conform/data/sys/mman.h-data: Likewise.
25583         * conform/data/sys/stat.h-data: Likewise.
25584         * conform/data/sys/types.h-data: Likewise.
25585         * conform/data/sys/wait.h-data: Likewise.
25586         * conform/data/time.h-data: Likewise.
25587         * conform/data/unistd.h-data: Likewise.
25588         * conform/data/utime.h-data: Likewise.
25590         * io/sys/stat.h: fchmod was always in POSIX.
25591         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25592         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25593         * rt/aio.h: Define __need_timespec before including <time.h>.
25594         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25595         struct.  Add forward declaration of pthread_attr_t and use it in
25596         sigevent.
25597         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25598         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25599         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25600         always remove CLK_TCK definition.
25602 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
25604         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25606 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
25608         * conform/run-conformtest.sh: New file.
25609         * conform/Makefile: Run run-conformtest for tests.
25610         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
25611         support.
25613         * conform/data/uchar.h-data: New file.
25614         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25615         * conform/data/arpa/inet.h-data: Likewise.
25616         * conform/data/assert.h-data: Likewise.
25617         * conform/data/complex.h-data: Likewise.
25618         * conform/data/cpio.h-data: Likewise.
25619         * conform/data/ctype.h-data: Likewise.
25620         * conform/data/dirent.h-data: Likewise.
25621         * conform/data/dlfcn.h-data: Likewise.
25622         * conform/data/errno.h-data: Likewise.
25623         * conform/data/fcntl.h-data: Likewise.
25624         * conform/data/float.h-data: Likewise.
25625         * conform/data/fmtmsg.h-data: Likewise.
25626         * conform/data/fnmatch.h-data: Likewise.
25627         * conform/data/ftw.h-data: Likewise.
25628         * conform/data/glob.h-data: Likewise.
25629         * conform/data/grp.h-data: Likewise.
25630         * conform/data/iconv.h-data: Likewise.
25631         * conform/data/inttypes.h-data: Likewise.
25632         * conform/data/langinfo.h-data: Likewise.
25633         * conform/data/libgen.h-data: Likewise.
25634         * conform/data/limits.h-data: Likewise.
25635         * conform/data/locale.h-data: Likewise.
25636         * conform/data/math.h-data: Likewise.
25637         * conform/data/monetary.h-data: Likewise.
25638         * conform/data/mqueue.h-data: Likewise.
25639         * conform/data/ndbm.h-data: Likewise.
25640         * conform/data/net/if.h-data: Likewise.
25641         * conform/data/netdb.h-data: Likewise.
25642         * conform/data/netinet/in.h-data: Likewise.
25643         * conform/data/nl_types.h-data: Likewise.
25644         * conform/data/poll.h-data: Likewise.
25645         * conform/data/pthread.h-data: Likewise.
25646         * conform/data/pwd.h-data: Likewise.
25647         * conform/data/regex.h-data: Likewise.
25648         * conform/data/sched.h-data: Likewise.
25649         * conform/data/search.h-data: Likewise.
25650         * conform/data/semaphore.h-data: Likewise.
25651         * conform/data/setjmp.h-data: Likewise.
25652         * conform/data/signal.h-data: Likewise.
25653         * conform/data/spawn.h-data: Likewise.
25654         * conform/data/stdarg.h-data: Likewise.
25655         * conform/data/stdio.h-data: Likewise.
25656         * conform/data/stdlib.h-data: Likewise.
25657         * conform/data/string.h-data: Likewise.
25658         * conform/data/strings.h-data: Likewise.
25659         * conform/data/stropts.h-data: Likewise.
25660         * conform/data/sys/ipc.h-data: Likewise.
25661         * conform/data/sys/mman.h-data: Likewise.
25662         * conform/data/sys/msg.h-data: Likewise.
25663         * conform/data/sys/resource.h-data: Likewise.
25664         * conform/data/sys/select.h-data: Likewise.
25665         * conform/data/sys/sem.h-data: Likewise.
25666         * conform/data/sys/shm.h-data: Likewise.
25667         * conform/data/sys/socket.h-data: Likewise.
25668         * conform/data/sys/stat.h-data: Likewise.
25669         * conform/data/sys/statvfs.h-data: Likewise.
25670         * conform/data/sys/time.h-data: Likewise.
25671         * conform/data/sys/timeb.h-data: Likewise.
25672         * conform/data/sys/times.h-data: Likewise.
25673         * conform/data/sys/types.h-data: Likewise.
25674         * conform/data/sys/uio.h-data: Likewise.
25675         * conform/data/sys/un.h-data: Likewise.
25676         * conform/data/sys/utsname.h-data: Likewise.
25677         * conform/data/sys/wait.h-data: Likewise.
25678         * conform/data/syslog.h-data: Likewise.
25679         * conform/data/tar.h-data: Likewise.
25680         * conform/data/termios.h-data: Likewise.
25681         * conform/data/utime.h-data: Likewise.
25682         * conform/data/utmpx.h-data: Likewise.
25683         * conform/data/varargs.h-data: Likewise.
25684         * conform/data/wchar.h-data: Likewise.
25685         * conform/data/wctype.h-data: Likewise.
25686         * conform/data/wordexp.h-data: Likewise.
25688         * include/stropts.h: New file.
25689         * include/uchar.h: New file.
25690         * include/aio.h: Changes to allow conformtest.pl to use the headers.
25691         * include/assert.h: Likewise.
25692         * include/ctype.h: Likewise.
25693         * include/dirent.h: Likewise.
25694         * include/dlfcn.h: Likewise.
25695         * include/fcntl.h: Likewise.
25696         * include/fnmatch.h: Likewise.
25697         * include/glob.h: Likewise.
25698         * include/grp.h: Likewise.
25699         * include/libio.h: Likewise.
25700         * include/locale.h: Likewise.
25701         * include/math.h: Likewise.
25702         * include/net/if.h: Likewise.
25703         * include/netdb.h: Likewise.
25704         * include/netinet/in.h: Likewise.
25705         * include/pthread.h: Likewise.
25706         * include/pwd.h: Likewise.
25707         * include/regex.h: Likewise.
25708         * include/sched.h: Likewise.
25709         * include/search.h: Likewise.
25710         * include/setjmp.h: Likewise.
25711         * include/signal.h: Likewise.
25712         * include/stdio.h: Likewise.
25713         * include/stdlib.h: Likewise.
25714         * include/string.h: Likewise.
25715         * include/sys/cdefs.h: Likewise.
25716         * include/sys/mman.h: Likewise.
25717         * include/sys/msg.h: Likewise.
25718         * include/sys/resource.h: Likewise.
25719         * include/sys/select.h: Likewise.
25720         * include/sys/socket.h: Likewise.
25721         * include/sys/stat.h: Likewise.
25722         * include/sys/statvfs.h: Likewise.
25723         * include/sys/time.h: Likewise.
25724         * include/sys/times.h: Likewise.
25725         * include/sys/uio.h: Likewise.
25726         * include/sys/utsname.h: Likewise.
25727         * include/sys/wait.h: Likewise.
25728         * include/termios.h: Likewise.
25729         * include/time.h: Likewise.
25730         * include/ulimit.h: Likewise.
25731         * include/unistd.h: Likewise.
25732         * include/utime.h: Likewise.
25733         * include/wchar.h: Likewise.
25734         * include/wctype.h: Likewise.
25735         * include/wordexp.h: Likewise.
25737         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25739         * time/time.h: TIME_UTC must be a macro.
25740         Make timespec_get available for ISO C11 only as well.
25742 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
25744         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25745         Reported by Peng Haitao <penght@cn.fujitsu.com>.
25747 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25749         * configure.in: Use -o not -a in test for unsupported multi-arch.
25751 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25753         * manual/texinfo.tex: Update to version 2012-01-19.16.
25755 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25757         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25759 2012-02-24  Roland McGrath  <roland@hack.frob.com>
25761         [BZ #13738]
25762         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25763         * manual/fdl-1.3.texi: New file.
25764         * manual/fdl-1.1.texi: File removed.
25766         [BZ #13738]
25767         * manual/libc.texinfo (FDL_VERSION): New @set.
25768         Use it for mention of FDL in cover text.
25769         (Documentation License): Use it in @include file name.
25771 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25772             Roland McGrath  <roland@hack.frob.com>
25774         [BZ #5461]
25775         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25776         not LONG_LONG_MAX and LONG_LONG_MIN.
25777         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25778         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
25779         name.
25780         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25782 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25784         [BZ #2547]
25785         [BZ #11365]
25786         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25787         manipulate bits before adding and subtracting TWO23[sx].
25788         * math/libm-test.inc (nearbyint_test): Add more tests.
25790 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25792         [BZ #2548]
25793         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25794         bits before adding and subtracting TWO23[sx].
25795         * math/libm-test.inc (rint_test): Add more tests.
25796         (rint_test_tonearest): Likewise.
25797         (rint_test_towardzero): Likewise.
25798         (rint_test_downward): Likewise.
25799         (rint_test_upward: Likewise.
25801 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25803         [BZ #10110]
25804         * include/stdc-predef.h: New file.  Extracted from features.h.
25805         * include/features.h: Include stdc-predef.h.
25806         * Makefile (headers): Add stdc-predef.h.
25807         * CONFORMANCE (Compiler limitations): Update.
25809 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25811         * manual/libc.texinfo (VERSION, UPDATED): Revert.
25813 2012-02-21  David S. Miller  <davem@davemloft.net>
25815         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25816         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25818 2012-02-20  David S. Miller  <davem@davemloft.net>
25820         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25821         using a normal save/restore sequence, rather than allocating a
25822         dummy stack frame just to store a frame pointer and restore.
25823         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25825 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25827         * manual/install.texi: Fix stray word in line-wrapped comment.
25829 2012-02-20  David S. Miller  <davem@davemloft.net>
25831         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25832         both binutils and gcc support GOTDATA.
25834         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25835         "rd %pc" in the PIC register setup sequences.
25837         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25838         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25839         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25840         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25841         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25842         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25843         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25844         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25846         (SYSCALL_ERROR_HANDLER): Likewise.
25847         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25848         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25849         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25850         (SYSCALL_ERROR_HANDLER): Likewise.
25852         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25853         (HAVE_GCC_GOTDATA): New.
25854         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25855         relocation support in both binutils and gcc.
25856         * sysdeps/sparc/elf/configure: Regenerate.
25858         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25859         * sysdeps/sparc/sparc32/elf/configure: Delete.
25860         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25861         * sysdeps/sparc/sparc64/elf/configure: Delete.
25862         * sysdeps/sparc/elf/configure.in: New file.
25863         * sysdeps/sparc/elf/configure: Generate.
25865         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25866         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25867         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25868         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25869         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25871 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25873         * manual/install.texi: Do not mention specific glibc version
25874         numbers.
25875         * manual/libc.texinfo (VERSION, UPDATED): Update.
25876         (@copying): Use @copyright{} and range of years.
25878 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25880         [BZ #13695]
25881         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25882         [crti.S not in sysdirs] (generated): Do not append.
25883         [crti.S not in sysdirs] (omit-deps): Likewise.
25884         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25885         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25886         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25887         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25888         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25889         Likewise.
25890         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25891         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25892         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25893         * csu/defs.awk: Remove file.
25894         * sysdeps/generic/initfini.c: Likewise.
25895         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25896         variable.
25897         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25898         Likewise.
25900 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25902         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25903         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25904         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25905         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25906         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25907         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25908         <bits/epoll.h>.
25909         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25910         (__EPOLL_PACKED): Define to empty if not defined by
25911         <bits/epoll.h>.
25912         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25913         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25914         bits/epoll.h.
25916 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25918         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25919         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25920         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25921         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25922         <bits/timerfd.h>.
25923         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25924         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25925         bits/timerfd.h.
25927 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25929         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25930         in C locale.
25931         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25932         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25933         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25936 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
25938         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25939         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25941 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
25943         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25944         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25945         defined.
25946         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25947         Likewise.
25948         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25949         entry for 2.16.
25951 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
25953         * math/w_acos.c: Use non-signaling floating-point comparisons.
25954         * math/w_acosf.c: Likewise.
25955         * math/w_acosh.c: Likewise.
25956         * math/w_acoshf.c: Likewise.
25957         * math/w_acoshl.c: Likewise.
25958         * math/w_acosl.c: Likewise.
25959         * math/w_asin.c: Likewise.
25960         * math/w_asinf.c: Likewise.
25961         * math/w_asinl.c: Likewise.
25962         * math/w_atanh.c: Likewise.
25963         * math/w_atanhf.c: Likewise.
25964         * math/w_atanhl.c: Likewise.
25965         * math/w_exp2.c: Likewise.
25966         * math/w_exp2f.c: Likewise.
25967         * math/w_exp2l.c: Likewise.
25968         * math/w_j0.c: Likewise.
25969         * math/w_j0f.c: Likewise.
25970         * math/w_j0l.c: Likewise.
25971         * math/w_j1.c: Likewise.
25972         * math/w_j1f.c: Likewise.
25973         * math/w_j1l.c: Likewise.
25974         * math/w_jn.c: Likewise.
25975         * math/w_jnf.c: Likewise.
25976         * math/w_log.c: Likewise.
25977         * math/w_log10.c: Likewise.
25978         * math/w_log10f.c: Likewise.
25979         * math/w_log10l.c: Likewise.
25980         * math/w_log2.c: Likewise.
25981         * math/w_log2f.c: Likewise.
25982         * math/w_log2l.c: Likewise.
25983         * math/w_logf.c: Likewise.
25984         * math/w_logl.c: Likewise.
25985         * math/w_sqrt.c: Likewise.
25986         * math/w_sqrtf.c: Likewise.
25987         * math/w_sqrtl.c: Likewise.
25988         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25989         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25990         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25991         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25992         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25994 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25996         [BZ #9739]
25997         * manual/string.texi (strnlen): Use correct parameter name in
25998         equivalent expression.
26000 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26002         [BZ #11174]
26003         * manual/users.texi (seteuid): Consistently use neweuid for
26004         argument name.
26006 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26008         [BZ #13704]
26009         * manual/nss.texi (Services in the NSS configuration): Correct
26010         list of services in example configuration file.
26012 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
26014         [BZ #11322]
26015         * manual/arith.texi: Remove statements about negative zero
26016         behaving identically to zero.
26018 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26020         [BZ #5993]
26021         * manual/install.texi: Do not document upgrading from libc5.
26023 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26025         [BZ #4596]
26026         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26028 2012-02-18  David S. Miller  <davem@davemloft.net>
26030         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26031         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26032         %o7 across the call.
26033         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26034         instead.
26035         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26036         SETUP_PIC_REG_LEAF.
26037         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26038         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26039         * sysdeps/sparc/crtn.S: Likewise.
26041 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
26043         * aout/Makefile: Remove.
26045 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
26047         [BZ #13058]
26048         * manual/examples/argp-ex1.c (main): Format definition in GNU
26049         style.
26050         * manual/examples/argp-ex2.c (main): Likewise.
26051         * manual/examples/argp-ex3.c (main): Likewise.
26052         * manual/examples/argp-ex4.c (main): Likewise.
26053         * manual/examples/longopt.c (main): Use new-style prototype
26054         definition.
26055         * manual/examples/strncat.c (main): Specify return type and use
26056         (void) for arguments.
26057         * manual/examples/subopt.c (main): Use char **argv argument.
26059 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26061         [BZ #5077]
26062         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26063         rounding modes.
26065 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
26067         [BZ #6907]
26068         * manual/string.texi (strchr): Change when strchrnul is
26069         recommended.
26071 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
26073         [BZ #174]
26074         * manual/locale.texi (setlocale): Document LOCPATH.
26076 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26078         [BZ #10210]
26079         * manual/process.texi (execle): Move @dots{} before last argument.
26081 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
26083         [BZ #12047]
26084         * manual/charset.texi (Generic Charset Conversion): Fix typo
26085         (LC_TYPE -> LC_CTYPE).
26087 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
26089         [BZ #5805]
26090         * manual/arith.texi (scalbn): Use @var{} on parameter names.
26091         (scalbnf): Likewise.
26092         (scalbnl): Likewise.
26093         (scalbln): Likewise.
26094         (scalblnf): Likewise.
26095         (scalblnl): Likewise.
26096         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26097         (vwarnx): Likewise.
26098         (verr): Likewise.
26099         (verrx): Likewise.
26100         * manual/filesys.texi (telldir): Use braces around return type.
26101         * manual/llio.texi (mmap): Add space after comma.
26102         (mmap64): Likewise.
26103         * manual/math.texi (jn): Use @var{} on parameter names.
26104         (jnf): Likewise.
26105         (jnl): Likewise.
26106         (yn): Likewise.
26107         (ynf): Likewise.
26108         (ynl): Likewise.
26109         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26110         line.
26111         * manual/resource.texi (ulimit): Use @dots{} instead of literal
26112         "...".
26113         (sched_get_priority_min): Remove semicolon on @deftypefun line.
26114         (sched_get_priority_max): Likewise.
26115         * manual/signal.texi (sigvec): Add space after comma.
26116         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26117         names.
26118         (if_indextoname): Likewise.
26119         (if_freenameindex): Likewise.
26120         (sendto): Use ',' instead of '.' in prototype.
26121         * manual/startup.texi (syscall): Use @dots{} instead of literal
26122         "...".
26123         * manual/stdio.texi (__fpending): Separate initial words of
26124         paragraph from @deftypefun line.
26125         * manual/syslog.texi (syslog): Use @dots{} instead of literal
26126         "...".
26127         (vsyslog): Use @var{} on parameter names.
26128         * manual/terminal.texi (stty): Use @var{} on parameter names.
26129         * manual/users.texi (getutmp): Use @var{} on parameter names.
26130         (getutmpx): Likewise.
26132 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26134         [BZ #6884]
26135         * manual/stdio.texi (fopen): Fix typos in description of
26136         ",ccs=STRING".
26138 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
26140         [BZ #4026]
26141         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26142         get clock_id definition.
26144 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
26146         [BZ #4822]
26147         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26148         (madvise): Cast every argument to void on its own.
26150 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26152         [BZ #9902]
26153         * manual/startup.texi (Exit Status): Fix typo.
26155 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26157         [BZ #10140]
26158         * manual/examples/argp-ex1.c: Include <stdlib.h>.
26159         * manual/examples/argp-ex2.c: Likewise.
26160         * manual/examples/argp-ex3.c: Likewise.
26162 2012-02-16  Richard Henderson  <rth@redhat.com>
26164         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26165         * sysdeps/s390/s390-32/initfini.c: Remove.
26166         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26167         * sysdeps/s390/s390-64/initfini.c: Remove.
26169 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26171         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26172         compiler output for sysdeps/generic/initfini.c.
26173         * sysdeps/sh/elf/initfini.c: Remove file.
26175 2012-02-16  David S. Miller  <davem@davemloft.net>
26177         [BZ #11494]
26178         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26180         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26181         * sysdeps/sparc/crti.S: New file.
26182         * sysdeps/sparc/crtn.S: New file.
26183         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26184         * sysdeps/sparc/sparc64/Makefile: Likewise.
26186 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
26188         [BZ #3335]
26189         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26191 2012-02-15  Roland McGrath  <roland@hack.frob.com>
26193         [BZ #4822]
26194         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26196         * mach/devstream.c (cookie_io_functions_t): Macro removed.
26197         (write, read, close): Likewise.
26198         Patch by Aurelien Jarno <aurelien@aurel32.net>.
26200 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
26202         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26203         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26204         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26205         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26206         <bits/signalfd.h>.
26207         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26208         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26209         bits/signalfd.h.
26211 2012-02-14  Marek Polacek  <polacek@redhat.com>
26213         * sysdeps/x86_64/crti.S: New file.
26214         * sysdeps/x86_64/crtn.S: New file.
26215         * sysdeps/x86_64/elf/initfini.c: Remove file.
26217 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26219         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26220         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26221         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26222         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26223         <bits/inotify.h>.
26224         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26226         bits/inotify.h.
26228 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26230         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26231         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26232         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26233         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26234         <bits/eventfd.h>.
26235         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26236         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26237         bits/eventfd.h.
26239 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
26241         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26242         __feraiseexcept instead of feraiseexcept.
26244         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26245         nanosleep invocations.
26246         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26247         strings, and add error checking for a nanosleep invocations.
26249 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
26251         Replace FSF snail mail address with URLs, as per GNU coding standards.
26252         Most of the snail mail addresses were wrong anyway, and omitting
26253         them makes the source code easier to maintain.  Almost all of the
26254         changes are to license notices and to locale LC_IDENTIFICATION
26255         addresses, except for this one:
26256         * manual/libc.texinfo: In "Published by", give the FSF's URL,
26257         not its snail mail address.
26259 2012-02-09  Richard Henderson  <rth@twiddle.net>
26261         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26262         of kernel-features.h.
26264         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26266 2012-02-08  Marek Polacek  <polacek@redhat.com>
26268         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26269         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26270         * sysdeps/gnu/_G_config.h: Likewise.
26271         * sysdeps/generic/_G_config.h: Likewise.
26273 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
26275         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26276         tests.
26277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26279         * sysdeps/powerpc/powerpc32/crti.S: New file.
26280         * sysdeps/powerpc/powerpc32/crtn.S: New file.
26281         * sysdeps/powerpc/powerpc64/crti.S: New file.
26282         * sysdeps/powerpc/powerpc64/crtn.S: New file.
26284         * Makeconfig (have-initfini): Don't set.
26285         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26286         * configure.in (nopic_initfini): Don't substitute.
26287         * config.h.in (HAVE_INITFINI): Don't #undef.
26288         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26289         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26291 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
26293         Support crti.S and crtn.S provided directly by architectures.
26294         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26295         [crti.S in sysdirs] (omit-deps): Likewise.
26296         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26297         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26298         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26299         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26300         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26301         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26302         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26303         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26304         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26305         compiler output for sysdeps/generic/initfini.c.
26306         * sysdeps/i386/elf/Makefile: Remove file.
26307         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26309 2012-02-07  Marek Polacek  <polacek@redhat.com>
26311         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26312         * sysdeps/gnu/_G_config.h: Likewise.
26313         * sysdeps/mach/hurd/_G_config.h: Likewise.
26315 2012-02-07  Marek Polacek  <polacek@redhat.com>
26317         * math/Makefile (tests): Add tst-CMPLX2.
26318         * math/tst-CMPLX2.c: New file.
26320 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
26322         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26324         * math/libm-test.inc (jn_test): Add missing L suffix.
26326 2012-02-06  Marek Polacek  <polacek@redhat.com>
26328         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26329         * sysdeps/i386/fpu/e_powf.S: Likewise.
26330         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26331         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26332         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26333         * sysdeps/i386/fpu/e_pow.S: Likewise.
26334         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26335         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26336         * sysdeps/i386/fpu/s_expm1.S: Likewise.
26337         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26338         * sysdeps/i386/fpu/e_log2.S: Likewise.
26339         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26340         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26341         * sysdeps/i386/fpu/e_powl.S: Likewise.
26342         * sysdeps/i386/fpu/s_log1p.S: Likewise.
26343         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26344         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26345         * sysdeps/i386/fpu/e_logl.S: Likewise.
26346         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26347         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26348         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26349         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26350         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26351         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26352         * sysdeps/i386/fpu/e_log.S: Likewise.
26353         * sysdeps/i386/fpu/s_cexp.S: Likewise.
26354         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26355         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26356         * sysdeps/i386/fpu/e_logf.S: Likewise.
26357         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26358         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26359         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26360         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26361         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26362         * sysdeps/i386/fpu/e_log10.S: Likewise.
26363         * sysdeps/i386/fpu/s_frexp.S: Likewise.
26364         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26365         * sysdeps/i386/fpu/s_asinh.S: Likewise.
26366         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26367         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26368         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26369         * sysdeps/i386/asm-syntax.h: Likewise.
26370         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26371         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26372         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26373         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26374         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26375         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26376         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26377         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26378         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26379         * sysdeps/powerpc/sysdep.h: Likewise.
26380         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26381         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26383 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26385         [BZ #411]
26386         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26388 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26390         * sysdeps/i386/sysdep.h: Include <features.h>.
26391         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26392         version.
26394 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
26396         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26397         Define.
26398         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26399         LOAD_PIC_REG_STR.
26401 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26403         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26404         (SETUP_PIC_REG): Use GET_PC_THUNK.
26405         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26406         macro.
26408 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26410         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26411         for non-PIC compilation.
26412         (SETUP_PIC_REG): Add .p2align directive.
26413         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26414         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26415         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26416         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26417         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26418         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26419         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26420         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26421         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26422         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26423         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26424         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26425         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26426         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26427         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26428         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26429         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26430         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26431         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26432         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26433         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26434         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26435         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26436         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26437         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26438         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26439         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26440         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26441         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26442         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26443         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26444         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26445         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26446         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26447         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26448         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26449         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26450         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26451         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26452         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26453         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26455 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26457         * math/tst-CMPLX.c: Include <stdio.h>.
26459 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
26461         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26462         float.
26463         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26464         * sysdeps/sparc/bits/mathdef.h: Likewise.
26466 2012-01-31  Marek Polacek  <polacek@redhat.com>
26468         * libio/libio.h: Don't define _PARAMS.
26469         * locale/programs/config.h: Don't define PARAMS.
26470         * stdlib/strtol_l.c: Likewise.
26471         (__strtol_l): Remove PARAMS from the prototype.
26473 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
26475         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
26476         names.  Just use the correct names.  Remove unnecessary wrapper
26477         functions.
26478         * malloc/arena.c: Likewise.
26479         * malloc/hooks.c: Likewise.
26481         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26482         ARENA_TEST says not to.  Simplify test for creation of a new arena.
26483         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26485 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
26487         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26488         into tail calls.
26489         (update_get_addr): New function.
26490         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26491         GET_ADDR_MODULE parameter.
26493 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
26495         * crypt/cert.c: Remove __STDC__ conditionals.
26496         * crypt/crypt-entry.c: Likewise.
26497         * crypt/crypt_util.c: Likewise.
26498         * libio/filedoalloc.c: Likewise.
26499         * libio/fileops.c: Likewise.
26500         * libio/genops.c: Likewise.
26501         * libio/iofclose.c: Likewise.
26502         * libio/iofdopen.c: Likewise.
26503         * libio/iofopen.c: Likewise.
26504         * libio/iofopen64.c: Likewise.
26505         * libio/iogetdelim.c: Likewise.
26506         * libio/iopopen.c: Likewise.
26507         * libio/obprintf.c: Likewise.
26508         * libio/oldfileops.c: Likewise.
26509         * libio/oldiofclose.c: Likewise.
26510         * libio/oldiofdopen.c: Likewise.
26511         * libio/oldiofopen.c: Likewise.
26512         * libio/oldiopopen.c: Likewise.
26513         * libio/wfiledoalloc.c: Likewise.
26514         * libio/wgenops.c: Likewise.
26515         * locale/programs/xmalloc.c: Likewise.
26516         * misc/syslog.c: Likewise.
26517         * stdio-common/xbug.c: Likewise.
26518         * string/memchr.c: Likewise.
26519         * string/memcmp.c: Likewise.
26520         * string/memrchr.c: Likewise.
26521         * string/rawmemchr.c: Likewise.
26522         * sysdeps/posix/getcwd.c: Likewise.
26523         * time/strftime_l.c: Likewise.
26525 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
26527         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26528         * config.make.in (config-cflags-sse2avx): Define.
26529         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26530         Fix typo.
26532 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
26534         * scripts/config.guess: Update from upstream config git repository.
26535         * scripts/config.sub: Likewise.
26537 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
26539         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26540         (EM_NUM): Update.
26541         (R_TILEPRO_*, R_TILEGX_*): New macros.
26543         * scripts/firstversions.awk: Fix bug in version range handling.
26545         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26547         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26549         * include/sys/epoll.h: New file.
26550         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26551         libc_hidden_def.
26553 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
26555         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26556         Avoid unnecessary __WORDSIZE == 64 test.
26557         (fmaxf): Use VEX format if possible.
26558         (fmax): Likewise.
26559         (fminf): Likewise.
26560         (fmin): Likewise.
26562         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26563         * math/math_private.h: Remove libc_fegetround* and
26564         libc_fesetround*.
26565         * sysdeps/i386/configure.in: Check for -msse2avx.
26566         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26567         also if SSE2AVX is defined.
26568         Remove libc_fegetround* and libc_fesetround*.
26569         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26570         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
26571         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26572         of HAS_YMM_USABLE.
26573         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26574         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26575         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26576         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26577         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26579         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26581 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26583         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26584         size is not set.
26585         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26587 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
26589         [BZ #13618]
26590         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26591         relocation.
26592         * Makeconfig (libm): Define.
26593         * elf/Makefile: Add rules to build and run tst-relsort1.
26594         * elf/tst-relsort1.c: New file.
26595         * elf/tst-relsort1mod1.c: New file.
26596         * elf/tst-relsort1mod2.c: New file.
26598 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
26600         * math/s_ldexp.c: Remove __STDC__ conditionals.
26601         * math/s_ldexpf.c: Likewise.
26602         * math/s_ldexpl.c: Likewise.
26603         * math/s_nextafter.c: Likewise.
26604         * math/s_nexttowardf.c: Likewise.
26605         * math/s_significand.c: Likewise.
26606         * math/s_significandf.c: Likewise.
26607         * math/s_significandl.c: Likewise.
26608         * math/w_jnl.c: Likewise.
26609         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26610         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26611         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26612         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26613         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26614         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26615         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26616         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26617         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26618         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26619         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26620         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26621         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26622         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26623         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26624         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26625         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26626         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26627         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26628         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26629         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26630         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26631         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26632         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26633         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26634         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26635         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26636         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26637         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26638         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26639         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26640         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26641         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26642         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26643         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26644         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26645         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26646         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26647         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26648         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26649         * sysdeps/ieee754/k_standard.c: Likewise.
26650         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26651         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26652         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26653         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26654         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26655         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26656         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26657         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26658         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26659         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26660         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26661         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26662         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26663         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26664         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26665         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26666         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26667         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26668         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26669         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26670         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26671         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26672         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26673         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26674         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26675         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26676         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26677         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26678         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26679         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26680         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26681         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26682         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26683         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26684         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26685         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26686         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26687         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26688         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26689         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26690         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26691         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26692         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26693         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26694         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26695         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26696         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26697         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26698         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26699         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26700         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26701         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26702         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26703         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26704         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26705         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26706         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26707         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26708         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26709         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26710         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26711         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26712         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26713         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26714         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26715         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26716         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26717         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26718         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26719         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26720         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26721         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26722         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26723         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26724         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26725         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26726         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26727         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26728         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26729         * sysdeps/ieee754/s_matherr.c: Likewise.
26730         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26731         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26732         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26733         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26735 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
26737         * crypt/md5.h: Remove __STDC__ conditionals.
26738         * libio/libioP.h: Likewise.
26739         * locale/programs/config.h: Likewise.
26740         * sysdeps/generic/sysdep.h: Likewise.
26741         * sysdeps/i386/asm-syntax.h: Likewise.
26742         * sysdeps/s390/asm-syntax.h: Likewise.
26743         * sysdeps/unix/sysdep.h: Likewise.
26744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26747 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
26749         * libio/libio.h: Remove __STDC__ conditionals.
26750         * malloc/obstack.h: Likewise.
26751         * math/complex.h: Likewise.
26752         * math/math.h: Likewise.
26753         * sysdeps/generic/_G_config.h: Likewise.
26754         * sysdeps/gnu/_G_config.h: Likewise.
26755         * sysdeps/mach/hurd/_G_config.h: Likewise.
26756         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26757         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26758         * sysdeps/sparc/bits/mathdef.h: Likewise.
26760 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
26762         [BZ #13583]
26763         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26764         Clean up HAS_* macros.
26765         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26766         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26767         possible.
26768         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26769         HAS_AVX.
26770         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26771         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26772         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26773         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26774         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26776 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
26778         * elf/tst-unique3.cc (gets): Remove declaration.
26779         * elf/tst-unique3lib.cc (gets): Likewise.
26780         * elf/tst-unique3lib2.cc (gets): Likewise.
26781         * elf/tst-unique4.cc (gets): Likewise.
26783 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
26785         * include/stdio.h: Add C++ protection.  Add gets declarations and
26786         definitions.
26787         * debug/tst-chk1.c: Don't declare gets here.
26788         * stdio-common/tst-gets.c: Likewise.
26790 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26792         * posix/glob: Remove directory.
26794 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26796         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26798 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
26800         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26801         of the non-standard EPFNOSUPPORT.
26803 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26805         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26806         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26807         ANYWHERE set to 1 only on KERN_NO_SPACE error.
26809 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
26811         * wcsmbs/uchar.h: Test __STDC_VERSION__.
26813 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
26815         * nscd/aicache.c (addhstaiX): Do not cache negative results of
26816         transient errors.
26817         * nscd/grpcache.c (cache_addgr): Likewise.
26818         * nscd/hstcache.c (cache_addhst): Likewise.
26819         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26820         * nscd/pwdcache.c (cache_addpw): Likewise.
26821         * nscd/servicescache.c (cache_addserv): Likewise.
26823 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
26825         * malloc/malloc.c: Various cleanups.
26826         * malloc/hooks.c: Likewise.
26828         * stdlib/Makefile (tests): Add bug-fmtmsg1.
26829         * stdlib/bug-fmtmsg1.c: New file.
26831         * stdlib/fmtmsg.c (init): Add missing unlock.
26832         Patch by Peng Haitao <penght@cn.fujitsu.com>.
26834 2012-01-12  Marek Polacek  <polacek@redhat.com>
26836         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26837         and _GNU_SOURCE.
26839 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
26841         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26842         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26843         macro to ensure uniqueness of label name.
26844         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26845         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26847 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
26849         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26851         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26852         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26853         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26854         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26856 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
26858         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26860         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26861         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26862         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26864         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26866         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26867         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26868         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26869         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26871         * math/bits/math-finite.h: Add ldexp support.
26873 2012-01-10  Marek Polacek  <polacek@redhat.com>
26875         * locale/programs/localedef.h (show_archive_content): Add noreturn
26876         attribute.
26878 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
26880         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26882 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26884         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26886         * io/Makefile (headers): Add bits/poll2.h.
26888 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
26890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26891         typo #include statement.
26893 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26895         * include/sys/cdefs.h: Define __attribute_alloc_size.
26896         * catgets/gencat.c: Add alloc_size attribute and apply consistently
26897         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26898         * elf/pldd.c: Likewise.
26899         * iconv/iconv_charmap.c: Likewise.
26900         * iconv/iconvconfig.c: Likewise.
26901         * iconv/strtab.c: Likewise.
26902         * locale/programs/locale.c: Likewise.
26903         * locale/programs/localedef.h: Likewise.
26904         * locale/programs/simple-hash.c: Likewise.
26905         * nscd/nscd.h: Likewise.
26906         * nss/makedb.c: Likewise.
26907         * sysdeps/generic/ldconfig.h: Likewise.
26908         * locale/programs/localedef.c: Remove xmalloc prototype.
26909         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26911 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26913         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26914         appropriate.
26916 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26918         * math/Makefile (tests): Add tst-CMPLX.
26919         * math/tst-CMPLX.c: New file.
26921         * math/complex.h (CMPLXL): Fix typo.
26923         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26924         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26925         GLIBC_2.16.
26926         * debug/tst-chk1.c: Add poll and ppoll tests.
26927         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26928         * include/sys/poll.h: Add hidden proto for ppoll.
26929         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26930         * sysdeps/mach/hurd/ppoll.c: Likewise.
26931         * io/ppoll.c: Likewise.
26932         * debug/poll_chk.c: New file.
26933         * debug/ppoll_chk.c: New file.
26934         * include/bits/poll2.h: New file.
26935         * io/bits/poll2.h: New file.
26937         [BZ #1350]
26938         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26940         * configure.in: static is always set to yes.  Remove.
26941         * config.make.in: Don't set build-static.
26942         * Makeconfig: Remove use of build-static.
26943         * dlfcn/Makefile: Likewise.
26944         * elf/Makefile: Likewise.
26945         * math/Makefile: Likewise.
26946         * misc/Makefile: Likewise.
26947         * nptl/Makefile: Likewise.
26948         * sysdeps/mach/hurd/Makefile: Likewise.
26950         * configure.in: PWD_P is not used anymore.
26951         * config.make.in: Remove PWD_P entry.
26953         * configure.in: Remove last remnants of RANLIB.
26954         No need to check for signed size_t anymore.
26955         Don't set libc_commonpagesize and libc_relro_required here for Alpha
26956         and IA-64.
26957         Remove __builtin_expect test because we require at least gcc 3.4.
26958         * aclocal.m4: Likewise.
26960         * wcsmbs/mbrtoc16.c: Implement using towc function.
26961         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26962         * wcsmbs/wcsmbsload.c: Likewise.
26963         * iconv/gconv_simple.c: Likewise.
26964         * iconv/gconv_int.h: Likewise.
26965         * iconv/gconv_builtin.h: Likewise.
26966         * iconv/iconv_prog.c: Remove CHAR16 handling.
26968         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26970         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26972         * configure.in: Remove --with-elf and --enable-bounded options.
26973         Dont set base_machine for ia64.  More non-ELF conditions removed.
26974         Remove testing and setting of leading underscore information.
26975         * config.make.in (build-bounded): Set to no.
26976         * config.h.in: Remove NO_UNDERSCORES entry.
26977         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
26978         them.
26979         * csu/start.c: Remove !NO_UNDERSCORE code.
26980         * locale/localeinfo.h: Likewise.
26981         * sysdeps/generic/machine-gmon.h: Likewise.
26982         * sysdeps/generic/sysdep.h: Likewise.
26983         * sysdeps/i386/sysdep.h: Likewise.
26984         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26985         * sysdeps/mach/sysdep.h: Likewise.
26986         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26987         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26988         * sysdeps/sh/sysdep.h: Likewise.
26989         * sysdeps/sparc/sparc32/alloca.S: Likewise.
26990         * sysdeps/unix/i386/sysdep.S: Likewise.
26991         * sysdeps/unix/sparc/start.c: Likewise.
26992         * sysdeps/unix/sparc/sysdep.S: Likewise.
26993         * sysdeps/unix/sparc/sysdep.h: Likewise.
26994         * sysdeps/unix/start.c: Likewise.
26995         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26996         * sysdeps/x86_64/sysdep.h: Likewise.
26998 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
27000         [BZ #13553]
27001         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27002         for non-gcc.
27003         * argp/argp-fmtstream.h: Use const instead __const.
27004         * argp/argp.h: Likewise.
27005         * assert/assert.h: Likewise.
27006         * bits/fenv.h: Likewise.
27007         * bits/sched.h: Likewise.
27008         * bits/sigset.h: Likewise.
27009         * bits/sigthread.h: Likewise.
27010         * catgets/nl_types.h: Likewise.
27011         * conform/data/pthread.h-data: Likewise.
27012         * crypt/crypt-private.h: Likewise.
27013         * crypt/crypt.h: Likewise.
27014         * crypt/crypt_util.c: Likewise.
27015         * ctype/ctype.h: Likewise.
27016         * debug/execinfo.h: Likewise.
27017         * debug/mbsnrtowcs_chk.c: Likewise.
27018         * debug/mbsrtowcs_chk.c: Likewise.
27019         * debug/wcsnrtombs_chk.c: Likewise.
27020         * debug/wcsrtombs_chk.c: Likewise.
27021         * debug/wcstombs_chk.c: Likewise.
27022         * dirent/dirent.h: Likewise.
27023         * dlfcn/dlfcn.h: Likewise.
27024         * elf/neededtest4.c: Likewise.
27025         * grp/grp.h: Likewise.
27026         * gshadow/gshadow.h: Likewise.
27027         * iconv/gconv.h: Likewise.
27028         * iconv/gconv_int.h: Likewise.
27029         * iconv/gconv_simple.c: Likewise.
27030         * iconv/iconv.h: Likewise.
27031         * iconv/loop.c: Likewise.
27032         * iconv/skeleton.c: Likewise.
27033         * include/aio.h: Likewise.
27034         * include/aliases.h: Likewise.
27035         * include/argz.h: Likewise.
27036         * include/arpa/inet.h: Likewise.
27037         * include/assert.h: Likewise.
27038         * include/dirent.h: Likewise.
27039         * include/dlfcn.h: Likewise.
27040         * include/execinfo.h: Likewise.
27041         * include/fcntl.h: Likewise.
27042         * include/fenv.h: Likewise.
27043         * include/glob.h: Likewise.
27044         * include/grp.h: Likewise.
27045         * include/libintl.h: Likewise.
27046         * include/mntent.h: Likewise.
27047         * include/netdb.h: Likewise.
27048         * include/pwd.h: Likewise.
27049         * include/rpc/netdb.h: Likewise.
27050         * include/sched.h: Likewise.
27051         * include/search.h: Likewise.
27052         * include/shadow.h: Likewise.
27053         * include/signal.h: Likewise.
27054         * include/stdio.h: Likewise.
27055         * include/stdlib.h: Likewise.
27056         * include/string.h: Likewise.
27057         * include/sys/socket.h: Likewise.
27058         * include/sys/stat.h: Likewise.
27059         * include/sys/statfs.h: Likewise.
27060         * include/sys/statvfs.h: Likewise.
27061         * include/sys/syslog.h: Likewise.
27062         * include/sys/time.h: Likewise.
27063         * include/sys/uio.h: Likewise.
27064         * include/time.h: Likewise.
27065         * include/unistd.h: Likewise.
27066         * include/utmp.h: Likewise.
27067         * include/wchar.h: Likewise.
27068         * include/wctype.h: Likewise.
27069         * inet/aliases.h: Likewise.
27070         * inet/arpa/inet.h: Likewise.
27071         * inet/netinet/ether.h: Likewise.
27072         * inet/netinet/in.h: Likewise.
27073         * intl/libintl.h: Likewise.
27074         * io/bits/fcntl2.h: Likewise.
27075         * io/fcntl.h: Likewise.
27076         * io/ftw.h: Likewise.
27077         * io/sys/poll.h: Likewise.
27078         * io/sys/stat.h: Likewise.
27079         * io/sys/statfs.h: Likewise.
27080         * io/sys/statvfs.h: Likewise.
27081         * io/utime.h: Likewise.
27082         * libio/bits/stdio.h: Likewise.
27083         * libio/bits/stdio2.h: Likewise.
27084         * libio/libio.h: Likewise.
27085         * libio/libioP.h: Likewise.
27086         * libio/stdio.h: Likewise.
27087         * locale/lc-ctype.c: Likewise.
27088         * locale/locale.h: Likewise.
27089         * login/utmp.h: Likewise.
27090         * malloc/arena.c: Likewise.
27091         * malloc/malloc.c: Likewise.
27092         * malloc/malloc.h: Likewise.
27093         * malloc/mcheck.c: Likewise.
27094         * malloc/mtrace.c: Likewise.
27095         * math/bits/mathcalls.h: Likewise.
27096         * math/fenv.h: Likewise.
27097         * math/math_private.h: Likewise.
27098         * misc/bits/error.h: Likewise.
27099         * misc/bits/syslog.h: Likewise.
27100         * misc/err.h: Likewise.
27101         * misc/error.h: Likewise.
27102         * misc/fstab.h: Likewise.
27103         * misc/mntent.h: Likewise.
27104         * misc/regexp.h: Likewise.
27105         * misc/search.h: Likewise.
27106         * misc/sgtty.h: Likewise.
27107         * misc/sys/mman.h: Likewise.
27108         * misc/sys/syslog.h: Likewise.
27109         * misc/sys/uio.h: Likewise.
27110         * misc/sys/xattr.h: Likewise.
27111         * misc/ttyent.h: Likewise.
27112         * nis/rpcsvc/ypclnt.h: Likewise.
27113         * nss/nss.h: Likewise.
27114         * posix/bits/unistd.h: Likewise.
27115         * posix/fnmatch.h: Likewise.
27116         * posix/glob.h: Likewise.
27117         * posix/sched.h: Likewise.
27118         * posix/spawn.h: Likewise.
27119         * posix/sys/wait.h: Likewise.
27120         * posix/unistd.h: Likewise.
27121         * posix/wordexp.h: Likewise.
27122         * pwd/pwd.h: Likewise.
27123         * resolv/netdb.h: Likewise.
27124         * resource/sys/resource.h: Likewise.
27125         * rt/aio.h: Likewise.
27126         * rt/bits/mqueue2.h: Likewise.
27127         * rt/mqueue.h: Likewise.
27128         * shadow/shadow.h: Likewise.
27129         * signal/signal.h: Likewise.
27130         * socket/send.c: Likewise.
27131         * socket/sendto.c: Likewise.
27132         * socket/sys/socket.h: Likewise.
27133         * stdio-common/printf.h: Likewise.
27134         * stdlib/bits/stdlib.h: Likewise.
27135         * stdlib/fmtmsg.h: Likewise.
27136         * stdlib/monetary.h: Likewise.
27137         * stdlib/stdlib.h: Likewise.
27138         * stdlib/ucontext.h: Likewise.
27139         * streams/stropts.h: Likewise.
27140         * string/argz.h: Likewise.
27141         * string/bits/string2.h: Likewise.
27142         * string/string.h: Likewise.
27143         * string/strings.h: Likewise.
27144         * sunrpc/rpc/auth.h: Likewise.
27145         * sunrpc/rpc/auth_des.h: Likewise.
27146         * sunrpc/rpc/clnt.h: Likewise.
27147         * sunrpc/rpc/netdb.h: Likewise.
27148         * sunrpc/rpc/pmap_clnt.h: Likewise.
27149         * sunrpc/rpc/xdr.h: Likewise.
27150         * sysdeps/generic/inttypes.h: Likewise.
27151         * sysdeps/generic/net/if.h: Likewise.
27152         * sysdeps/generic/sys/swap.h: Likewise.
27153         * sysdeps/gnu/net/if.h: Likewise.
27154         * sysdeps/gnu/utmpx.h: Likewise.
27155         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27156         * sysdeps/i386/i486/bits/string.h: Likewise.
27157         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27158         * sysdeps/s390/bits/string.h: Likewise.
27159         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27160         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27161         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27162         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27163         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27164         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27165         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27166         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27167         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27168         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27169         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27170         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27171         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27172         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27173         * sysdeps/unix/sysv/linux/readv.c: Likewise.
27174         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27175         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27176         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27177         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27178         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27179         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27180         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27181         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27182         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27183         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27184         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27185         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27186         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27187         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27188         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27189         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27190         * sysvipc/sys/ipc.h: Likewise.
27191         * sysvipc/sys/msg.h: Likewise.
27192         * sysvipc/sys/sem.h: Likewise.
27193         * sysvipc/sys/shm.h: Likewise.
27194         * termios/termios.h: Likewise.
27195         * time/sys/time.h: Likewise.
27196         * time/time.h: Likewise.
27197         * wcsmbs/bits/wchar2.h: Likewise.
27198         * wcsmbs/uchar.h: Likewise.
27199         * wcsmbs/wchar.h: Likewise.
27200         * wctype/wctype.h: Likewise.
27202         [BZ #13551]
27203         * Makeconfig: Remove all but ELF support including AIX support.
27204         * Makerules: Likewise.
27205         * config.h.in: Likewise.
27206         * config.make.in: Likewise.
27207         * configure: Likewise.
27208         * configure.in: Likewise.
27209         * csu/Makefile: Likewise.
27210         * csu/version.c: Likewise.
27211         * debug/Makefile: Likewise.
27212         * dlfcn/Makefile: Likewise.
27213         * elf/Makefile: Likewise.
27214         * extra-lib.mk: Likewise.
27215         * iconv/Makefile: Likewise.
27216         * include/libc-symbols.h: Likewise.
27217         * include/shlib-compat.h: Likewise.
27218         * resolv/Makefile: Likewise.
27219         * resolv/res_libc.c: Likewise.
27220         * rt/Makefile: Likewise.
27221         * sysdeps/i386/asm-syntax.h: Likewise.
27222         * sysdeps/i386/sysdep.h: Likewise.
27223         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27224         * sysdeps/mach/sysdep.h: Likewise.
27225         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27226         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27227         * sysdeps/s390/asm-syntax.h: Likewise.
27228         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27229         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27230         * sysdeps/sh/sysdep.h: Likewise.
27231         * sysdeps/unix/sparc/sysdep.h: Likewise.
27232         * sysdeps/wordsize-32/divdi3.c: Likewise.
27233         * sysdeps/x86_64/sysdep.h: Likewise.
27235         * argp/Versions: Remove _argp_unlock_xxx.
27237         [BZ #13559]
27238         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
27239         * abilist/libBrokenLocale.abilist: Likewise.
27240         * abilist/libanl.abilist: Likewise.
27241         * abilist/libc.abilist: Likewise.
27242         * abilist/libcrypt.abilist: Likewise.
27243         * abilist/libdl.abilist: Likewise.
27244         * abilist/libm.abilist: Likewise.
27245         * abilist/libnsl.abilist: Likewise.
27246         * abilist/libpthread.abilist: Likewise.
27247         * abilist/libresolv.abilist: Likewise.
27248         * abilist/librt.abilist: Likewise.
27249         * abilist/libthread_db.abilist: Likewise.
27250         * abilist/libutil.abilist: Likewise.
27251         * abilist/libnss_db.abilist: New file.
27253         * scripts/abilist.awk: Add support for indirect functions.
27255         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27257         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27259         * shlib-versions: Remove entries for ports architectures.
27261         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
27262         files in ports.
27263         * elf/stackguard-macros.h: Remove support for IA-64.
27264         * elf/tst-auditmod1.c: Likewise.
27265         * sysdeps/generic/ldsodefs.h: Likewise.
27267         * sysdeps/unix/sysv/linux/configure.in: Ports should define
27268         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27269         configure files.
27271         [BZ #13552]
27272         * configure.in: Remove --enable-omitfp support.
27273         * FAQ.in: Adjust.
27274         * config.make.in: Likewise.
27275         * Makeconfig: Likewise.
27276         * manual/install.texi: Likewise.
27278         In case anyone cares, the IA-64 architecture could move to ports.
27279         * sysdeps/ia64/*: Removed.
27280         * sysdeps/unix/sysv/linux/ia64/*: Removed.
27281         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27283         [BZ #13555]
27284         * configure.in: Remove entries for unsupported architectures.
27286         [BZ #13533]
27287         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27288         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
27289         routines.
27290         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27291         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27292         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
27293         fall back to using wcrtomb.
27294         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27295         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
27296         renaming.
27297         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27298         * wcsmbs/tst-c16c32-1.c: New file.
27300         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27301         local variable.
27303         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27305         * elf/tst-unique3.cc: Add explicit declaration of gets.
27306         * elf/tst-unique3lib.cc: Likewise.
27307         * elf/tst-unique3lib2.cc: Likewise.
27308         * elf/tst-unique4.cc: Likewise.
27310         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27312 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
27314         [BZ #13566]
27315         * assert/assert.h (static_assert): Don't define for C++.
27316         * libio/stdio.h (gets): Do declare for C++ <= C++11.
27317         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27319 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
27321         * iconv/loop.c (single loop): Fix assertion in storing of
27322         remaining bytes.
27324         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27326 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
27328         * posix/getconf.c: Update copyright year.
27329         * nss/getent.c: Likewise.
27330         * nss/makedb.c: Likewise.
27331         * iconv/iconvconfig.c: Likewise.
27332         * iconv/iconv_prog.c: Likewise.
27333         * elf/ldconfig.c: Likewise.
27334         * elf/pldd.c: Likewise.
27335         * elf/sotruss.ksh: Likewise.
27336         * catgets/gencat.c: Likewise.
27337         * csu/version.c: Likewise.
27338         * elf/ldd.bash.in: Likewise.
27339         * elf/sprof.c (print_version): Likewise.
27340         * locale/programs/locale.c: Likewise.
27341         * locale/programs/localedef.c: Likewise.
27342         * login/programs/pt_chown.c: Likewise.
27343         * nscd/nscd.c (print_version): Likewise.
27344         * debug/xtrace.sh: Likewise.
27345         * malloc/memusage.sh: Likewise.
27346         * malloc/mtrace.pl: Likewise.
27347         * debug/catchsegv.sh: Likewise.
27349 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
27351         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27352         pure attribute.
27354 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
27356         [BZ #13533]
27357         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27358         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27359         transformations.
27360         * iconv/gconv_int.h: Likewise.
27361         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27362         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27363         from libc for GLIBC_2.16.
27364         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27365         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27366         * wcsmbs/uchar.h: Really define mbstate_t.
27367         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27368         * wcsmbs/c16rtomb.c: New file.
27369         * wcsmbs/mbrtoc16.c: New file.
27370         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27371         for C/POSIX locale.
27372         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27373         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27375         * wcsmbs/wchar.h: Add missing __restrict.
27377 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27379         [BZ #13532]
27380         * time/Makefile (routines): Add timespec_get.
27381         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27382         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
27383         timespec for ISO C11.
27384         * time/timespec_get.c: New file.
27385         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27386         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27388         [BZ #13531]
27389         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27390         * stdlib/stdlib.h: Declare aligned_alloc.
27391         * Versions.def: Add GLIBC_2.16 for libc.
27392         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27394         [BZ 13527]
27395         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27396         ISO C11.
27398         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27399         code.
27401         [BZ #13528]
27402         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27404         [BZ #13529]
27405         * assert/assert.h (static_assert): Define.
27407         * version.h: Update for 2.16 development version.
27409         [BZ #13526]
27410         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27411         _ISOC11_SOURCE.
27413         * version.h (RELEASE): Bump for 2.15 release.
27414         * include/features.h (__GLIBC_MINOR__): Bump to 15.
27416         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27417         Patch by Marek Polacek <mpolacek@redhat.com>.
27419         * bits/byteswap.h: Protect long long constants with __extension__.
27420         * sysdeps/i386/bits/byteswap.h: Likewise.
27421         * sysdeps/ia64/bits/byteswap.h: Likewise.
27422         * sysdeps/s390/bits/byteswap.h: Likewise.
27423         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27425 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27427         [BZ #13540]
27428         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27429         destination buffer.
27430         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27432 2011-12-23  Marek Polacek  <polacek@redhat.com>
27434         * elf/dl-addr.c (determine_info): Add inline keyword.
27435         * elf/tst-auditmod4b.c (check_avx): Likewise.
27436         * elf/tst-auditmod6b.c (check_avx): Likewise.
27437         * elf/tst-auditmod6c.c (check_avx): Likewise.
27438         * elf/tst-auditmod7b.c (check_avx): Likewise.
27440 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27442         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27443         !__SSE_MATH__.
27445 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27447         [BZ #13540]
27448         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27449         processing for last bytes.
27451 2011-08-06  Bruno Haible  <bruno@clisp.org>
27453         [BZ #13061]
27454         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27455         U+0385, not to U+1FEE.
27457         [BZ #13062]
27458         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27459         entry for U+00A5 U+0301.
27461 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27463         [BZ #13166]
27464         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27465         buffer for the output is too small.
27467         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27468         optimization.
27470         [BZ #13185]
27471         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27472         SSE flags if possible.
27474 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27476         [BZ #13540]
27477         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27478         processing for last bytes.
27480 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
27482         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27483         (syscall-list-default-options, syscall-list-default-condition)
27484         (syscall-list-includes): Define.
27485         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27486         list of ABIs and options and #if conditions for each ABI.  Do not
27487         handle common syscalls between ABIs specially.
27488         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27489         Remove.
27490         (syscall-list-variants, syscall-list-32bit-options)
27491         (syscall-list-32bit-condition, syscall-list-64bit-options)
27492         (syscall-list-64bit-condition): Define.
27493         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27494         (syscall-list-variants, syscall-list-32bit-options)
27495         (syscall-list-32bit-condition, syscall-list-64bit-options)
27496         (syscall-list-64bit-condition): Define.
27497         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27498         Remove.
27499         (syscall-list-variants, syscall-list-32bit-options)
27500         (syscall-list-32bit-condition, syscall-list-64bit-options)
27501         (syscall-list-64bit-condition): Define.
27502         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27503         Remove.
27504         (syscall-list-variants, syscall-list-32bit-options)
27505         (syscall-list-32bit-condition, syscall-list-64bit-options)
27506         (syscall-list-64bit-condition): Define.
27508 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27510         * locale/iso-639.def: Add brx entry.
27512         [BZ #13328]
27513         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27514         Proposed by Mariusz_Cukr <marcukr@op.pl>.
27516         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27517         __feraiseexcept_renamed.
27519 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
27521         [BZ #13538]
27522         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27523         EPOLLET with unsigned values.
27524         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27525         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27527         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27528         to large cancellation.
27529         * math/s_cacoshf.c: Likewise.
27530         * math/s_cacoshl.c: Likewise.
27532 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
27534         [BZ #13305]
27535         [BZ #12786]
27536         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27537         * math/s_cacoshf.c: Likewise.
27538         * math/s_cacoshl.c: Likewise.
27540 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
27542         [BZ #13439]
27543         * iconv/gconv.h: Define __GCONV_SWAP.
27544         * iconvdata/unicode.c: The swap bit must be stored in __flags.
27545         * iconvdata/utf-16.c: Likewise.
27546         * iconvdata/utf-32.c: Likewise.
27548 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27550         [BZ #13524]
27551         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27552         numerator after shifting it by one limb.
27554 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
27556         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27557         under [__USE_EXTERN_INLINES].
27559 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
27561         [BZ #13446]
27562         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27564 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27566         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27567         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27568         optimized code.
27569         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27570         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27571         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27572         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27573         for strncasecmp/strncasecmp_l compilation.
27574         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27575         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27577 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
27579         [BZ #13484]
27580         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27581         of __asm__.
27583 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
27585         [BZ #13506]
27586         * time/tzfile.c (__tzfile_read): Check values from file header.
27588 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27590         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27591         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27592         * powerpc/powerpc32/dl-start.S: Likewise.
27593         * powerpc/powerpc32/elf/start.S: Likewise.
27594         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27595         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27596         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27597         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27598         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27599         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27600         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27601         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27602         * powerpc/powerpc32/fpu/s_round.S: Likewise.
27603         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27604         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27605         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27606         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27607         * powerpc/powerpc32/memset.S: Likewise.
27608         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27609         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27610         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27611         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27612         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27613         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27614         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27615         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27616         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27617         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27618         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27619         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27620         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27622 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27624         * math/libm-test.inc: Added more nearbyint tests.
27625         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27626         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27627         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27628         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27630 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
27632         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27633         FD_CLOEXEC.
27635 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27637         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27638         Add wcscpy-ssse3 wcscpy-c.
27639         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27640         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27641         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27642         * sysdeps/x86_64/wcschr.S: New file.
27643         * sysdeps/x86_64/wcsrchr.S: New file.
27644         * string/test-strcmp.c: Remove checking of wcscmp function for
27645         wrong alignments.
27646         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27647         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27648         wcsrchr-sse2 wcsrchr-c.
27649         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27650         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27651         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27652         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27653         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27654         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27655         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27656         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27657         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27658         * wcsmbc/wcschr.c (WCSCHR): New macro.
27660 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27662         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27663         * wcsmbs/test-wcsrchr.c: New file.
27664         * string/test-strrchr.c: Add wcsrchr support.
27665         (WIDE): New macro.
27666         * wcsmbs/test-wcscpy.c: New file.
27667         * string/test-strcpy.c: Add wcscpy support.
27668         (WIDE): New macro.
27670 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
27672         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27673         the inner loop.
27675 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
27677         [BZ #13472]
27678         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27680 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
27682         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27683         Minor optimizations.
27685         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27686         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27687         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27689 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
27691         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27692         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27693         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27694         for gcc to avoid warnings.
27695         * inet/Makefile (tests): Add tst-checks.
27696         * inet/tst-checks.c: New file.
27698         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27699         warning.
27701         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27702         __wmemcmp_sse2.
27704         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27705         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27707         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27709 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
27711         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27712         problem.
27714         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27716 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
27718         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27719         conditional on GCC version.
27720         (__arch_compare_and_exchange_val_8_acq)
27721         (__arch_compare_and_exchange_val_16_acq)
27722         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27723         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27724         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27726 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
27728         * sysdeps/sh/backtrace.c: New file.
27730 2011-12-02  Andreas Schwab  <schwab@redhat.com>
27732         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
27733         parenthesis.
27735 2011-12-01  Andreas Schwab  <schwab@redhat.com>
27737         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27738         falling back to utime.
27740 2011-11-30  Andreas Schwab  <schwab@redhat.com>
27742         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27743         expectations for float.
27745 2011-11-29  Andreas Schwab  <schwab@redhat.com>
27747         * locale/weight.h (findidx): Add parameter len.
27748         * locale/weightwc.h (findidx): Likewise.
27749         * posix/fnmatch_loop.c (FCT): Adjust caller.
27750         * posix/regcomp.c (build_equiv_class): Likewise.
27751         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27752         * posix/regexec.c (check_node_accept_bytes): Likewise.
27753         * string/strcoll_l.c (STRCOLL): Likewise.
27754         * string/strxfrm_l.c (STRXFRM): Likewise.
27756 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
27758         * Makefile.in: Remove CVSOPT handling.
27759         * configure.in: Remove use of AC_REVISION.
27760         * iconvdata/Makefile (distribute): No need to filter out CVS.
27761         * scripts/list-sources.sh: Remove CVS, subversion and monotone
27762         handling.
27764 2011-11-16  Andreas Schwab  <schwab@redhat.com>
27766         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27767         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27768         [USE_AS_STRNCASECMP_L]: Likewise.
27769         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27770         NO_TLS_DIRECT_SEG_REFS.
27771         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27772         Fix argument offsets for non-PIC.
27773         [USE_AS_STRNCASECMP_L]: Likewise.
27774         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27775         NO_TLS_DIRECT_SEG_REFS.
27777 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27779         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27780         O_CLOEXEC.
27781         * locale/loadlocale.c (_nl_load_locale): Likewise.
27783 2011-11-15  Andreas Schwab  <schwab@redhat.com>
27785         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27786         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27787         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27788         (SYSCALL_GETTIME): Set errno on error.
27790         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27791         count references to noai6ai_cached.
27793 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27795         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27797         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27798         FD_CLOEXEC for /proc/self/maps.
27800         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27801         FD_CLOEXEC for /proc/meminfo.
27803         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27804         gai.conf.
27806         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
27807         FD_CLOEXEC for given file.
27809         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27811         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27812         FD_CLOEXEC for /etc/hosts.
27813         (_gethtent): Likewise.
27815         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27817         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27818         cancellation and set FD_CLOEXEC for /etc/netgroup.
27820         * nss/nss_files/files-key.c (search): Don't allow cancellation when
27821         reading /etc/publickey.
27823         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27824         allow cancellation when reading /etc/group.
27826         * nss/nss_files/files-alias.c (internal_setent): Don't allow
27827         cancellation.
27828         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
27830         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27831         when using data file.
27833         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27835         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27836         (write_nis_obj): Use "c" and "e" in fopen.
27838         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27840         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27842         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27844         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27846         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27847         locale.alias.
27849         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27851         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27853         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27855         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27856         file parsing and set FD_CLOEXEC.
27858 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27860         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27862 2011-11-14  Andreas Schwab  <schwab@redhat.com>
27864         * malloc/arena.c (arena_get2): Don't call reused_arena when
27865         _int_new_arena failed.
27867 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27869         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27870         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27871         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27872         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27873         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27874         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27875         to compile strcasecmp and strncasecmp.
27876         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27877         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27879         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27881 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
27883         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27884         locale-defines.sym to gen-as-const-headers.
27885         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27886         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27887         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27888         to compile strcasecmp and strncasecmp.
27889         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27890         strcasecmp_l and strncasecmp_l.
27891         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27892         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27893         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27894         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27895         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27896         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27897         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27898         * sysdeps/i386/i686/multiarch/strncase.S: New file.
27899         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27900         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27901         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27903 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
27905         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27906         result of SYSDEP_GETTIME_CPU to retval.
27907         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27908         parameter list to macro.  Remove trailing semicolon.  Adjust users.
27910         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27911         variable.
27913         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27914         mantissa words.
27915         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27917         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27918         from unused variable.
27920         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27921         DWARF definitions.
27922         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27923         for assembling.
27925         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27926         over namespaces.
27928         * sunrpc/rpc_prot.c (rejected): Fix case value.
27930         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27931         unsigned long long int to avoid warnings in shift.
27933         * posix/regex_internal.c (re_string_reconstruct): Actually use result
27934         of use of trans.
27935         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27936         variable tmp.
27938         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27939         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27940         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27942         * nis/nis_table.c (nis_list): Use variable of correct type for
27943         result of __follow_path call.
27945 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27947         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27948         of math functions ceil, trunc, floor, round, and sqrt, when
27949         avaliable on the platform.
27950         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27951         name clash.
27952         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27953         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27954         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27956 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
27958         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27959         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27961 2011-11-11  Roland McGrath  <roland@hack.frob.com>
27963         * include/unistd.h: Fix __readlink return type.
27964         Reported by Chris Metcalf <cmetcalf@tilera.com>.
27966 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
27968         * stdlib/ucontext.h: Undo last change for makecontext.
27970 2011-11-11  Andreas Schwab  <schwab@redhat.com>
27972         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27974         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27975         * setjmp/setjmp.h: Mark functions as non-leaf.
27976         * setjmp/bits/setjmp2.h: Likewise.
27977         * stdlib/ucontext.h: Likewise.
27979 2011-11-10  Andreas Schwab  <schwab@redhat.com>
27981         * malloc/arena.c (_int_new_arena): Don't increment narenas.
27982         (reused_arena): Don't check arena limit.
27983         (arena_get2): Atomically check arena limit.
27985 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
27987         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27988         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27990         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27991         instructions.
27993 2011-11-07  Andreas Schwab  <schwab@redhat.com>
27995         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27996         handler when locking.
27998         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27999         Fix size of allocated buffer.
28001 2011-11-04  Andreas Schwab  <schwab@redhat.com>
28003         [BZ #10103]
28004         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28005         declarations for long double functions.
28006         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28008         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28010 2011-11-03  Andreas Schwab  <schwab@redhat.com>
28012         * nscd/nscd.c (main): Don't start AVC thread until credentials are
28013         installed.
28015         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28016         is disabled.
28018 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28020         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28022 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28024         * include/alloca.h (stackinfo_alloca_round): Define.
28025         (extend_alloca): Use it.
28026         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28027         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28028         here.
28030         * scripts/check-local-headers.sh: Ignore libaudit.h.
28032         * nscd/Makefile (extra-objs): Make recursively expanded.
28034 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
28036         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28037         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28039         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28040         * posix/tst-rfc3484-2.c: Likewise.
28041         * posix/tst-rfc3484-3.c: Likewise.
28043         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28044         process_vm_writev.
28045         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28046         process_vm_writev.
28047         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28048         process_vm_writev from libc using GLIBC_2.15 version.
28050         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28052 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
28054         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28055         stack usage.
28057 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
28059         [BZ #13367]
28060         * nss/getent.c (initgroups_keys): Show error message in case no group
28061         names are given.
28063         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28064         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28065         __bump_nl_timestamp.
28066         * nscd/connections (nscd_init): When host database is served open
28067         netlink socket and request notification about configuration changes.
28068         (main_loop_poll): Track netlink file descriptor and bump timestamp
28069         in case data becomes available.
28070         (main_loop_epoll): Likewise.
28071         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28072         (database_pers_head): Add extra_data fileds.
28073         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28074         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28075         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28076         Adjust caller.
28077         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28078         in6ai data, call __free_in6ai.
28079         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28080         Add -DHAVE_NETLINK.
28081         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
28082         interface information.  Reuse previous data if netlink timestamp
28083         is not changed.
28084         (__bump_nl_timestamp): New function.
28085         (__free_in6ai): New function.
28087 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
28089         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28090         close_not_cancel_no_status here.
28091         (__check_pf): Reorganize code a bit to not call close twice if OOM.
28093 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28095         [BZ #13276]
28096         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28097         return value.
28099         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28100         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28101         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28103 2011-07-03  Andreas Jaeger  <aj@suse.de>
28105         [BZ #10709]
28106         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28107         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28108         * math/libm-test.inc (sin_test): Add test case.
28110 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28112         [BZ #13337]
28113         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28114         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28116         * elf/chroot_canon.c (chroot_canon): Cleanups.
28118         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28120         [BZ #13335]
28121         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28122         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28124         * string/test-strchr.c: Make usable for strchrnul testing.
28125         * string/test-strchrnul.c: New file.
28126         * string/Makefile (strop-tests): Add strchrnul.
28128         * po/it.po: Update from translation team.
28129         * po/es.po: Likewise.
28131 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
28133         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28134         the three constants needed as parameters.  Drop the others.
28135         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28136         __m128i_strloadu_tolower.
28137         Create and initialize variable zero and use it in all the places
28138         where _mm_setzero_si128 was used.
28140         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28141         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28142         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28143         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28144         anymore.
28145         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28146         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28147         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28148         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28149         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28150         __mpranred, __mptan.
28151         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28152         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28153         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28154         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28155         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28156         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28157         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28158         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28159         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28161 2011-10-28  Andreas Schwab  <schwab@redhat.com>
28163         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28164         redefine if SHARED.
28165         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28167         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28168         wide char related routines to wcsmbs subdir.
28170 2011-10-27  Andreas Schwab  <schwab@redhat.com>
28172         [BZ #13344]
28173         * misc/sys/cdefs.h (__THROWNL): Define.
28174         * posix/unistd.h: Use __THREADNL instead of __THREAD
28175         for memory synchronization functions.
28177 2011-10-26  Roland McGrath  <roland@hack.frob.com>
28179         [BZ #13349]
28180         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28181         doesn't exist.
28182         * manual/stdio.texi (Obstack Streams): Node removed.
28184 2011-10-26  Andreas Schwab  <schwab@redhat.com>
28186         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28187         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28188         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28190         * math/math_private.h (math_force_eval): Allow non-addressable
28191         arguments.
28192         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28194 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28196         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28197         file is not needed.
28199         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28200         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28201         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28202         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28203         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28204         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28205         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28206         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28207         Add AVX variants.
28208         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28209         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28210         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28211         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28212         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28213         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28214         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28215         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28216         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28217         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28218         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28219         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28220         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28221         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28222         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28223         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28224         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28225         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28226         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28228         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28229         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
28231         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28232         place.  Use VEX encoding when compiling for AVX.
28234 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28236         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28237         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28239         * string/test-strchr.c (do_test): Don't generate NUL bytes.
28241 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28243         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28244         useless if() expression.
28245         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28246         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28247         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28248         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28249         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28250         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28251         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28252         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28253         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28254         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28255         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28256         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28257         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28258         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28259         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28260         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28261         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28262         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28263         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28265         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28267 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28269         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28270         condition.
28271         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28273 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28275         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28276         .text section.  Avoid duplicate constants.
28277         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28278         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28279         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28280         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28281         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28282         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28283         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28284         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28285         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28286         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28287         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28288         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28289         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28290         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28291         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28292         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28293         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28294         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28295         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28296         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28297         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28298         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28299         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28300         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28301         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28302         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28303         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28304         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28305         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28306         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28307         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28308         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28309         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28310         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28311         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28312         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28313         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28314         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28315         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28316         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28317         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28318         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28319         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28320         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28321         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28323 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
28325         * sysdeps/x86_64/dla.h: Move to ...
28326         * sysdeps/x86_64/fpu/dla.h: ...here.
28327         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28328         situations.  Use __builtin_fma only for gcc 4.6 and up.
28330         * config.make.in: Add have-mfma4 entry.
28331         * configure.in: Substitute libc_cv_cc_fma4.
28332         * math/Makefile (dbl-only-routines): Add sincostab.
28333         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28334         Use __sincostab not sincos.
28335         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28336         name is a macro.
28337         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28338         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28339         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28340         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
28341         using __copysign.
28342         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
28343         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
28344         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28345         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28346         and __inv.
28347         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28348         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28349         __copysign.
28350         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
28351         define aliases when function name is a macro.
28352         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28353         sysdeps/ieee754/dbl-64/sincos.tbl.
28354         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28355         fma4-enabled routines.
28356         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28357         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28358         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28359         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28360         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28361         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28362         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28363         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28364         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28365         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28366         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28367         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28368         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28369         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28370         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28371         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28372         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28373         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28374         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28375         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28376         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28377         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28378         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28379         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28380         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28381         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28382         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28383         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28384         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28385         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28387         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28388         rename.
28389         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28390         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28391         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28392         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28393         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28394         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28395         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28396         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28398 2011-10-24  Andreas Schwab  <schwab@redhat.com>
28400         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28402 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28404         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28406         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28407         prediction.
28408         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28410         * string/strnlen.c: Don't define STRNLEN, reverse logic.
28411         Remove unused variable magic_bits.
28412         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28414         * string/strnlen.c: Define and use STRNLEN macro.
28415         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28416         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28417         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28418         * wcsmbs/wcslen.c: Define and use WCSLEN.
28419         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28420         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28421         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28422         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28423         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28424         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28425         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28427 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28430         strnlen-sse2-no-bsf.
28431         Rename strlen-no-bsf to strlen-sse2-no-bsf.
28432         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28433         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28434         Add strnlen support.
28435         (USE_AS_STRNLEN): New macro.
28436         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28437         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28438         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28439         * sysdeps/x86_64/wcslen.S: New file.
28441 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
28443         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28444         XMM-moves are used for copying on small sizes.
28446 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28448         * wcsmbs/Makefile (strop-tests): Add wcschr.
28449         * wcsmbs/test-wcschr.c: New file.
28450         * string/test-strchr.c: Update.
28451         Add wcschr support.
28452         (WIDE): New macro.
28454 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28456         * wcsmbs/Makefile (strop-tests): Add wcslen.
28457         * wcsmbs/test-wcslen.c: New file.
28458         * string/test-strlen.c: Update.
28459         Add wcslen support.
28460         (WIDE): New macro.
28462 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28464         * po/it.po: Update from translation team.
28466 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28468         * sysdeps/x86_64/wcscmp.S: Update.
28469         Fix wrong comparison semantics.
28470         wcscmp shall use signed comparison not unsigned.
28471         Don't use substraction to avoid overflow bug.
28472         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28473         * wcsmbc/wcscmp.c: Likewise.
28474         * string/test-strcmp.c: Likewise.
28475         Add new tests to check cases with negative values.
28477 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28479         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28480         * sysdeps/x86_64/dla.h: ...here.  New file.
28481         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28482         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28483         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28484         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28485         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28486         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28487         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28488         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28489         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28491 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
28493         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28494         __ynl_finite aliases.
28496 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
28498         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28500         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28501         define DLA_FMA.
28502         [DLA_FMA] (EMULV): Use DLA_FMA.
28503         [DLA_FMA] (MUL12): Use EMULV.
28504         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28505         that are not needed.
28506         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28507         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28508         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28509         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28510         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28511         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28512         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28514 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
28516         * math/s_nan.c: Undef __nan.
28517         * math/s_nanf.c: Undef __nanf.
28518         * math/s_nanl.c: Undef __nanl.
28519         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28520         "math_private.h".
28522 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
28524         * math/s_catan.c: Add branch predictions.
28525         * math/s_catanf.c: Likewise.
28526         * math/s_catanh.c: Likewise.
28527         * math/s_catanhf.c: Likewise.
28528         * math/s_catanhl.c: Likewise.
28529         * math/s_catanl.c: Likewise.
28530         * math/s_cexp.c: Likewise.
28531         * math/s_cexpf.c: Likewise.
28532         * math/s_cexpl.c: Likewise.
28533         * math/s_clog.c: Likewise.
28534         * math/s_clog10.c: Likewise.
28535         * math/s_clog10f.c: Likewise.
28536         * math/s_clog10l.c: Likewise.
28537         * math/s_clogf.c: Likewise.
28538         * math/s_clogl.c: Likewise.
28539         * math/s_csqrt.c: Likewise.
28540         * math/s_csqrtf.c: Likewise.
28541         * math/s_csqrtl.c: Likewise.
28542         * math/s_ctanf.c: Likewise.
28543         * math/s_ctanh.c: Likewise.
28544         * math/s_ctanhf.c: Likewise.
28545         * math/s_ctanhl.c: Likewise.
28546         * math/s_ctanl.c: Likewise.
28548         * math/math_private.h: Define __nan, __nanf, __nanl.
28549         * math/s_cacosh.c: Include <math_private.h>.
28550         * math/s_cacoshl.c: Likewise.
28551         * math/s_casinh.c: Likewise.
28552         * math/s_casinhf.c: Likewise.
28553         * math/s_casinhl.c: Likewise.
28554         * math/s_ccos.c: Rely entire on ccosh.
28555         * math/s_ccosf.c: Rely entire on ccoshf.
28556         * math/s_ccosl.c: Rely entirely on ccoshl.
28557         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
28558         Remove tests for FE_INVALID.
28559         * math/s_ccoshf.c: Likewise.
28560         * math/s_ccoshl.c: Likewise.
28561         * math/s_csin.c: Likewise.
28562         * math/s_csinf.c: Likewise.
28563         * math/s_csinh.c Likewise.
28564         * math/s_csinhf.c: Likewise.
28565         * math/s_csinhl.c: Likewise.
28566         * math/s_csinl.c: Likewise.
28567         * math/s_ctan.c: Likewise.
28568         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28569         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28570         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28572 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
28574         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28575         compilation problems.
28577         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28578         __builtin_expect.
28580 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
28582         * sysdeps/i386/configure.in: Test for -mfma4 option.
28583         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28584         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28585         COMMON_CPUID_INDEX_80000001.
28586         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28587         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28588         use it if FMA3 is not supported.
28589         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28591         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28592         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28594 2011-10-20  Andreas Schwab  <schwab@redhat.com>
28596         [BZ #12892]
28597         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28598         it would create a cycle with a link time dependency.
28600 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
28602         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28603         instruction.
28604         * string/Makefile (strop-tests): Add rawmemchr.
28605         * string/test-rawmemchr.c: New file.
28607         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28608         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
28609         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
28610         when compiling str{,n}casecmp and when AVX is available.  Hook up
28611         new optimized code in initializers.
28613 2011-10-19  Andreas Schwab  <schwab@redhat.com>
28615         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28616         __feraiseexcept instead of feraiseexcept.
28618 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
28620         * math/math_private.h: Define defaults for libc_fetestexcept and
28621         libc_feupdateenv.
28622         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28623         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28624         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28625         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28626         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28627         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28628         libc_fetestexcept and libc_feupdateenv.
28630         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28631         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28632         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28633         * sysdeps/x86_64/fpu/math_private.h: Define special version of
28634         libc_feholdexcept_setround.
28636         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28637         Add s_nearbyint-c and s_nearbyintf-c.
28638         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28639         nearbyintf inlines.
28640         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28641         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28642         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28643         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28645         * math/math_private.h: Define defaults for libc_fegetround,
28646         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28647         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28648         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28649         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28650         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28651         standard functions.
28652         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28653         Remove comments and hacks for old compiler versions.
28654         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28655         libc_fegetround, libc_fesetround, libc_feholdexcept, and
28656         libc_feholdexceptl.
28658 2011-10-18  Andreas Schwab  <schwab@redhat.com>
28660         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28661         (__feraiseexcept_renamed): Add __NTH.
28662         (feraiseexcept): Add __NTH.  Rename local variables to fix
28663         namespace violations.
28665 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
28667         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28669         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28671         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28672         recently added interfaces.
28673         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28675         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28676         about macro parameter expansion.
28678         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28679         __NO_MATH_INLINES is defined.  Cleanups.
28681         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28682         and __floorf is target has SSE4.1.
28683         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28684         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28685         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28686         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28688         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28689         name.
28690         (floorf): Likewise.
28692         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28694 2011-10-17  Andreas Schwab  <schwab@redhat.com>
28696         * misc/sys/cdefs.h: Fix last change.
28698         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28699         database lookup.
28701 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
28703         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28705         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28706         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28707         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28708         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28709         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28710         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28711         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28712         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28713         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28714         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28715         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28716         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28717         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28718         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28719         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28720         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28721         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28722         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28723         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28724         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28725         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28726         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28728         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28729         ceil, ceilf, floor, floorf.
28731         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28732         Perform IRELATIVE relocations last.
28734         * elf/do-rel.h: Add another parameter nrelative, replacing the
28735         local variable with the same name.  Change name of the function
28736         to end in Rel or Rela (uppercase).
28737         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28738         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
28739         elf_dynamic_do_##reloc function.
28741 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
28743         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28744         is sufficient, at least on modern CPUs.
28746         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28748         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28749         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28751         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28752         __expl_finite.
28753         * math/bits/math-finite.h: Add entries for exp.
28754         * math/e_expl.c: Add __*_finite alias.
28755         * sysdeps/i386/fpu/e_exp.S: Likewise.
28756         * sysdeps/i386/fpu/e_expf.S: Likewise.
28757         * sysdeps/i386/fpu/e_expl.c: Likewise.
28758         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28759         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28760         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28761         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28762         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28763         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28764         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28766         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28767         is sufficient, at least on modern CPUs.
28769         * ctype/ctype-info.c (__ctype_init): Define.
28770         * include/ctype.h (__ctype_init): Declare.
28771         (__ctype_b_loc): The variable is always initialized.
28772         (__ctype_toupper_loc): Likewise.
28773         (__ctype_tolower_loc): Likewise.
28774         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28775         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28777 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
28779         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28781         * configure.in: Also look in $cxxmachine/include for C++ system
28782         headers.
28784 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28786         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28787         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28788         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28789         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
28790         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28791         (USE_AS_WMEMCMP): New macro.
28792         Fixing indents.
28793         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28794         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28795         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28796         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28797         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28798         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28799         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28800         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28801         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28802         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28803         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28804         (USE_AS_WMEMCMP): New macro.
28805         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28806         * sysdeps/string/test-memcmp.c: Update.
28807         Fix simple_wmemcmp.
28808         Add new tests.
28809         * wcsmbs/wmemcmp.c: Update.
28810         (WMEMCMP): New macro.
28811         Fix overflow bug.
28813 2011-10-12  Andreas Jaeger  <aj@suse.de>
28815         [BZ #13268]
28816         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28818 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
28820         * libio/iofwide.c (do_length): Avoid warning.
28822         * ctype/ctype.h (__isctype_f): Add missing __THROW.
28824 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
28826         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28828         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28829         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28830         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28831         * sysdeps/i386/i686/fpu/e_log.S: New file.
28832         * sysdeps/i386/i686/fpu/e_logf.S: New file.
28833         * sysdeps/i386/i686/fpu/e_logl.S: New file.
28835         * ctype/ctype.h: Add support for inlined isXXX functions when
28836         compiling C++ code.
28838 2011-10-14  Andreas Schwab  <schwab@redhat.com>
28840         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28842         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28844 2011-10-13  Roland McGrath  <roland@hack.frob.com>
28846         [BZ #13291]
28847         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28849 2011-10-13  Andreas Schwab  <schwab@redhat.com>
28851         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28852         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28853         feraiseexcept.
28855         * sysdeps/x86_64/memrchr.S: Check for zero size.
28857         * string/stratcliff.c: Add memrchr tests.
28859 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28861         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28862         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28863         rawmemchr-sse2 rawmemchr-sse2-bsf.
28864         * sysdeps/i386/i686/multiarch/memchr.S: New file.
28865         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28866         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28867         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28868         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28869         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28870         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28871         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28872         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28873         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28874         * string/memrchr.c (MEMRCHR): New macro.
28876 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
28878         Add integration with gcc's -ffinite-math-only and optimize wrapper
28879         functions in libm.
28880         * Versions.def: Define GLIBC_2.15 version for libm.
28881         * math/Makefile (headers): Add bits/math-finite.h.
28882         * math/bits/math-finite.h: New file.
28883         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28884         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28885         * math/e_acoshl.c: Add __*_finite alias.
28886         * math/e_acosl.c: Likewise.
28887         * math/e_asinl.c: Likewise.
28888         * math/e_atan2l.c: Likewise.
28889         * math/e_atanhl.c: Likewise.
28890         * math/e_coshl.c: Likewise.
28891         * math/e_exp10.c: Likewise.
28892         * math/e_exp10f.c: Likewise.
28893         * math/e_exp10l.c: Likewise.
28894         * math/e_exp2l.c: Likewise.
28895         * math/e_fmodl.c: Likewise.
28896         * math/e_gammal_r.c: Likewise.
28897         * math/e_hypotl.c: Likewise.
28898         * math/e_j0l.c: Likewise.
28899         * math/e_j1l.c: Likewise.
28900         * math/e_jnl.c: Likewise.
28901         * math/e_lgammal_r.c: Likewise.
28902         * math/e_log10l.c: Likewise.
28903         * math/e_log2l.c: Likewise.
28904         * math/e_logl.c: Likewise.
28905         * math/e_powl.c: Likewise.
28906         * math/e_sinhl.c: Likewise.
28907         * math/e_sqrtl.c: Likewise.
28908         * math/e_scalb.c: Completely rewritten and optimized.
28909         * math/e_scalbf.c: Likewise.
28910         * math/e_scalbl.c: Likewise.
28911         * math/w_acos.c: Likewise.
28912         * math/w_acosf.c: Likewise.
28913         * math/w_acosl.c: Likewise.
28914         * math/w_acosh.c: Likewise.
28915         * math/w_acoshf.c: Likewise.
28916         * math/w_acoshl.c: Likewise.
28917         * math/w_asin.c: Likewise.
28918         * math/w_asinf.c: Likewise.
28919         * math/w_asinl.c: Likewise.
28920         * math/w_atan2.c: Likewise.
28921         * math/w_atan2f.c: Likewise.
28922         * math/w_atan2l.c: Likewise.
28923         * math/w_atanh.c: Likewise.
28924         * math/w_atanhf.c: Likewise.
28925         * math/w_atanhl.c: Likewise.
28926         * math/w_exp10.c: Likewise.
28927         * math/w_exp10f.c: Likewise.
28928         * math/w_exp10l.c: Likewise.
28929         * math/w_fmod.c: Likewise.
28930         * math/w_fmodf.c: Likewise.
28931         * math/w_fmodl.c: Likewise.
28932         * math/w_j0.c: Likewise.
28933         * math/w_j0f.c: Likewise.
28934         * math/w_j0l.c: Likewise.
28935         * math/w_j1.c: Likewise.
28936         * math/w_j1f.c: Likewise.
28937         * math/w_j1l.c: Likewise.
28938         * math/w_jn.c: Likewise.
28939         * math/w_jnf.c: Likewise.
28940         * math/w_log.c: Likewise.
28941         * math/w_logf.c: Likewise.
28942         * math/w_logl.c: Likewise.
28943         * math/w_log10.c: Likewise.
28944         * math/w_log10f.c: Likewise.
28945         * math/w_log10l.c: Likewise.
28946         * math/w_log2.c: Likewise.
28947         * math/w_log2f.c: Likewise.
28948         * math/w_log2l.c: Likewise.
28949         * math/w_pow.c: Likewise.
28950         * math/w_powf.c: Likewise.
28951         * math/w_powl.c: Likewise.
28952         * math/w_remainder.c: Likewise.
28953         * math/w_remainderf.c: Likewise.
28954         * math/w_remainderl.c: Likewise.
28955         * math/w_scalb.c: Likewise.
28956         * math/w_scalbf.c: Likewise.
28957         * math/w_scalbl.c: Likewise.
28958         * math/w_sqrt.c: Likewise.
28959         * math/w_sqrtf.c: Likewise.
28960         * math/w_sqrtl.c: Likewise.
28961         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28962         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
28963         used.
28964         * math/math_private.h: Declare __kernel_standard_f.
28965         * math/w_cosh.c: Remove cruft and optimize a bit.
28966         * math/w_coshf.c: Likewise.
28967         * math/w_coshl.c: Likewise.
28968         * math/w_exp2.c: Likewise.
28969         * math/w_exp2f.c: Likewise.
28970         * math/w_exp2l.c: Likewise.
28971         * math/w_hypot.c: Likewise.
28972         * math/w_hypotf.c: Likewise.
28973         * math/w_hypotl.c: Likewise.
28974         * math/w_lgamma.c: Likewise.
28975         * math/w_lgamma_r.c: Likewise.
28976         * math/w_lgammaf.c: Likewise.
28977         * math/w_lgammaf_r.c: Likewise.
28978         * math/w_lgammal.c: Likewise.
28979         * math/w_lgammal_r.c: Likewise.
28980         * math/w_sinh.c: Likewise.
28981         * math/w_sinhf.c: Likewise.
28982         * math/w_sinhl.c: Likewise.
28983         * math/w_tgamma.c: Likewise.
28984         * math/w_tgammaf.c: Likewise.
28985         * math/w_tgammal.c: Likewise.
28986         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28987         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28988         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28989         Minor optimizations.  Pretty printing.  Remove cruft.
28990         * sysdeps/i386/fpu/e_acosf.S: Likewise.
28991         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28992         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28993         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28994         * sysdeps/i386/fpu/e_acosl.c: Likewise.
28995         * sysdeps/i386/fpu/e_asin.S: Likewise.
28996         * sysdeps/i386/fpu/e_asinf.S: Likewise.
28997         * sysdeps/i386/fpu/e_atan2.S: Likewise.
28998         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28999         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29000         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29001         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29002         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29003         * sysdeps/i386/fpu/e_exp10.S: Likewise.
29004         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29005         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29006         * sysdeps/i386/fpu/e_exp2.S: Likewise.
29007         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29008         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29009         * sysdeps/i386/fpu/e_fmod.S: Likewise.
29010         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29011         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29012         * sysdeps/i386/fpu/e_hypot.S: Likewise.
29013         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29014         * sysdeps/i386/fpu/e_log.S: Likewise.
29015         * sysdeps/i386/fpu/e_log10.S: Likewise.
29016         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29017         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29018         * sysdeps/i386/fpu/e_log2.S: Likewise.
29019         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29020         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29021         * sysdeps/i386/fpu/e_logf.S: Likewise.
29022         * sysdeps/i386/fpu/e_logl.S: Likewise.
29023         * sysdeps/i386/fpu/e_pow.S: Likewise.
29024         * sysdeps/i386/fpu/e_powf.S: Likewise.
29025         * sysdeps/i386/fpu/e_powl.S: Likewise.
29026         * sysdeps/i386/fpu/e_remainder.S: Likewise.
29027         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29028         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29029         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29030         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29031         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29032         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29033         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29034         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29035         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29036         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29037         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29038         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29039         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29040         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29041         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29042         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29043         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29044         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29045         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29046         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29047         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29048         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29049         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29050         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29051         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29052         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29053         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29054         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29055         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29056         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29057         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29058         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29059         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29060         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29061         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29062         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29063         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29064         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29065         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29066         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29067         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29068         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29069         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29070         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29071         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29072         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29073         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29074         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29075         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29076         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29077         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29078         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29079         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29080         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29081         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29082         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29083         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29084         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29085         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29086         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29087         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29088         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29089         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29090         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29091         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29092         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29093         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29094         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29095         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29096         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29097         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29098         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29099         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29100         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29101         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29102         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29103         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29104         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29105         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29106         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29107         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29108         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29109         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29110         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29111         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29112         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29113         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29114         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29115         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29116         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29117         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29118         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29119         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29120         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29121         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29122         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29123         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29124         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29125         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29126         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29127         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29128         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29129         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29130         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29131         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29132         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29133         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29134         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29135         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29136         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29137         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29138         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29139         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29140         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29141         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29142         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29143         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29144         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29145         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
29146         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29147         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29148         (__isnanf): Likewise.
29149         (__isinf_ns): Likewise.
29150         (__isinf_nsf): Likewise.
29151         (__finite): Likewise.
29152         (__finitef): Likewise.
29153         (__ieee754_sqrt): Define as macro.
29154         (__ieee754_sqrtf): Define as macro.
29155         (__ieee754_sqrtl): Define as macro.
29156         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29157         inlined copy.
29158         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29159         __FINITE_MATH_ONLY__ consistent.
29160         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29162 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
29164         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29165         of rawmemchr.
29167         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29169 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
29171         * po/ja.po: Update from translation team.
29173 2011-10-08  Roland McGrath  <roland@hack.frob.com>
29175         * locale/programs/locarchive.c (prepare_address_space): New function.
29176         (create_archive, enlarge_archive, open_archive): Use it.
29178         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29179         inside [SHARED], where it is used.
29181         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29183         * nss/getent.c (netgroup_keys): Remove unused variable.
29184         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29186 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
29188         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29189         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29190         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29191         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29192         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29193         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29194         * math/Makefile (libm-calls): Add s_isinf_ns.
29195         * math/divtc3.c: Use __isinf_nsl instead of isinf.
29196         * math/multc3.c: Likewise.
29197         * math/s_casin.c: Likewise.
29198         * math/s_casinf.c: Likewise.
29199         * math/s_casinl.c: Likewise.
29200         * math/s_ccos.c: Likewise.
29201         * math/s_ccosf.c: Likewise.
29202         * math/s_ccosl.c: Likewise.
29203         * math/s_ctan.c: Likewise.
29204         * math/s_ctanf.c: Likewise.
29205         * math/s_ctanh.c: Likewise.
29206         * math/s_ctanhf.c: Likewise.
29207         * math/s_ctanhl.c: Likewise.
29208         * math/s_ctanl.c: Likewise.
29209         * math/w_fmod.c: Likewise.
29210         * math/w_fmodf.c: Likewise.
29211         * math/w_fmodl.c: Likewise.
29212         * math/w_remainder.c: Likewise.
29213         * math/w_remainderf.c: Likewise.
29214         * math/w_remainderl.c: Likewise.
29215         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29216         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29217         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29218         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29219         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29220         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29221         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29222         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29224         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29225         of the number.
29226         * stdio-common/printf_fphex.c: Likewise.
29227         * stdio-common/printf_size.c: Likewise.
29229         * math/e_exp10.c: Include math_private.h using <...> not "...".
29230         * math/e_exp10f.c: Likewise.
29231         * math/e_exp10l.c: Likewise.
29232         * math/e_exp2l.c: Likewise.
29233         * math/e_j0l.c: Likewise.
29234         * math/e_j1l.c: Likewise.
29235         * math/e_jnl.c: Likewise.
29236         * math/e_lgammal_r.c: Likewise.
29237         * math/e_rem_pio2l.c: Likewise.
29238         * math/e_scalb.c: Likewise.
29239         * math/e_scalbf.c: Likewise.
29240         * math/e_scalbl.c: Likewise.
29241         * math/k_cosl.c: Likewise.
29242         * math/k_sinl.c: Likewise.
29243         * math/k_tanl.c: Likewise.
29244         * math/s_cacoshf.c: Likewise.
29245         * math/s_catan.c: Likewise.
29246         * math/s_catanf.c: Likewise.
29247         * math/s_catanh.c: Likewise.
29248         * math/s_catanhf.c: Likewise.
29249         * math/s_catanhl.c: Likewise.
29250         * math/s_catanl.c: Likewise.
29251         * math/s_ccosh.c: Likewise.
29252         * math/s_ccoshf.c: Likewise.
29253         * math/s_ccoshl.c: Likewise.
29254         * math/s_cexp.c: Likewise.
29255         * math/s_cexpf.c: Likewise.
29256         * math/s_cexpl.c: Likewise.
29257         * math/s_clog.c: Likewise.
29258         * math/s_clog10.c: Likewise.
29259         * math/s_clog10f.c: Likewise.
29260         * math/s_clog10l.c: Likewise.
29261         * math/s_clogf.c: Likewise.
29262         * math/s_clogl.c: Likewise.
29263         * math/s_csin.c: Likewise.
29264         * math/s_csinf.c: Likewise.
29265         * math/s_csinh.c: Likewise.
29266         * math/s_csinhf.c: Likewise.
29267         * math/s_csinhl.c: Likewise.
29268         * math/s_csinl.c: Likewise.
29269         * math/s_csqrt.c: Likewise.
29270         * math/s_csqrtf.c: Likewise.
29271         * math/s_csqrtl.c: Likewise.
29272         * math/s_ctan.c: Likewise.
29273         * math/s_ctanf.c: Likewise.
29274         * math/s_ctanh.c: Likewise.
29275         * math/s_ctanhf.c: Likewise.
29276         * math/s_ctanhl.c: Likewise.
29277         * math/s_ctanl.c: Likewise.
29278         * math/s_ldexp.c: Likewise.
29279         * math/s_ldexpf.c: Likewise.
29280         * math/s_ldexpl.c: Likewise.
29281         * math/s_significand.c: Likewise.
29282         * math/s_significandf.c: Likewise.
29283         * math/s_significandl.c: Likewise.
29284         * math/w_acos.c: Likewise.
29285         * math/w_acosf.c: Likewise.
29286         * math/w_acosh.c: Likewise.
29287         * math/w_acoshf.c: Likewise.
29288         * math/w_acoshl.c: Likewise.
29289         * math/w_acosl.c: Likewise.
29290         * math/w_asin.c: Likewise.
29291         * math/w_asinf.c: Likewise.
29292         * math/w_asinl.c: Likewise.
29293         * math/w_atan2.c: Likewise.
29294         * math/w_atan2f.c: Likewise.
29295         * math/w_atan2l.c: Likewise.
29296         * math/w_atanh.c: Likewise.
29297         * math/w_atanhf.c: Likewise.
29298         * math/w_atanhl.c: Likewise.
29299         * math/w_cosh.c: Likewise.
29300         * math/w_coshf.c: Likewise.
29301         * math/w_coshl.c: Likewise.
29302         * math/w_dremf.c: Likewise.
29303         * math/w_exp10.c: Likewise.
29304         * math/w_exp10f.c: Likewise.
29305         * math/w_exp10l.c: Likewise.
29306         * math/w_exp2.c: Likewise.
29307         * math/w_exp2f.c: Likewise.
29308         * math/w_fmod.c: Likewise.
29309         * math/w_fmodf.c: Likewise.
29310         * math/w_fmodl.c: Likewise.
29311         * math/w_hypot.c: Likewise.
29312         * math/w_hypotf.c: Likewise.
29313         * math/w_hypotl.c: Likewise.
29314         * math/w_j0.c: Likewise.
29315         * math/w_j0f.c: Likewise.
29316         * math/w_j0l.c: Likewise.
29317         * math/w_j1.c: Likewise.
29318         * math/w_j1f.c: Likewise.
29319         * math/w_j1l.c: Likewise.
29320         * math/w_jn.c: Likewise.
29321         * math/w_jnf.c: Likewise.
29322         * math/w_jnl.c: Likewise.
29323         * math/w_lgamma.c: Likewise.
29324         * math/w_lgamma_r.c: Likewise.
29325         * math/w_lgammaf.c: Likewise.
29326         * math/w_lgammaf_r.c: Likewise.
29327         * math/w_lgammal.c: Likewise.
29328         * math/w_lgammal_r.c: Likewise.
29329         * math/w_log.c: Likewise.
29330         * math/w_log10.c: Likewise.
29331         * math/w_log10f.c: Likewise.
29332         * math/w_log10l.c: Likewise.
29333         * math/w_log2.c: Likewise.
29334         * math/w_log2f.c: Likewise.
29335         * math/w_log2l.c: Likewise.
29336         * math/w_logf.c: Likewise.
29337         * math/w_logl.c: Likewise.
29338         * math/w_pow.c: Likewise.
29339         * math/w_powf.c: Likewise.
29340         * math/w_powl.c: Likewise.
29341         * math/w_remainder.c: Likewise.
29342         * math/w_remainderf.c: Likewise.
29343         * math/w_remainderl.c: Likewise.
29344         * math/w_scalb.c: Likewise.
29345         * math/w_scalbf.c: Likewise.
29346         * math/w_scalbl.c: Likewise.
29347         * math/w_sinh.c: Likewise.
29348         * math/w_sinhf.c: Likewise.
29349         * math/w_sinhl.c: Likewise.
29350         * math/w_sqrt.c: Likewise.
29351         * math/w_sqrtf.c: Likewise.
29352         * math/w_sqrtl.c: Likewise.
29353         * math/w_tgamma.c: Likewise.
29354         * math/w_tgammaf.c: Likewise.
29355         * math/w_tgammal.c: Likewise.
29357         * po/ja.po: Update from translation team.
29359 2011-09-29  Andreas Jaeger  <aj@suse.de>
29361         [BZ #13179]
29362         * sunrpc/netname.c (netname2host): Fix logic.
29364         [BZ #6779]
29365         [BZ #6783]
29366         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29367         correctly.
29368         * math/w_remainder.c (__remainder): Likewise.
29369         * math/w_remainderf.c (__remainderf): Likewise.
29370         * math/libm-test.inc (remainder_test): Add test cases.
29372 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29374         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
29375         sdiv_qrnnd.
29377 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29379         * string/test-memcmp.c: Avoid unncessary #defines.
29380         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29382 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29384         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29385         Use new sse2 version for core i3 - i7 as it's faster
29386         than sse42 version.
29387         (bit_Prefer_PMINUB_for_stringop): New.
29388         * sysdeps/x86_64/rawmemchr.S: Update.
29389         Replace with faster SSE2 version.
29390         * sysdeps/x86_64/memrchr.S: New file.
29391         * sysdeps/x86_64/memchr.S: Update.
29392         Replace with faster SSE2 version.
29394 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
29396         * elf/dl-load.c (lose): Add cast to avoid warning.
29398 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29400         * po/ca.po: Update from translation team.
29402         * inet/getnetgrent_r.c: Hook up nscd.
29403         * nscd/Makefile (routines): Add nscd_netgroup.
29404         (nscd-modules): Add netgroupcache.
29405         (CFLAGS-netgroupcache.c): Define.
29406         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29407         (cache_search): Add const to second parameter.
29408         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29409         INNETGR.
29410         (dbs): Add netgrdb entry.
29411         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29412         (verify_persistent_db): Handle netgrdb.
29413         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29414         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29415         GETFDNETGR.
29416         (netgroup_response_header): Define.
29417         (innetgroup_response_header): Define.
29418         (datahead): Add netgroup_response_header and innetgroup_response_header
29419         elements.
29420         * nscd/nscd.conf: Add entries for netgroup cache.
29421         * nscd/nscd.h (dbtype): Add netgrdb.
29422         (_PATH_NSCD_NETGROUP_DB): Define.
29423         (netgroup_iov_disabled): Declare.
29424         (xmalloc, xcalloc, xrealloc): Move declarations here.
29425         (cache_search): Adjust prototype.
29426         Add netgroup-related prototypes.
29427         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29428         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29429         (__nscd_innetgr): Declare.
29430         * nscd/selinux.c (perms): Use access_vector_t as element type and
29431         add netgroup-related initializers.
29432         * nscd/netgroupcache.c: New file.
29433         * nscd/nscd_netgroup.c: New file.
29434         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29435         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29436         For four parameters use innetgr.
29437         * nss/nss_files/files-init.c: Add definition and callback for netgr.
29438         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29439         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29440         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29442         * nscd/connections.c (register_traced_file): Don't register file
29443         for disabled databases.
29445 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
29447         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29449         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29450         from tree and freeing node.
29452 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
29454         * nss/nsswitch.c (__nss_database_lookup): Handle
29455         nss_parse_service_list out of memory case.
29457 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
29459         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29460         out of memory case.
29462 2011-10-04  Andreas Schwab  <schwab@redhat.com>
29464         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29465         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29466         pass it down.
29467         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29468         elf_machine_rela, elf_machine_lazy_rel.
29469         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29470         (ELF_DYNAMIC_DO_REL): Likewise.
29471         (ELF_DYNAMIC_DO_RELA): Likewise.
29472         (ELF_DYNAMIC_RELOCATE): Likewise.
29473         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29474         to ELF_DYNAMIC_DO_REL.
29475         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29476         (dl_main): In trace mode always set __RTLD_NOIFUNC.
29477         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29478         elf_machine_rela.
29479         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29480         skip_ifunc, don't call ifunc function if non-zero.
29481         (elf_machine_rela): Likewise.
29482         (elf_machine_lazy_rel): Likewise.
29483         (elf_machine_lazy_rela): Likewise.
29484         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29485         (elf_machine_lazy_rel): Likewise.
29486         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29487         Likewise.
29488         (elf_machine_lazy_rel): Likewise.
29489         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29490         Likewise.
29491         (elf_machine_lazy_rel): Likewise.
29492         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29493         (elf_machine_lazy_rel): Likewise.
29494         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29495         (elf_machine_lazy_rel): Likewise.
29496         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29497         (elf_machine_lazy_rel): Likewise.
29498         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29499         (elf_machine_lazy_rel): Likewise.
29500         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29501         (elf_machine_lazy_rel): Likewise.
29502         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29503         (elf_machine_lazy_rel): Likewise.
29505 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
29507         * nss/nss_files/files-init.c (_nss_files_init): Use static
29508         initialization for all the *_traced_file variables.
29510 2011-09-28  Andreas Schwab  <schwab@redhat.com>
29512         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29514 2011-09-27  Roland McGrath  <roland@hack.frob.com>
29516         [BZ #13226]
29517         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29519 2011-09-27  Andreas Schwab  <schwab@redhat.com>
29521         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29522         Reread the line before reparsing it.
29524 2011-09-26  Andreas Schwab  <schwab@redhat.com>
29526         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29528 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
29529             Maxim Kuvyrkov  <maxim@codesourcery.com>
29530             Joseph Myers  <joseph@codesourcery.com>
29532         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29533         if needed for __stack_chk_guard.
29535 2011-09-19  Roland McGrath  <roland@hack.frob.com>
29537         * sysdeps/posix/spawni.c (script_execute): Always define it.
29538         It will be optimized away if unused.
29539         (maybe_script_execute): New function.
29540         (__spawni): Call it.
29542         * Makerules: Don't include tls.make.
29543         (config-tls): Always set to thread.
29544         * tls.make.c: File removed.
29546 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
29548         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29549         * config.make.in (CPPFLAGS-config): New substituted variable.
29551 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29553         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29555         [BZ #13192]
29556         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29557         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29559 2011-09-15  Roland McGrath  <roland@hack.frob.com>
29561         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29562         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29563         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29564         (CALL_FAIL): Likewise.
29565         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29566         (CALL_FAIL): Macro removed.
29567         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29569 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29571         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29572         for __FINITE_MATH_ONLY__ == 1.
29574 2011-09-15  Andreas Schwab  <schwab@redhat.com>
29576         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29577         __ieee754_sqrt instead of sqrt.
29578         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29579         __ieee754_sqrtf instead of sqrtf.
29580         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29581         __floorf instead of floorf.
29582         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29583         __floorf, __truncf instead of floorf, truncf.
29585 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
29587         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29589         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29590         __extern_always_inline.
29591         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29592         32-bit.
29594 2011-09-14  Andreas Schwab  <schwab@redhat.com>
29596         * elf/rtld.c (dl_main): Also relocate in dependency order when
29597         doing symbol dependency testing.
29599 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
29601         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29602         Always define `refsym'.
29604 2011-09-13  Andreas Schwab  <schwab@redhat.com>
29606         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29607         (__FD_ELT): Renamed from __FDELT.
29608         * misc/bits/select2.h (__FD_ELT): Likewise.
29609         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29610         __FD_MASK instead of __FDELT, __FDMASK.
29611         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29612         Likewise.
29613         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29614         Likewise.
29616         * elf/Makefile (gen-ldd): Fix pattern.
29618         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29619         (init_tls): Likewise.
29621 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
29623         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29625 2011-09-12  Andreas Schwab  <schwab@redhat.com>
29627         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29628         `struct cmsghdr *' instead of `void *'.
29629         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29630         Likewise.
29632 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
29634         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29635         if non-absolute.
29636         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29637         ldd_rewrite_script.
29639 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
29641         * configure.in: Remove --with-tls option.
29642         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29643         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29644         out in case it is missing.
29645         * sysdeps/ia64/elf/configure.in: Likewise.
29646         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29647         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29648         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29649         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29650         * sysdeps/sh/elf/configure.in: Likewise.
29651         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29652         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29653         * sysdeps/x86_64/elf/configure.in: Likewise.
29654         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29655         * sysdeps/mach/hurd/tls.h: Likewise.
29657         [BZ #13067]
29658         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29660         [BZ #13090]
29661         * configure.in: Fix use of AC_INIT.
29663         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29665 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
29667         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29668         __set_errno.
29669         * malloc/hooks.c: Likewise.
29671         [BZ #11929]
29672         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
29673         variables statically.
29674         (narenas): Initialize.
29675         (list_lock): Initialize.
29676         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
29677         initializtion of main_arena and list_lock.  Small cleanups.
29678         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29679         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
29680         Add initializers to main_arena and mp_.
29681         (malloc_state): Remove pagesize member.  Change all users to use
29682         GLRO(dl_pagesize).
29684         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29685         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
29686         is always initialized.
29688         * malloc/malloc.c: Removed unused configurations and dead code.
29689         * malloc/arena.c: Likewise.
29690         * malloc/hooks.c: Likewise.
29691         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29693         * include/tls.h: Removed.  USE___THREAD must always be defined.
29694         * bits/libc-tsd.h: Don't handle !USE___THREAD.
29695         * elf/dl-libc.c: Likewise.
29696         * elf/dl-tsd.c: Likewise.
29697         * include/errno.h: Likewise.
29698         * include/netdb.h: Likewise.
29699         * include/resolv.h: Likewise.
29700         * inet/herrno-loc.c: Likewise.
29701         * inet/herrno.c: Likewise.
29702         * malloc/arena.c: Likewise.
29703         * malloc/hooks.c: Likewise.
29704         * malloc/malloc.c: Likewise.
29705         * resolv/res-state.c: Likewise.
29706         * resolv/res_libc.c: Likewise.
29707         * sysdeps/i386/dl-machine.h: Likewise.
29708         * sysdeps/ia64/dl-machine.h: Likewise.
29709         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29710         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29711         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29712         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29713         * sysdeps/sh/dl-machine.h: Likewise.
29714         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29715         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29716         * sysdeps/unix/i386/sysdep.S: Likewise.
29717         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29718         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29719         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29720         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29721         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29722         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29723         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29724         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29725         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29726         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29727         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29728         * sysdeps/x86_64/dl-machine.h: Likewise.
29729         * tls.make.c: Likewise.
29731         * configure.in: Remove --with-__thread option.  Make tests for
29732         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29733         tls_model attribute fail if no support is available.  Remove
29734         USE_IN_LIBIO.
29735         * Makeconfig: Adjust for dropped configure option.  All features are
29736         now mandatory.
29737         * Makerules: Likewise.
29738         * Versions.def: Likewise.
29739         * argp/argp-fmtstream.c: Likewise.
29740         * argp/argp-fmtstream.h: Likewise.
29741         * argp/argp-help.c: Likewise.
29742         * assert/assert.c: Likewise.
29743         * config.h.in: Likewise.
29744         * config.make.in: Likewise.
29745         * configure: Likewise.
29746         * configure.in: Likewise.
29747         * csu/Versions: Likewise.
29748         * csu/init.c: Likewise.
29749         * elf/tst-audit2.c: Likewise.
29750         * elf/tst-tls10.c: Likewise.
29751         * elf/tst-tls10.h: Likewise.
29752         * elf/tst-tls11.c: Likewise.
29753         * elf/tst-tls12.c: Likewise.
29754         * elf/tst-tls14.c: Likewise.
29755         * elf/tst-tlsmod11.c: Likewise.
29756         * elf/tst-tlsmod12.c: Likewise.
29757         * elf/tst-tlsmod13.c: Likewise.
29758         * elf/tst-tlsmod13a.c: Likewise.
29759         * elf/tst-tlsmod14a.c: Likewise.
29760         * elf/tst-tlsmod15b.c: Likewise.
29761         * elf/tst-tlsmod16a.c: Likewise.
29762         * elf/tst-tlsmod16b.c: Likewise.
29763         * elf/tst-tlsmod7.c: Likewise.
29764         * elf/tst-tlsmod8.c: Likewise.
29765         * elf/tst-tlsmod9.c: Likewise.
29766         * gmon/gmon.c: Likewise.
29767         * grp/fgetgrent_r.c: Likewise.
29768         * grp/putgrent.c: Likewise.
29769         * hurd/fopenport.c: Likewise.
29770         * include/libc-symbols.h: Likewise.
29771         * include/tls.h: Likewise.
29772         * intl/gettextP.h: Likewise.
29773         * intl/loadinfo.h: Likewise.
29774         * locale/global-locale.c: Likewise.
29775         * locale/localeinfo.h: Likewise.
29776         * mach/devstream.c: Likewise.
29777         * malloc/arena.c: Likewise.
29778         * malloc/set-freeres.c: Likewise.
29779         * misc/err.c: Likewise.
29780         * misc/getttyent.c: Likewise.
29781         * misc/mntent_r.c: Likewise.
29782         * posix/getopt.c: Likewise.
29783         * posix/wordexp.c: Likewise.
29784         * pwd/fgetpwent_r.c: Likewise.
29785         * resolv/Versions: Likewise.
29786         * resolv/res_hconf.c: Likewise.
29787         * shadow/fgetspent_r.c: Likewise.
29788         * shadow/putspent.c: Likewise.
29789         * stdio-common/printf_fphex.c: Likewise.
29790         * stdio-common/tmpfile.c: Likewise.
29791         * stdlib/abort.c: Likewise.
29792         * stdlib/fmtmsg.c: Likewise.
29793         * sunrpc/auth_unix.c: Likewise.
29794         * sunrpc/clnt_perr.c: Likewise.
29795         * sunrpc/clnt_tcp.c: Likewise.
29796         * sunrpc/clnt_udp.c: Likewise.
29797         * sunrpc/clnt_unix.c: Likewise.
29798         * sunrpc/openchild.c: Likewise.
29799         * sunrpc/svc_simple.c: Likewise.
29800         * sunrpc/svc_tcp.c: Likewise.
29801         * sunrpc/svc_udp.c: Likewise.
29802         * sunrpc/svc_unix.c: Likewise.
29803         * sunrpc/xdr.c: Likewise.
29804         * sunrpc/xdr_array.c: Likewise.
29805         * sunrpc/xdr_rec.c: Likewise.
29806         * sunrpc/xdr_ref.c: Likewise.
29807         * sunrpc/xdr_stdio.c: Likewise.
29809 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29811         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29813 2011-07-03  Andreas Jaeger  <aj@suse.de>
29815         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29816         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29817         regenerate with gen-libm-tests.pl.
29819 2010-05-12  Petr Baudis  <pasky@suse.cz>
29821         [BZ #11589]
29822         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29823         around j0() zero points by switching to j1().
29824         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29825         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29826         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29827         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29829 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29831         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29832         instead of 0.
29833         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29834         instead of 0.
29835         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29836         Patch in part by Pavel Roskin <proski@gnu.org>.
29838         [BZ #13138]
29839         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29840         realloc.
29841         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
29842         Free memory block if necessary.
29844         [BZ #12847]
29845         * libio/genops.c (INTDEF): For string streams the _lock pointer can
29846         be NULL.  Don't lock in this case.
29848 2011-09-09  Roland McGrath  <roland@hack.frob.com>
29850         * elf/elf.h (ELFOSABI_GNU): New macro.
29851         (ELFOSABI_LINUX): Define to that.
29853 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
29855         * string/strncat.c (strncat): Undef the symbol in case it has been
29856         defined in bits/string.h.
29858 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29860         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29862         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29863         link map.
29865 2011-08-17  Andreas Jaeger  <aj@suse.de>
29867         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29869 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29870             Ian Lance Taylor  <iant@google.com>
29872         * math/libm-test.inc (lround_test): New testcase.
29873         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29875 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
29877         * Makefile: Remove support for automatic cvs check-ins.
29878         * Makerules: Likewise.
29879         * config.make.in: Likewise.
29880         * configure.in: Likewise.
29881         * intl/Makefile: Likewise.
29882         * locale/Makefile: Likewise.
29883         * po/Makefile: Likewise.
29884         * posix/Makefile: Likewise.
29885         * sysdeps/gnu/Makefile: Likewise.
29886         * sysdeps/mach/hurd/Makefile: Likewise.
29887         * sysdeps/sparc/sparc32/Makefile: Likewise.
29889         [BZ #13118]
29890         * posix/Makefile (bug-regex32-ENV): Define.
29891         Patch by John Stanley <jpsinthemix@verizon.net>.
29893         * misc/Makefile (headers): Add bits/select2.h.
29894         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29895         * misc/bits/select2.h: New file.
29896         * include/bits/select2.h: New file.
29897         * debug/Makefile (routines): Add fdelt_chk.
29898         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29899         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29900         FD_ISSET.
29901         * debug/fdelt_chk.c: New file.
29903         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
29904         * wcsmbs/test-wmemcmp.c: Likewise.
29905         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29906         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29908 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29910         * string/Makefile (strop-tests): Add memcmp.
29911         * string/test-wmemcmp.c: New file.
29912         * string/test-memcmp.c: Add wmemcmp support.
29914 2011-09-08  Roland McGrath  <roland@hack.frob.com>
29916         [BZ #13153]
29917         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29918         2011-07-19 change.
29920         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29921         garbage value in a __mach_port_mod_refs call in the cases of the
29922         task-self and thread-self ports.
29924 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29926         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29928 2011-09-08  Andreas Schwab  <schwab@redhat.com>
29930         * elf/dl-load.c (lose): Check for non-null L.
29932 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29934         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29936         * elf/dl-libc.c (dlerror_run): Pass back error code from
29937         dl_catch_error.
29939         [BZ #13123]
29940         * elf/dl-load.c (lose): Free l_origin if it is valid.
29942         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29943         names.
29944         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29945         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29946         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29947         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29948         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29949         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29951 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29953         * sysdeps/powerpc/fpu/e_hypot.c: New file.
29954         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29955         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29956         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29957         * sysdeps/powerpc/fpu/k_cosf.c: New file.
29958         * sysdeps/powerpc/fpu/k_sinf.c: New file.
29959         * sysdeps/powerpc/fpu/s_cosf.c: New file.
29960         * sysdeps/powerpc/fpu/s_sinf.c: New file.
29961         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29962         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29964 2011-08-15  Alan Modra  <amodra@gmail.com>
29966         [BZ #13092]
29967         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29968         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29969         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
29970         ppc_mcount to static-only-routines.
29971         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29972         __mcount_internal.
29973         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29974         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
29976 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
29978         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29979         for finite and infinity parameters.
29981 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29983         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29984         and add nop instructions for throughput optimization.
29985         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29987 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
29989         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29990         aligned copy for power7 with vector-scalar instructions.
29991         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29993 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
29995         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29996         AVX check.
29998 2011-09-07  Andreas Schwab  <schwab@redhat.com>
30000         [BZ #13144]
30001         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30002         last change.
30004 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30006         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30007         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30008         syscall wrapper around clock_gettime in __vdso_clock_gettime.
30009         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30010         clock_gettime.
30012 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30014         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30015         Forgot to demangle the pointer.
30017         * sysdeps/i386/sysdep.h: Define atom_text_section.
30018         * sysdeps/x86_64/sysdep.h: Likewise.
30019         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30020         section with atom_text_section.
30021         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30022         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30023         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30024         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30025         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30027         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30028         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30029         already be defined.  Change to take two parameters and don't assign
30030         result to variable.  Adjust all users.
30031         Define INTERNAL_GETTIME if not already defined.
30032         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30033         call.
30034         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30035         HAVE_CLOCK_GETTIME_VSYSCALL.
30036         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30038         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30039         gettimeofday vsyscall, just use time.
30041 2011-09-06  Andreas Schwab  <schwab@redhat.com>
30043         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30044         <errno.h>.
30046 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30048         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30049         syscall on x86-64.
30050         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30051         syscall.
30052         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30053         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30054         syscall if possible.
30056 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30058         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30059         e_ident.  Don't pass to find_mapsXX.
30060         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30062 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30064         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30065         strchr-sse2-no-bsf strrchr-sse2-no-bsf
30066         * sysdeps/x86_64/multiarch/strchr.S: Update.
30067         Check bit_slow_BSF bit.
30068         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30069         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30070         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30072 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30074         [BZ #13134]
30075         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30076         before glibc 2.15.
30077         (tryshell): Define.
30078         (__spawni): Change last parameter to be flag.  Test
30079         SPAWN_XFLAGS_USE_PATH flag to use path or not.
30080         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30081         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30082         * posix/spawni.c: Likewise.
30083         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30084         * posix/spawnp.c: Likewise.  Change normal version to use
30085         SPAWN_XFLAGS_USE_PATH.
30086         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30087         SPAWN_XFLAGS_TRY_SHELL.
30089         [BZ #13150]
30090         * posix/glob.h: Remove gcc 1.x support.
30092         [BZ #13068]
30093         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30095 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30097         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30098         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30099         strrchr-sse2-bsf
30100         * sysdeps/i386/i686/multiarch/strchr.S: New file.
30101         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30102         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30103         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30104         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30105         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30107 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30109         * sysdeps/x86_64/wcscmp.S: New file.
30111         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30112         wcscmp-c wcscmp-sse2
30113         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30114         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30115         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30116         * wcsmbs/wcscmp.c: Allow renaming.
30118 2011-09-05  David S. Miller  <davem@davemloft.net>
30120         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30121         stack slot, rather than the struct return pointer slot.
30122         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30123         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30125         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30127 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30129         * po/ja.po: Update from translation team.
30131         [BZ #13144]
30132         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30133         kernel in 64-bit binaries.
30135 2011-09-01  David S. Miller  <davem@davemloft.net>
30137         * elf/elf.h (HWCAP_SPARC_*): Move to..
30138         * sysdeps/sparc/sysdep.h: this new file and add new values.
30139         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30140         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30141         _DL_HWCAP_COUNT to 24.
30142         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30143         entries.
30144         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30145         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30146         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30147         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30148         instead of magic constants.
30149         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30151 2011-08-31  David S. Miller  <davem@davemloft.net>
30153         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30154         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30155         Reimplement to do errno handling inline.
30156         (SYSCALL_ERROR_HANDLER): New macro.
30157         (__SYSCALL_STRING): Do not do errno handling in asm.
30158         (__CLONE_SYSCALL_STRING): Delete.
30159         (__INTERNAL_SYSCALL_STRING): Delete.
30160         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30161         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30162         (PSEUDO): Reimplement to do errno handling inline.
30163         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30164         (SYSCALL_ERROR_HANDLER): New macro.
30165         (__SYSCALL_STRING): Do not do errno handling in asm.
30166         (__CLONE_SYSCALL_STRING): Delete.
30167         (__INTERNAL_SYSCALL_STRING): Delete.
30168         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30169         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30170         i386.
30171         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30172         (inline_syscall*): Add 'err' argument.
30173         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30174         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30175         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30176         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30178         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30179         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30181 2011-08-30  Andreas Schwab  <schwab@redhat.com>
30183         * elf/rtld.c (dl_main): Relocate objects in dependency order.
30185 2011-08-29  Jiri Olsa <jolsa@redhat.com>
30187         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30188         directive.
30190 2011-08-24  David S. Miller  <davem@davemloft.net>
30192         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30194 2011-08-24  Andreas Schwab  <schwab@redhat.com>
30196         * elf/Makefile: Add rules to build and run unload8 test.
30197         * elf/unload8.c: New file.
30198         * elf/unload8mod1.c: New file.
30199         * elf/unload8mod1x.c: New file.
30200         * elf/unload8mod2.c: New file.
30201         * elf/unload8mod3.c: New file.
30203         * elf/dl-close.c (_dl_close_worker): Reset private search list if
30204         it wasn't used.
30206 2011-08-23  David S. Miller  <davem@davemloft.net>
30208         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30209         subtract stack bias.
30210         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30211         %sp not %fp in calculations.
30212         (_JMPBUF_UNWINDS_ADJ): Likewise.
30214         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30215         (aio_suspend): Call it to force an exception region around the
30216         AIO_MISC_WAIT() invocation.
30218 2011-08-23  Andreas Schwab  <schwab@redhat.com>
30220         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30221         backslash.
30223 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
30225         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30226         protection macro.
30227         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30228         and <dl-machine.h>.
30229         (Elf64_FuncDesc): Remove.
30231 2011-08-22  David S. Miller  <davem@davemloft.net>
30233         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30234         sigaltstack check, add missing cfi directives.
30235         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30236         missing cfi directives, and sigaltstack handling.
30238 2011-08-16  Andreas Schwab  <schwab@redhat.com>
30240         [BZ #11724]
30241         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30242         object is seen twice.
30243         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30245         * elf/Makefile (distribute): Add tst-initorder2.c.
30246         (tests): Add tst-initorder2.
30247         (modules-names): Add tst-initorder2a tst-initorder2b
30248         tst-initorder2c tst-initorder2d.  Add rules to build them.
30249         ($(objpfx)tst-initorder2.out): New rule.
30250         * elf/tst-initorder2.c: New file.
30251         * elf/tst-initorder2.exp: New file.
30253 2011-08-22  Andreas Schwab  <schwab@redhat.com>
30255         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30257         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30258         dependencies back to end of function.
30260         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30261         $(elfobjdir)/ld.so.
30263 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
30265         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30266         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30267         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30268         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30269         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30270         of __vdso_gettimeofday.
30271         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30272         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
30273         attribute_hidden.
30274         (_libc_vdso_platform_setup): Remove initialization of
30275         __vdso_gettimeofday and __vdso_time.
30277 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30279         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30280         and fgetc_unlocked.
30281         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30282         getc_unlocked.
30284         * elf/dl-open.c (add_to_global): Report additions to the global scope
30285         for LD_DEBUG=scopes.
30286         (dl_open_worker): Also print scope of newly loaded dependencies.
30287         (_dl_show_scope): Indicate if there is no scope.
30289         [BZ #13114]
30290         * stdio-common/Makefile (tests): Add bug24.
30291         * stdio-common/bug24.c: New file.
30293 2011-08-19  Andreas Jaeger  <aj@suse.de>
30295         [BZ #13114]
30296         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30297         non-existant file when using close-on-exec mode.
30299 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30301         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30302         the very first instruction.
30304         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30305         the CFI state in the end.
30306         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30307         inclusion of dl-trampoline.h.
30308         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30310 2011-08-19  Andreas Schwab  <schwab@redhat.com>
30312         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30313         expectations for long double.
30315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30316         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30318 2011-08-14  David S. Miller  <davem@davemloft.net>
30320         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30321         artificual limit depends upon the system page size.
30323 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
30325         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30326         * resolv/Makefile: Define CFLAGS-libresolv.
30328 2011-08-17  Andreas Schwab  <schwab@redhat.com>
30330         * nss/makedb.c (compute_tables): Make variables used in nested
30331         function static.
30333 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
30335         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30336         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30337         if buffer was too small.
30339         * elf/pldd.c (main): Attach to all threads in the process.
30340         Rewrite /proc handling to use *at functions.
30342 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
30344         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30345         specifies first scope to show.
30346         (dl_open_worker): Update callers.  Move printing scope of new
30347         object to before the relocation.
30348         * elf/rtld.c (dl_main): Update _dl_show_scope call.
30349         * sysdeps/generic/ldsodefs.h: Update declaration.
30351         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30352         string for the scope number.
30354 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
30356         * nscd/servicescache.c (cache_addserv): Make sure written is always
30357         initialized.
30359 2011-08-14  Roland McGrath  <roland@hack.frob.com>
30361         * sysdeps/i386/i486/bits/atomic.h
30362         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30363         statement expression, so as to suppress "set but not used" warning.
30364         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30366         * string/strncat.c (STRNCAT): Use prototype definition.
30368         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30369         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30370         -Iprograms here.
30371         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30372         (localedef-modules): Add localedef.
30373         (locale-modules): Add locale.
30375         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30376         * elf/rtld.c (dl_main): Invert order of assignment in last change,
30377         to avoid a warning.
30379 2011-08-14  David S. Miller  <davem@davemloft.net>
30381         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30382         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30384 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
30386         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30387         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30388         * elf/rtld.c (dl_main): Set l_name of vDSO.
30389         Call _dl_show_scope when DL_DEBUG_SCOPES.
30390         (process_dl_debug): Recognize scopes flag and also set it for all.
30391         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30392         Declare _dl_show_scope.
30394         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30395         (do_dlopen): Pass caller_dlopen to dl_open.
30396         (__libc_dlopen_mode): Initialize caller_dlopen.
30398         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30399         of libc.  Make tolower call locale-independent.  Optimize a bit by
30400         using isdigit instead of isalnum.
30401         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30403 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
30405         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30406         was a dependency or dynamically loaded.
30408 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
30410         * intl/l10nflist.c: Allow architecture-specific pop function.
30411         * sysdeps/x86_64/l10nflist.c: New file.
30413         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30414         classification.
30416 2011-08-10  Andreas Schwab  <schwab@redhat.com>
30418         * include/dirent.h: Add libc_hidden_proto for scandirat and
30419         scandirat64.  Don't declare __scandirat64.
30420         * dirent/scandirat.c: Add libc_hidden_def.
30421         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30422         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30424 2011-08-10  David S. Miller  <davem@davemloft.net>
30426         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30427         enum.
30428         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30429         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30430         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30432 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
30434         * Versions.def [libc]: Add GLIBC_2.15.
30435         * dirent/Makefile (routines): Add scandirat and scandirat64.
30436         * dirent/Versions [libc]: Export scandirat and scandirat64 for
30437         GLIBC_2.15.
30438         * dirent/dirent.h: Declare scandirat and scandirat64.
30439         * dirent/scandirat.c: New file.
30440         * dirent/scandirat64.c: New file.
30441         * sysdeps/wordsize-64/scandirat.c: New file.
30442         * sysdeps/wordsize-64/scandirat64.c: New file.
30443         * dirent/opendir.c: Define opendirat.
30444         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
30445         using scandirat.
30446         * dirent/scandir64.c: Adjust for scandir.c change.
30447         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
30448         __scandirat64, and __scandir_cancel_handler.
30449         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
30450         additional parameter and use openat instead of open (outside of ld.so).
30451         Add new __opendir as wrapper around __opendirat.
30452         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30453         here without requiring old scandirat implementation.
30455 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
30457         * dirent/scandir.c (cancel_handler): Renamed to
30458         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
30459         defined.  Adjust users.
30460         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30461         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30463 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
30465         * string/test-string.h (IMPL): Use __STRING to expand name and then
30466         stringify it.
30468         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
30469         of cleanups.
30471 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30473         * string/Makefile: Update.
30474         (strop-tests): Append strncat.
30475         * string/test-wcscmp.c: New file.
30476         New comprehensive test for wcscmp.
30477         * string/test-strcmp.c: Update.
30478         (WIDE): New define.
30480 2011-07-22  Andreas Schwab  <schwab@redhat.com>
30482         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30483         line.
30485 2011-07-26  Andreas Schwab  <schwab@redhat.com>
30487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30488         encoding to ACE if AI_IDN.
30490 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
30492         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30493         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30495 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30497         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30498         Fix overflow bug in strncat.
30499         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30501         * string/test-strncat.c: Update.
30502         Add new tests for checking overflow bugs.
30504 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30506         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30507         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30508         * sysdeps/i386/i686/multiarch/strcat.S: New file.
30509         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30510         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30511         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30512         * sysdeps/i386/i686/multiarch/strncat.S: New file.
30513         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30514         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30516         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30517         (USE_AS_STRCAT): Define.
30518         Add strcat and strncat support.
30519         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30521 2011-07-25  Andreas Schwab  <schwab@redhat.com>
30523         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30524         __n bigger than INT_MAX+1.
30525         (__strncmp_g): Likewise.
30527 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
30529         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30530         * libio/stido.h: Likewise.
30532         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30533         (AF_NFC): Define.
30534         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30535         (AF_NFC): Define.
30537         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30538         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30539         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30540         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30541         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30543         [BZ #13021]
30544         * scripts/test-installation.pl: Don't expect libnss_test1 to be
30545         installed.
30547         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30548         typo.
30549         (_dl_x86_64_save_sse): Likewise.
30551 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
30553         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30554         OSXSAVE.
30555         (_dl_x86_64_save_sse): Likewise.
30557         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30559         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30561 2011-07-21  Andreas Schwab  <schwab@redhat.com>
30563         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30564         change.
30565         (_dl_x86_64_save_sse): Use correct AVX check.
30567 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30569         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30570         bug in strncpy/strncat.
30571         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30573 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
30575         * string/tester.c (test_strcat): Add tests for different alignments
30576         of source and destination.
30577         (test_strncat): Likewise.
30579 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
30581         [BZ #12852]
30582         * posix/glob.c (glob): Check passed in values before using them in
30583         expressions to avoid some overflows.
30584         (glob_in_dir): Likewise.
30586         [BZ #13007]
30587         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30588         check for AVX enablement so that we don't crash with old kernels and
30589         new hardware.
30590         * elf/tst-audit4.c: Add same checks here.
30591         * elf/tst-audit6.c: Likewise.
30593         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30595 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
30597         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30599 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
30601         * po/cs.po: Update from translation team.
30602         * po/bg.po: Likewise.
30604 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
30606         * misc/sys/cdefs.h: Add support for const attribute.
30607         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30608         to gnu_dev_{major,minor,makedev} functions.
30610 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
30612         * intl/dcigettext.c (get_output_charset): Add missing bracket.
30614 2011-07-20  Andreas Schwab  <schwab@redhat.com>
30616         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30617         strlen results.
30619 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30621         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30622         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30623         register in order to avoid conflicts with the soft frame pointer
30624         being held in r11 when necessary.
30625         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30626         (INTERNAL_VSYSCALL_NCS): Likewise.
30628 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
30630         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30631         * elf/dl-fini.c (_dl_fini): Adjust caller.
30632         * elf/dl-close.c (_dl_close_worker): Likewise.
30633         * sysdeps/generic/ldsodefs.h: Adjust declaration.
30635 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
30637         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30638         "aux_cache->nlibs < 0".
30640         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30641         in the reload-count case.
30643 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30645         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30646         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30647         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30648         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30649         * sysdeps/x86_64/multiarch/strcat.S: New file.
30650         * sysdeps/x86_64/multiarch/strncat.S: New file.
30651         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30652         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30653         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30654         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30655         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30656         (USE_AS_STRCAT): Define.
30657         Add strcat and strncat support.
30658         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30659         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30660         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30661         * string/strncat.c: Update.
30662         (USE_AS_STRNCAT): Define.
30663         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30664         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30665         and i7.
30666         * sysdeps/x86_64/multiarch/init-arch.h
30667         (bit_Prefer_PMINUB_for_stringop): New.
30668         (index_Prefer_PMINUB_for_stringop): Likewise.
30669         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30670         bit_Prefer_PMINUB_for_stringop.
30672 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
30674         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30675         buffer64.
30676         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30677         of casting of buffer.
30678         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30679         buffer32 and buffer64.
30680         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30681         writes instead of casting of buffer.
30682         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30683         buffer32.
30684         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30685         casting of buffer.
30687 2011-07-19  Andreas Schwab  <schwab@redhat.com>
30689         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30691 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
30693         * nscd/nscd.c (termination_handler): Don't do anything for a database
30694         if it has not yet been initialized.
30696 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
30698         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30700 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
30702         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30704 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
30706         * po/nl.po: Update from translation team.
30707         * po/sv.po: Likewise.
30709 2011-07-16  Roland McGrath  <roland@hack.frob.com>
30711         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30712         now disallowed by GCC.
30714         * configure.in (use-default-link): Default to yes if a test -shared
30715         link meets our qualifications.
30716         * configure: Regenerated.
30718         * config.make.in (output-format): New variable.
30719         * configure.in: Check for ld --print-output-format support.
30720         * configure: Regenerated.
30721         * Makerules ($(common-objpfx)format.lds)
30722         [$(output-format) != unknown]: Just use $(output-format),
30723         instead of the linker-script munging.
30725 2011-07-14  Roland McGrath  <roland@hack.frob.com>
30727         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30728         of $(common-objpfx)shlib.lds.
30729         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30731         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30732         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30734         * configure.in (-z relro check): Adjust test code to add a large
30735         writable data section after it.
30736         * configure: Regenerated.
30738 2011-07-11  Roland McGrath  <roland@hack.frob.com>
30740         * configure.in (-z relro check): Fix test code to make the variable
30741         truly const.
30742         * configure: Regenerated.
30744 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
30746         * nscd/nscd.h (struct traced_file): Define.
30747         (struct database_dyn): Remove inotify_descr, reset_res, and filename
30748         elements.  Add traced_files.
30749         (inotify_fd): Declare.
30750         (register_traced_file): Declare.
30751         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30752         (inotify_fd): Export.
30753         (resolv_conf_descr): Remove.
30754         (nscd_init): Move inotify descriptor creation to main.
30755         Don't register files for notification here.
30756         (register_traced_file): New function.
30757         (invalidate_cache): Don't use reset_res to determine whether to call
30758         res_init, go through the list of registered files.
30759         (main_loop_poll): The inotify descriptors are now stored in the
30760         structures for the traced files.
30761         (main_loop_epoll): Likewise
30762         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
30763         to __nss_disable_nscd.
30764         * nscd/cache.c (prune_cache): There is no single inotify descriptor
30765         for a database anymore.  Check the records for all the registered
30766         files instead.
30767         * nss/Makefile (libnss_files-routines): Add files-init.
30768         (libnss_db-routines): Add db-init.
30769         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30770         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30771         * nss/nss_db/db-init.c: New file.
30772         * nss/nss_files/files-init.c: New file.
30773         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
30774         __nss_lookup_function.
30775         (__nss_lookup_function): Call nss_load_library.
30776         (nss_load_all_libraries): New function.
30777         (__nss_disable_nscd): Take parameter with callback function for files
30778         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
30779         used for the cached services.
30780         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30781         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30782         options for features to all the files in nscd.
30784         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30786 2011-07-10  Roland McGrath  <roland@hack.frob.com>
30788         * csu/elf-init.c (__libc_csu_init): Comment typo.
30790 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
30792         * po/pl.po: Update from translation team.
30793         * po/ja.po: Likewise.
30794         * po/ru.po: Likewise.
30795         * po/ko.po: Likewise.
30796         * po/fr.po: Likewise.
30798 2011-07-09  Roland McGrath  <roland@hack.frob.com>
30800         * configure.in (.ctors/.dtors header and trailer check):
30801         Use an empirical test on a built program.
30802         * configure: Regenerated.
30804         * configure.in (-z relro check): Use an empirical test on a built DSO.
30805         Detect, but do not require, on ia64.
30806         * configure: Regenerated.
30808         * configure.in (READELF): Find it with AC_CHECK_TOOL.
30809         Update tests that use readelf to use $READELF instead.
30810         * configure: Regenerated.
30812 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
30814         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30815         if the result is not used.
30817 2011-07-05  Andreas Jaeger  <aj@suse.de>
30819         [BZ#9696]
30820         * stdlib/tst-strtod.c: Add testcase.
30822 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
30824         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30825         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30826         The latter has a higher limit.  Take additional parameter to pass to
30827         the new function.
30828         (__pathconf): Pass file to __statfs_link_max.
30829         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30830         __statfs_link_max.
30831         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30832         __statfs_link_max.
30834         [BZ #12868]
30835         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30836         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30837         Handle Lustre.
30838         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30839         (__statfs_filesize_max): Likewise.
30840         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30842 2011-07-05  Andreas Jaeger  <aj@suse.de>
30844         * resolv/res_comp.c (dn_skipname): Remove unused variable.
30846 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
30848         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30849         `status' variable.
30850         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30851         Likewise.
30853 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
30855         * Makefile (strop-tests): Add strncat.
30856         * string/test-strncat.c: New file.
30858 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
30860         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30862 2011-06-21  Andreas Jaeger  <aj@suse.de>
30864         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30865         Copy rule from iconvdata/Makefile.
30867 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30869         [BZ #12922]
30870         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30871         but no long options are defined, just return 'W'.
30873 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
30875         [BZ #9696]
30876         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30878 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30880         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30881         netgroups to read.
30882         (innetgr): Likewise.
30884 2011-07-05  Roland McGrath  <roland@hack.frob.com>
30886         * config.make.in (install_root): Default to $(DESTDIR).
30888 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
30890         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30892 2011-07-02  Roland McGrath  <roland@hack.frob.com>
30894         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30896         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30897         containing directory rather than embedding absolute directory names.
30899         * scripts/check-local-headers.sh: Rewritten using awk.
30900         Match by word, not by line.  Print error messages for matches.
30901         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30903         * Makerules [shlib-lds-flags empty]:
30904         ($(common-objpfx)libc_pic.opts): New target.
30905         ($(common-objpfx)libc_pic.os.clean): New target.
30906         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30908         * config.make.in (OBJCOPY): New variable.
30909         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30910         * configure: Regenerated.
30912         * config.make.in (use-default-link): New variable.
30913         * configure.in (use_default_link): Grok --with-default-link to set it.
30914         * configure: Regenerated.
30915         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30916         (shlib-lds, shlib-lds-flags): Define to empty.
30918         * Makerules (shlib-lds): New variable.
30919         (shlib-lds-flags): New variable.
30920         (build-shlib, build-moduile, build-module-asneeded): Use it.
30921         ($(common-objpfx)libc.so): Use $(shlib-lds).
30922         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30923         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30925         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30926         DT_FLAGS/DT_FLAGS_1 with zero flags.
30928         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30929         linker script munging.
30931 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
30933         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30934         as 128-bit value.
30935         * crypt/sha512.c (sha512_process_block): Perform total addition using
30936         128-bit if possible.
30937         (__sha512_finish_ctx): Likewise.
30938         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30939         as 64-bit value.
30940         * crypt/sha256.c (SWAP64): Define.
30941         (sha256_process_block): Perform total addition using 64-bit if
30942         possible.
30943         (__sha256_finish_ctx): Likewise.
30945 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
30947         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
30948         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30949         * nscd/hstcache.c (cache_addhst): Likewise.
30950         * nscd/grpcache.c (cache_addgr): Likewise.
30951         * nscd/aicache.c (addhstaiX): Likewise
30952         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30954 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
30956         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30957         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30958         * nscd/hstcache.c (cache_addhst): Likewise.
30959         * nscd/grpcache.c (cache_addgr): Likewise.
30960         * nscd/aicache.c (addhstaiX): Likewise
30962 2011-07-01  Andreas Schwab  <schwab@redhat.com>
30964         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30965         domain only when needed.
30967 2011-06-30  Andreas Schwab  <schwab@redhat.com>
30969         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30970         is always restored.
30972 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
30974         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30975         are re-adding the entry.
30976         * nscd/servicescache.c (cache_addserv): Likewise.
30978 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
30980         * sysdeps/generic/dl-irel.h: fix protection against multiple
30981         inclusions.
30982         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30984 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
30986         [BZ #12935]
30987         * malloc/memusage.sh: Fix quoting in message.
30988         * debug/xtrace.sh: Likewise.
30990         * configure.in: Remove support for --experimental-malloc option, make
30991         it the default.
30992         * config.make.in: Likewise.
30993         * malloc/Makefile: Likewise.
30995 2011-06-27  Andreas Schwab  <schwab@redhat.com>
30997         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30998         two-byte characters.
31000 2011-06-27  Roland McGrath  <roland@hack.frob.com>
31002         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31003         AC_CACHE_CHECK invocation.
31004         * configure: Regenerated.
31006         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31008 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
31010         [BZ #12350]
31011         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
31012         bit from old_res_options.
31014         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31016         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31017         value type for setfct.
31019 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
31021         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31022         __gettimeofday instead of gettimeofday.
31024 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
31026         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31028 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31030         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31032         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31033         info.
31035 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31038         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31039         strcpy-sse2-unaligned strncpy-sse2-unaligned
31040         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31041         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31042         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31043         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31044         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31045         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31046         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31047         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31048         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31049         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31050         (STRCPY): Support SSE2 and SSSE3 versions.
31052 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
31054         [BZ #12874]
31055         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31056         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31057         kernels which artificially limit size of requests.
31059 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31061         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31062         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31063         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31064         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31065         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31066         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31067         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31068         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31069         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31070         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31071         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31072         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31073         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31074         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31075         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31076         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31077         Enable unaligned load optimization for Intel Core i3, i5 and i7
31078         processors.
31079         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31080         Define.
31081         (index_Fast_Unaligned_Load): Define.
31082         (HAS_FAST_UNALIGNED_LOAD): Define.
31084 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
31086         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31088 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31090         [BZ #12907]
31091         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31092         until it is clear that the information is realy needed.
31093         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31095 2011-06-22  Andreas Schwab  <schwab@redhat.com>
31097         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31099 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31101         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31102         /sys/devices/system/cpu/online if it is usable.
31104         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31105         reading the information from the /proc filesystem to once a second.
31107 2011-06-21  Andreas Jaeger  <aj@suse.de>
31109         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31110         NULL after inclusion of kernel headers.
31112 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
31114         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31115         calls to internal_setent.
31117         [BZ #12885]
31118         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31119         addresses using gethostbyname4_r ignore IPv4 addresses.
31121         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31122         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
31124         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31126 2011-06-20  David S. Miller  <davem@davemloft.net>
31128         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31129         inclusions.
31130         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31132         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31133         (elf_irel): Use it.
31134         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31135         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31136         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31137         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31138         * sysdeps/x86_64/dl-irel.h: Likewise.
31140         * elf/dl-runtime.c: Use elf_ifunc_invoke.
31141         * elf/dl-sym.c: Likewise.
31143 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31145         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
31146         need to dereference resplen2.
31148 2011-06-14  Andreas Schwab  <schwab@redhat.com>
31150         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31152 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31154         * Makeconfig: Define vardbdir and inst_vardbdir.
31155         * nss/Makefile: Add rules to install db-Makefile.
31157         * nss/nss_db/db-XXX.c: Cleanup.
31159         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31160         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31161         GLIBC_PRIVATE.
31162         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31163         * nss/makedb.c: Implement -g option to specify that value strings
31164         are generated and should not be added to table iterated over for
31165         get*ent calls.
31166         * nss/nss_db/db-initgroups.c: New file.
31168         * nss/getent.c: Add support for initgroups lookups through getgrouplist
31169         interface.
31171         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31172         (internal_getgrouplist): Adjust to name change.
31173         Update use_initgroups_entry if this is not the first call.
31174         * nss/databases.def: Add initgroups entry.
31176         * nss/makedb.c (compute_tables): Check result of multiple hash table
31177         sizes to minimize maximum chain length.
31179 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
31181         * Versions.def: Add entry for libnss_db.
31182         * shlib-versions: Likewise.
31183         * nss/Makefile: Add rules to build libnss_db.
31184         * nss/Versions: Add libnss_db information.  Organize libnss_files
31185         entries better.
31186         * nss/db-Makefile: Add gshadow support.  Change rules for the new
31187         makedb progra.  Some minor improvements to generate smaller files.
31188         * nss/nss_db/nss_db.h: Move NSS database header data structures to
31189         here from...
31190         * nss/makedb.c: ...here.
31191         Improve database format to be smaller and require less memory at
31192         runtime.
31193         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
31194         db anymore.
31195         * nss/nss_db/db-netgrp.c: Likewise.
31196         * nss/nss_db/db-open.c: Likewise.
31197         * nss/nss_files/flies-XXX.x: Adjust comments.
31198         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31199         * nss/nss_files/files-grp.c: Likewise.
31200         * nss/nss_files/files-hosts.c: Likewise.
31201         * nss/nss_files/files-network.c: Likewise.
31202         * nss/nss_files/files-proto.c: Likewise.
31203         * nss/nss_files/files-pwd.c: Likewise.
31204         * nss/nss_files/files-rpc.c: Likewise.
31205         * nss/nss_files/files-service.c: Likewise.
31206         * nss/nss_files/files-sgrp.c: Likewise.
31207         * nss/nss_files/files-spwd.c: Likewise.
31208         * nss/nss_db/db-alias.c: Removed.
31209         * nss/nss_db/dummy-db.h: Removed.
31211 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
31213         * nss/makedb.c: Rewritten to not use database library.
31214         * nss/Makefile: Update to build new makedb program.
31216 2011-06-14  Andreas Jaeger  <aj@suse.de>
31218         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31219         memset declaration.
31221 2011-06-10  Andreas Schwab  <schwab@redhat.com>
31223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31224         tmpbuf.
31226 2011-06-10  Roland McGrath  <roland@hack.frob.com>
31228         * Makerules (shlib.lds): Fail if the linker script comes out empty.
31229         * elf/Makefile ($(objpfx)ld.so): Likewise.
31231         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31232         Don't list ld.so twice in dependencies.
31234         * posix/bug-regex31.c: Include <stdlib.h>.
31236         * nscd/hstcache.c (cache_addhst): Remove unused variable.
31238         * nis/nss_compat/compat-spwd.c
31239         (getspent_next_nss_netgr): Remove unused variable.
31240         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31242         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31243         nonmembers" output to use the right array.
31245         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31247         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31249         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31250         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31251         * catgets/gencat.c (read_input_file): Likewise.
31252         * locale/programs/locarchive.c (enlarge_archive): Likewise.
31254         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31255         variable definition inside #if's controlling its use.
31257         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31259         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31261         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31263         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31264         unreachable code.
31266         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31268         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31269         * configure: Regenerated.
31271         * Makerules: Revert last change.
31272         * elf/Makefile: Likewise.
31274 2011-06-09  Roland McGrath  <roland@hack.frob.com>
31276         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31277         * elf/Makefile ($(objpfx)librtld.os): Likewise.
31278         (reloc-link): Likewise.
31280 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
31282         * elf/Makefile: Add rules to build pldd.
31283         * elf/pldd.c: New file.
31284         * elf/pldd-xx.c: New file.
31286 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
31288         * version.h: Update for 2.15 development version.
31290 2011-06-07  David S. Miller  <davem@davemloft.net>
31292         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31293         ifuncs.
31294         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31295         elf_machine_lazy_rel): Likewise.
31296         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31297         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31298         elf_machine_lazy_rel): Likewise.
31299         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31300         dl_hwcap via passed in argument.
31301         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31302         Likewise.
31304 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31306         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
31308 2011-06-06  Roland McGrath  <roland@hack.frob.com>
31310         [BZ #12849]
31311         * manual/fdl-1.1.texi: New file, verbatim from:
31312         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31313         * manual/lgpl-2.1.texi: New file, verbatim from:
31314         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31315         * manual/Makefile (licenses): New variable, list those new file names.
31316         (texis): Use it.
31317         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31319         * manual/fdl.texi: File removed.
31320         * manual/lesser.texi: File removed.
31321         * manual/libc.texinfo (Copying, Documentation License):
31322         Use new @include file names, put @appendix directive before @include.
31324 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
31326         [BZ #12841]
31327         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31328         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31329         (mq_open): Add __NTH.
31331 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
31333         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31334         Assume Intel Core i3/i5/i7 processor if AVX is available.
31336 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31338         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31339         typo.
31341 2011-05-31  Andreas Schwab  <schwab@redhat.com>
31343         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31344         memory.  Use alloca_account.  Fix memory leak when retrying.
31346 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31348         * version.h (RELEASE): Bump for 2.14 release.
31349         * include/features.h (__GLIBC_MINOR__): Bump to 14.
31351         * config.make.in (RANLIB): Remove entry.
31353 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
31355         * po/Makefile (po-sed-cmd): Add ksh to extensions.
31356         (libc.pot): Work around missing support for .ksh extension in xgettext.
31358         [BZ #12684]
31359         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31360         if both request failed.
31361         (send_dg): In case of server errors clear resplen or *resplen2.
31363         [BZ #12454]
31364         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31365         when there are multiple maps.
31366         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31367         (_dl_fini): Remove test here.
31369         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31371 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
31373         [BZ #12350]
31374         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31375         bit from old_res_options.
31376         (gaih_inet): Likewise.
31378         [BZ #11099]
31379         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31380         as signed.
31382         * resolv/res_init.c (res_setoptions): Make the code more compact.
31384         [BZ #11558]
31385         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31386         set RES_USEVC.
31388         [BZ #11634]
31389         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31391         * malloc/malloc.h: Mark malloc hook variables as deprecated.
31393         [BZ #11781]
31394         * malloc/malloc.h: Declare malloc hook variables as volatile.
31396         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31397         in last patch.
31399         [BZ #11799]
31400         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31401         raise in the comment.
31402         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31403         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31404         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31406 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
31408         [BZ #12811]
31409         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31410         grow the buffers more if it already has to be sufficient.
31411         (build_wcs_upper_buffer): Likewise.
31412         * posix/regexec.c (check_matching): Likewise.
31413         (clean_state_log_if_needed): Likewise.
31414         (extend_buffers): Don't enlarge buffers beyond size of the input
31415         buffer.
31416         Patches mostly by Emil Wojak <emil@wojak.eu>.
31417         * posix/bug-regex32.c: New file.
31418         * posix/Makefile (tests): Add bug-regex32.
31420         * locale/findlocale.c (_nl_find_locale): Return right away if
31421         _nl_explode_name failed.
31422         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31424         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31426         * debug/xtrace.sh: Unify messages.
31427         * malloc/memusage.sh: Likewise.
31429         [BZ #12813]
31430         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31431         time symbol from vDSO.  Substitute with vsyscall if not available.
31432         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31433         __vdso_time.
31435         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31436         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31437         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31438         Add sendmmsg and internal_sendmmsg.
31439         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31440         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31441         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31443         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31444         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31445         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31447 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
31449         [BZ #12813]
31450         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31451         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
31452         available.
31453         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31454         __vdso_getcpu.
31456         [BZ #12814]
31457         * iconvdata/Makefile (tests): Add bug-iconv9.
31458         * iconvdata/bug-iconv9.c: New file.
31460 2011-05-27  Andreas Schwab  <schwab@redhat.com>
31462         [BZ #12814]
31463         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31465 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
31467         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31468         (struct user_regs_struct): Change intcs field back to cs.
31470 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
31472         * po/ja.po: Update from translation team.
31474 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
31476         [BZ #12795]
31477         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31478         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31480 2011-05-20  Andreas Schwab  <schwab@redhat.com>
31482         * stdlib/longlong.h: Update from GCC.
31484 2011-05-23  Andreas Schwab  <schwab@redhat.com>
31486         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31487         parameter name.
31488         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31489         Add parameter name.
31490         (__sysconf): Pass it down.
31492 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
31494         [BZ #12671]
31495         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31496         some situations.
31497         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31498         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31499         add in in __libc_use_alloca calls.  Adjust callers.
31500         (glob): Use malloc in some situations.
31502         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31503         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31504         pltexit.
31506 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
31508         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31509         and CLOCK_BOOTTIME_ALARM.
31511         [BZ #12782]
31512         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31513         is returned.
31515         * string/_strerror.c (__strerror_r): Print negative errors as signed
31516         numbers.
31518         [BZ #12777]
31519         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31520         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31521         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31523         * configure.in: Fix typo in redirection and correct removal of test
31524         files in two cases.
31526         [BZ #12788]
31527         * locale/setlocale.c (new_composite_name): Fix test to check for
31528         identical name of all categories.
31530         [BZ #12792]
31531         * libio/filedoalloc.c (local_isatty): New function.
31532         (_IO_file_doallocate): Use local_isatty.
31533         * stdio-common/perror.c (perror): In case a new stream is used
31534         forward the stream error.
31535         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31536         error flag.
31538 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
31540         [BZ #11869]
31541         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31542         alloca.
31543         * include/alloca.h (extend_alloca_account): Define.
31545         [BZ #11857]
31546         * posix/regex.h: Fix comments with documentation of user-accessible
31547         fields after compilation and describe correct free'ing of pattern
31548         after re_compile_pattern.
31549         Patch by Reuben Thomas <rrt@sc3d.org>.
31551 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
31553         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31554         and -mno-altivec to prevent the compiler from using Altivec and/or
31555         VSX instructions when the corresponding registers are not available.
31557 2011-05-19  Andreas Schwab  <schwab@redhat.com>
31559         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31561 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
31563         * libio/freopen.c (freopen): Use __dup2, not dup2.
31564         * libio/freopen64.c (freopen64): Likewise.
31566 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31568         [BZ #12775]
31569         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31570         * math/Makefile (tests): Add test-powl.
31571         (CFLAGS-test-powl.c): Define.
31572         * math/test-powl.c: New file.
31574 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31576         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31578 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
31580         [BZ #11837]
31581         * iconvdata/gb18030.c: Update to GB18020-2005.
31583 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
31585         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31586         RE_SYNTAX_POSIX_AWK): Update to match recent development.
31587         Patch by Aharon Robbins <arnold@skeeve.com>.
31589         [BZ #11892]
31590         * stdlib/putenv.c (putenv): Don't always create copy of the variable
31591         on the stack.
31593         [BZ #11895]
31594         * misc/pselect.c (__pselect): Handle timeout value errors hidden
31595         through underflows.
31597         [BZ #12766]
31598         * misc/error.c (error_at_line): Ensure file_name and old_file_name
31599         point to strings before performing equality test for error_one_per_line
31600         mode.
31602         [BZ #11697]
31603         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31605         [BZ #11820]
31606         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31607         (struct user_fpregs_struct): Avoid __uint*_t types.
31609         [BZ #6420]
31610         * malloc/mtrace.c (tr_where): Add additional parameter to point to
31611         symbol info.  Use it instead of calling _dl_addr locally.
31612         (lock_and_info): New function.
31613         (tr_freehook): Call lock_and_info and pass symbol info as additional
31614         parameter to tr_where.
31615         (tr_mallochook): Likewise.
31616         (tr_reallochook): Likewise.
31617         (tr_memalignhook): Likewise.
31619         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
31620         used and couldn't be at all thread-safe.
31622 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
31624         * libio/freopen.c (freopen): Don't close old file descriptor
31625         before the new one is opened.  Instead dup the new file descriptor
31626         to the old one after the new stream is created.
31627         * libio/freopen64.c (freopen64): Likewise.
31628         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31629         * libio/fileops.c (_IO_new_file_close_it): Handle new
31630         _IO_FLAGS2_NOCLOSE flag.
31631         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31632         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31633         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31634         _IO_FLAGS2_NOCLOSE flag.
31635         * include/unistd.h: Add hidden_proto for dup3.
31636         Define __have_dup3.
31637         * io/dup3.c: Define hidden symbol.
31638         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31640         [BZ #7101]
31641         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31642         when an incomplete long option is used.
31643         * posix/tst-getopt_long1.c: New file.
31644         * posix/Makefile (tests): Add tst-getopt_long1.
31646         [BZ #10138]
31647         * scripts/config.guess: Update from autoconf-2.68.
31648         * scripts/config.sub: Likewise.
31650         [BZ #10157]
31651         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31652         tests into ...
31653         (has_cpuclock): ...this.  New function.
31654         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31655         macro here based on has_cpuclock code.
31657         [BZ #10149]
31658         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31659         First byte (not low byte) is now always NUL.
31660         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31662         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31663         Use non-cancelable interfaces.
31665         [BZ #9809]
31666         * locale/iso-639.def: Add entry for Sorani.
31668         [BZ #11901]
31669         * include/stdlib.h: Move include protection to the right place.
31670         Define abort_msg_s.  Declare __abort_msg with it.
31671         * stdlib/abort.c (__abort_msg): Adjust type.
31672         * assert/assert.c (__assert_fail_base): New function.  Majority
31673         of code from __assert_fail.  Allocate memory for __abort_msg with
31674         mmap.
31675         (__assert_fail): Now call __assert_fail_base.
31676         * assert/assert-perr.c: Remove bulk of implementation.  Use
31677         __assert_fail_base.
31678         * include/assert.hL Declare __assert_fail_base.
31679         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31680         mmap.
31681         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31683 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
31685         [BZ #11952]
31686         [BZ #12453]
31687         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31688         until all modules are registered in the DTV.
31689         * elf/Makefile: Add rules to build and run tst-tls19.
31690         * elf/tst-tls19.c: New file.
31691         * elf/tst-tls19mod1.c: New file.
31692         * elf/tst-tls19mod2.c: New file.
31693         * elf/tst-tls19mod3.c: New file.
31694         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31696         [BZ #12083]
31697         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31698         correctly.
31700         [BZ #12601]
31701         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31702         two-byte sequence errors.
31703         * iconvdata/Makefile (tests): Add bug-iconv8.
31704         * iconvdata/bug-iconv8.c: New file.
31706         [BZ #12626]
31707         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31708         buf2 definition.
31710         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31712         [BZ #12432]
31713         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31714         (dummy_getcfa): New function.
31715         (init): Get _Unwind_GetCFA address, use dummy if not found.
31716         (backtrace_helper): In recursion check, also check whether CFA changes.
31717         (__backtrace): Completely initialize arg.
31719         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31720         storing incomplete byte sequence in state object.  Avoid testing for
31721         guaranteed too small input if we know there is enough data available.
31723 2011-05-11  Andreas Schwab  <schwab@redhat.com>
31725         * Makeconfig (+link-pie): Indent.
31726         * Rules (binaries-pie): Define if $(have-fpie) and
31727         $(build-shared).
31728         (binaries-shared): Also filter out $(binaries-pie).
31729         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31730         * nscd/Makefile (others-pie): Add nscd.
31731         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31732         ($(objpfx)nscd): Remove command override.
31733         * login/Makefile (others-pie): Add pt_chown.
31734         ($(objpfx)pt_chown): Remove command override.
31735         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31736         remove command overrides.
31738 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
31740         * libio/tst_putwc.c: Fix error messages.
31742         [BZ #12724]
31743         * libio/fileops.c (_IO_new_file_close_it): Always flush when
31744         currently writing and seek to current position when not.
31745         * libio/Makefile (tests): Add bug-fclose1.
31746         * libio/bug-fclose1.c: New file.
31748 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
31750         [BZ #12511]
31751         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31752         don't set DF_1_NODELETE here.
31753         (do_lookup_x): When entering new entry test for copy relocation
31754         and if necessary set DF_1_NODELETE flag.
31755         * elf/tst-unique4.cc: New file.
31756         * elf/tst-unique4.h: New file.
31757         * elf/tst-unique4lib.cc: New file.
31758         * elf/Makefile: Add rules to build and run tst-unique4.
31759         Patch by Piotr Bury <pbury@goahead.com>.
31761 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
31763         [BZ #12052]
31764         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31766         [BZ #12625]
31767         * misc/mntent_r.c (addmntent): Flush the stream after the output
31769         [BZ #12393]
31770         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31771         (is_trusted_path_normalize): Skip initial colon.  Append slash
31772         to empty buffer.  Duplicate is_trusted_path code but allow
31773         constructed patch to be prefix.
31774         (is_dst): Allow $ORIGIN followed by /.
31775         (_dl_dst_substitute): Correct clearing of check_for_trusted.
31776         Correct testing of result of is_trusted_path_normalize
31777         (decompose_rpath): Fix warning.
31779 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
31781         [BZ #11257]
31782         * grp/initgroups.c (internal_getgrouplist): When we found the service
31783         list through the initgroups entry in nsswitch.conf do not always
31784         continue on a successful lookup.  Don't always use the
31785         __nss_group_database value if it is set.
31786         * nss/nsswitch.conf (initgroups): Change action for successful db
31787         lookup to continue for compatibility.
31789 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
31791         [BZ #11532]
31792         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31793         and CP774 modules.
31794         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31795         and CP774 modules.
31796         * iconvdata/tst-tables.sh: Likewise.
31797         * iconvdata/cp770.c: New file.
31798         * iconvdata/cp771.c: New file.
31799         * iconvdata/cp772.c: New file.
31800         * iconvdata/cp773.c: New file.
31801         * iconvdata/cp774.c: New file.
31802         * iconvdata/testdata/CP770: New file.
31803         * iconvdata/testdata/CP770..UTF8: New file.
31804         * iconvdata/testdata/CP771: New file.
31805         * iconvdata/testdata/CP771..UTF8: New file.
31806         * iconvdata/testdata/CP772: New file.
31807         * iconvdata/testdata/CP772..UTF8: New file.
31808         * iconvdata/testdata/CP773: New file.
31809         * iconvdata/testdata/CP773..UTF8: New file.
31810         * iconvdata/testdata/CP774: New file.
31811         * iconvdata/testdata/CP774..UTF8: New file.
31813         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31814         END CHARMAP line.
31815         * iconvdata/gen-8bit-gap.sh: Likewise.
31816         * iconvdata/gen-8bit.sh: Likewise.
31818         * locale/iso-639.def: Add ary entry.
31820         [BZ #11258]
31821         * locale/C-translit.h.in: Add U20A1 transliteration.
31823         [BZ #12178]
31824         * locale/iso-639.def: Add wae entry.
31825         Patch by Kevin Bortis <bortis@translate-wae.ch>.
31827         [BZ #12545]
31828         * locale/programs/localedef.c (construct_output_path): Use ssize_t
31829         for n.
31831         [BZ #12711]
31832         * locale/C-translit.h.in: Add entry for U20B9.
31833         Patch by pravin.d.s@gmail.com.
31835 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
31837         [BZ #12713]
31838         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31839         ENAMETOOLONG use generic getcwd.
31840         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
31841         in rtld.  Use *stat64.
31842         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31843         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31844         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31845         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31846         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31847         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31848         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31849         __fstatat64 macros.
31850         * include/dirent.h: Add libc_hidden_proto for rewinddir.
31851         * dirent/rewinddir.c: Add libc_hidden_def.
31852         * sysdeps/mach/hurd/rewinddir.c: Likewise.
31853         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
31855         * include/dirent.h (__alloc_dir): Add flags parameter.
31856         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31857         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31858         __alloc_dir.
31859         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
31860         from fdopendir if O_CLOEXEC is already set.
31862 2011-03-15  Alan Modra  <amodra@gmail.com>
31864         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31865         l_tls_firstbyte_offset non-zero.  Save padding offset in
31866         l_tls_firstbyte_offset for later use.
31867         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31868         freeing static tls block.
31870 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
31872         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31873         where #ifdef was intended.  The intent is to prevent ARG_MAX from
31874         being defined by the kernel headers.
31876 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
31878         [BZ #12734]
31879         * resolv/resolv.h: Define RES_NOTLDQUERY.
31880         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31881         no-tld-query and set RES_NOTLDQUERY.
31882         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31883         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31884         modern BIND to search name as TLD unless forbidden.
31886 2011-05-07  Petr Baudis  <pasky@suse.cz>
31887             Ulrich Drepper  <drepper@gmail.com>
31889         [BZ #12393]
31890         * elf/dl-load.c (fillin_rpath): Move trusted path check...
31891         (is_trusted_path): ...to here.
31892         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31893         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31894         using is_trusted_path_normalize() in setuid scripts.
31896 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31898         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31899         __BEGIN/__END_DECLS.
31901 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
31903         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31904         NSS_STATUS_NOTFOUND if no record was found.
31906 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31908         * sunrpc/Makefile (headers): Add rpc/netdb.h.
31909         (headers-not-in-tirpc): Remove rpc/netdb.h
31910         * resolv/netdb.h: Revert last change.
31912 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31914         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31915         circular dependency between libgcc.a and libc.a.
31917 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31919         * resolv/netdb.h: Don't include <rpc/netdb.h>.
31920         * nis/Makefile: Don't install rpcsvc/*.
31921         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31922         instead of <rpc/types.h>.
31923         (MAXHOSTNAMELEN): Define.
31925 2011-05-03  Andreas Schwab  <schwab@redhat.com>
31927         * elf/ldconfig.c (add_dir): Don't crash on empty path.
31929 2011-04-28  Maciej Babinski  <mbabinski@google.com>
31931         [BZ #12714]
31932         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31933         gethostbyname4_r when IPv6 results are possible.
31935 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
31937         [BZ #12723]
31938         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31939         _PC_PIPE_BUF handling.
31941 2011-04-30  Bruno Haible  <bruno@clisp.org>
31943         [BZ #12717]
31944         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31945         * resolv/netdb.h (getnameinfo): Change type of flags parameter
31946         to 'int'.
31947         * inet/getnameinfo.c (getnameinfo): Likewise.
31949 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
31951         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31952         to groups setting in database lookup.
31953         * nss/nsswitch.conf: Add initgroups entry.
31955 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
31957         [BZ #12685]
31958         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31959         mode string.
31960         Patch by Eric Blake <eblake@redhat.com>.
31962 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
31964         * sunrpc/Makefile (need-export-routines): Add svc_run.
31965         (routines): Remove svc_run.
31966         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31967         * sunrpc/clnt_perr.c (clnt_perrno): Export.
31968         * sunrpc/svc_run.c (svc_run): Likewise.
31969         * sunrpc/svc_udp.c (svcudp_create): Likewise.
31971 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
31973         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31974         problem in reallocation in last patch.
31976 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
31978         * sunrpc/Makefile: Move inclusion of Rules.
31980 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31982         * nss/nss_files/files-initgroups.c: New file.
31983         * nss/Makefile (libnss_files-routines): Add files-initgroups.
31984         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31985         _nss_files_initgroups_dyn.
31987 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
31989         * elf/elf.h (R_ARM_IRELATIVE): Define.
31991 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31993         * po/ru.po: Update from translation team.
31995 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31997         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31998         dependencies.
32000 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
32002         [BZ #12653]
32003         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32004         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32005         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32006         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32007         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32009 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
32011         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32012         differing bytes.
32013         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32014         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32015         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32017 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32019         [BZ #12420]
32020         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32021         storing it.
32022         * stdlib/bug-getcontext.c: New file.
32023         * stdlib/Makefile: Add rules to build and run bug-getcontext.
32025 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32027         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32028         instructions into .machine "z9-109".
32029         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32030         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32032 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32034         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32035         between environment variables and auxiliary vector.
32037 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
32039         * Makefile: Add rules to build linkobj/libc.so.
32040         * include/libc-symbols.h: Define libc_hidden_nolink.
32041         * include/rpc/auth.h: Mark functions which are to be hidden.
32042         * include/rpc/auth_des.h: Likewise.
32043         * include/rpc/auth_unix.h: Likewise.
32044         * include/rpc/clnt.h: Likewise.
32045         * include/rpc/des_crypt.h: Likewise.
32046         * include/rpc/key_prot.h: Likewise.
32047         * include/rpc/pmap_clnt.h: Likewise.
32048         * include/rpc/pmap_prot.h: Likewise.
32049         * include/rpc/pmap_rmt.h: Likewise.
32050         * include/rpc/rpc_msg.h: Likewise.
32051         * include/rpc/svc.h: Likewise.
32052         * include/rpc/svc_auth.h: Likewise.
32053         * include/rpc/xdr.h: Likewise.
32054         * nis/Makefile: Link all DSOs against linkobj/libc.so.
32055         * nss/Makefile: Likewise.
32056         * sunrpc/Makefile: Don't install headers.  Build library with normal
32057         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
32058         * sunrpc/auth_des.c: Hide exported symbols by default, export some
32059         for the compat linking library.  Remove use of INTDEF/INTUSE.
32060         * sunrpc/auth_none.c: Likewise.
32061         * sunrpc/auth_unix.c: Likewise.
32062         * sunrpc/authdes_prot.c: Likewise.
32063         * sunrpc/authuxprot.c: Likewise.
32064         * sunrpc/clnt_gen.c: Likewise.
32065         * sunrpc/clnt_perr.c: Likewise.
32066         * sunrpc/clnt_raw.c: Likewise.
32067         * sunrpc/clnt_simp.c: Likewise.
32068         * sunrpc/clnt_tcp.c: Likewise.
32069         * sunrpc/clnt_udp.c: Likewise.
32070         * sunrpc/clnt_unix.c: Likewise.
32071         * sunrpc/des_crypt.c: Likewise.
32072         * sunrpc/des_soft.c: Likewise.
32073         * sunrpc/get_myaddr.c: Likewise.
32074         * sunrpc/key_call.c: Likewise.
32075         * sunrpc/key_prot.c: Likewise.
32076         * sunrpc/netname.c: Likewise.
32077         * sunrpc/pm_getmaps.c: Likewise.
32078         * sunrpc/pm_getport.c: Likewise.
32079         * sunrpc/pmap_clnt.c: Likewise.
32080         * sunrpc/pmap_prot.c: Likewise.
32081         * sunrpc/pmap_prot2.c: Likewise.
32082         * sunrpc/pmap_rmt.c: Likewise.
32083         * sunrpc/publickey.c: Likewise.
32084         * sunrpc/rpc_cmsg.c: Likewise.
32085         * sunrpc/rpc_common.c: Likewise.
32086         * sunrpc/rpc_dtable.c: Likewise.
32087         * sunrpc/rpc_prot.c: Likewise.
32088         * sunrpc/rpc_thread.c: Likewise.
32089         * sunrpc/rtime.c: Likewise.
32090         * sunrpc/svc.c: Likewise.
32091         * sunrpc/svc_auth.c: Likewise.
32092         * sunrpc/svc_authux.c: Likewise.
32093         * sunrpc/svc_raw.c: Likewise.
32094         * sunrpc/svc_run.c: Likewise.
32095         * sunrpc/svc_simple.c: Likewise.
32096         * sunrpc/svc_tcp.c: Likewise.
32097         * sunrpc/svc_udp.c: Likewise.
32098         * sunrpc/svc_unix.c: Likewise.
32099         * sunrpc/svcauth_des.c: Likewise.
32100         * sunrpc/xcrypt.c: Likewise.
32101         * sunrpc/xdr.c: Likewise.
32102         * sunrpc/xdr_array.c: Likewise.
32103         * sunrpc/xdr_float.c: Likewise.
32104         * sunrpc/xdr_intXX_t.c: Likewise.
32105         * sunrpc/xdr_mem.c: Likewise.
32106         * sunrpc/xdr_rec.c: Likewise.
32107         * sunrpc/xdr_ref.c: Likewise.
32108         * sunrpc/xdr_sizeof.c: Likewise.
32109         * sunrpc/xdr_stdio.c: Likewise.
32111 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
32113         [BZ #12650]
32114         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32115         * sysdeps/ia64/dl-tls.h: Likewise.
32116         * sysdeps/powerpc/dl-tls.h: Likewise.
32117         * sysdeps/s390/dl-tls.h: Likewise.
32118         * sysdeps/sh/dl-tls.h: Likewise.
32119         * sysdeps/sparc/dl-tls.h: Likewise.
32120         * sysdeps/x86_64/dl-tls.h: Likewise.
32121         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32123 2011-03-14  Andreas Schwab  <schwab@redhat.com>
32125         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32126         rpath element also skip the following colon.
32127         (expand_dynamic_string_token): Add is_path parameter and pass
32128         down to DL_DST_REQUIRED and _dl_dst_substitute.
32129         (decompose_rpath): Call expand_dynamic_string_token with
32130         non-zero is_path.  Ignore empty rpaths.
32131         (_dl_map_object_from_fd): Call expand_dynamic_string_token
32132         with zero is_path.
32134 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
32136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32137         Make cancelable.
32139 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
32141         [BZ #12655]
32142         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32143         Patch by Filipe David Manana <fdmanana@apache.org>.
32145 2011-04-07  Andreas Schwab  <schwab@redhat.com>
32147         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32148         Maintain aligned stack.
32149         (CHECK_RSP): Remove unused macro.
32151 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
32153         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32154         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32156 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
32158         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32160         * include/features.h: Mention __USE_XOPEN2K8 in comment.
32162 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
32164         [BZ #12518]
32165         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32166         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32167         * sysdeps/x86_64/memmove.c: New file.
32168         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32169         (memcpy): Renamed to ...
32170         (__new_memcpy): This.
32171         (memcpy): Provide GLIBC_2_14 memcpy.
32172         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32173         (memcpy): Provide GLIBC_2_2_5 memcpy.
32175 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32177         [BZ #12631]
32178         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32180 2011-03-30  Andreas Schwab  <schwab@redhat.com>
32182         * misc/syncfs.c: New file.
32183         * misc/Makefile (routines): Add syncfs.
32184         * posix/unistd.h: Declare syncfs.
32185         * sysdeps/unix/syscalls.list: Add syncfs.
32187 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32189         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32190         open_by_handle_at.
32191         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32192         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32193         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32194         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32195         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32196         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32197         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32199 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32201         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32202         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32203         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32204         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32205         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32206         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32207         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32209         * io/Makefile: Compile fallocate.c, fallocate64.c, and
32210         sync_file_range.c with -fexceptions.
32211         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32212         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32213         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32214         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32215         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32216         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32217         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32218         sync_file_range as cancellation point
32219         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
32220         now a wrapper around __call_sync_file_range with cancellation handling.
32221         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32222         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
32223         function name to __call_sync_file_range.
32224         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32225         Add call_sync_file_range.
32227 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32229         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32230         bits/timex.h.
32232 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32234         * iconv/iconv.h: Fix typo in comment.
32235         * io/fcntl.h: Likewise.
32236         * libio/stdio.h: Likewise.
32237         * posix/spawn.h: Likewise.
32238         * posix/unistd.h: Likewise.
32239         * stdlib/stdlib.h: Likewise.
32240         * time/time.h: Likewise.
32241         * wcsmbs/wchar.h: Likewise.
32243         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32244         open_by_handle): Add.
32245         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32246         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
32247         Augment a few comments.
32248         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32249         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32250         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32251         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32252         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32253         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32254         open_by_handle.
32256         * io/fcntl.h (AT_EMPTY_PATH): Define.
32258 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
32260         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32261         * sysdeps/unix/sysv/linux/bits/time.h: New file.
32262         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32263         to...
32264         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
32265         * Versions.def: Add GLIBC_2.14.
32266         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32267         Export.
32269 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
32271         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32272         round counter.
32273         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32275 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32277         [BZ #12597]
32278         * string/test-strncmp.c (do_page_test): New function.
32279         (check2): Likewise.
32280         (test_main): Call check2.
32281         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32283 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
32285         [BZ #12587]
32286         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32287         Handle cache information in CPU leaf 4.
32288         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32290 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
32292         [BZ #12583]
32293         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32294         character representation.
32295         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32297 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
32299         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32300         END(__isnan) to END(__isnanf) to match function entry point/label
32301         EALIGN(__isnanf,...).
32303 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
32305         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32307 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
32309         [BZ #12510]
32310         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32311         copy from the symbol referenced in the relocation to initialize the
32312         used variable.
32313         Patch by Piotr Bury <pbury@goahead.com>.
32314         * elf/Makefile: Add rules to build and tst-unique3.
32315         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32316         * elf/tst-unique3.cc: New file.
32317         * elf/tst-unique3.h: New file.
32318         * elf/tst-unique3lib.cc: New file.
32319         * elf/tst-unique3lib2.cc: New file.
32321         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32323 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
32325         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32326         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
32327         to _start.
32329 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
32331         * elf/dl-load.c (_dl_map_object): If we are looking for the first
32332         to-be-loaded object along a path to loader is ld.so.
32334 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
32335             Ulrich Drepper  <drepper@gmail.com>
32337         * sysdeps/x86_64/memset.S: After aligning destination, code
32338         branches to different locations depending on the value of
32339         misalignment, when multiarch is enabled. Fix this.
32341 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
32343         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32344         Set _x86_64_preferred_memory_instruction for AMD processsors.
32345         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32346         Set bit_Prefer_SSE_for_memop for AMD processors.
32348 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
32350         * libio/fmemopen.c (fmemopen): Optimize a bit.
32352 2011-03-03  Andreas Schwab  <schwab@redhat.com>
32354         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32356 2011-03-03  Roland McGrath  <roland@redhat.com>
32358         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32360 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
32362         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32363         __bzero_ultra1 instead of __memset_ultra1.
32365 2011-02-23  Andreas Schwab  <schwab@redhat.com>
32366             Ulrich Drepper  <drepper@gmail.com>
32368         [BZ #12509]
32369         * include/link.h (struct link_map): Add l_orig_initfini.
32370         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32371         returning unsuccessfully.
32372         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32373         close of a file loaded at startup, restore the original l_initfini
32374         list.
32375         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32376         list, store the pointer.
32377         * elf/Makefile ($(objpfx)noload-mem): New rule.
32378         (noload-ENV): Define.
32379         (tests): Add $(objpfx)noload-mem.
32380         * elf/noload.c: Include <memcheck.h>.
32381         (main): Call mtrace.  Close all opened handles.
32383 2011-02-17  Andreas Schwab  <schwab@redhat.com>
32385         [BZ #12454]
32386         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32387         dependencies are missing.
32389 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32391         Fix __if_freereq crash: Unlike the generic version which uses free,
32392         Hurd needs munmap.
32393         * sysdeps/mach/hurd/ifreq.h: New file.
32395 2011-01-27  Petr Baudis  <pasky@suse.cz>
32396             Ulrich Drepper  <drepper@gmail.com>
32398         [BZ 12445]#
32399         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32400         to extend_alloca().
32401         * stdio-common/bug23.c: New file.
32402         * stdio-common/Makefile (tests): Add bug23.
32404 2010-09-28  Andreas Schwab  <schwab@redhat.com>
32405             Ulrich Drepper  <drepper@gmail.com>
32407         [BZ #12489]
32408         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32409         before performing relro protection.  At old place add assertion
32410         to make sure nothing changed.
32412 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
32413             Glauber de Oliveira Costa  <glommer@gmail.com>
32415         * elf/elf.h: Add new ARM TLS relocs.
32417 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
32419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32420         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32421         cast from r3.
32422         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
32423         'tests' variable.
32424         * sysdeps/wordsize-64/tst-writev.c: New file.
32426 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
32428         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32429         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32430         insns in _dl_start to prevent a TOC reference before relocs are
32431         resolved.
32433 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
32435         [BZ #12469]
32436         * Makeconfig: Remove RANLIB definition.
32437         * Makerules: Don't use RANLIB.
32438         * aclocal.m4: Remove ranlib test.
32439         * configure.in: No need to check for ranlib.
32440         * elf/rtld-Rules: Don't use RANLIB.
32442 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32444         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32445         protection macro.
32446         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32447         inclusion protection macro.
32449         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32450         SIGRTMIN and SIGRTMAX and print information in that case only when
32451         SIGRTMIN is defined.
32453 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
32455         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32456         arginfo fn returning -1.
32458         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32459         and thousands string is zero terminated.
32461 2011-02-03  Andreas Schwab  <schwab@redhat.com>
32463         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32464         sysdeps/unix/sysv/linux/bits/socket.h.
32466 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32468         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32469         (__CPU_COUNT): Remove old macros.
32470         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32471         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32472         (__CPU_ALLOC, __CPU_FREE): Add macros.
32473         (__sched_cpualloc, __sched_cpufree): Add declarations.
32475 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
32477         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32478         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32479         * nscd/aicache.c (addhstaiX): Return timeout of added value.
32480         (readdhstai): Return value of addhstaiX call.
32481         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32482         (addgrbyX): Return value returned by cache_addgr.
32483         (readdgrbyname): Return value returned by addgrbyX.
32484         (readdgrbygid): Likewise.
32485         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32486         (addpwbyX): Return value returned by cache_addpw.
32487         (readdpwbyname): Return value returned by addhstbyX.
32488         (readdpwbyuid): Likewise.
32489         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32490         (addservbyX): Return value returned by cache_addserv.
32491         (readdservbyname): Return value returned by addservbyX:
32492         (readdservbyport): Likewise.
32493         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32494         (addhstbyX): Return value returned by cache_addhst.
32495         (readdhstbyname): Return value returned by addhstbyX.
32496         (readdhstbyaddr): Likewise.
32497         (readdhstbynamev6): Likewise.
32498         (readdhstbyaddrv6): Likewise.
32499         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32500         (readdinitgroups): Return value returned by addinitgroupsX.
32501         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32502         (prune_cache): Keep track of timeout value of re-added entries.
32503         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32504         * nscd/nscd.h: Adjust prototypes of readd* functions.
32506 2011-02-04  Roland McGrath  <roland@redhat.com>
32508         * nis/nis_server.c (nis_servstate): Use the right name for 0.
32509         (nis_stats): Likewise.
32510         * nis/nis_modify.c (nis_modify): Likewise.
32511         * nis/nis_remove.c (nis_remove): Likewise.
32512         * nis/nis_add.c (nis_add): Likewise.
32514         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32516         * posix/fnmatch_loop.c: Add some consts.
32518         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32520 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
32522         [BZ #12460]
32523         * config.make.in (config-cflags-novzeroupper): Define.
32524         * configure.in: Substitute libc_cv_cc_novzeroupper.
32525         * elf/Makefile (AVX-CFLAGS): Define.
32526         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32527         (CFLAGS-tst-auditmod4a.c): Likewise.
32528         (CFLAGS-tst-auditmod4b.c): Likewise.
32529         (CFLAGS-tst-auditmod6b.c): Likewise.
32530         (CFLAGS-tst-auditmod6c.c): Likewise.
32531         (CFLAGS-tst-auditmod7b.c): Likewise.
32532         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32534 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
32536         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32537         function to the callback.
32538         Patch partly by Jiri Olsa <jolsa@redhat.com>.
32540 2011-02-02  Andreas Schwab  <schwab@redhat.com>
32542         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32543         of errno.
32545 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
32547         [BZ #11724]
32548         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32549         of constructors.
32550         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32551         of destructors.
32552         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32554         [BZ #11724]
32555         * elf/Makefile: Add rules to build and run new test.
32556         * elf/tst-initorder.c: New file.
32557         * elf/tst-initorder.exp: New file.
32558         * elf/tst-initordera1.c: New file.
32559         * elf/tst-initordera2.c: New file.
32560         * elf/tst-initordera3.c: New file.
32561         * elf/tst-initordera4.c: New file.
32562         * elf/tst-initorderb1.c: New file.
32563         * elf/tst-initorderb2.c: New file.
32564         * elf/tst-order-a1.c: New file.
32565         * elf/tst-order-a2.c: New file.
32566         * elf/tst-order-a3.c: New file.
32567         * elf/tst-order-a4.c: New file.
32568         * elf/tst-order-b1.c: New file.
32569         * elf/tst-order-b2.c: New file.
32570         * elf/tst-order-main.c: New file.
32571         New test case by George Gensure <werkt0@gmail.com>.
32573 2010-10-01  Andreas Schwab  <schwab@redhat.com>
32575         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32576         decoding ACE if AI_CANONIDN.
32578 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
32580         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32582 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
32584         * version.h (RELEASE): Bump for 2.13 release.
32585         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32587         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32589         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32590         MADV_NOHUGEPAGE.
32591         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32592         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32593         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32594         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32595         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32596         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32598         * posix/getconf.c: Update copyright year.
32599         * catgets/gencat.c: Likewise.
32600         * csu/version.c: Likewise.
32601         * debug/catchsegv.sh: Likewise.
32602         * debug/xtrace.sh: Likewise.
32603         * elf/ldconfig.c: Likewise.
32604         * elf/ldd.bash.in: Likewise.
32605         * elf/sprof.c (print_version): Likewise.
32606         * iconv/iconv_prog.c: Likewise.
32607         * iconv/iconvconfig.c: Likewise.
32608         * locale/programs/locale.c: Likewise.
32609         * locale/programs/localedef.c: Likewise.
32610         * malloc/memusage.sh: Likewise.
32611         * malloc/mtrace.pl: Likewise.
32612         * nscd/nscd.c (print_version): Likewise.
32613         * nss/getent.c: Likewise.
32615         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32616         PF_CAIF, and PF_ALG.
32617         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32619 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
32621         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32622         (modules-names): Use them.
32623         (ifunc-test-modules, ifunc-pie-tests): Define.
32624         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32625         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32626         (test-extras): Likewise.
32627         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32628         $(compile-command.c).
32629         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32630         (all-built-dso): Define.
32631         (check-textrel.out, check-execstack.out): Depend on it.
32633         * configure.in: Don't override --enable-multi-arch.
32635 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
32637         [BZ #6812]
32638         * nscd/hstcache.c (tryagain): Define.
32639         (cache_addhst): Return tryagain not notfound for temporary errors.
32640         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32641         failed.
32643 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
32645         [BZ #10563]
32646         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32647         to make the syscall.
32648         * sysdeps/unix/sysv/linux/setgroups.c: New file.
32650         [BZ #12378]
32651         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32652         and fall back to matching as normal character if the string ends before
32653         the matching ']' is found.  This is what POSIX requires.
32654         * posix/testfnm.c: Adjust test result.
32655         * posix/globtest.sh: Adjust test result.  Add new test.
32656         * posix/tst-fnmatch.input: Likewise.
32657         * posix/tst-fnmatch2.c: Add new test.
32659 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
32661         * elf/Makefile (check-execstack): Revert last change.  Depend on
32662         check-execstack.h.
32663         (check-execstack.h): New target.
32664         (generated): Add check-execstack.h.
32665         * elf/check-execstack.c: Include "check-execstack.h".
32666         (main): Revert last change.
32667         (handle_file): Return zero if GNU_STACK is absent and
32668         DEFAULT_STACK_PERMS doesn't include PF_X.
32670 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
32672         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32673         in child fails because the descriptor is already closed.
32674         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32675         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32676         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32678         [BZ #12397]
32679         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32680         syscall.
32682         [BZ #10484]
32683         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32684         temporary buffer used to handle multi lookups locally.
32685         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32687 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
32689         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32690         loader is ld.so.
32692 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
32694         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32695         alignment for SSE2.
32697 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
32699         [BZ #12394]
32700         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32701         characters.  When rounding increased number of integer digits recompute
32702         number of groups.
32703         * stdio-common/tst-grouping.c: New file.
32704         * stdio-common/Makefile: Add rules to build and run tst-grouping.
32706 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
32708         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32709         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
32711         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32712         void.
32713         * bits/select.h: Likewise.
32715 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
32717         * po/ja.po: Update from translation team.
32719 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
32721         [BZ #11155]
32722         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32723         implementation just like for lxstat, fxstatat, et al.
32725 2010-12-27  Jim Meyering  <meyering@redhat.com>
32727         [BZ #12348]
32728         * posix/regexec.c (build_trtable): Return failure indication upon
32729         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
32731 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
32733         [BZ #12201]
32734         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32735         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32736         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32737         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32739         [BZ #12207]
32740         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32742         [BZ #12204]
32743         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32744         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32746 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
32748         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32749         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32750         script has SORT_BY_INIT_PRIORITY.
32751         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32752         NO_CTORS_DTORS_SECTIONS is defined.
32753         * elf/soinit.c: Likewise.
32754         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32755         NO_CTORS_DTORS_SECTIONS is defined.
32756         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32757         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32758         * sysdeps/sh/init-first.c: Likewise.
32759         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32761 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
32763         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32764         always use the slow path.
32766 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
32768         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32769         similar rule which adds the sysdep directories to the header search in
32770         order to pick up the correct platform stackinfo.h.
32771         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32772         perform test if it is, otherwise return successfully without testing.
32773         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32774         DEFAULT_STACK_PERMS define in stackinfo.h.
32775         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32776         defined in stackinfo.h.
32777         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32778         DEFAULT_STACK_PERMS defined in stackinfo.h.
32779         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32780         * sysdeps/ia64/stackinfo.h: Likewise.
32781         * sysdeps/s390/stackinfo.h: Likewise.
32782         * sysdeps/sh/stackinfo.h: Likewise.
32783         * sysdeps/sparc/stackinfo.h: Likewise.
32784         * sysdeps/x86_64/stackinfo.h: Likewise.
32785         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32786         PF_X for powerpc64.  Retain PF_X for powerpc32.
32788 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
32790         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32791         accurately.
32792         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32793         GETDENTS_64BIT_ALIGNED.
32795 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
32797         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32799 2010-12-10  Andreas Schwab  <schwab@redhat.com>
32801         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32802         _GNU_SOURCE.
32804         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32805         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32806         Remove __restrict.
32807         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32808         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32810 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
32812         [BZ #11655]
32813         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32814         are initialized.
32816 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
32818         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32820 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
32822         * po/it.po: Update from translation team.
32824 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
32826         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32827         unused codes.
32829 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
32831         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32833 2010-11-24  Andreas Schwab  <schwab@redhat.com>
32835         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32836         specially.
32837         (gaih_getanswer_slice): Likewise.
32839 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
32841         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32843 2010-05-31  Petr Baudis  <pasky@suse.cz>
32845         [BZ #11149]
32846         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32847         silently even in the chroot mode.
32849 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
32851         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32852         last patch a bit.  Pretty printing
32854 2010-05-31  Petr Baudis <pasky@suse.cz>
32856         [BZ #10085]
32857         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32858         initialization of skip_initgroups_dyn.
32860 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
32862         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32863         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32865 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
32867         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32869 2010-11-11  Andreas Schwab  <schwab@redhat.com>
32871         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32872         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32873         (tst-fnmatch-ENV): Set MALLOC_TRACE.
32874         ($(objpfx)tst-fnmatch-mem): New rule.
32875         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32876         * posix/tst-fnmatch.c (main): Call mtrace.
32878 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
32880         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32881         Support Intel processor model 6 and model 0x2c.
32883 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
32885         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32886           signed comparison.
32888 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
32890         [BZ #12205]
32891         * string/test-strncasecmp.c (check_result): New function.
32892         (do_one_test): Use it.
32893         (check1): New function.
32894         (test_main): Use it.
32895         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32896         Support strcasecmp and strncasecmp.
32898 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
32900         [BZ #12194]
32901         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32902         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32904 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32906         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32907         IFUNC support.
32908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32909         memset-x86-64.
32910         * sysdeps/x86_64/multiarch/bzero.S: New file.
32911         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32912         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32913         * sysdeps/x86_64/multiarch/memset.S: New file.
32914         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32916         Set bit_Prefer_SSE_for_memop for Intel processors.
32917         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32918         Define.
32919         (index_Prefer_SSE_for_memop): Define.
32920         (HAS_PREFER_SSE_FOR_MEMOP): Define.
32922 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
32924         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32925         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32927 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
32929         [BZ #12191]
32930         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32931         (__x86_64_raw_data_cache_size_half): Likewise.
32932         (__x86_64_raw_shared_cache_size): Likewise.
32933         (__x86_64_raw_shared_cache_size_half): Likewise.
32935         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32936         (__x86_64_raw_data_cache_size_half): Likewise.
32937         (__x86_64_raw_shared_cache_size): Likewise.
32938         (__x86_64_raw_shared_cache_size_half): Likewise.
32939         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32940         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32941         and __x86_64_raw_shared_cache_size_half.  Round
32942         __x86_64_data_cache_size_half, __x86_64_data_cache_size
32943         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32944         to multiple of 256 bytes.
32946 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
32948         [BZ #12167]
32949         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32950         of inacessible symlinks.  Verify result of symlink before returning it.
32951         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32952         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32954 2010-10-28  Erich Ritz  <erichritz@gmail.com>
32956         * math/math.h (isinf): Fix typo in comment.
32958 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
32960         * po/da.po: Update from translation team.
32962 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
32964         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32965         is added to the list.
32967 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32968             Ulrich Drepper  <drepper@gmail.com>
32970         * elf/dl-object.c (_dl_new_object): Don't append the new object to
32971         the global list here.  Move code to...
32972         (_dl_add_to_namespace_list): ...here.  New function.
32973         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32974         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32975         * elf/dl-load.c (lose): Don't remove the element from the list.
32976         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32977         (_dl_map_object): Likewise.
32979 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
32981         [BZ #12159]
32982         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32983         into all bytes of SSE register.
32984         Patch by Richard Li <richardpku@gmail.com>.
32986 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
32988         [BZ #12140]
32989         * malloc/malloc.c (_int_free): Fill correct number of bytes when
32990         perturbing.
32992 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
32994         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32995         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32996         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32997         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32999         submachine.
33000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33002 2010-10-22  Andreas Schwab  <schwab@redhat.com>
33004         * include/dlfcn.h (__RTLD_SECURE): Define.
33005         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
33006         mode & __RTLD_SECURE instead.
33007         (open_path): Rename preloaded parameter to secure.
33008         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33009         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33010         * elf/dl-deps.c (openaux): Likewise.
33011         * elf/rtld.c (struct map_args): Remove is_preloaded.
33012         (map_doit): Don't use it.
33013         (dl_main): Likewise.
33014         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33015         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33017 2010-09-09  Andreas Schwab  <schwab@redhat.com>
33019         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33020         (sysd-rules-targets): Remove duplicates.
33021         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33022         rtld-%.$o dependency.
33024 2010-10-18  Andreas Schwab  <schwab@redhat.com>
33026         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33027         _dl_map_object do it.
33029 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
33031         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33032         fast fma builtins, define the macros in the C99 standard.
33033         (FP_FAST_FMAF): Likewise.
33034         (FP_FAST_FMAL): Likewise.
33035         * sysdeps/x86_64/bits/mathdef.h: Likewise.
33037         * bits/mathdef.h: Update copyright year.
33038         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33040 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
33042         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33043         builtins, define the macros in the C99 standard.
33044         (FP_FAST_FMAF): Likewise.
33045         (FP_FAST_FMAL): Likewise.
33046         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33047         multiply/add.
33048         (FP_FAST_FMAF): Likewise.
33050 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
33052         [BZ #3268]
33053         * math/libm-test.inc (fma_test): Some new testcases.
33054         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33055         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33056         y and infinite z.  Do multiplication by C already in long double.
33057         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33058         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33059         y and infinite z.  Do bitwise or of inexact bit into u.d.
33060         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33061         * sysdeps/i386/fpu/s_fmaf.S: Removed.
33062         * sysdeps/i386/fpu/s_fma.S: Removed.
33063         * sysdeps/i386/fpu/s_fmal.S: Removed.
33065 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
33067         [BZ #3268]
33068         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33069         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33070         computation is not scheduled after fetestexcept.  Fix value
33071         of minimum denormal long double.
33073 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
33075         [BZ #3268]
33076         * math/libm-test.inc (fma_test): Add some more tests.
33077         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33078         correctly.
33080 2010-10-15  Andreas Schwab  <schwab@redhat.com>
33082         * scripts/data/localplt-s390-linux-gnu.data: New file.
33083         * scripts/data/localplt-s390x-linux-gnu.data: New file.
33085 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
33087         [BZ #3268]
33088         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33089         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33090         instead of dbl-64.
33091         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33092         inlines.
33093         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33094         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33095         if one of x and y is very large and the other is subnormal.
33096         * sysdeps/s390/fpu/s_fmaf.c: New file.
33097         * sysdeps/s390/fpu/s_fma.c: New file.
33098         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33099         * sysdeps/powerpc/fpu/s_fma.S: New file.
33100         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33101         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33102         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33104 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
33106         [BZ #3268]
33107         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33108         fma tests.
33109         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33110         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33111         * sysdeps/i386/i686/multiarch/s_fma.c: Include
33112         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33113         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33114         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33115         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33117 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
33119         [BZ #12078]
33120         * posix/regcomp.c (parse_branch): One more memory leak plugged.
33121         * posix/bug-regex31.input: Add test case.
33123 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33125         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33126         * posix/bug-regex31.input: New file.
33128         [BZ #12078]
33129         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33130         (parse_sub_exp): Fix last change, use postorder.
33132         * posix/bug-regex31.c: New file.
33133         * posix/Makefile: Add rules to build and run bug-regex31.
33135         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33137         [BZ #12078]
33138         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33140         [BZ #12108]
33141         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33142         to have entries in sys_siglist.
33144         [BZ #12093]
33145         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33146         be NULL.
33148 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
33150         [BZ #3268]
33151         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33152         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33153         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33154         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33155         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33156         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33157         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33158         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33159         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33160         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33161         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33162         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33163         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33164         * math/ftestexcept.c (fetestexcept): Likewise.
33165         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33166         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33167         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33168         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33169         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33170         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33171         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33173 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33175         [BZ #12107]
33176         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33177         newline.
33179 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
33181         * string/bug-strstr1.c: New file.
33182         * string/Makefile: Add rules to build and run bug-strstr1.
33184 2010-10-05  Eric Blake  <eblake@redhat.com>
33186         [BZ #12092]
33187         * string/str-two-way.h (two_way_long_needle): Always clear memory
33188         when skipping input due to the shift table.
33190 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
33192         [BZ #12005]
33193         * malloc/mcheck.c: Handle large requests.
33195         [BZ #12077]
33196         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33197         for strncmp and strncasecmp.
33198         * string/stratcliff.c: Add tests for strcmp and strncmp.
33199         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33201 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33203         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33204         __set_fpscr.
33206 2010-09-30  Andreas Jaeger  <aj@suse.de>
33208         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33209         (CGROUP_SUPER_MAGIC): Define.
33210         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33211         Handle btrfs and cgroup file systems.
33212         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33213         Likewise.
33215 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
33217         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33218         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33220 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33222         [BZ #12067]
33223         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33224         trying to locate the ELF header.
33226 2010-09-27  Andreas Schwab  <schwab@redhat.com>
33228         [BZ #11611]
33229         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33230         Mask out sign-bit copies when constructing f_fsid.
33232 2010-09-24  Petr Baudis <pasky@suse.cz>
33234         * debug/stack_chk_fail_local.c: Add missing licence exception.
33235         * debug/warning-nop.c: Likewise.
33237 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
33239         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33240         implementing getdents64 using getdents syscall, set d_type if
33241         __ASSUME_GETDENTS32_D_TYPE.
33243 2010-09-16  Andreas Schwab  <schwab@redhat.com>
33245         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33246         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33248 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
33250         [BZ #12037]
33251         * posix/unistd.h: Undo change of feature selection for ftruncate from
33252         2010-01-11.
33254 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
33256         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33257         detection.
33259 2010-09-20  Andreas Schwab  <schwab@redhat.com>
33261         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33262         fanotify_mark.
33263         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33265 2010-09-14  Andreas Schwab  <schwab@redhat.com>
33267         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33268         variables after CHECK_SP call.
33269         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33271 2010-09-13  Andreas Schwab  <schwab@redhat.com>
33272             Ulrich Drepper  <drepper@redhat.com>
33274         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33275         re-relocationg ld.so.
33276         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33277         _dl_init_paths call.
33278         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
33279         here anymore.
33281 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
33283         * resolv/res_init.c (__res_vinit): Count the default server we added.
33285 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
33286             Ulrich Drepper  <drepper@redhat.com>
33288         [BZ #11968]
33289         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33290         (____longjmp_chk): Use %ebx for saving value across system call.
33291         Add unwind info.
33293 2010-09-06  Andreas Schwab  <schwab@redhat.com>
33295         * manual/Makefile: Don't mix pattern rules with normal rules.
33297 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33299         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33300         operation.
33301         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33302         * libio/iofopncook.c (_IO_cookie_init): Likewise.
33303         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33304         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33305         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33306         Likewise.
33308 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
33310         [BZ #11979]
33311         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33312         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33314 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
33316         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33317         * sysdeps/x86_64/addmul_1.S: Likewise.
33318         * sysdeps/x86_64/lshift.S: Likewise.
33319         * sysdeps/x86_64/mul_1.S: Likewise.
33320         * sysdeps/x86_64/rshift.S: Likewise.
33321         * sysdeps/x86_64/sub_n.S: Likewise.
33322         * sysdeps/x86_64/submul_1.S: Likewise.
33324 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33326         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33327         Define __sched_param instead of SCHED_* and sched_param when
33328         <bits/sched.h> is included with __need_schedparam defined.
33329         * bits/sched.h [__need_schedparam]
33330         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33331         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33332         (__defined_schedparam): Define to 1.
33333         (__sched_param): New structure, identical to sched_param.
33334         (__need_schedparam): Undefine.
33336 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
33338         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33339         (epoll_create1): Declare.
33341         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33343 2010-08-31  Andreas Schwab  <schwab@redhat.com>
33345         [BZ #7066]
33346         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33347         shifting retval into place.
33349 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
33351         * nis/rpcsvc/nis.h: Update copyright notice.
33352         * nis/rpcsvc/nis.x: Likewise.
33353         * nis/rpcsvc/nis_callback.h: Likewise.
33354         * nis/rpcsvc/nis_callback.x: Likewise.
33355         * nis/rpcsvc/nis_object.x: Likewise.
33356         * nis/rpcsvc/nis_tags.h: Likewise.
33357         * nis/rpcsvc/yp.h: Likewise.
33358         * nis/rpcsvc/yp.x: Likewise.
33359         * nis/rpcsvc/ypupd.h: Likewise.
33360         * nis/yp_xdr.c: Likewise.
33361         * nis/ypupdate_xdr.c: Likewise.
33363         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
33364         mainly the body of pmap_getport.  Add parameters to specify timeouts.
33365         (pmap_getport): Use __libc_rpc_getport.
33366         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33367         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33368         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33370 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
33372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33373         fanotify_mark.
33375 2010-08-27  Roland McGrath  <roland@redhat.com>
33377         * sysdeps/i386/i686/multiarch/Makefile
33378         (CFLAGS-varshift.c): New variable.
33380 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
33382         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33383         * sysdeps/i386/i686/multiarch/varshift.c: New file.
33385         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33387         * sysdeps/x86_64/strlen.S: Minimal code improvement.
33389 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
33391         * sysdeps/x86_64/strlen.S: Unroll the loop.
33392         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33393         strlen-sse2 strlen-sse2-bsf.
33394         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33395         __strlen_no_bsf if bit_Slow_BSF is set.
33396         (__strlen_sse42): Removed.
33397         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33398         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33400 2010-08-25  Roland McGrath  <roland@redhat.com>
33402         * sysdeps/x86_64/multiarch/varshift.S: File removed.
33403         * sysdeps/x86_64/multiarch/varshift.c: New file.
33404         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33405         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33406         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33407         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33409 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
33411         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33412         strlen-sse2 strlen-sse2-bsf.
33413         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33414         __strlen_sse2_bsf if bit_Slow_BSF is unset.
33415         (__strlen_sse2): Removed.
33416         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33417         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33419         bit_Slow_BSF for Atom.
33420         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33421         (index_Slow_BSF): Define.
33422         (HAS_SLOW_BSF): Define.
33424 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
33426         [BZ #10851]
33427         * resolv/res_init.c (__res_vinit): When no server address at all
33428         is given default to loopback.
33430 2010-08-24  Roland McGrath  <roland@redhat.com>
33432         * configure.in: Remove config-name.h generation.
33433         * configure: Regenerated.
33434         * config-name.in: File removed.
33435         * scripts/config-uname.sh: New file.
33436         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33437         ($(objdir)config-name.h): New target.
33439         * sunrpc/rpc_parse.h: Avoid nested comment.
33441 2010-08-24  Richard Henderson  <rth@redhat.com>
33442             Ulrich Drepper  <drepper@redhat.com>
33443             H.J. Lu  <hongjiu.lu@intel.com>
33445         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33447         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33448         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
33449         _mm_alignr_epi8 with _mm_loadu_si128.
33450         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33451         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33452         (__m128i_shift_right): Removed.
33453         * sysdeps/i386/i686/multiarch/varshift.h: New file.
33454         * sysdeps/i386/i686/multiarch/varshift.S: New file.
33455         * sysdeps/x86_64/multiarch/varshift.h: New file.
33456         * sysdeps/x86_64/multiarch/varshift.S: New file.
33458 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
33460         * configure.in: Move assembler checks to before sysdep dir checking.
33462 2010-08-20  Petr Baudis  <pasky@suse.cz>
33464         * LICENSES: Sync the sunrpc license.
33466 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
33468         * sunrpc/auth_des.c: Update copyright notice once again.
33469         * sunrpc/auth_none.c: Likewise.
33470         * sunrpc/auth_unix.c: Likewise.
33471         * sunrpc/authdes_prot.c: Likewise.
33472         * sunrpc/authuxprot.c: Likewise.
33473         * sunrpc/bindrsvprt.c: Likewise.
33474         * sunrpc/clnt_gen.c: Likewise.
33475         * sunrpc/clnt_perr.c: Likewise.
33476         * sunrpc/clnt_raw.c: Likewise.
33477         * sunrpc/clnt_simp.c: Likewise.
33478         * sunrpc/clnt_tcp.c: Likewise.
33479         * sunrpc/clnt_udp.c: Likewise.
33480         * sunrpc/clnt_unix.c: Likewise.
33481         * sunrpc/des_crypt.c: Likewise.
33482         * sunrpc/des_soft.c: Likewise.
33483         * sunrpc/get_myaddr.c: Likewise.
33484         * sunrpc/getrpcport.c: Likewise.
33485         * sunrpc/key_call.c: Likewise.
33486         * sunrpc/key_prot.c: Likewise.
33487         * sunrpc/openchild.c: Likewise.
33488         * sunrpc/pm_getmaps.c: Likewise.
33489         * sunrpc/pm_getport.c: Likewise.
33490         * sunrpc/pmap_clnt.c: Likewise.
33491         * sunrpc/pmap_prot.c: Likewise.
33492         * sunrpc/pmap_prot2.c: Likewise.
33493         * sunrpc/pmap_rmt.c: Likewise.
33494         * sunrpc/rpc/auth.h: Likewise.
33495         * sunrpc/rpc/auth_unix.h: Likewise.
33496         * sunrpc/rpc/clnt.h: Likewise.
33497         * sunrpc/rpc/des_crypt.h: Likewise.
33498         * sunrpc/rpc/key_prot.h: Likewise.
33499         * sunrpc/rpc/netdb.h: Likewise.
33500         * sunrpc/rpc/pmap_clnt.h: Likewise.
33501         * sunrpc/rpc/pmap_prot.h: Likewise.
33502         * sunrpc/rpc/pmap_rmt.h: Likewise.
33503         * sunrpc/rpc/rpc.h: Likewise.
33504         * sunrpc/rpc/rpc_des.h: Likewise.
33505         * sunrpc/rpc/rpc_msg.h: Likewise.
33506         * sunrpc/rpc/svc.h: Likewise.
33507         * sunrpc/rpc/svc_auth.h: Likewise.
33508         * sunrpc/rpc/types.h: Likewise.
33509         * sunrpc/rpc/xdr.h: Likewise.
33510         * sunrpc/rpc_clntout.c: Likewise.
33511         * sunrpc/rpc_cmsg.c: Likewise.
33512         * sunrpc/rpc_common.c: Likewise.
33513         * sunrpc/rpc_cout.c: Likewise.
33514         * sunrpc/rpc_dtable.c: Likewise.
33515         * sunrpc/rpc_hout.c: Likewise.
33516         * sunrpc/rpc_main.c: Likewise.
33517         * sunrpc/rpc_parse.c: Likewise.
33518         * sunrpc/rpc_parse.h: Likewise.
33519         * sunrpc/rpc_prot.c: Likewise.
33520         * sunrpc/rpc_sample.c: Likewise.
33521         * sunrpc/rpc_scan.c: Likewise.
33522         * sunrpc/rpc_scan.h: Likewise.
33523         * sunrpc/rpc_svcout.c: Likewise.
33524         * sunrpc/rpc_tblout.c: Likewise.
33525         * sunrpc/rpc_util.c: Likewise.
33526         * sunrpc/rpc_util.h: Likewise.
33527         * sunrpc/rpcinfo.c: Likewise.
33528         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33529         * sunrpc/rpcsvc/key_prot.x: Likewise.
33530         * sunrpc/rpcsvc/klm_prot.x: Likewise.
33531         * sunrpc/rpcsvc/mount.x: Likewise.
33532         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33533         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33534         * sunrpc/rpcsvc/rex.x: Likewise.
33535         * sunrpc/rpcsvc/rstat.x: Likewise.
33536         * sunrpc/rpcsvc/rusers.x: Likewise.
33537         * sunrpc/rpcsvc/sm_inter.x: Likewise.
33538         * sunrpc/rpcsvc/spray.x: Likewise.
33539         * sunrpc/rpcsvc/yppasswd.x: Likewise.
33540         * sunrpc/rtime.c: Likewise.
33541         * sunrpc/svc.c: Likewise.
33542         * sunrpc/svc_auth.c: Likewise.
33543         * sunrpc/svc_authux.c: Likewise.
33544         * sunrpc/svc_raw.c: Likewise.
33545         * sunrpc/svc_run.c: Likewise.
33546         * sunrpc/svc_simple.c: Likewise.
33547         * sunrpc/svc_tcp.c: Likewise.
33548         * sunrpc/svc_udp.c: Likewise.
33549         * sunrpc/svc_unix.c: Likewise.
33550         * sunrpc/svcauth_des.c: Likewise.
33551         * sunrpc/xcrypt.c: Likewise.
33552         * sunrpc/xdr.c: Likewise.
33553         * sunrpc/xdr_array.c: Likewise.
33554         * sunrpc/xdr_float.c: Likewise.
33555         * sunrpc/xdr_mem.c: Likewise.
33556         * sunrpc/xdr_rec.c: Likewise.
33557         * sunrpc/xdr_ref.c: Likewise.
33558         * sunrpc/xdr_sizeof.c: Likewise.
33559         * sunrpc/xdr_stdio.c: Likewise.
33561         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33562         handling.
33564 2010-08-19  Andreas Schwab  <schwab@redhat.com>
33566         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33568 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
33570         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33571         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33572         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33573         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33574         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33575         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33576         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33577         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33578         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33579         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33580         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33581         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33582         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33583         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33585 2010-07-26  Anton Blanchard  <anton@samba.org>
33587         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33588         * malloc/arena.c (heap_trim): Likewise.
33590 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
33592         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33593         here.  Not...
33594         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33595         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33597 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33599         * sysdeps/i386/elf/Makefile: New file.
33601 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
33603         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33604         from fanotify_init.
33605         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33606         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33608 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
33610         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33611         of strncasecmp_l.
33612         * sysdeps/multiarch/strcmp.S: Likewise.
33614 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
33616         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33617         strncase_l-nonascii.
33618         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33619         Add strncase_l-ssse3.
33620         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33621         * sysdeps/x86_64/strcmp.S: Likewise.
33622         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33623         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33624         * sysdeps/x86_64/strncase.S: New file.
33625         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33626         * sysdeps/x86_64/strncase_l.S: New file.
33627         * string/Makefile (strop-tests): Add strncasecmp.
33628         * string/test-strncasecmp.c: New file.
33630         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33631         warning.
33633         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33634         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33636 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
33638         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33640 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
33642         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33643         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33644         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33646 2010-05-01  Alan Modra  <amodra@gmail.com>
33648         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33649         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33650         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33651         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33652         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33653         tidying.  Don't tail-call __sigjmp_save for static lib.
33654         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33655         save location.
33656         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33657         (CALL_MCOUNT): Add eh info, and nop after bl.
33658         (TAIL_CALL_SYSCALL_ERROR): New macro.
33659         (PSEUDO_RET): Use it.
33660         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33661         Correct save location of integer regs and cr.
33662         (_dl_profile_resolve): Correct cr save location.  Delete nops
33663         after bl when SHARED.  Reduce cfi size a little by better
33664         placement of cfi directives.
33665         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33666         make a stack frame.  Instead use parm save area as a temp.
33667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33668         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
33669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33670         Don't make a stack frame for parent, use parm save area.
33671         Increase child stack frame to 112 bytes.  Don't save unused reg,
33672         and adjust reg usage.  Set up cfi on error recovery and
33673         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33675         (__makecontext): Add dummy nop after jump to exit.
33676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33677         Use correct parm save area and cr save, reduce stack frame.
33678         Correct cfi for possible PSEUDO_RET frame setup.
33679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33680         Branch to local label emitted by PSEUDO_RET rather than
33681         __syscall_error.
33683 2010-08-12  Andreas Schwab  <schwab@redhat.com>
33685         [BZ #11904]
33686         * locale/programs/locale.c (print_assignment): New function.
33687         (show_locale_vars): Use it.
33689 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
33691         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33692         field.
33693         (struct statfs64): Likewise.
33694         (_STATFS_F_FLAGS): Define.
33695         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33696         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33697         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33698         (ST_VALID): Define locally.
33699         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33700         __statvfs_getflags, use the provided value.
33701         * sysdeps/unix/sysv/linux/kernel-features.h: Define
33702         __ASSUME_STATFS_F_FLAGS.
33704         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33706         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33707         Add sys/fanotify.h.
33708         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33709         fanotify_mask for GLIBC_2.13.
33710         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33711         fanotify_init and fanotify_mark.
33712         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33713         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33715         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33716         Add prlimit.
33717         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33718         prlimit64 for GLIBC_2.13.
33719         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33720         prlimit64.
33721         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33722         syscall.
33723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33724         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33725         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33726         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33727         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
33728         add prlimit alias.
33729         * sysdeps/unix/sysv/linux/prlimit.c: New file.
33731         [BZ #11903]
33732         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33733         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33735         * nss/Makefile: Add rules to build and run tst-nss-test1.
33736         * shlib-versions: Add entry for libnss_test1.
33737         * nss/nss_test1.c: New file.
33738         * nss/tst-nss-test1.c: New file.
33740         * nss/nsswitch.c (__nss_database_custom): Define new variable.
33741         (__nss_configure_lookup): Set appropriate entry in
33742         __nss_configure_lookup to true.
33743         * nss/nsswitch.h: Define enum with indeces of databases in
33744         databases and __nss_database_custom arrays.  Declare
33745         __nss_database_custom.
33746         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33747         to avoid using nscd when custom rules are installed.
33748         * nss/getXXbyYY_r.c: Likewise.
33749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33751         * nss/nss_files/files-parse.c: Whitespace fixes.
33753 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
33755         [BZ #11883]
33756         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33757         * posix/fnmatch_loop.c: Likewise.
33759 2010-07-17  Andi Kleen  <ak@linux.intel.com>
33761         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33762         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33763         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33764         * Versions.def [GLIBC_2.13]: Add.
33766 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
33768         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33769         Also fail if tpwd after pwuid call is NULL.
33771 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33773         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33774         when converting to ms.
33776 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33778         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33779         EOPNOTSUPP errors with ENOTTY.
33780         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33781         EOPNOTSUPP errors with ENOTTY.
33783 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
33785         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33786         Add strcasecmp_l-ssse3.
33787         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33788         strcasecmp.
33789         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33790         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33791         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33793 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
33795         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33797         * string/Makefile (strop-tests): Add strcasecmp.
33798         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33799         strcasecmp_l-nonascii.
33800         (gen-as-const-headers): Add locale-defines.sym.
33801         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33802         * sysdeps/x86_64/strcasecmp.S: New file.
33803         * sysdeps/x86_64/strcasecmp_l.S: New file.
33804         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33805         * sysdeps/x86_64/locale-defines.sym: New file.
33806         * string/test-strcasecmp.c: New file.
33808         * string/test-strcasestr.c: Test both ends of the range of characters.
33809         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33811 2010-07-29  Roland McGrath  <roland@redhat.com>
33813         [BZ #11856]
33814         * manual/locale.texi (Yes-or-No Questions): Fix example code.
33816 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
33818         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33819         for ld.so.
33821 2010-07-27  Andreas Schwab  <schwab@redhat.com>
33823         * manual/memory.texi (Malloc Tunable Parameters): Document
33824         M_PERTURB.
33826 2010-07-26  Roland McGrath  <roland@redhat.com>
33828         [BZ #11840]
33829         * configure.in (-fgnu89-inline check): Set and substitute
33830         gnu89_inline, not libc_cv_gnu89_inline.
33831         * configure: Regenerated.
33832         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33834 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
33836         * string/test-strnlen.c: New file.
33837         * string/Makefile (strop-tests): Add strnlen.
33838         * string/tester.c (test_strnlen): Add a few more test cases.
33839         * string/tst-strlen.c: Better error reporting.
33841         * sysdeps/x86_64/strnlen.S: New file.
33843 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
33845         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33846         lower-latency instructions.
33848 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
33850         * string/test-strcasestr.c: New file.
33851         * string/test-strstr.c: New file.
33852         * string/Makefile (strop-tests): Add strstr and strcasestr.
33853         * string/str-two-way.h: Don't undefine MAX.
33854         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33856 2010-07-21  Andreas Schwab  <schwab@redhat.com>
33858         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33859         strcasestr-nonascii.
33860         (CFLAGS-strcasestr-nonascii.c): Define.
33861         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33862         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33863         Remove unused attribute.
33865 2010-07-20  Roland McGrath  <roland@redhat.com>
33867         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33868         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
33869         ld.so.cache was broken.  With it, there is no way to disable dsocaps
33870         like LD_HWCAP_MASK can disable hwcaps.
33872 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
33874         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33876 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
33878         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33879         call in strcasestr.
33880         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33881         __strcasestr_sse42_nonascii.
33882         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33883         strcasestr-nonascii.c.
33884         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33886 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
33888         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33889         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33890         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33891         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33893 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
33895         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33896         fcntl.
33898 2010-07-06  Andreas Schwab  <schwab@redhat.com>
33900         [BZ #11577]
33901         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33902         dl_signal_cerror.
33904 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
33906         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33907         _PC_PIPE_BUF using F_GETPIPE_SZ.
33909 2010-07-05  Roland McGrath  <roland@redhat.com>
33911         * manual/arith.texi (Rounding Functions): Fix rint description
33912         implicit in round description.
33914 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
33916         * elf/Makefile: Fix linking for a few tests to make recent linker
33917         happy.
33919 2010-06-30  Andreas Schwab  <schwab@redhat.com>
33921         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33922         $(common-objpfx)libc_nonshared.a.
33924 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
33926         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33927         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33928         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33929         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33930         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33931         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33932         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33933         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33948         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33949         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33950         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33951         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33952         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33953         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33954         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33955         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33956         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33957         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33958         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33959         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33975 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33977         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33978         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
33979         * string/memmove.c (memmove): Renamed to ...
33980         (MEMMOVE): ...this.  Default to memmove.
33981         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33982         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33983         (END_CHK): Define.
33984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33985         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33986         mempcpy-ssse3-back memmove-ssse3-back.
33987         * sysdeps/x86_64/multiarch/bcopy.S: New file .
33988         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33989         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33990         * sysdeps/x86_64/multiarch/memcpy.S: New file.
33991         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33992         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33993         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33994         * sysdeps/x86_64/multiarch/memmove.c: New file.
33995         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33996         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33997         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33998         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33999         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34000         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34001         Define.
34002         (index_Fast_Copy_Backward): Define.
34003         (HAS_ARCH_FEATURE): Define.
34004         (HAS_FAST_REP_STRING): Define.
34005         (HAS_FAST_COPY_BACKWARD): Define.
34007 2010-06-21  Andreas Schwab  <schwab@redhat.com>
34009         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34010         Restore proper fallback handling.
34012 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
34014         [BZ #11701]
34015         * posix/group_member.c (__group_member): Correct checking loop.
34017         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34018         OOM in getpwuid_r correctly.  Return error number when the caller
34019         should return, otherwise -1.
34020         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34021         call returning > 0 value.
34022         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34024 2010-06-07  Andreas Schwab  <schwab@redhat.com>
34026         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34027         libc_nonshared.a from targets in modules-names.
34029 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
34031         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34032         requires it.
34034 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
34036         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34037         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34038         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34039         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34041 2010-06-02  Andreas Schwab  <schwab@redhat.com>
34043         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34045 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
34047         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34048         and F_GETPIPE_SZ.
34049         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34050         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34051         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34052         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34053         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34054         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34056 2010-06-14  Roland McGrath  <roland@redhat.com>
34058         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34060 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
34062         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34063         __REDIRECT followed by __THROW.
34064         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34065         * posix/getopt.h (getopt): Likewise.
34067 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34069         * hurd/lookup-at.c (__file_name_lookup_at): Accept
34070         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
34071         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34072         in AT_FLAGS.
34073         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34074         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34076 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
34078         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34080 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
34082         [BZ #11640]
34083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34084         Properly check family and model.
34086 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
34088         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34090 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
34092         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34094 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
34096         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34097         symbol reference.
34099 2010-05-19  Andreas Schwab  <schwab@redhat.com>
34101         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34102         symbol reference.
34104 2010-05-21  Andreas Schwab  <schwab@redhat.com>
34106         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34107         and internal_recvmmsg.
34108         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34109         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34110         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34111         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34113         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34114         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34115         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34117 2010-05-20  Andreas Schwab  <schwab@redhat.com>
34119         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34121 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
34123         POWER7 optimizations.
34124         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34125         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34127 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
34129         * version.h: Update for 2.13 development version.
34131 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
34133         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34134         exceptions.  Return 0.
34136 2010-05-07  Roland McGrath  <roland@redhat.com>
34138         * elf/ldconfig.c (main): Add a const.
34140 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
34142         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34143         (args_options): Add no-idn option.
34144         (ahosts_keys_int): Add idn_flags to ai_flags.
34145         (parse_option): Handle 'i' option to clear idn_flags.
34147         * malloc/malloc.c (_int_free): Possible race in the most recently
34148         added check.  Only act on the data if no current modification
34149         happened.
34151 See ChangeLog.17 for earlier changes.