Update gethostbyname2_r documentation. Fixes bug #156.
[glibc.git] / ChangeLog
blobd423483b9bedd55d516404e0362b487500ae6cb5
1 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
3         [BZ #156]
4         * manual/socket.texi: Added statement about buffer
5         for gethostbyname2_r.
7 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
9         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10         Use .p2align directive instead, throughout.
11         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17         * sysdeps/x86_64/strchr.S: Likewise.
18         * sysdeps/x86_64/strrchr.S: Likewise.
20 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26         * sysdeps/generic/math_private.h (__mpsin1): Remove
27         declaration.
28         (__mpcos1): Likewise.
29         (__mpsin): New argument __range_reduce.
30         (__mpcos): Likewise.
31         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32         (slow): Use __mpsin and __mpcos.
33         (slow1): Likewise.
34         (slow2): Likewise.
35         (sloww): Likewise.
36         (sloww1): Likewise.
37         (sloww2): Likewise.
38         (bsloww): Likewise.
39         (bsloww1): Likewise.
40         (bsloww2): Likewise.
41         (cslow2): Likewise.
42         (csloww): Likewise.
43         (csloww1): Likewise.
44         (csloww2): Likewise.
45         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46         range_reduce.  Merge in __mpsin1.
47         (__mpcos): Likewise.
48         (__mpsin1): Remove.
49         (__mpcos1): Likewise.
51 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
53         * locale/loadlocale.c (_nl_intern_locale_data): Use
54         LOCFILE_ALIGNED_P.
55         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
56         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
57         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
58         obstack data is appropriately aligned.
59         (obstack_int32_grow_fast): Likewise.
60         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
61         * locale/programs/locfile.c (add_locale_uint32): Likewise.
62         (add_locale_uint32_array): Likewise.
64 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66         * benchtests/Makefile: Remove ARGLIST and RET variables.
67         ($(objpfx)bench-%.c): Pass only function name to the script.
68         * benchtests/README: Update documentation.
69         * benchtests/acos-inputs: Add new directives.
70         * benchtests/acosh-inputs: Likewise.
71         * benchtests/asin-inputs: Likewise.
72         * benchtests/asinh-inputs: Likewise.
73         * benchtests/atan-inputs: Likewise.
74         * benchtests/atanh-inputs: Likewise.
75         * benchtests/cos-inputs: Likewise.
76         * benchtests/cosh-inputs: Likewise.
77         * benchtests/exp-inputs: Likewise.
78         * benchtests/log-inputs: Likewise.
79         * benchtests/pow-inputs: Likewise.
80         * benchtests/rint-inputs: Likewise.
81         * benchtests/sin-inputs: Likewise.
82         * benchtests/sinh-inputs: Likewise.
83         * benchtests/tan-inputs: Likewise.
84         * benchtests/tanh-inputs: Likewise.
85         * scripts/bench.pl: Add support for new directives.
87 2013-10-07  Alan Modra  <amodra@gmail.com>
89         * README: Fix careless merge.
91 2013-10-05  Alan Modra  <amodra@gmail.com>
93         * NEWS: Mention powerpc64le support and bugs fixed.
94         * README: Both big-endian and little-endian powerpc64 supported.
96 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
98         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
99         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
100         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
101         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
103 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
105         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
106         match prototype.
108 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
110         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
111         Move -mhard-float appending from
112         ports/sysdeps/powerpc/powerpc32/Makefile.
113         [$(with-fp) = yes] (ASFLAGS): Likewise.
114         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
115         * sysdeps/powerpc/nofpu: Move directory from
116         ports/sysdeps/powerpc/nofpu.
117         * sysdeps/powerpc/soft-fp: Move directory from
118         ports/sysdeps/powerpc/soft-fp.
119         * sysdeps/powerpc/powerpc32/405: Move directory from
120         ports/sysdeps/powerpc/powerpc32/405.
121         * sysdeps/powerpc/powerpc32/440: Move directory from
122         ports/sysdeps/powerpc/powerpc32/440.
123         * sysdeps/powerpc/powerpc32/464: Move directory from
124         ports/sysdeps/powerpc/powerpc32/464.
125         * sysdeps/powerpc/powerpc32/476: Move directory from
126         ports/sysdeps/powerpc/powerpc32/476.
127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
128         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
130         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
132         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
134         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
136         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
137         * README: Update for powerpc-*-linux-gnu software floating point
138         support in libc.
140         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
141         case to powerpc/powerpc32*.
142         * sysdeps/unix/sysv/linux/configure: Regenerated.
144         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
145         (_FPU_MASK_OM): Define as 0x04.
146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
148         0x00c10080.
149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
150         0x0000003c.
151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
154         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
155         getcontext_e500.
156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
157         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
158         setcontext_e500.
159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
160         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
161         and setcontext_e500.
163 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
165         * locale/iso-3166.def: Update iso-1366.def and related occurrences
167 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
169         * manual/threads.texi (Default Thread Attributes): Fix typo.
171 2013-10-04  Will Newton  <will.newton@linaro.org>
173         * malloc/Makefile: Add tst-memalign.
174         * malloc/tst-memalign.c: New file.
176         * malloc/tst-posix_memalign.c: Add comments.
177         (do_test): Add comments and call free on all potentially
178         allocated pointers. Add space after cast.
180         * malloc/tst-pvalloc.c: Add comments.
181         (do_test): Add comments and call free on all potentially
182         allocated pointers. Remove duplicate check for NULL pointer.
183         Add space after cast.
185         * malloc/tst-valloc.c: Add comments.
186         (do_test): Add comments and call free on all potentially
187         allocated pointers. Remove duplicate check for NULL pointer.
188         Add space after cast.
190 2013-10-04  Alan Modra  <amodra@gmail.com>
192         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
193         Use stdint types in rather than __attribute__((mode())).
194         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
196 2013-10-04  Alan Modra  <amodra@gmail.com>
198         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
199         Correct handling of unaligned relocs for little-endian.
200         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
202 2013-10-04  Alan Modra  <amodra@gmail.com>
204         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
205         * configure: Regenerate.
206         * nptl/shlib-versions: Powerpc*le starts at 2.18.
207         * shlib-versions: Likewise.
209 2013-10-04  Alan Modra  <amodra@gmail.com>
211         * string/tester.c (test_memrchr): Increment reported test cycle.
213 2013-10-04  Alan Modra  <amodra@gmail.com>
215         * string/test-memcpy.c (do_one_test): When reporting errors, print
216         string address and don't overrun end of string.
218 2013-10-04  Alan Modra  <amodra@gmail.com>
220         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
221         insrdi.  Make better use of reg selection to speed exit slightly.
222         Schedule entry path a little better.  Remove useless "are we done"
223         checks on entry to main loop.  Handle wrapping around zero address.
224         Correct main loop count.  Handle single left-over word from main
225         loop inline rather than by using loop_small.  Remove extra word
226         case in loop_small caused by wrong loop count.  Add little-endian
227         support.
228         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
229         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
230         cache hint.
231         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
232         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
233         support.  Avoid rlwimi.
234         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
236 2013-10-04  Alan Modra  <amodra@gmail.com>
238         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
239         insrdi.  Formatting.
240         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
241         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
242         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
243         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
244         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
245         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
247 2013-10-04  Alan Modra  <amodra@gmail.com>
249         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
250         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
251         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
252         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
253         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
254         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
255         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
256         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
257         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
258         use of regs.  Use power7 mtocrf.  Tidy function tails.
260 2013-10-04  Alan Modra  <amodra@gmail.com>
262         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
263         Formatting.  Consistently use rXXX register defines or rN defines.
264         Use early exit labels that avoid restoring unused non-volatile regs.
265         Make cr field use more consistent with rWORDn compares.  Rename
266         regs used as shift registers for unaligned loop, using rN defines
267         for short lifetime/multiple use regs.
268         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
269         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
270         addi 1,1,64 to pop stack frame.  Simplify return value code.
271         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
273 2013-10-04  Alan Modra  <amodra@gmail.com>
275         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
276         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
277         rather than rlwimi.
278         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
279         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
280         little-endian support.  Correct typos.
281         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
282         rather than rlwimi.
283         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
284         in loop and entry code to keep "and." results.
285         (strchr): Add little-endian support.  Comment.  Move cntlzd
286         earlier in tail.
287         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
289 2013-10-04  Alan Modra  <amodra@gmail.com>
291         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
292         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
293         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
294         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
296 2013-10-04  Alan Modra  <amodra@gmail.com>
298         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
299         (rTMP): Define as r11.
300         (strcmp): Add little-endian support.  Optimise tail.
301         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
302         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
303         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
304         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
305         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
306         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
307         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
309 2013-10-04  Alan Modra  <amodra@gmail.com>
311         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
312         little-endian support.  Remove unnecessary "are we done" tests.
313         Handle "s" wrapping around zero and extremely large "size".
314         Correct main loop count.  Handle single left-over word from main
315         loop inline rather than by using small_loop.  Correct comments.
316         Delete "zero" tail, use "end_max" instead.
317         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
319 2013-10-04  Alan Modra  <amodra@gmail.com>
321         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
322         support.  Don't branch over align.
323         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
324         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
325         support.  Rearrange tmp reg use to suit.  Comment.
326         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
328 2013-10-04  Alan Modra  <amodra@gmail.com>
330         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
332 2013-10-04  Alan Modra  <amodra@gmail.com>
334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
335         conditional form of branch and link when obtaining pc.
336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
338 2013-10-04  Alan Modra  <amodra@gmail.com>
340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
341         HIWORD/LOWORD.
342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
345 2013-10-04  Alan Modra  <amodra@gmail.com>
347         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
348         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
349         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
350         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
351         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
352         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
353         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
354         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
355         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
356         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
358 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
359             Alistair Popple <alistair@ozlabs.au.ibm.com>
360             Alan Modra <amodra@gmail.com>
362         [BZ #15723]
363         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
364         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
365         _dl_hwcap access for little-endian.
366         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
367         destroy vmx regs when saving unaligned.
368         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
369         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
370         destroy vmx regs when saving unaligned.
372 2013-10-04  Alan Modra  <amodra@gmail.com>
374         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
375         Don't use a union to pack hi/low value.
377 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
379         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
380         for little-endian.
381         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
382         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
383         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
384         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
385         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
387 2013-10-04  Alan Modra  <amodra@gmail.com>
389         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
390         constants to usual value for .cst8 section, and remove redundant
391         high address load.
392         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
393         constant for 0x1p52.  Load little-endian words of double from
394         correct stack offsets.
396 2013-10-04  Alan Modra  <amodra@gmail.com>
398         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
399         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
400         words of double from correct stack offsets.
401         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
402         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
403         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
404         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
405         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
406         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
407         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
408         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
409         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
410         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
411         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
412         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
413         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
414         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
415         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
416         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
417         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
419 2013-10-04  Alan Modra  <amodra@gmail.com>
421         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
422         64-bit int/double union.
423         (_FPU_SETCW): Likewise.
424         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
425         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
427 2013-10-04  Alan Modra  <amodra@gmail.com>
429         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
430         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
432 2013-10-04  Alan Modra  <amodra@gmail.com>
434         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
435         use vector int constants.
436         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
438 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
440         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
441         array with long long.
442         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
443         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
444         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
445         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
446         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
447         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
448         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
449         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
450         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
451         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
452         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
453         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
454         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
456 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
458         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
459         (__signbit): Likewise.  Correct for little-endian.
460         (__signbitl): Call __signbit.
461         (lrint): Correct for little-endian.
462         (lrintf): Call lrint.
464 2013-10-04  Alan Modra  <amodra@gmail.com>
466         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
467         union 32-bit int array member with 64-bit int array.
468         (t515, tm256): Double rather than long double.
469         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
471 2013-10-04  Alan Modra  <amodra@gmail.com>
473         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
474         Delete.
475         (IEEE854_LONG_DOUBLE_BIAS): Delete.
476         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
477         version of math_ldbl.h.
479 2013-10-04  Alan Modra  <amodra@gmail.com>
481         [BZ #15734], [BZ #15735]
482         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
483         all uses of ieee875 long double macros and unions.  Simplify test
484         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
485         ldbl_extract_mantissa value for ix,iy exponents.  Properly
486         normalize after ldbl_extract_mantissa, and don't add hidden bit
487         already handled.  Don't treat low word of ieee854 mantissa like
488         low word of IBM long double and mask off bit when testing for
489         zero.
490         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
491         all uses of ieee875 long double macros and unions.  Simplify tests
492         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
493         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
494         two1022, instead use their values.  Recognise that tests for large
495         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
496         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
497         Rewrite all uses of ieee875 long double macros and unions.  Simplify
498         test for 0.0L and nan.  Correct negation.
499         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
500         ieee875 long double macros and unions.  Correct output for large
501         magnitude x.  Correct absolute value calculation.
502         (__erfcl): Likewise.
503         * math/libm-test.inc: Add tests for errors discovered in IBM long
504         double versions of fmodl, remainderl, erfl and erfcl.
506 2013-10-04  Alan Modra  <amodra@gmail.com>
508         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
509         all uses of ieee854 long double macros and unions.  Simplify tests
510         for long doubles that are fully specified by the high double.
511         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
512         Likewise.
513         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
514         Remove dead code too.
515         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
516         (__ieee754_ynl): Likewise.
517         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
518         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
519         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
520         Remove dead code too.
521         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
522         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
523         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
524         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
525         Simplify.
526         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
527         Simplify.
528         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
529         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
530         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
531         Comment on variable precision.
532         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
533         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
534         Likewise.
535         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
536         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
537         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
538         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
539         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
541 2013-10-04  Alan Modra  <amodra@gmail.com>
543         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
544         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
545         all uses of ieee854 long double macros and unions.
546         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
547         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
548         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
549         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
550         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
551         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
552         Likewise.
553         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
554         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
555         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
556         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
557         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
558         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
559         Simplify sign and nan test too.
560         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
561         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
562         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
563         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
564         Likewise.
565         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
566         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
567         Likewise.
568         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
569         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
570         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
571         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
572         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
573         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
575 2013-10-04  Alan Modra  <amodra@gmail.com>
577         * stdio-common/printf_size.c (__printf_size): Don't use
578         union ieee854_long_double in fpnum union.
579         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
580         signbit macro to retrieve sign from long double.
581         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
582         retrieve sign from long double.
583         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
584         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
585         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
586         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
587         * math/test-misc.c (main): Don't use union ieee854_long_double.
589 2013-10-04  Alan Modra  <amodra@gmail.com>
591         [BZ #15680]
592         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
593         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
594         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
595         calculation.  Remove unnecessary test for denormal exponent.
596         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
597         Correct handling of denormals.  Avoid undefined shift behaviour.
598         Correct normalisation of low mantissa when low double is denormal.
599         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
600         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
601         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
602         Correct normalisation of low mantissa.  Test for overflow of high
603         mantissa and normalise.
604         (ldbl_nearbyint): Use more readable constant for two52.
605         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
606         (__mpn_construct_long_double): Fix test for overflow of high
607         mantissa and correct normalisation.  Avoid undefined shift.
609 2013-10-04  Alan Modra  <amodra@gmail.com>
611         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
612         (union ibm_extended_long_double): Define as an array of ieee754_double.
613         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
614         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
615         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
616         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
617         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
618         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
619         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
620         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
621         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
622         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
623         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
625 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
627         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
628         page size instead of calling getpagesize.
630         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
631         (LOCFILE_ALIGN_MASK): Likewise.
632         (LOCFILE_ALIGN_UP): Likewise.
633         (LOCFILE_ALIGNED_P): Likewise.
634         * locale/programs/ld-collate.c (collate_output): Use the new
635         macros instead of __alignof__ (int32_t).
636         * locale/weight.h (findidx): Likewise.
638 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
640         [BZ #431]
641         * manual/string.texi: Fix strncat and wcsncat.
643 2013-10-03  Brooks Moses  <bmoses@google.com>
645         [BZ #15915]
646         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
647         * Makerules: ...here, and adjust associated comments.
649 2013-10-02  Will Newton  <will.newton@linaro.org>
651         * malloc/Makefile: Add tst-pvalloc.
652         * malloc/tst-pvalloc.c: New file.
654 2013-10-02  Will Newton  <will.newton@linaro.org>
656         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
657         improve test coverage.
659 2013-10-02  Will Newton  <will.newton@linaro.org>
661         * malloc/Makefile: Add tst-posix_memalign.
662         * malloc/tst-posix_memalign.c: New file.
664 2013-10-01  Eric Blake  <eblake@redhat.com>
666         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
667         Use __THROWNL rather than __THROW on static functions.
669 2013-09-30  Petr Machata  <pmachata@redhat.com>
671         * elf/elf.h (R_AARCH64_ABS16): New macro.
672         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
673         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
674         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
675         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
676         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
677         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
678         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
679         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
680         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
681         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
682         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
683         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
684         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
685         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
686         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
687         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
688         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
689         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
690         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
691         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
692         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
693         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
694         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
695         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
696         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
697         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
698         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
699         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
700         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
701         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
702         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
703         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
704         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
705         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
706         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
707         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
708         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
709         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
710         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
711         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
712         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
713         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
714         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
715         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
716         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
717         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
718         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
719         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
720         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
721         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
722         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
723         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
724         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
725         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
726         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
727         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
728         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
729         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
730         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
731         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
732         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
733         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
734         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
735         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
736         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
737         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
738         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
739         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
740         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
741         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
742         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
743         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
744         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
745         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
746         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
747         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
748         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
749         (R_AARCH64_TLSDESC_LDR): Likewise.
750         (R_AARCH64_TLSDESC_ADD): Likewise.
751         (R_AARCH64_TLSDESC_CALL): Likewise.
753 2013-09-30  Andreas Schwab  <schwab@suse.de>
755         [BZ #15048]
756         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
757         the nss database lookup.
758         * nscd/initgrcache.c (addinitgroupsX): Likewise.
759         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
761 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
763         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
765 2013-09-28  P. J. McDermott  <pj@pehjota.net>
767         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
768         ${Bash-specific parameter/pattern/string} parameter expansion.
769         * sysdeps/unix/make-syscalls.sh: Likewise.
771 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
773         * sysdeps/sh/stackguard-macros.h: New file.
775 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
778         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
779         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
780         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
781         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
782         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
784 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
786         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
787         Fix thread ID register.
789 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
791         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
792         [POSIX || UNIX98]: Require rather than permitting all symbols from
793         <time.h>.
794         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
795         element of struct sched_param.
796         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
797         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
798         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
799         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
800         constant.
802 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
804         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
805         argument calculation.
807 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
809         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
810         Expect macro.
811         [POSIX] (pthread_attr_t): Do not require type.
812         [POSIX] (pthread_cond_t): Likewise.
813         [POSIX] (pthread_condattr_t): Likewise.
814         [POSIX] (pthread_key_t): Likewise.
815         [POSIX] (pthread_mutex_t): Likewise.
816         [POSIX] (pthread_mutexattr_t): Likewise.
817         [POSIX] (pthread_once_t): Likewise.
818         [POSIX] (pthread_t): Likewise.
819         [POSIX-based standards] (pthread_atfork): Expect function.
821 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
822             Richard Sandiford  <richard@codesourcery.com>
824         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
825         (swap_endianness_p): New extern variable.
826         (set_big_endian): New inline function.
827         (maybe_swap_uint32): Likewise.
828         (maybe_swap_uint32_array): Likewise.
829         (maybe_swap_uint32_obstack): Likewise.
830         * locale/programs/locfile.c: Include <stdbool.h>.
831         (swap_endianness_p): New variable.
832         (add_locale_uint32): Call maybe_swap_uint32.
833         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
834         (write_locale_data): Call maybe_swap_uint32_array.
835         * locale/programs/ld-collate.c (obstack_int32_grow): Call
836         maybe_swap_uint32.
837         (obstack_int32_grow_fast): Likewise.
838         (output_weightwc): Call maybe_swap_uint32_obstack.
839         (collate_output): Likewise.
840         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
841         (OPT_LITTLE_ENDIAN): Likewise.
842         (options): Add --little-endian and --big-endian options.
843         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
844         * locale/programs/locarchive.c: Include "locfile.h".
845         (GET): New macro.
846         (SET): Likewise.
847         (INC): Likewise.
848         (create_archive): Use the new macros to access fields of
849         structures directly mapped from or written to locale archives.
850         (oldlocrecentcmp): Likewise.
851         (enlarge_archive): Likewise.
852         (insert_name): Likewise.
853         (add_alias): Likewise.
854         (add_locale): Likewise.
855         (delete_locales_from_archive): Likewise.
856         (show_archive_content): Likewise.
857         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
858         locale data.
860 2013-09-24  Roland McGrath  <roland@hack.frob.com>
862         * manual/freemanuals.texi: Updated from (newly) canonical copy at
863         http://www.gnu.org/doc/freemanuals.texi.
864         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
866 2013-09-24  Will Newton  <will.newton@linaro.org>
868         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
869         macro.
871 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
873         * locale/hashval.h (compute_hashval): Interpret bytes of key as
874         unsigned char.
876 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
878         * manual/threads.texi (POSIX Threads): Fix a typo.
880 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
882         [BZ #14547]
883         * string/tst-strcoll-overflow.c: New test case.
884         * string/Makefile (xtests): Add tst-strcoll-overflow.
885         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
886         cache if string sizes may cause integer overflow.
888         [BZ #14547]
889         * string/strcoll_l.c (coll_seq): New members rule, idx,
890         save_idx and back_us.
891         (get_next_seq_nocache): New function.
892         (do_compare_nocache): New function.
893         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
894         when malloc fails.
896 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
898         [BZ #15754]
899         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
900         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
901         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
903         [BZ #15754]
904         * elf/Makefile (tests): Add tst-ptrguard1.
905         (tests-static): Add tst-ptrguard1-static.
906         (tst-ptrguard1-ARGS): Define.
907         (tst-ptrguard1-static-ARGS): Define.
908         * elf/tst-ptrguard1.c: New file.
909         * elf/tst-ptrguard1-static.c: New file.
910         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
911         * sysdeps/i386/stackguard-macros.h: Likewise.
912         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
913         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
914         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
915         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
916         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
917         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
919 2013-09-23  Hector Marco  <hecmargi@upv.es>
920             Ismael Ripoll  <iripoll@disca.upv.es>
921             Carlos O'Donell  <carlos@redhat.com>
923         [BZ #15754]
924         * sysdeps/generic/stackguard-macros.h: Define
925         __pointer_chk_guard_local and POINTER_CHK_GUARD.
926         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
927         Define __pointer_chk_guard_local.
928         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
929         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
931 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
933         [BZ #15859]
934         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
936 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
938         * include/string.h (__ffs): Declare as hidden.
939         * string/ffs.c (__ffs): Define as hidden.
940         * sysdeps/i386/ffs.c (__ffs): Likewise.
941         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
942         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
943         * sysdeps/s390/ffs.c (__ffs): Likewise.
944         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
946 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
948         * NEWS: Mention malloc probes.
950         * malloc/arena.c (new_heap): New memory_heap_new probe.
951         (grow_heap): New memory_heap_more probe.
952         (shrink_heap): New memory_heap_less probe.
953         (heap_trim): New memory_heap_free probe.
954         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
955         (systrim): New memory_sbrk_less probe.
956         * manual/probes.texi: Document them.
958         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
959         * manual/probes.texi: Document it.
961         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
962         (__libc_realloc): Add memory_realloc_retry probe.
963         (__libc_memalign): Add memory_memalign_retry probe.
964         (__libc_valloc): Add memory_valloc_retry probe.
965         (__libc_pvalloc): Add memory_pvalloc_retry probe.
966         (__libc_calloc): Add memory_calloc_retry probe.
967         * manual/probes.texi: Document them.
969         * malloc/arena.c (get_free_list): Add probe
970         memory_arena_reuse_free_list.
971         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
972         and memory_arena_reuse.
973         (arena_get2) [!PER_THREAD]: Likewise.
974         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
975         memory_arena_reuse_realloc.
976         * manual/probes.texi: Document them.
978         * malloc/malloc.c (__libc_free): Add
979         memory_mallopt_free_dyn_thresholds probe.
980         (__libc_mallopt): Add multiple memory_mallopt probes.
981         * manual/probes.texi: Document them.
983         * malloc/malloc.c: Include stap-probe.h.
984         (__libc_mallopt): Add memory_mallopt probe.
985         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
986         * manual/probes.texi: New.
987         * manual/Makefile (chapters): Add probes.
988         * manual/threads.texi: Set next node.
990 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
992         [BZ #15963, #13985]
993         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
994         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
995         Add `Chinese' to `nan' entry name.
997 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
999         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1000         (POLYNOMIAL): Likewise.
1001         (TAYLOR_SINCOS): Likewise.
1002         (TAYLOR_SLOW): Likewise.
1003         (__sin): Use TAYLOR_SINCOS.
1004         (__cos): Likewise.
1005         (slow): Use TAYLOR_SLOW.
1006         (sloww): Likewise.
1007         (bsloww): Likewise.
1008         (csloww): Likewise.
1010 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1012         * stdlib/strtod_l.c: Fix buffer overrun.
1014 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1016         * benchtests/Makefile (bench): Add sincos.
1017         * benchtests/bench-sincos.c: New file.
1019         * math/libm-test.inc (cos_test_data): New test inputs.
1020         (sin_test_data): Likewise.
1022         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1023         macro.
1024         (__sin): Use it.
1025         (__cos): Likewise.
1026         (slow1): Likewise.
1027         (slow2): Likewise.
1028         (sloww1): Likewise.
1029         (sloww2): Likewise.
1030         (bsloww1): Likewise.
1031         (bsloww2): Likewise.
1032         (cslow2): Likewise.
1033         (csloww1): Likewise.
1034         (csloww2): Likewise.
1036         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1037         function.
1038         (__sin): Use it.
1039         (__cos): Likewise.
1041         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1042         gotos.
1043         (__cos): Likewise.
1045 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
1047         * config.h.in (HAVE_MIPS_NAN2008): New macro.
1048         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1049         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1050         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1051         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1052         * elf/cache.c (print_entry): Handle the new cache flags.
1054 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1055             Aldy Hernandez  <aldyh@redhat.com>
1057         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1058         Change condition to [_SOFT_FLOAT].
1059         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1060         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1061         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1062         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1063         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1066         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1067         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1068         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1069         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1070         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1071         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1072         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1073         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1074         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1075         declaration.
1077 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1079         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1080         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1081         (__longjmp): Use LOAD_GP to load saved GPRs.
1082         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1083         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1084         (__sigsetjmp): Use SAVE_GP to save GPRs.
1086         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1087         Do not append -msoft-float.
1088         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1090 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1092         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1094 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
1096         [BZ #15966]
1097         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1098         (_FPU_GETCW): Use initial "__" on variable and field names but not
1099         on macro parameter name.
1100         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
1101         parentheses around reference to macro parameter.
1103 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
1105         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1106         prototype.
1107         (ctype_startup): Use uint32_t in cast and sizeof for
1108         ctype->charnames.
1110 2013-09-11  Jia Liu  <proljc@gmail.com>
1112         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1113         __daddr_t_defined.
1114         [__FreeBSD__]: Likewise.
1116 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
1118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1119         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1120         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1121         (strchr): Remove __strchr_sse42 ifunc selection.
1122         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1123         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1125 2013-09-11  Will Newton  <will.newton@linaro.org>
1127         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1128         parameter to RES. Remove hardcoded 1000 value.
1129         * benchtests/bench-skeleton.c (main): Pass RES parameter
1130         to TIMING_INIT and multiply result by 1000.
1132 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1136 2013-09-11  Andreas Schwab  <schwab@suse.de>
1138         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1139         if not defined.
1140         (O_TMPFILE) [__USE_GNU]: Define.
1141         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1142         Define.
1144 2013-09-11  Will Newton  <will.newton@linaro.org>
1146         [BZ #15857]
1147         * malloc/malloc.c (__libc_memalign): Check the value of bytes
1148         does not overflow.
1150 2013-09-11  Will Newton  <will.newton@linaro.org>
1152         [BZ #15856]
1153         * malloc/malloc.c (__libc_valloc): Check the value of bytes
1154         does not overflow.
1156 2013-09-11  Will Newton  <will.newton@linaro.org>
1158         [BZ #15855]
1159         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1160         does not overflow.
1162 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
1164         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1165         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1166         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1167         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1168         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1170 2013-09-10  Allan McRae  <allan@archlinux.org>
1172         [BZ #15748]
1173         * manual/arith.texi (Parsing of Floats): Clarify
1174         cross-reference.
1176         [BZ #15849]
1177         * manual/install.texi (Running make install): Mention
1178         --enable-pt-chown.
1179         * INSTALL: Regenerated.
1181 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
1183         * csu/init-first.c (_init): Remove the !SHARED condition around
1184         FPU control word initialization.
1185         * elf/dl-support.c (_dl_fpu_control): New variable.
1186         (_dl_aux_init) <AT_FPUCW>: Initialize it.
1187         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1188         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1189         * math/test-fpucw-static.c: New file.
1190         * math/test-fpucw-ieee.c: New file.
1191         * math/test-fpucw-ieee-static.c: New file.
1192         * math/Makefile (tests): Add `test-fpucw-ieee' and
1193         `$(tests-static)'.
1194         (tests-static): New variable.
1195         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1196         dependency to...
1197         [($(build-shared),yes)]
1198         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1199         ... this.
1200         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1201         New dependency.
1203 2013-09-09  Allan McRae  <allan@archlinux.org>
1205         [BZ #15939]
1206         * manual/string.texi (Collation Functions): Fix typo in
1207         strcoll example.
1208         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1210         [BZ #15893]
1211         * stdlib/isomac.c (get_null_defines): Fix memory leak.
1213         [BZ #15892]
1214         * libio/memstream.c (open_memstream): Fix memory leak.
1215         * libio/wmemstream.c (open_wmemstream): Likewise.
1217         [BZ #15895]
1218         * nscd/netgroupcache.c: Fix nesting of ifdefs.
1220 2013-09-09  Will Newton  <will.newton@linaro.org>
1222         * malloc/Makefile: Add tst-realloc to tests.
1223         * malloc/tst-realloc.c: New file.
1225 2013-09-09  Allan McRae  <allan@archlinux.org>
1227         [BZ #15844]
1228         * COPYING: Update from GNU website to fix FSF address.
1229         * COPYING.LIB: Likewise.
1231 2013-09-06  David S. Miller  <davem@davemloft.net>
1233         * po/zh_TW.po: Update Chinese (traditional) translation from
1234         translation project.
1236 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
1237             Joseph Myers  <joseph@codesourcery.com>
1239         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1240         "localeinfo.h".
1241         (obstack_chunk_alloc): New macro.
1242         (obstack_chunk_free): Likewise.
1243         (record_offset): New function.
1244         (init_locale_data): Likewise.
1245         (align_locale_data): Likewise.
1246         (add_locale_empty): Likewise.
1247         (add_locale_raw_data): Likewise.
1248         (add_locale_raw_obstack): Likewise.
1249         (add_locale_string): Likewise.
1250         (add_locale_wstring): Likewise.
1251         (add_locale_uint32): Likewise.
1252         (add_locale_uint32_array): Likewise.
1253         (add_locale_char): Likewise.
1254         (start_locale_structure): Likewise.
1255         (end_locale_structure): Likewise.
1256         (start_locale_prelude): Likewise.
1257         (end_locale_prelude): Likewise.
1258         (write_locale_data): Take locale_file structure rather than an
1259         iovec.
1260         * locale/programs/locfile.h: Include "obstack.h".
1261         (struct locale_file): Change to store locale file contents instead
1262         of header.
1263         (init_locale_data): New prototype.
1264         (align_locale_data): Likewise.
1265         (add_locale_empty): Likewise.
1266         (add_locale_raw_data): Likewise.
1267         (add_locale_raw_obstack): Likewise.
1268         (add_locale_string): Likewise.
1269         (add_locale_wstring): Likewise.
1270         (add_locale_uint32): Likewise.
1271         (add_locale_uint32_array): Likewise.
1272         (add_locale_char): Likewise.
1273         (start_locale_structure): Likewise.
1274         (end_locale_structure): Likewise.
1275         (start_locale_prelude): Likewise.
1276         (end_locale_prelude): Likewise.
1277         (write_locale_data): Update prototype.
1278         * locale/programs/3level.h (struct TABLE): Remove result field.
1279         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1280         Use new locale_file interface.
1281         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1282         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1283         * locale/programs/ld-address.c (address_output): Use new
1284         locale_file interface.
1285         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1286         NO_ADD_LOCALE.
1287         (collate_finish): Don't call collseq_table_finalize.
1288         (collate_output): Use new locale_file interface.
1289         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1290         in file.
1291         (NO_FINALIZE): Change to NO_ADD_LOCALE.
1292         (TABLE): Move defines earlier in file.
1293         (ELEMENT): Likewise.
1294         (DEFAULT): Likewise.
1295         (wctrans_table_add): Move macro and inline function earlier in
1296         file.
1297         (struct wctype_table): Move type earlier in file.
1298         (add_locale_wctype_table): New static prototype.
1299         (struct locale_ctype_t): Use logical types instead of struct iovec
1300         pointers for members.
1301         (ctype_output): Use new locale_file interface.
1302         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
1303         new locale_file interface.
1304         (allocate_arrays): Update for use of new locale_file interface.
1305         * locale/programs/ld-identification.c (identification_output): Use
1306         new locale_file interface.
1307         * locale/programs/ld-measurement.c (measurement_output): Likewise.
1308         * locale/programs/ld-messages.c (messages_output): Likewise.
1309         * locale/programs/ld-monetary.c (monetary_output): Likewise.
1310         * locale/programs/ld-name.c (name_output): Likewise.
1311         * locale/programs/ld-numeric.c (numeric_output): Likewise.
1312         * locale/programs/ld-paper.c (paper_output): Likewise.
1313         * locale/programs/ld-telephone.c (telephone_output): Likewise.
1314         * locale/programs/ld-time.c (time_output): Likewise.
1316 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1318         * benchtests/Makefile: Add memrchr benchmark.
1319         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1320         benchmark as memrchr.
1321         * benchtests/bench-memrchr-ifunc.c: New file.
1322         * benchtests/bench-memrchr.c: New file.
1324 2013-09-06   Will Newton  <will.newton@linaro.org>
1326         * benchtests/Makefile (string-bench): Add memcpy.
1328 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
1329             Cong Wang  <amwang@redhat.com>
1331         * sysdeps/unix/sysv/linux/bits/in.h
1332         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1333         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1334         before __USE_KERNEL_IPV6_DEFS uses.
1335         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1336         IPPROTO_BEETPH.
1337         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1338         sockaddr_in6, or ipv6_mreq.
1340 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1342         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1343         memory access for final bytes in some large inputs.
1344         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1346 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1348         * string/test-memrchr.c: New file.
1349         * string/test-memrchr-ifunc.c: New file.
1350         * string/Makefile: Add new memrchr testcase.
1352 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
1354         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1355         fanotify_init returns EPERM.
1357 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
1359         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1360         errors.
1361         (top level): Treat second token from macro or constant entries for
1362         allowed headers as allowed.
1363         * include/complex.h: Condition internal declarations on
1364         [!_ISOMAC].
1365         * include/fenv.h: Condition include of <stdbool.h> and internal
1366         declarations on [!_ISOMAC].
1368 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
1370         [BZ #15923]
1371         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1373 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
1375         * configure.in (--enable-versioning): Remove configure option.
1376         (libc_cv_asm_symver_directive): Remove configure test.
1377         (libc_cv_ld_version_script_option): Likewise.
1378         (VERSIONING): Remove variable and AC_SUBST.
1379         (DO_VERSIONING): Remove AC_DEFINE.
1380         * configure: Regenerated.
1381         * config.h.in (DO_VERSIONING): Remove macro.
1382         * Makerules [$(versioning) = yes]: Change conditionals to
1383         [$(build-shared) = yes].
1384         * config.make.in (versioning): Remove variable.
1385         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1386         [$(build-shared) = yes].
1387         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1388         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1389         * elf/Makefile [$(versioning) = yes]: Change conditionals to
1390         [$(build-shared) = yes].
1391         * extra-lib.mk [$(versioning) = yes]: Likewise.
1392         * hurd/Makefile [$(versioning) = yes]: Likewise.
1393         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1394         [SHARED].
1395         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1396         [SHARED].
1397         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1398         [SHARED && !NO_HIDDEN].
1399         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1400         [SHARED].
1401         [SHARED && DO_VERSIONING]: Likewise..
1402         * libio/Makefile [$(versioning) = yes]: Change conditionals to
1403         [$(build-shared) = yes].
1404         * manual/install.texi (--disable-versioning): Remove
1405         documentation.
1406         * INSTALL: Regenerated.
1407         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1408         to [SHARED].
1409         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1410         [$(build-shared) = yes].
1411         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1412         * sysdeps/i386/i686/multiarch/strstr-c.c
1413         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1414         [SHARED && !NO_HIDDEN].
1415         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1416         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1417         * sysdeps/powerpc/powerpc32/dl-machine.c
1418         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1419         * sysdeps/powerpc/powerpc32/sysdep.h
1420         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1421         to [SHARED && PIC && !NO_HIDDEN].
1422         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1423         conditional to [SHARED].
1425 2013-09-04   Will Newton  <will.newton@linaro.org>
1427         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1428         * benchtests/bench-string.h: Include bench-timing.h instead
1429         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1430         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1431         call to HP_TIMING_DIFF_INIT.
1432         * benchtests/bench-memccpy.c: Use bench-timing.h macros
1433         instead of hp-timing.h macros.
1434         * benchtests/bench-memchr.c: Likewise.
1435         * benchtests/bench-memcmp.c: Likewise.
1436         * benchtests/bench-memcpy.c: Likewise.
1437         * benchtests/bench-memmem.c: Likewise.
1438         * benchtests/bench-memmove.c: Likewise.
1439         * benchtests/bench-memset.c: Likewise.
1440         * benchtests/bench-rawmemchr.c: Likewise.
1441         * benchtests/bench-strcasecmp.c: Likewise.
1442         * benchtests/bench-strcasestr.c: Likewise.
1443         * benchtests/bench-strcat.c: Likewise.
1444         * benchtests/bench-strchr.c: Likewise.
1445         * benchtests/bench-strcmp.c: Likewise.
1446         * benchtests/bench-strcpy.c: Likewise.
1447         * benchtests/bench-strcpy_chk.c: Likewise.
1448         * benchtests/bench-strlen.c: Likewise.
1449         * benchtests/bench-strncasecmp.c: Likewise.
1450         * benchtests/bench-strncat.c: Likewise.
1451         * benchtests/bench-strncmp.c: Likewise.
1452         * benchtests/bench-strncpy.c: Likewise.
1453         * benchtests/bench-strnlen.c: Likewise.
1454         * benchtests/bench-strpbrk.c: Likewise.
1455         * benchtests/bench-strrchr.c: Likewise.
1456         * benchtests/bench-strspn.c: Likewise.
1457         * benchtests/bench-strstr.c: Likewise.
1459 2013-09-04  Will Newton  <will.newton@linaro.org>
1461         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1463 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
1465         [BZ #15427]
1466         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1467         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1468         * math/libm-test.inc (lgamma_test_data): Add more tests.
1469         * sysdeps/i386/fpu/libm-test-ulps: Update.
1470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1472 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
1474         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1475         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1476         Add ifunc.
1477         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1478         Add strcmp-sse2-unaligned
1479         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1481 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1483         * Versions.def (libc): Add GLIBC_2.19.
1485 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1487         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1488         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1490 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
1492         [BZ #14155]
1493         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1494         intermediate calculations in recurrence.
1495         (__ieee754_ynf): Likewise.
1496         * math/libm-test.inc (jn_test_data): Do not allow spurious
1497         underflow exception.  Add more tests.
1498         (yn_test_data): Add more tests.
1499         * sysdeps/i386/fpu/libm-test-ulps: Update.
1500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1502 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
1504         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1506 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
1508         * csu/init-first.c: Fix then/than typos.
1509         * locale/programs/ld-collate.c: Likewise.
1510         * locale/programs/linereader.h: Likewise.
1511         * manual/charset.texi: Likewise.
1512         * manual/filesys.texi: Likewise.
1513         * manual/stdio.texi: Likewise.
1514         * manual/string.texi: Likewise.
1515         * stdlib/fmtmsg.c: Likewise.
1516         * sysdeps/i386/stpncpy.S: Likewise.
1517         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1518         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1519         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1520         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1522 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
1524         * elf/dl-open.c: Fix typos.
1525         * iconvdata/gbbig5.c: Likewise.
1526         * iconvdata/iso-2022-jp.c: Likewise.
1527         * iconv/gconv_int.h: Likewise.
1528         * iconv/loop.c: Likewise.
1529         * nis/rpcsvc/nis.h: Likewise.
1530         * resolv/ns_name.c: Likewise.
1531         * stdio-common/vfscanf.c: Likewise.
1532         * streams/stropts.h: Likewise.
1533         * sunrpc/rpc_thread.c: Likewise.
1534         * sysdeps/i386/strpbrk.S: Likewise.
1535         * sysdeps/ieee754/k_standard.c: Likewise.
1536         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1537         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1538         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1539         * sysdeps/mach/hurd/profil.c: Likewise.
1540         * sysdeps/s390/dl-procinfo.h: Likewise.
1541         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1542         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1543         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1544         * sysdeps/x86_64/dl-trampoline.S: Likewise.
1545         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1547 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
1549         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1550         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1552 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
1554         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1555         aix specific files.
1556         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1557         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1558         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1559         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1560         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1561         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1562         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1563         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1565 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
1566             Roland McGrath  <roland@hack.frob.com>
1568         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1569         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1571 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1573         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1574         __executable_start symbol instead of _start.
1576 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
1578         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1579         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1580         Move macros to...
1581         * sysdeps/gnu/ldsodefs.h: ... this new file.
1583         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1584         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1585         instead of ELFOSABI_LINUX.
1587         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1588         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1589         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1590         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1591         Likewise.
1592         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1593         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1594         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1595         Likewise.
1596         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1597         (ibm_extended_long_double): Add ieee_nan member.
1598         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1599         (do_test): New function.
1601         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1602         TEST_TRUNC.
1603         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1604         functions, renamed from truncdfsf_test, trunctfsf_test,
1605         trunctfdf_test.
1606         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1607         functions.
1608         (do_test): Run all these.
1610 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
1612         * argp/argp-help.c: Fix typos.
1613         * argp/argp-parse.c: Likewise.
1614         * debug/backtracesyms.c: Likewise.
1615         * elf/elf.h: Likewise.
1616         * malloc/malloc.c: Likewise.
1617         * nis/nis_print.c: Likewise.
1618         * resolv/res_comp.c: Likewise.
1619         * stdlib/stdlib.h: Likewise.
1620         * sunrpc/clnt_tcp.c: Likewise.
1621         * sunrpc/clnt_udp.c: Likewise.
1622         * sunrpc/clnt_unix.c: Likewise.
1623         * sysdeps/unix/bsd/ptsname.c: Likewise.
1624         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1625         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1627         Likewise.
1628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1629         Likewise.
1630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1631         Likewise.
1632         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1634 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1636         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1639 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
1641         [BZ #15897]
1642         * dlfcn/Makefile (tests): Add bug-dl-leaf.
1643         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1644         ($(objpfx)bug-dl-leaf): New rule.
1645         ($(objpfx)bug-dl-leaf.so): Likewise.
1646         ($(objpfx)bug-dl-leaf.out): Likewise.
1647         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1648         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1649         * dlfcn/bug-dl-leaf.c: New test.
1650         * dlfcn/bug-dl-leaf-lib.c: Likewise.
1651         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1652         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1653         (dlclose): Likewise.
1654         (dlmopen): Likewise.
1656 2013-08-27  Roland McGrath  <roland@hack.frob.com>
1658         * include/netdb.h [!_ISOMAC]:
1659         Don't include <tls.h>.
1660         (h_errno, __libc_h_errno): Move declaration and macros out of
1661         [_LIBC_REENTRANT].
1663         * include/resolv.h [_RESOLV_H_]:
1664         Don't include <tls.h>.
1665         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1666         * resolv/res_libc.c: Don't include <tls.h>.
1667         (_res): Use __attribute__ ((nocommon)) in place of
1668         __attribute__ ((section (".bss"))).
1670         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1671         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1673         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1675         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1676         only under [SIOCGIFCONF && SIOCGIFNETMASK].
1678         * resolv/res_mkquery.c: Include <sys/time.h>.
1680         * inet/ifreq.c: Moved to ...
1681         * sysdeps/unix/ifreq.c: ... here.
1682         * inet/ifreq.c: New file, true stub version.
1684         * socket/sa_len.c: New file.
1685         * socket/Makefile (aux): Add it.
1686         * sysdeps/unix/sysv/linux/Makefile
1687         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1688         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1689         and #include <socket/sa_len.c>.
1690         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1691         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1693         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1694         * bits/socket.h: ... here.
1696         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1697         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1698         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1700 2013-08-27  Andreas Schwab  <schwab@suse.de>
1702         [BZ #15736]
1703         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1704         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1705         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1706         * string/test-strcasecmp.c (test_main): Run tests in several
1707         locales.
1708         * string/test-strncasecmp.c (test_main): Likewise.
1710         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1711         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1712         to __strcasecmp_nonascii and __strncasecmp_nonascii.
1713         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1714         (__strncasecmp_ssse3) [PIC]: Likewise.
1716 2013-08-26  Roland McGrath  <roland@hack.frob.com>
1718         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1720         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1721         instead of explicitly declaring xdecrypt.
1722         * nis/nss_nis/nis-publickey.c: Likewise.
1724 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1726         [BZ #15890]
1727         * nscd/aicache.c: Include res_hconf.h.
1728         (addhstaiX): Initialize res_hconf.
1730 2013-08-26  Andreas Schwab  <schwab@suse.de>
1732         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1733         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1735 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1737         * nscd/aicache.c (addhstaiX): Fix indentation.
1739 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
1741         * configure.ac: Quote $build_pt_chown test.
1742         * configure: Regenerated.
1744 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
1746         [BZ #15532]
1747         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1748         * math/s_cexpf.c (__cexpf): Likewise.
1749         * math/s_cexpl.c (__cexpl): Likewise.
1750         * math/libm-test.inc (cexp_test_data): Correct expected return
1751         value for NaN + i0.  Add another test.
1753 2013-08-22  David S. Miller  <davem@davemloft.net>
1755         * po/ca.po: Update Catalan translation from translation project.
1756         * po/uk.po: Add Ukrainian translations from translation project.
1758 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
1760         [BZ #15797]
1761         * math/s_fdim.c (__fdim): Check for infinite arguments if result
1762         is infinite, not alongside NaN test.
1763         * math/s_fdimf.c (__fdimf): Likewise.
1764         * math/s_fdiml.c (__fdiml): Likewise.
1765         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
1766         errno is unchanged.
1768 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
1770         * argp/argp-help.c: Fix typos.
1771         * crypt/speeds.c: Likewise.
1772         * csu/check_fds.c: Likewise.
1773         * elf/dl-load.c: Likewise.
1774         * elf/dl-open.c: Likewise.
1775         * elf/reldep3.c: Likewise.
1776         * elf/reldep.c: Likewise.
1777         * elf/sprof.c: Likewise.
1778         * iconv/iconv_charmap.c: Likewise.
1779         * iconv/skeleton.c: Likewise.
1780         * iconv/strtab.c: Likewise.
1781         * io/lockf64.c: Likewise.
1782         * libio/libioP.h: Likewise.
1783         * resolv/gai_notify.c: Likewise.
1784         * resolv/ns_name.c: Likewise.
1785         * resolv/ns_samedomain.c: Likewise.
1786         * resolv/res_send.c: Likewise.
1787         * stdlib/random.c: Likewise.
1788         * sunrpc/rpc/xdr.h: Likewise.
1789         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1790         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1791         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1792         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1793         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1794         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1795         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1796         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1797         * sysdeps/mach/hurd/check_fds.c: Likewise.
1798         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1799         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1800         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1801         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1802         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1803         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1804         * sysdeps/pthread/aio_notify.c: Likewise.
1805         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1806         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1807         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1808         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1809         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1811 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1813         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1814         version if bit_Slow_SSE4_2 is set.
1815         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1816         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1818 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1820         [BZ #15867]
1821         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1822         trampoline stack frame information.
1823         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1824         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1825         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1826         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1827         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1828         * sysdeps/unix/sysv/linux/powerpc/init-first.c
1829         (_libc_vdso_platform_setup): Initialize the signal trampolines.
1830         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1831         sa_flags value.
1832         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1833         interrupting a syscall and set with option SA_SIGINFO.
1835 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1837         [BZ #15531]
1838         * math/s_cproj.c (__cproj): Only return an infinity if one part of
1839         argument is infinite.
1840         * math/s_cprojf.c (__cprojf): Likewise.
1841         * math/s_cprojl.c (__cprojl): Likewise.
1842         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1843         * math/libm-test.inc (cproj_test_data): Add more tests.
1845         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1847         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1848         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1849         size.  Use __ffs to determine corresponding shift.
1851 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1852             Roland McGrath  <roland@hack.frob.com>
1854         * Makefile (INSTALL): Remove trailing blank lines from output of
1855         makeinfo.
1857 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1859         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1860         Align 32 bit compat elf_greg to 8 bytes.
1862 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1864         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1866 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1868         * string/strcoll_l.c (coll_seq): New structure.
1869         (get_next_seq_cached): New function.
1870         (get_next_seq): New function.
1871         (do_compare): New function.
1872         (STRCOLL): Use GNU style definition.  Simplify implementation
1873         by using get_next_seq, get_next_seq_cached and do_compare.
1875 2013-08-16  Florian Weimer  <fweimer@redhat.com>
1877         [BZ #14699]
1878         CVE-2013-4237
1879         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1880         member.
1881         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1882         member.
1883         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1884         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1885         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
1886         conditional.
1887         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1888         GETDENTS_64BIT_ALIGNED.
1889         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1890         * manual/filesys.texi (Reading/Closing Directory): Document
1891         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
1892         strongly.
1893         * manual/conf.texi (Limits for Files): Add portability note to
1894         NAME_MAX, PATH_MAX.
1895         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1897 2013-08-13  Andreas Schwab  <schwab@suse.de>
1899         [BZ #15749]
1900         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1901         of fabs.
1902         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1903         LDBL_MAX_EXP >= 16384]: Add tests for it.
1905 2013-08-12  David S. Miller  <davem@davemloft.net>
1907         * version.h (RELEASE): Set to "development".
1908         (VERSION): Set to "2.18.90".
1909         * NEWS: Add 2.19 section.
1911 2013-08-03  David S. Miller  <davem@davemloft.net>
1913         * po/ko.po: Update Korean translation from translation project.
1915 2013-08-01  David S. Miller  <davem@davemloft.net>
1917         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
1918         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1919         Bilka.
1921 2013-07-30  David S. Miller  <davem@davemloft.net>
1923         * po/fr.po: Update French translation from translation project.
1925 2013-07-28  David S. Miller  <davem@davemloft.net>
1927         * po/cs.po: Update Czech translation from translation project.
1929         * po/sv.po: Update Swedish translation from translation project.
1931 2013-07-27  David S. Miller  <davem@davemloft.net>
1933         * po/eo.po: Update Esperanto translation from translation project.
1935         * po/vi.po: Update Vietnamese translation from translation project.
1937         * po/de.po: Update German translation from translation project.
1939 2013-07-26  David S. Miller  <davem@davemloft.net>
1941         * po/bg.po: Update Bulgarian translation from translation project.
1943         * po/nl.po: Update Dutch translation from translation project.
1944         * po/pl.po: Update Polish translation from translation project.
1945         * po/ru.po: Update Russian translation from translation project.
1947 2013-07-24  David S. Miller  <davem@davemloft.net>
1949         * po/libc.pot: Update.
1951 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1953         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1954         variable page size.
1955         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1956         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1957         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1959 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1961         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1963 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1964             Andreas Schwab  <schwab@suse.de>
1965             Roland McGrath  <roland@hack.frob.com>
1966             Joseph Myers  <joseph@codesourcery.com>
1967             Carlos O'Donell  <carlos@redhat.com>
1969         [BZ #15755]
1970         * config.h.in: Define HAVE_PT_CHOWN.
1971         * config.make.in (build-pt-chown): New variable.
1972         * configure.in (--enable-pt_chown): New configure option.
1973         * configure: Regenerate.
1974         * login/Makefile: Include Makeconfig.  Build pt_chown only if
1975         build-pt-chown is enabled.
1976         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1977         pt_chown to fix pty ownership.
1978         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1979         CLOSE_ALL_FDS.
1980         * manual/install.texi (Configuring and compiling): Mention
1981         --enable-pt_chown. Add @findex for grantpt.
1982         * INSTALL: Regenerate.
1984 2013-07-20  David S. Miller  <davem@davemloft.net>
1986         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1987         difference between 32-bit and 64-bit.
1989 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
1991         [BZ #15711]
1992         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1993         Avoid system header dependency with -ffreestanding.
1994         ($(objpfx)bits/syscall%d): Likewise.
1996 2013-07-13  David S. Miller  <davem@davemloft.net>
1998         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1999         underflows from atanl/atan2l due to bug 15319.
2000         (casinh_test_data): Likewise.
2002 2013-07-07  David S. Miller  <davem@davemloft.net>
2004         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2006 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
2008         * sysdeps/i386/fpu/libm-test-ulps: Update.
2009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2011 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2013         * configure.in (--enable-lock-elision): Fix message text.
2014         * INSTALL: Regenerate.
2015         * configure: Regenerate.
2017 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2021 2013-07-03  Andreas Jaeger  <aj@suse.de>
2023         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2024         define.
2025         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2026         (ptrace_peeksiginfo_args): Add.
2027         (__ptrace_peeksiginfo_flags): Add.
2028         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2029         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2030         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2032 2013-07-03  Allan McRae  <allan@archlinux.org>
2034         * sysdeps/i386/fpu/libm-test-ulps: Update.
2036 2013-07-02  David S. Miller  <davem@davemloft.net>
2038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2040 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
2042         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2044 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2046         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2049 2013-07-02  Andi Kleen <ak@linux.intel.com>
2051         * config.h.in (ENABLE_LOCK_ELISION): Add.
2052         * configure.in (--enable-lock-elision): Add option.
2053         * manual/install.texi: Document --enable lock elision.
2054         * configure: Regenerate
2055         * INSTALL: Regenerate.
2057 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
2059         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2060         SSE4.2 strcasecmp for libc.a.
2061         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2063 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2065         [BZ #13304]
2066         * soft-fp/op-common.h (_FP_FMA): New macro.
2067         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2068         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
2069         (_FP_MUL_MEAT_1_imm): ... here.
2070         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
2071         (_FP_MUL_MEAT_1_wide): ... here.
2072         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
2073         (_FP_MUL_MEAT_1_hard): ... here.
2074         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2075         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
2076         (_FP_MUL_MEAT_2_wide): ... here.
2077         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
2078         (_FP_MUL_MEAT_2_wide_3mul): ... here.
2079         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
2080         (_FP_MUL_MEAT_2_gmp): ... here.
2081         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2082         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
2083         (_FP_MUL_MEAT_4_wide): ... here.
2084         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
2085         (_FP_MUL_MEAT_4_gmp): ... here.
2086         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2087         (_FP_WFRACBITS_DW_S): Likewise.
2088         (_FP_WFRACXBITS_DW_S): Likewise.
2089         (_FP_HIGHBIT_DW_S): Likewise.
2090         (FP_FMA_S): Likewise.
2091         (_FP_FRAC_HIGH_DW_S): Likewise.
2092         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2093         (_FP_WFRACBITS_DW_D): Likewise.
2094         (_FP_WFRACXBITS_DW_D): Likewise.
2095         (_FP_HIGHBIT_DW_D): Likewise.
2096         (FP_FMA_D): Likewise.
2097         (_FP_FRAC_HIGH_DW_D): Likewise.
2098         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2099         (_FP_WFRACBITS_DW_E): Likewise.
2100         (_FP_WFRACXBITS_DW_E): Likewise.
2101         (_FP_HIGHBIT_DW_E): Likewise.
2102         (FP_FMA_E): Likewise.
2103         (_FP_FRAC_HIGH_DW_E): Likewise.
2104         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2105         (_FP_WFRACBITS_DW_Q): Likewise.
2106         (_FP_WFRACXBITS_DW_Q): Likewise.
2107         (_FP_HIGHBIT_DW_Q): Likewise.
2108         (FP_FMA_Q): Likewise.
2109         (_FP_FRAC_HIGH_DW_Q): Likewise.
2110         * soft-fp/fmasf4.c: New file.
2111         * soft-fp/fmadf4.c: Likewise.
2112         * soft-fp/fmatf4.c: Likewise.
2114 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2116         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2117         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2118         Silvermont.
2119         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2120         macro.
2121         (index_Slow_SSE4_2): Likewise.
2122         (index_Prefer_PMINUB_for_stringop): Likewise.
2123         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2124         bit_Slow_SSE4_2 is set.
2125         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2126         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2128 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2130         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2131         rtld_global._dl_hwcap2.
2132         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2133         POWER8.
2134         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2135         POWER8 feature descriptions defined in _dl_hwcap2.
2136         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2137         string handling for POWER8 feature bits.
2138         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2139         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2140         _dl_powerpc_cap_flags.
2141         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2142         * sysdeps/powerpc/rtld-global-offsets.sym
2143         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2144         _dl_hwcap2 in the rtld_global_ro structure.
2146 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2148         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2149         hardware capabilities in support of AT_HWCAP2.
2150         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2151         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2152         GLRO(dl_hwcap2).
2153         (_dl_show_auxv): Add support for calling _dl_procinfo to display
2154         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
2155         explicitly the unknown a_type display mechanism is used.
2156         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2157         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2158         struct member.
2159         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2160         to macro prototype for AT_HWCAP2 support.
2161         * sysdeps/i386/dl-procinfo.h: Likewise.
2162         * sysdeps/s390/dl-procinfo.h: Likewise.
2163         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2164         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
2165         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
2166         return -1 for unknown a_type display fallback.
2167         * sysdeps/sparc/dl-procinfo.h: Likewise.
2168         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2169         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2171 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
2173         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2174         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2176 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
2178         [BZ #12492]
2179         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2180         mprotect making __stack_prot writable.
2182 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
2183             Joseph Myers  <joseph@codesourcery.com>
2185         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2186         as being properly aligned.
2188 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
2190         * dlfcn/modstatic5.c: New file.
2191         * dlfcn/tststatic5.c: New file.
2192         * dlfcn/Makefile (tests): Add tststatic5.
2193         (tests-static): Likewise.
2194         (modules-names): Add modstatic5.
2195         (tststatic5-ENV): New variable.
2196         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2198         [BZ #15022]
2199         * elf/dl-support.c (_dl_main_map): New variable.
2200         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2201         (_dl_nns, _dl_load_adds): Set to 1.
2202         (_dl_initial_searchlist): Refer to _dl_main_map.
2203         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2204         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2205         call to _dl_get_origin.
2206         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2207         around call_map.
2208         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2209         * dlfcn/modstatic3.c: New file.
2210         * dlfcn/tststatic3.c: New file.
2211         * dlfcn/tststatic4.c: New file.
2212         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2213         (tests-static): Likewise.
2214         (modules-names): Add modstatic3.
2215         (tststatic3-ENV, tststatic4-ENV): New variables.
2216         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2217         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2219 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
2221         * configure.in (CC): Require GCC version 4.4 or later.
2222         * configure: Regenerated.
2223         * manual/install.texi (Tools for Compilation): Update GCC version
2224         requirement.
2225         * INSTALL: Regenerated.
2227 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2229         [BZ #15674]
2230         * string/test-memcmp.c (check2): New.
2231         (main): Call check2.
2233         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2235 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
2237         [BZ #15022]
2238         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2239         over to...
2240         (dl_open_worker) [!SHARED]: ... here.
2242 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2244         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2246 2013-06-25  Richard Henderson  <rth@redhat.com>
2248         * locale/programs/locarchive.c: Include <libc-internal.h>
2250 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
2252         * manual/texinfo.tex: Update to version 2013-06-21.17, with
2253         trailing whitespace removed.
2255 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2257         [BZ #10283]
2258         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2259         * locale/programs/locarchive.c: Include libc-mmap.h.
2260         (prepare_address_space): Take two new outputs (the mmap base and len).
2261         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
2262         values.
2263         (create_archive): Declare new mmap base and len values for
2264         prepare_address_space, and store the result in ah.
2265         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2266         (enlarge_archive): If ah->mmap_base is not NULL, use that and
2267         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2268         Declare new mmap base and len values for
2269         prepare_address_space, and store the result in new_ah.
2270         (open_archive): Declare new mmap base and len values for
2271         prepare_address_space, and store the result in ah.
2272         (close_archive): If ah->mmap_base is not NULL, use that and
2273         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2274         * sysdeps/generic/libc-mmap.h: New file.
2276 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2278         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2279         (ALIGN_UP): Likewise.
2280         (PTR_ALIGN_DOWN): Likewise.
2281         (PTR_ALIGN_UP): Likewise.
2283 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2285         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2286         entry mapped to PPC_PLATFORM_POWER8.
2287         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2288         POWER8.
2289         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2290         (_dl_string_platform): Add case for exporting platform position for
2291         POWER8.
2292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2293         search path to sysdeps/powerpc/powerpc32/power8 directory.
2294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2295         search path to sysdeps/powerpc/powerpc64/power8 directory.
2296         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2297         power7 directories.
2298         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2299         power7 directories.
2301 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2303         * INSTALL: Regenerate.
2305         * nscd/connections.c (nscd_init): Fix comment.
2307 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
2309         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2311         [BZ #15667]
2312         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2313         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2315 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
2317         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2318         DL_DST_REQ_STATIC.
2319         (DL_DST_REQ_STATIC): Remove macro.
2321 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
2323         [BZ #7006]
2324         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2325         with a shift of 0 bits.
2327 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
2329         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2330         $(tststatic-ENV).
2332 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2334         [BZ #15655]
2335         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2337 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2339         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2340         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2341         accepts -fno-tree-loop-distribute-patterns.
2342         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2343         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2344         recursive call.
2345         * string/memset.c (memset): Likewise.
2346         * string/test-memmove.c (simple_memmove): Disable loop transformation
2347         to library calls.
2348         * string/test-memset.c (simple_memset): Likewise.
2349         * benchtests/bench-memmove.c (simple_memmove): Likewise.
2350         * benchtests/bench-memset.c (simple_memset): Likewise.
2351         * configure: Regenerated.
2353 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
2355         * math/test-misc.c (main): Ignore fesetround failure when failures
2356         of subsequent rounding tests would be ignored.
2358         [BZ #15654]
2359         * math/fedisblxcpt.c (fedisableexcept): Return 0.
2360         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2361         * math/fegetenv.c (__fegetenv): Return 0.
2362         * math/fegetexcept.c (fegetexcept): Return 0.
2363         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2364         FE_TONEAREST.
2365         * math/feholdexcpt.c (feholdexcept): Return 0.
2366         * math/fesetenv.c (__fesetenv): Return 0.
2367         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2368         argument FE_TONEAREST.
2369         * math/feupdateenv.c (__feupdateenv): Return 0.
2370         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2372 2013-06-18  Roland McGrath  <roland@hack.frob.com>
2374         * elf/rtld-Rules (rtld-compile-command.S): New variable.
2375         (rtld-compile-command.s, rtld-compile-command.c): New variables.
2376         ($(objpfx)rtld-%.os rules): Use them.
2378 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2380         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2381         fields.
2383 2013-06-17  Roland McGrath  <roland@hack.frob.com>
2385         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2386         length of target pattern, then descending length of dependency pattern.
2387         * configure.in (AWK): Require gawk 3.1.2 or newer.
2388         * manual/install.texi (Tools for Compilation): Say that we do.
2389         * configure: Regenerated.
2391         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2392         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2393         * scripts/sysd-rules.awk: ... this new script.
2394         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2395         than a glob-style pattern.
2397 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
2399         * math/test-misc.c (main): Do not treat incorrectly rounded
2400         conversions as failure unless ROUNDING_TESTS passes.
2402 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
2404         [BZ #15631]
2405         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2406         restore exception state around main square root computation, then
2407         check for inexactness explicitly.
2409         * math/libm-test.inc (fma_test_data): Add another test.
2411 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2413         * manual/threads.texi (Non-POSIX Extensions): New document
2414         node.  Document pthread_getattr_default_np and
2415         pthread_setattr_default_np.
2417         * Versions.def (libpthread): Add GLIBC_2.18.
2418         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2420         Likewise.
2421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2422         Likewise.
2423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2424         Likewise.
2425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2426         Likewise.
2427         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2428         Likewise.
2429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2430         Likewise.
2431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2432         Likewise.
2433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2434         Likewise.
2435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2436         Likewise.
2438 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2440         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2441         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2443 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2444             H.J. Lu  <hjl.tools@gmail.com>
2446         [BZ #15627]
2447         * sysdeps/x86_64/rtld-memset.c: Remove file.
2448         * sysdeps/x86_64/rtld-memset.S: New file.
2450 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
2452         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2453         (test_in_one_mode): Take arguments for whether the rounding mode
2454         is supported for each floating-point type.
2455         (do_test): Pass new arguments to test_in_one_mode using
2456         ROUNDING_TESTS.
2458 2013-06-13  Roland McGrath  <roland@hack.frob.com>
2460         * posix/tst-waitid.c (do_test): Distinguish different instances of
2461         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
2462         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2463         before entering the kernel for waitpid.
2465 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2467         * NEWS: Fix note on clock function precision.  Text by Roland
2468         McGrath.
2470 2013-06-13  Roland McGrath  <roland@hack.frob.com>
2472         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2473         it into place only when and if the sanity check passes.
2475 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
2477         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2478         output for whether conversion result is exact.  Take argument
2479         indicating whether type is IBM long double.
2480         (round_for_all): Change need_exact field to ibm_ld.
2481         * stdlib/tst-strtod-round.c (struct exactness): New type.
2482         (struct test): Change bool ld_ok field to struct exactness exact.
2483         (TEST): Update all definitions for change to field.
2484         (tests): Regenerate array contents.
2485         (test_in_one_mode): Take pointer to new field instead of old ld_ok
2486         field value.  Check for IBM long double here.
2487         (do_test): Update calls to test_in_one_mode.
2489 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2491         [BZ #12515]
2492         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2493         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2495 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2497         [BZ #15605]
2498         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2499         generated by the compiler on loop optimizations.
2500         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2501         general definitions.
2503 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
2505         * math/bug-nextafter.c: Include <math-tests.h>.
2506         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2507         the relevant type.
2508         * math/bug-nexttoward.c: Include <math-tests.h>.
2509         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2510         the relevant type.
2511         * math/test-misc.c: Include <math-tests.h>.
2512         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2513         the relevant type.
2515 2013-06-12  Andreas Jaeger  <aj@suse.de>
2517         * po/ia.po: Update Interlingua translation from translation
2518         project.
2520 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2522         * include/fenv.h: Include stdbool.h.
2523         (struct rm_ctx): New structure.
2524         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2525         Define macro.
2526         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2527         (SET_RESTORE_ROUNDF): Likewise.
2528         (SET_RESTORE_ROUNDL): Likewise.
2529         (SET_RESTORE_ROUND_NOEX): Likewise.
2530         (SET_RESTORE_ROUND_NOEXF): Likewise.
2531         (SET_RESTORE_ROUND_NOEXL): Likewise.
2532         (SET_RESTORE_ROUND_53BIT): Likewise.
2533         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2534         (libc_feresetround_noexf_ctx): Likewise.
2535         (libc_feresetround_noexl_ctx): Likewise.
2536         (libc_feholdsetround_53bit_ctx): Likewise.
2537         (libc_feresetround_53bit_ctx): Likewise.
2538         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2539         (libc_feholdexcept_setround_sse_ctx): New function.
2540         (libc_fesetenv_sse_ctx): Likewise.
2541         (libc_feupdateenv_sse_ctx): Likewise.
2542         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2543         (libc_feholdexcept_setround_387_ctx): Likewise.
2544         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2545         (libc_feholdsetround_387_prec_ctx): Likewise.
2546         (libc_feholdsetround_387_ctx): Likewise.
2547         (libc_feholdsetround_387_53bit_ctx): Likewise.
2548         (libc_feholdsetround_sse_ctx): Likewise.
2549         (libc_feresetround_sse_ctx): Likewise.
2550         (libc_feresetround_387_ctx): Likewise.
2551         (libc_feupdateenv_387_ctx): Likewise.
2552         (libc_feholdexcept_setroundf_ctx): Define macro.
2553         (libc_fesetenvf_ctx): Likewise.
2554         (libc_feupdateenvf_ctx): Likewise.
2555         (libc_feholdsetroundf_ctx): Likewise.
2556         (libc_feresetroundf_ctx): Likewise.
2557         (libc_feholdexcept_setround_ctx): Likewise.
2558         (libc_fesetenv_ctx): Likewise.
2559         (libc_feupdateenv_ctx): Likewise.
2560         (libc_feholdsetround_ctx): Likewise.
2561         (libc_feresetround_ctx): Likewise.
2562         (libc_feholdexcept_setroundl_ctx): Likewise.
2563         (libc_feupdateenvl_ctx): Likewise.
2564         (libc_feholdsetroundl_ctx): Likewise.
2565         (libc_feresetroundl_ctx): Likewise.
2566         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2567         (libc_feresetround_53bit_ctx): Likewise.
2569 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2571         * locale/iso-639.def: Convert to UTF-8.
2573 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
2575         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2576         (EXCEPTION_TESTS_double): Likewise.
2577         (EXCEPTION_TESTS_long_double): Likewise.
2578         (EXCEPTION_TESTS): Likewise.
2579         * math/libm-test.inc (test_exceptions): Only test exceptions if
2580         EXCEPTION_TESTS (FLOAT).
2582 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2584         * benchtests/Makefile (string-bench): Add strcpy_chk and
2585         stpcpy_chk.
2586         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2587         * benchtests/bench-stpcpy_chk.c: New file.
2588         * benchtests/bench-strcpy_chk-ifunc.c: New file.
2589         * benchtests/bench-strcpy_chk.c: New file.
2590         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2591         code.
2592         (do_test): Likewise.
2594 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2596         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2597         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2598         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2599         with tabs where appropriate.
2600         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2601         dl-procinfo.h.
2602         [PPC_PLATFORM_PPC440]: Likewise.
2603         [PPC_PLATFORM_PPC464]: Likewise.
2604         [PPC_PLATFORM_PPC476]: Likewise.
2605         (_dl_string_platform): Add support for detecting ppc405, ppc440,
2606         ppc464, and ppc476 platform strings merging from ports/
2607         dl-procinfo.h.
2609 2013-06-11  Andreas Schwab  <schwab@suse.de>
2611         [BZ #14991]
2612         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2613         (from_ucs4_idx): Regenerate.
2614         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2615         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2616         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2617         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2618         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2619         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2620         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2621         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2622         from FROM_LOOP and TO_LOOP specific macros.
2623         (BODY): Handle combining characters.
2624         * iconvdata/BIG5HKSCS.irreversible: Update.
2625         * iconvdata/BIG5HKSCS.precomposed: New file.
2626         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2627         characters.
2628         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2630 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2632         * include/sys/time.h: Fix indentation and add copyright header.
2634         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2635         (do_test): Likewise.
2636         * string/test-memchr.c (do_one_test): Likewise.
2637         (do_test): Likewise.
2638         * string/test-memcmp.c (do_one_test): Likewise.
2639         (do_test): Likewise.
2640         * string/test-memcpy.c (do_one_test): Likewise.
2641         (do_test): Likewise.
2642         * string/test-memmem.c (do_one_test): Likewise.
2643         (do_test): Likewise.
2644         (do_random_tests): Likewise.
2645         * string/test-memmove.c (do_one_test): Likewise.
2646         (do_test): Likewise.
2647         * string/test-memset.c (do_one_test): Likewise.
2648         (do_test): Likewise.
2649         * string/test-rawmemchr.c (do_one_test): Likewise.
2650         (do_test): Likewise.
2651         * string/test-strcasecmp.c (do_one_test): Likewise.
2652         (do_test): Likewise.
2653         * string/test-strcasestr.c (do_one_test): Likewise.
2654         (do_test): Likewise.
2655         * string/test-strcat.c (do_one_test): Likewise.
2656         (do_test): Likewise.
2657         * string/test-strchr.c (do_one_test): Likewise.
2658         (do_test): Likewise.
2659         * string/test-strcmp.c (do_one_test): Likewise.
2660         (do_test): Likewise.
2661         * string/test-strcpy.c (do_one_test): Likewise.
2662         (do_test): Likewise.
2663         * string/test-string.h: Likewise.
2664         (test_init): Likewise.
2665         * string/test-strlen.c (do_one_test): Likewise.
2666         (do_test): Likewise.
2667         * string/test-strncasecmp.c (do_one_test): Likewise.
2668         (do_test): Likewise.
2669         * string/test-strncat.c (do_one_test): Likewise.
2670         (do_test): Likewise.
2671         * string/test-strncmp.c (do_one_test): Likewise.
2672         (do_test_limit): Likewise.
2673         (do_test): Likewise.
2674         * string/test-strncpy.c (do_one_test): Likewise.
2675         (do_test): Likewise.
2676         * string/test-strnlen.c (do_one_test): Likewise.
2677         (do_test): Likewise.
2678         * string/test-strpbrk.c (do_one_test): Likewise.
2679         (do_test): Likewise.
2680         * string/test-strrchr.c (do_one_test): Likewise.
2681         (do_test): Likewise.
2682         * string/test-strspn.c (do_one_test): Likewise.
2683         (do_test): Likewise.
2684         * string/test-strstr.c (do_one_test): Likewise.
2685         (do_test): Likewise.
2687         * benchtests/Makefile (string-bench): Add string benchmarks.
2688         * benchtests/bench-bcopy-ifunc.c: New file.
2689         * benchtests/bench-bcopy.c: New file.
2690         * benchtests/bench-bzero-ifunc.c: New file.
2691         * benchtests/bench-bzero.c: New file.
2692         * benchtests/bench-memccpy-ifunc.c: New file.
2693         * benchtests/bench-memccpy.c: New file.
2694         * benchtests/bench-memchr-ifunc.c: New file.
2695         * benchtests/bench-memchr.c: New file.
2696         * benchtests/bench-memcmp-ifunc.c: New file.
2697         * benchtests/bench-memcmp.c: New file.
2698         * benchtests/bench-memmem-ifunc.c: New file.
2699         * benchtests/bench-memmem.c: New file.
2700         * benchtests/bench-memmove-ifunc.c: New file.
2701         * benchtests/bench-memmove.c: New file.
2702         * benchtests/bench-mempcpy-ifunc.c: New file.
2703         * benchtests/bench-mempcpy.c: New file.
2704         * benchtests/bench-memset-ifunc.c: New file.
2705         * benchtests/bench-memset.c: New file.
2706         * benchtests/bench-rawmemchr-ifunc.c: New file.
2707         * benchtests/bench-rawmemchr.c: New file.
2708         * benchtests/bench-stpcpy-ifunc.c: New file.
2709         * benchtests/bench-stpcpy.c: New file.
2710         * benchtests/bench-stpncpy-ifunc.c: New file.
2711         * benchtests/bench-stpncpy.c: New file.
2712         * benchtests/bench-strcasecmp-ifunc.c: New file.
2713         * benchtests/bench-strcasecmp.c: New file.
2714         * benchtests/bench-strcasestr-ifunc.c: New file.
2715         * benchtests/bench-strcasestr.c: New file.
2716         * benchtests/bench-strcat-ifunc.c: New file.
2717         * benchtests/bench-strcat.c: New file.
2718         * benchtests/bench-strchr-ifunc.c: New file.
2719         * benchtests/bench-strchr.c: New file.
2720         * benchtests/bench-strchrnul-ifunc.c: New file.
2721         * benchtests/bench-strchrnul.c: New file.
2722         * benchtests/bench-strcmp-ifunc.c: New file.
2723         * benchtests/bench-strcmp.c: New file.
2724         * benchtests/bench-strcpy-ifunc.c: New file.
2725         * benchtests/bench-strcpy.c: New file.
2726         * benchtests/bench-strcspn-ifunc.c: New file.
2727         * benchtests/bench-strcspn.c: New file.
2728         * benchtests/bench-strlen-ifunc.c: New file.
2729         * benchtests/bench-strlen.c: New file.
2730         * benchtests/bench-strncasecmp-ifunc.c: New file.
2731         * benchtests/bench-strncasecmp.c: New file.
2732         * benchtests/bench-strncat-ifunc.c: New file.
2733         * benchtests/bench-strncat.c: New file.
2734         * benchtests/bench-strncmp-ifunc.c: New file.
2735         * benchtests/bench-strncmp.c: New file.
2736         * benchtests/bench-strncpy-ifunc.c: New file.
2737         * benchtests/bench-strncpy.c: New file.
2738         * benchtests/bench-strnlen-ifunc.c: New file.
2739         * benchtests/bench-strnlen.c: New file.
2740         * benchtests/bench-strpbrk-ifunc.c: New file.
2741         * benchtests/bench-strpbrk.c: New file.
2742         * benchtests/bench-strrchr-ifunc.c: New file.
2743         * benchtests/bench-strrchr.c: New file.
2744         * benchtests/bench-strspn-ifunc.c: New file.
2745         * benchtests/bench-strspn.c: New file.
2746         * benchtests/bench-strstr-ifunc.c: New file.
2747         * benchtests/bench-strstr.c: New file.
2749         * benchtests/Makefile: Disable parallel execution of targets.
2750         (string-bench): Add memcpy.
2751         (benchset): New variable to store a list of benchmark sets.
2752         (bench-func): Renamed from bench.
2753         (bench-set): New target.
2754         (bench): Depend on bench-func and bench-set.
2755         * benchtests/README: Add section on benchmark sets.
2756         * benchtests/bench-memcpy-ifunc.c: New file.
2757         * benchtests/bench-memcpy.c: New file.
2758         * benchtests/bench-string.h: New file.
2760 2013-06-11  Andreas Schwab  <schwab@suse.de>
2762         [BZ #15577]
2763         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2764         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2765         values in the triple.
2766         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2767         terminator in the group key.
2769 2013-06-11  Andreas Jaeger  <aj@suse.de>
2771         * po/zh_TW.po: Update Chinese (traditional) translation from
2772         translation project.
2774 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2776         * include/time.h (__clock_gettime): Add libc_hidden_proto.
2777         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2778         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
2779         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2780         (clock_getcpuclockid): Likewise.
2781         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2782         Add weak_alias and libc_hidden_def.
2783         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2784         * rt/clock_gettime.c (clock_gettime): Rename to
2785         __clock_gettime.  Add weak_alias and libc_hidden_def.
2786         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2787         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2788         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
2789         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2790         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2791         Likewise.
2792         * rt/clock_settime.c (clock_settime): Rename to
2793         __clock_settime.  Add weak_alias and libc_hidden_def.
2794         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2796 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
2798         * mach/err_boot.sub: Remove trailing whitespace.
2799         * mach/err_ipc.sub: Likewise.
2800         * mach/err_mach.sub: Likewise.
2802         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2803         (ROUNDING_TESTS_double): Likewise.
2804         (ROUNDING_TESTS_long_double): Likewise.
2805         (ROUNDING_TESTS): Likewise.
2806         * math/libm-test.inc: Include <math-tests.h>.
2807         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2808         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2809         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2810         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2812 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2814         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2815         of assigning.
2817 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
2819         * sysdeps/gnu/errlist.awk: Do not generate space at end of
2820         otherwise empty TRANS lines.
2821         * sysdeps/gnu/errlist.c: Regenerated.
2823         * catgets/gencat.c (error_print): Use (void) in function
2824         definition.
2825         * crypt/crypt_util.c (__init_des): Likewise.
2826         * crypt/speeds.c (Stop): Likewise.
2827         (main): Likewise.
2828         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2829         * inet/ruserpass.c (token): Likewise.
2830         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2831         * intl/localealias.c (extend_alias_table): Likewise.
2832         * intl/plural-exp.c (init_germanic_plural): Likewise.
2833         * libio/fcloseall.c (__fcloseall): Likewise.
2834         * libio/genops.c (_IO_flush_all): Likewise.
2835         (_IO_flush_all_linebuffered): Likewise.
2836         (_IO_cleanup): Likewise.
2837         (_IO_iter_begin): Likewise.
2838         (_IO_iter_end): Likewise.
2839         (_IO_list_lock): Likewise.
2840         (_IO_list_unlock): Likewise.
2841         (_IO_list_resetlock): Likewise.
2842         * libio/getchar.c (getchar): Likewise.
2843         * libio/getchar_u.c (getchar_unlocked): Likewise.
2844         * libio/getwchar.c (getwchar): Likewise.
2845         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2846         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2847         * login/getpt.c (__getpt): Likewise.
2848         * login/tst-utmp.c (main): Likewise.
2849         * malloc/hooks.c (__malloc_check_init): Likewise.
2850         * malloc/malloc.c (__malloc_stats): Likewise.
2851         * malloc/mtrace.c (tr_break): Likewise.
2852         (mtrace): Likewise.
2853         (muntrace): Likewise.
2854         * misc/fstab.c (endfsent): Likewise.
2855         * misc/getclktck.c (__getclktck): Likewise.
2856         * misc/getdtsz.c (__getdtablesize): Likewise.
2857         * misc/gethostid.c (gethostid): Likewise.
2858         * misc/getpagesize.c (__getpagesize): Likewise.
2859         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2860         (__get_nprocs): Likewise.
2861         (__get_phys_pages): Likewise.
2862         (__get_avphys_pages): Likewise.
2863         * misc/getttyent.c (getttyent): Likewise.
2864         (setttyent): Likewise.
2865         (endttyent): Likewise.
2866         * misc/getusershell.c (getusershell): Likewise.
2867         (endusershell): Likewise.
2868         (setusershell): Likewise.
2869         (initshells): Likewise.
2870         * misc/hsearch.c (__hdestroy): Likewise.
2871         * misc/sync.c (sync): Likewise.
2872         * misc/syslog.c (closelog_internal): Likewise.
2873         (closelog): Likewise.
2874         * misc/ttyslot.c (ttyslot): Likewise.
2875         * misc/vhangup.c (vhangup): Likewise.
2876         * posix/fork.c (__fork): Likewise.
2877         * posix/getegid.c (__getegid): Likewise.
2878         * posix/geteuid.c (__geteuid): Likewise.
2879         * posix/getgid.c (__getgid): Likewise.
2880         * posix/getpid.c (__getpid): Likewise.
2881         * posix/getppid.c (__getppid): Likewise.
2882         * posix/getuid.c (__getuid): Likewise.
2883         * posix/pause.c (pause): Likewise.
2884         * posix/setpgrp.c (setpgrp): Likewise.
2885         * posix/setsid.c (__setsid): Likewise.
2886         * posix/test-vfork.c (noop): Likewise.
2887         * resolv/gethnamaddr.c (_endhtent): Likewise.
2888         (_gethtent): Likewise.
2889         (ht_endhostent): Likewise.
2890         (gethostent): Likewise.
2891         (dns_service): Likewise.
2892         * stdlib/drand48.c (drand48): Likewise.
2893         * stdlib/lrand48.c (lrand48): Likewise.
2894         * stdlib/mrand48.c (mrand48): Likewise.
2895         * stdlib/rand.c (rand): Likewise.
2896         * stdlib/random.c (__random): Likewise.
2897         * stdlib/setenv.c (clearenv): Likewise.
2898         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2899         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2900         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2901         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2902         (__get_nprocs): Likewise.
2903         (__get_phys_pages): Likewise.
2904         (__get_avphys_pages): Likewise.
2905         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2906         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2907         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2908         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2909         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2910         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2911         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2912         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2913         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2914         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2915         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2916         * sysdeps/mach/hurd/sync.c (sync): Likewise.
2917         * sysdeps/posix/clock.c (clock): Likewise.
2918         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2919         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2920         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2921         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2922         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2923         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2924         (__get_nprocs_conf): Likewise.
2925         (__get_phys_pages): Likewise.
2926         (__get_avphys_pages): Likewise.
2927         * time/clock.c (clock): Likewise.
2928         * time/tzset.c (__tzname_max): Likewise.
2930 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
2932         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2933         (__bswap_32): Do not use "register".
2934         * crypt/crypt.c (_ufc_doit_r): Likewise.
2935         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2936         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2937         * gmon/gmon.c (__monstartup): Likewise.
2938         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2939         * hurd/hurdmalloc.c (more_memory): Likewise.
2940         (malloc): Likewise.
2941         (free): Likewise.
2942         (realloc): Likewise.
2943         (malloc_fork_prepare): Likewise.
2944         (malloc_fork_parent): Likewise.
2945         (malloc_fork_child): Likewise.
2946         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2947         (_svcauth_des): Likewise.
2948         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2949         * inet/inet_net.c (inet_network): Likewise.
2950         * inet/inet_netof.c (inet_netof): Likewise.
2951         * inet/rcmd.c (__validuser2_sa): Likewise.
2952         * io/fts.c (fts_open): Likewise.
2953         (fts_load): Likewise.
2954         (fts_close): Likewise.
2955         (fts_read): Likewise.
2956         (fts_children): Likewise.
2957         (fts_build): Likewise.
2958         (fts_stat): Likewise.
2959         (fts_sort): Likewise.
2960         (fts_alloc): Likewise.
2961         (fts_lfree): Likewise.
2962         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2963         (_IO_file_xsgetn): Likewise.
2964         (_IO_file_xsgetn_mmap): Likewise.
2965         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2966         (_IO_cookie_write): Likewise.
2967         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2968         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2969         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2970         * malloc/obstack.c (_obstack_begin): Likewise.
2971         (_obstack_begin_1): Likewise.
2972         (_obstack_newchunk): Likewise.
2973         (_obstack_allocated_p): Likewise.
2974         (obstack_free): Likewise.
2975         (_obstack_memory_used): Likewise.
2976         * misc/getttyent.c (getttynam): Likewise.
2977         (getttyent): Likewise.
2978         (skip): Likewise.
2979         (value): Likewise.
2980         * misc/getusershell.c (initshells): Likewise.
2981         * misc/syslog.c (__vsyslog_chk): Likewise.
2982         * misc/ttyslot.c (ttyslot): Likewise.
2983         * nis/nis_hash.c (__nis_hash): Likewise.
2984         * posix/fnmatch_loop.c (FCT): Likewise.
2985         * posix/getconf.c (print_all): Likewise.
2986         (main): Likewise.
2987         * posix/getopt.c (exchange): Likewise.
2988         * posix/glob.c (globfree): Likewise.
2989         (prefix_array): Likewise.
2990         (__glob_pattern_type): Likewise.
2991         * resolv/arpa/nameser.h (NS_GET16): Likewise.
2992         (NS_GET32): Likewise.
2993         (NS_PUT16): Likewise.
2994         (NS_PUT32): Likewise.
2995         * resolv/gethnamaddr.c (getanswer): Likewise.
2996         (gethostbyname2): Likewise.
2997         (gethostbyaddr): Likewise.
2998         (_gethtent): Likewise.
2999         (_gethtbyname2): Likewise.
3000         (_gethtbyaddr): Likewise.
3001         * resolv/ns_print.c (dst_s_get_int16): Likewise.
3002         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3003         * resolv/res_init.c (__res_vinit): Likewise.
3004         (net_mask): Likewise.
3005         * resolv/res_mkquery.c (outchar): Likewise.
3006         (PRINT): Likewise.
3007         * stdio-common/printf_fp.c (outchar): Likewise.
3008         (PRINT): Likewise.
3009         * stdio-common/printf_fphex.c (outchar): Likewise.
3010         (PRINT): Likewise.
3011         * stdio-common/printf_size.c (outchar): Likewise.
3012         (PRINT): Likewise.
3013         * stdio-common/test_rdwr.c (main): Likewise.
3014         * stdio-common/tfformat.c (matches): Likewise.
3015         * stdio-common/vfprintf.c (outchar): Likewise.
3016         (printf_unknown): Likewise.
3017         (buffered_vfprintf): Likewise.
3018         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3019         * stdio-common/xbug.c (AppendToBuffer): Likewise.
3020         (ReadFile): Likewise.
3021         * stdlib/qsort.c (SWAP): Likewise.
3022         (_quicksort): Likewise.
3023         * stdlib/setenv.c (__add_to_environ): Likewise.
3024         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3025         * stdlib/strtol_l.c (__strtol_l): Likewise.
3026         * stdlib/tst-strtod.c (main): Likewise.
3027         * stdlib/tst-strtol.c (main): Likewise.
3028         * stdlib/tst-strtoll.c (main): Likewise.
3029         * string/bits/string2.h (__strcmp_cc): Likewise.
3030         (__strcmp_cg): Likewise.
3031         (__strcspn_c1): Likewise.
3032         (__strcspn_c2): Likewise.
3033         (__strcspn_c3): Likewise.
3034         (__strspn_c1): Likewise.
3035         (__strspn_c2): Likewise.
3036         (__strspn_c3): Likewise.
3037         (__strsep_1c): Likewise.
3038         (__strsep_2c): Likewise.
3039         (__strsep_3c): Likewise.
3040         * string/memccpy.c (__memccpy): Likewise.
3041         * string/stpcpy.c (__stpcpy): Likewise.
3042         * string/strcmp.c (strcmp): Likewise.
3043         * string/strrchr.c (strrchr): Likewise.
3044         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3045         Likewise.
3046         * sysdeps/mach/hurd/getcwd.c
3047         (_hurd_canonicalize_directory_name_internal): Likewise.
3048         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3049         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3050         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3051         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3052         Likewise, in both definitions.
3053         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3054         definitions.
3055         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3056         64] (__bswap_64): Likewise.
3057         * time/test_time.c (main): Likewise.
3058         * time/tzfile.c (__tzfile_read): Likewise.
3059         (__tzfile_compute): Likewise.
3060         * time/tzset.c (__tzset_parse_tz): Likewise.
3061         (tzset_internal): Likewise.
3062         (compute_change): Likewise.
3063         * wcsmbs/wcscat.c (__wcscat): Likewise.
3064         * wcsmbs/wcschr.c (wcschr): Likewise.
3065         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3066         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3067         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3068         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3069         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3070         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3071         * wcsmbs/wmemchr.c (wmemchr): Likewise.
3072         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3073         * wcsmbs/wmemset.c (wmemset): Likewise.
3075 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
3077         * scripts/config.guess: Update to version 2013-05-16.
3078         * scripts/config.sub: Update to version 2013-04-24.
3079         * scripts/install-sh: Update to version 2011-11-20.07.
3080         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3081         * scripts/move-if-change: Update to version 2012-01-06 07:23.
3083 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
3085         * debug/fgetws_u_chk.c: Fix leading whitespaces.
3086         * elf/sln.c: Likewise.
3087         * hurd/hurd/ioctl.h: Likewise.
3088         * hurd/hurdmalloc.c: Likewise.
3089         * hurd/xattr.c: Likewise.
3090         * include/shlib-compat.h: Likewise.
3091         * inet/ruserpass.c: Likewise.
3092         * libio/iofgets_u.c: Likewise.
3093         * libio/iofgetws_u.c: Likewise.
3094         * locale/programs/ld-identification.c: Likewise.
3095         * locale/programs/ld-time.c: Likewise.
3096         * mach/msg-destroy.c: Likewise.
3097         * nss/nss_files/files-netgrp.c: Likewise.
3098         * resolv/res_data.c: Likewise.
3099         * soft-fp/op-1.h: Likewise.
3100         * soft-fp/op-2.h: Likewise.
3101         * soft-fp/op-4.h: Likewise.
3102         * soft-fp/op-common.h: Likewise.
3103         * stdio-common/printf_fphex.c: Likewise.
3104         * stdlib/strtod_l.c: Likewise.
3105         * sunrpc/rpc/clnt.h: Likewise.
3106         * sysdeps/generic/framestate.c: Likewise.
3107         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3108         * sysdeps/i386/bsd-setjmp.S: Likewise.
3109         * sysdeps/i386/__longjmp.S: Likewise.
3110         * sysdeps/i386/setjmp.S: Likewise.
3111         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3112         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3113         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3114         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3115         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3116         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3117         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3118         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3119         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3120         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3121         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3122         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3123         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3124         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3125         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3126         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3127         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3128         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3129         * sysdeps/ieee754/support.c: Likewise.
3130         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3131         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3132         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3133         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3134         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3135         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3136         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3137         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3138         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3139         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3140         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3141         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3142         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3143         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3144         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3145         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3146         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3149 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
3151         * posix/transbug.c: Remove executable mode.
3153 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
3155         * crypt/speeds.c: Remove trailing whitespace.
3156         * dlfcn/default.c: Likewise.
3157         * elf/ifuncdep2.c: Likewise.
3158         * elf/ifuncmain1.c: Likewise.
3159         * elf/ifuncmain1vis.c: Likewise.
3160         * elf/testobj.h: Likewise.
3161         * elf/tst-stackguard1.c: Likewise.
3162         * gmon/sys/gmon.h: Likewise.
3163         * hurd/hurdmsg.c: Likewise.
3164         * hurd/new-fd.c: Likewise.
3165         * hurd/ports-get.c: Likewise.
3166         * iconvdata/ibm1008_420.c: Likewise.
3167         * inet/tst-getni1.c: Likewise.
3168         * inet/tst-getni2.c: Likewise.
3169         * libio/ioungetc.c: Likewise.
3170         * libio/wfiledoalloc.c: Likewise.
3171         * manual/libm-err-tab.pl: Likewise.
3172         * math/w_dremf.c: Likewise.
3173         * misc/ftruncate.c: Likewise.
3174         * posix/bug-glob2.c: Likewise.
3175         * posix/tst-pcre.c: Likewise.
3176         * posix/wait4.c: Likewise.
3177         * resolv/README: Likewise.
3178         * resolv/res_debug.h: Likewise.
3179         * resolv/tst-inet_ntop.c: Likewise.
3180         * setjmp/bug269-setjmp.c: Likewise.
3181         * soft-fp/extended.h: Likewise.
3182         * soft-fp/op-1.h: Likewise.
3183         * soft-fp/op-2.h: Likewise.
3184         * soft-fp/op-4.h: Likewise.
3185         * soft-fp/op-8.h: Likewise.
3186         * soft-fp/testit.c: Likewise.
3187         * stdio-common/bug16.c: Likewise.
3188         * stdlib/random.c: Likewise.
3189         * sunrpc/rpcsvc/rquota.x: Likewise.
3190         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3191         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3192         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3193         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3194         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3195         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3196         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3197         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3198         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3199         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3200         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3201         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3202         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3203         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3204         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3205         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3206         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3207         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3208         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3209         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3210         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3211         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3212         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3213         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3214         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3215         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3216         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3217         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3218         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3219         * sysdeps/ieee754/s_lib_version.c: Likewise.
3220         * sysdeps/mach/hurd/check_fds.c: Likewise.
3221         * sysdeps/mach/hurd/getsockname.c: Likewise.
3222         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3223         * sysdeps/mach/hurd/recvfrom.c: Likewise.
3224         * sysdeps/powerpc/bits/link.h: Likewise.
3225         * sysdeps/powerpc/dl-procinfo.c: Likewise.
3226         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3227         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3228         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3229         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3230         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3231         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3232         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3233         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3234         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3235         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3236         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3237         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3238         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3239         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3240         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3241         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3242         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3243         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3244         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3245         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3246         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3247         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3248         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3249         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3250         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3251         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3252         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3253         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3254         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3255         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3256         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3257         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3258         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3259         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3260         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3261         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3262         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3263         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3264         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3265         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3266         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3267         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3268         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3269         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3270         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3271         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3272         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3273         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3274         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3275         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3276         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3277         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3278         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3279         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3280         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3281         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3282         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3283         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3284         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3285         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3286         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3287         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3288         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3289         * sysdeps/powerpc/sysdep.h: Likewise.
3290         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3291         * sysdeps/s390/s390-64/sub_n.S: Likewise.
3292         * sysdeps/sh/dl-trampoline.S: Likewise.
3293         * sysdeps/sh/memset.S: Likewise.
3294         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3295         * sysdeps/sh/strlen.S: Likewise.
3296         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3297         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3298         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3299         * sysdeps/sparc/sparc32/rem.S: Likewise.
3300         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3301         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3302         * sysdeps/sparc/sparc32/strchr.S: Likewise.
3303         * sysdeps/sparc/sparc32/udiv.S: Likewise.
3304         * sysdeps/sparc/sparc32/urem.S: Likewise.
3305         * sysdeps/sparc/sparc64/add_n.S: Likewise.
3306         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3307         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3308         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3309         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3310         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3311         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3312         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3313         * sysdeps/unix/bsd/times.c: Likewise.
3314         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3315         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3319         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3320         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3321         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3322         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3323         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3324         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3325         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3326         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3327         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3328         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3329         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3330         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3331         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3332         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3333         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3334         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3335         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3336         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3337         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3338         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3339         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3340         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3341         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3342         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3343         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3344         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3345         * sysdeps/x86_64/strcspn.S: Likewise.
3347 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3349         * locale/C-translit.h: Revert #include <stdint.h> because this is a
3350         generated file.  Regenerate properly from gen-translit.pl.
3351         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
3352         locale/C-translit.h.
3354 2013-06-05  Andreas Schwab  <schwab@suse.de>
3356         [BZ #15100]
3357         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3358         week as 6 instead of -1.
3359         * time/tst-strptime.c (day_tests): Add test case.
3361 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3363         * sysdeps/generic/math_private.h
3364         (libc_feholdexcept_setround_53bit): Replace with
3365         libc_feholdsetround_53bit.
3366         (libc_feupdateenv_53bit): Replace with
3367         libc_feresetround_53bit.
3368         (SET_RESTORE_ROUND_53BIT): Adjust.
3370 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3372         * string/test-strchrnul.c: Add copyright header.
3374         * posix/tst-getaddrinfo4.c: Increase test timeout.
3376 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
3378         [BZ #15536]
3379         * math/libm-test.inc (MAX_EXP): Remove
3380         (MIN_EXP): Define.
3381         (ulp): Use MIN_EXP - MANT_DIG.
3382         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3384 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
3386         * po/be.po: Revert last change.
3387         * po/zh_CN.po: Likewise.
3388         * po/header.pot: Likewise.
3390 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
3392         * Makefile ($(common-objpfx)linkobj/libc.so): Define
3393         link-libc-deps to empty as target-specific variable.
3394         * Makerules (link-libc-args): New variable.
3395         (libc-for-link): Likewise.
3396         (link-libc-deps): Likewise.
3397         (lib%.so): Depend on $(link-libc-deps).  Link with
3398         $(link-libc-args).
3399         (build-module): Link with $(link-libc-args).
3400         (build-module-asneeded): Likewise.
3401         (build-module-helper-objlist): Filter out $(link-libc-deps) from
3402         list of objects.
3403         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3404         target-specific variable.
3405         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3406         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3407         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3408         libc.
3409         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3410         libc and ld.so.
3411         ($(objpfx)libpcprofile.so): Likewise.
3412         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3413         libc_nonshared.a.
3414         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3415         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3416         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3417         $(link-libc-deps).
3418         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3419         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3420         * login/Makefile ($(objpfx)libutil.so): Likewise.
3421         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3422         * math/Makefile ($(objpfx)libm.so): Likewise.
3423         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3424         $(objpfx)libnsl.so): Define libc-for-link as target-specific
3425         variable instead of depending directly on libc.
3426         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3427         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3428         $(link-libc-deps).
3429         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3430         libc.
3431         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3432         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3433         ($(objpfx)libanl.so): Likewise.
3434         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3435         ld.so.
3436         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3437         $(link-libc-deps).
3438         * sysdeps/i386/fpu/Makefile: Remove file.
3439         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3440         ($(objpfx)libm.so): Remove dependency on ld.so.
3442 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
3444         [BZ # 15553]
3445         * nis/yp_xdr.c (XDRMAXNAME): Define.
3446         (XDRMAXRECORD): Define.
3447         (xdr_domainname): Use XDRMAXNAME.
3448         (xdr_mapname): Likewise.
3449         (xdr_peername): Likewise.
3450         (xdr_keydat): Use XDRMAXRECORD.
3451         (xdr_valdat): Likewise.
3453 2013-05-30  Jeff Law  <law@redhat.com>
3455         [BZ #14256]
3456         * manual/errno.texi (ESTALE): Update to account for more than
3457         just NFS file systems.
3458         * sysdeps/gnu/errlist.c: Regenerated.
3460 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3462         [BZ #15465]
3463         * elf/Makefile (tests): Add tst-null-argv.
3464         (modules-names):  Add tst-null-argv-lib.
3465         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3466         (tst-null-argv-ENV): Set environment for tst-null-argv.
3467         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3468         (RTLD_PROGNAME): New macro.
3469         * elf/tst-null-argv.c: New test case.
3470         * elf/tst-null-argv-lib.c: Library for test case.
3471         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3472         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3473         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3474         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3475         * elf/dl-init.c (call_init): Likewise.
3476         (_dl_init): Likewise.
3477         * elf/dl-load.c (print_search_path): Likewise.
3478         (_dl_map_object): Likewise.
3479         * elf/dl-lookup.c (do_lookup_x): Likewise.
3480         (add_dependency): Likewise.
3481         (_dl_lookup_symbol_x): Likewise.
3482         (_dl_debug_bindings): Likewise.
3483         * elf/dl-open.c (_dl_show_scope): Likewise.
3484         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3485         * elf/dl-version.c (match_symbol): Likewise.
3486         (_dl_check_map_versions): Likewise.
3487         * elf/rtld.c (dl_main): Likewise.
3488         (print_unresolved): Use RTLD_PROGNAME.
3489         (print_missing_version): Likewise.
3490         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3491         (elf_machine_rela): Likewise.
3492         * sysdeps/powerpc/powerpc32/dl-machine.c
3493         (__process_machine_rela): Likewise.
3494         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3495         Likewise.
3496         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3497         Likewise.
3498         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3499         Likewise.
3500         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3501         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3502         Likewise.
3503         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3504         Likewise.
3505         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3507 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
3509         * po/be.po: Add descriptive title.
3510         * po/zh_CN.po: Likewise.
3511         * po/header.pot: Likewise.
3513 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
3515         * locale/programs/locarchive.c (create_archive): Inlucde fname in
3516         error message.
3517         (enlarge_archive): Likewise.
3519 2013-05-28  Ben North  <ben@redfrontdoor.org>
3521         * manual/arith.texi (frexp): It is the magnitude of the return
3522         value which lies in [0.5, 1), not the return value itself.
3524 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3528 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
3530         * stdio-common/bug26.c (main): Correct fscanf template.
3532         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3533         declare _dl_skip_args.
3535         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3536         Don't declare.
3538         * manual/platform.texi: Add missing @end deftypefun.
3540 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
3542         [BZ #15529]
3543         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3544         bit of mantissa of 2^16382.
3545         * math/libm-test.inc (hypot_test_data): Add more tests.
3547         * math/libm-test.inc: Add drem and pow10 to list of tested
3548         functions.
3549         (pow10_test): New function.
3550         (drem_test): Likewise.
3551         (drem_test_tonearest): Likewise.
3552         (drem_test_towardzero): Likewise.
3553         (drem_test_downward): Likewise.
3554         (drem_test_upward): Likewise.
3555         (main): Call the new functions.
3557         * math/libm-test.inc (finite_test_data): Remove.
3558         (finite_test): Run tests from isfinite_test_data.
3559         (gamma_test_data): Remove.
3560         (gamma_test): Run tests from lgamma_test_data.
3561         * sysdeps/i386/fpu/libm-test-ulps: Update.
3562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3564 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3566         * manual/platform.texi: Add PowerPC PPR function set documentation.
3567         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3568         implementation.
3570 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
3572         * math/libm-test.inc (MAX_EXP): Define.
3573         (ULPDIFF): Define.
3574         (ulp): New function.
3575         (check_float_internal): Use ULPDIFF.
3576         (cpow_test): Disable failing test.
3577         (check_ulp): Test ulp() implemetnation.
3578         (main): Call check_ulp before starting tests.
3580 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
3582         * math/gen-libm-test.pl (generate_testfile): Do not handle
3583         START_DATA and END_DATA.
3584         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3585         END_DATA.
3586         (acos_tonearest_test_data): Likewise.
3587         (acos_towardzero_test_data): Likewise.
3588         (acos_downward_test_data): Likewise.
3589         (acos_upward_test_data): Likewise.
3590         (acosh_test_data): Likewise.
3591         (asin_test_data): Likewise.
3592         (asin_tonearest_test_data): Likewise.
3593         (asin_towardzero_test_data): Likewise.
3594         (asin_downward_test_data): Likewise.
3595         (asin_upward_test_data): Likewise.
3596         (asinh_test_data): Likewise.
3597         (atan_test_data): Likewise.
3598         (atanh_test_data): Likewise.
3599         (atan2_test_data): Likewise.
3600         (cabs_test_data): Likewise.
3601         (cacos_test_data): Likewise.
3602         (cacosh_test_data): Likewise.
3603         (carg_test_data): Likewise.
3604         (casin_test_data): Likewise.
3605         (casinh_test_data): Likewise.
3606         (catan_test_data): Likewise.
3607         (catanh_test_data): Likewise.
3608         (cbrt_test_data): Likewise.
3609         (ccos_test_data): Likewise.
3610         (ccosh_test_data): Likewise.
3611         (ceil_test_data): Likewise.
3612         (cexp_test_data): Likewise.
3613         (cimag_test_data): Likewise.
3614         (clog_test_data): Likewise.
3615         (clog10_test_data): Likewise.
3616         (conj_test_data): Likewise.
3617         (copysign_test_data): Likewise.
3618         (cos_test_data): Likewise.
3619         (cos_tonearest_test_data): Likewise.
3620         (cos_towardzero_test_data): Likewise.
3621         (cos_downward_test_data): Likewise.
3622         (cos_upward_test_data): Likewise.
3623         (cosh_test_data): Likewise.
3624         (cosh_tonearest_test_data): Likewise.
3625         (cosh_towardzero_test_data): Likewise.
3626         (cosh_downward_test_data): Likewise.
3627         (cosh_upward_test_data): Likewise.
3628         (cpow_test_data): Likewise.
3629         (cproj_test_data): Likewise.
3630         (creal_test_data): Likewise.
3631         (csin_test_data): Likewise.
3632         (csinh_test_data): Likewise.
3633         (csqrt_test_data): Likewise.
3634         (ctan_test_data): Likewise.
3635         (ctan_tonearest_test_data): Likewise.
3636         (ctan_towardzero_test_data): Likewise.
3637         (ctan_downward_test_data): Likewise.
3638         (ctan_upward_test_data): Likewise.
3639         (ctanh_test_data): Likewise.
3640         (ctanh_tonearest_test_data): Likewise.
3641         (ctanh_towardzero_test_data): Likewise.
3642         (ctanh_downward_test_data): Likewise.
3643         (ctanh_upward_test_data): Likewise.
3644         (erf_test_data): Likewise.
3645         (erfc_test_data): Likewise.
3646         (exp_test_data): Likewise.
3647         (exp_tonearest_test_data): Likewise.
3648         (exp_towardzero_test_data): Likewise.
3649         (exp_downward_test_data): Likewise.
3650         (exp_upward_test_data): Likewise.
3651         (exp10_test_data): Likewise.
3652         (exp2_test_data): Likewise.
3653         (expm1_test_data): Likewise.
3654         (fabs_test_data): Likewise.
3655         (fdim_test_data): Likewise.
3656         (finite_test_data): Likewise.
3657         (floor_test_data): Likewise.
3658         (fma_test_data): Likewise.
3659         (fma_towardzero_test_data): Likewise.
3660         (fma_downward_test_data): Likewise.
3661         (fma_upward_test_data): Likewise.
3662         (fmax_test_data): Likewise.
3663         (fmin_test_data): Likewise.
3664         (fmod_test_data): Likewise.
3665         (fpclassify_test_data): Likewise.
3666         (frexp_test_data): Likewise.
3667         (gamma_test_data): Likewise.
3668         (hypot_test_data): Likewise.
3669         (ilogb_test_data): Likewise.
3670         (isfinite_test_data): Likewise.
3671         (isgreater_test_data): Likewise.
3672         (isgreaterequal_test_data): Likewise.
3673         (isinf_test_data): Likewise.
3674         (isless_test_data): Likewise.
3675         (islessequal_test_data): Likewise.
3676         (islessgreater_test_data): Likewise.
3677         (isnan_test_data): Likewise.
3678         (isnormal_test_data): Likewise.
3679         (issignaling_test_data): Likewise.
3680         (isunordered_test_data): Likewise.
3681         (j0_test_data): Likewise.
3682         (j1_test_data): Likewise.
3683         (jn_test_data): Likewise.
3684         (ldexp_test_data): Likewise.
3685         (lgamma_test_data): Likewise.
3686         (lrint_test_data): Likewise.
3687         (lrint_tonearest_test_data): Likewise.
3688         (lrint_towardzero_test_data): Likewise.
3689         (lrint_downward_test_data): Likewise.
3690         (lrint_upward_test_data): Likewise.
3691         (llrint_test_data): Likewise.
3692         (llrint_tonearest_test_data): Likewise.
3693         (llrint_towardzero_test_data): Likewise.
3694         (llrint_downward_test_data): Likewise.
3695         (llrint_upward_test_data): Likewise.
3696         (log_test_data): Likewise.
3697         (log10_test_data): Likewise.
3698         (log1p_test_data): Likewise.
3699         (log2_test_data): Likewise.
3700         (logb_test_data): Likewise.
3701         (logb_downward_test_data): Likewise.
3702         (lround_test_data): Likewise.
3703         (llround_test_data): Likewise.
3704         (modf_test_data): Likewise.
3705         (nearbyint_test_data): Likewise.
3706         (nextafter_test_data): Likewise.
3707         (nexttoward_test_data): Likewise.
3708         (pow_test_data): Likewise.
3709         (pow_tonearest_test_data): Likewise.
3710         (pow_towardzero_test_data): Likewise.
3711         (pow_downward_test_data): Likewise.
3712         (pow_upward_test_data): Likewise.
3713         (remainder_test_data): Likewise.
3714         (remainder_tonearest_test_data): Likewise.
3715         (remainder_towardzero_test_data): Likewise.
3716         (remainder_downward_test_data): Likewise.
3717         (remainder_upward_test_data): Likewise.
3718         (remquo_test_data): Likewise.
3719         (rint_test_data): Likewise.
3720         (rint_tonearest_test_data): Likewise.
3721         (rint_towardzero_test_data): Likewise.
3722         (rint_downward_test_data): Likewise.
3723         (rint_upward_test_data): Likewise.
3724         (round_test_data): Likewise.
3725         (scalb_test_data): Likewise.
3726         (scalbn_test_data): Likewise.
3727         (scalbln_test_data): Likewise.
3728         (signbit_test_data): Likewise.
3729         (sin_test_data): Likewise.
3730         (sin_tonearest_test_data): Likewise.
3731         (sin_towardzero_test_data): Likewise.
3732         (sin_downward_test_data): Likewise.
3733         (sin_upward_test_data): Likewise.
3734         (sincos_test_data): Likewise.
3735         (sinh_test_data): Likewise.
3736         (sinh_tonearest_test_data): Likewise.
3737         (sinh_towardzero_test_data): Likewise.
3738         (sinh_downward_test_data): Likewise.
3739         (sinh_upward_test_data): Likewise.
3740         (sqrt_test_data): Likewise.
3741         (tan_test_data): Likewise.
3742         (tan_tonearest_test_data): Likewise.
3743         (tan_towardzero_test_data): Likewise.
3744         (tan_downward_test_data): Likewise.
3745         (tan_upward_test_data): Likewise.
3746         (tanh_test_data): Likewise.
3747         (tgamma_test_data): Likewise.
3748         (trunc_test_data): Likewise.
3749         (y0_test_data): Likewise.
3750         (y1_test_data): Likewise.
3751         (yn_test_data): Likewise.
3752         (significand_test_data): Likewise.
3754         * math/gen-libm-test.pl (@functions): Remove variable.
3755         (generate_testfile): Don't handle START and END lines.
3756         * math/libm-test.inc (START): New macro.
3757         (END): Likewise.
3758         (END_COMPLEX): Likewise.
3759         (acos_test): Use END macro without arguments.
3760         (acos_test_tonearest): Likewise.
3761         (acos_test_towardzero): Likewise.
3762         (acos_test_downward): Likewise.
3763         (acos_test_upward): Likewise.
3764         (acosh_test): Likewise.
3765         (asin_test): Likewise.
3766         (asin_test_tonearest): Likewise.
3767         (asin_test_towardzero): Likewise.
3768         (asin_test_downward): Likewise.
3769         (asin_test_upward): Likewise.
3770         (asinh_test): Likewise.
3771         (atan_test): Likewise.
3772         (atanh_test): Likewise.
3773         (atan2_test): Likewise.
3774         (cabs_test): Likewise.
3775         (cacos_test): Use END_COMPLEX macro without arguments.
3776         (cacosh_test): Likewise.
3777         (carg_test): Use END macro without arguments.
3778         (casin_test): Use END_COMPLEX macro without arguments.
3779         (casinh_test): Likewise.
3780         (catan_test): Likewise.
3781         (catanh_test): Likewise.
3782         (cbrt_test): Use END macro without arguments.
3783         (ccos_test): Use END_COMPLEX macro without arguments.
3784         (ccosh_test): Likewise.
3785         (ceil_test): Use END macro without arguments.
3786         (cexp_test): Use END_COMPLEX macro without arguments.
3787         (cimag_test): Use END macro without arguments.
3788         (clog_test): Use END_COMPLEX macro without arguments.
3789         (clog10_test): Likewise.
3790         (conj_test): Likewise.
3791         (copysign_test): Use END macro without arguments.
3792         (cos_test): Likewise.
3793         (cos_test_tonearest): Likewise.
3794         (cos_test_towardzero): Likewise.
3795         (cos_test_downward): Likewise.
3796         (cos_test_upward): Likewise.
3797         (cosh_test): Likewise.
3798         (cosh_test_tonearest): Likewise.
3799         (cosh_test_towardzero): Likewise.
3800         (cosh_test_downward): Likewise.
3801         (cosh_test_upward): Likewise.
3802         (cpow_test): Use END_COMPLEX macro without arguments.
3803         (cproj_test): Likewise.
3804         (creal_test): Use END macro without arguments.
3805         (csin_test): Use END_COMPLEX macro without arguments.
3806         (csinh_test): Likewise.
3807         (csqrt_test): Likewise.
3808         (ctan_test): Likewise.
3809         (ctan_test_tonearest): Likewise.
3810         (ctan_test_towardzero): Likewise.
3811         (ctan_test_downward): Likewise.
3812         (ctan_test_upward): Likewise.
3813         (ctanh_test): Likewise.
3814         (ctanh_test_tonearest): Likewise.
3815         (ctanh_test_towardzero): Likewise.
3816         (ctanh_test_downward): Likewise.
3817         (ctanh_test_upward): Likewise.
3818         (erf_test): Use END macro without arguments.
3819         (erfc_test): Likewise.
3820         (exp_test): Likewise.
3821         (exp_test_tonearest): Likewise.
3822         (exp_test_towardzero): Likewise.
3823         (exp_test_downward): Likewise.
3824         (exp_test_upward): Likewise.
3825         (exp10_test): Likewise.
3826         (exp2_test): Likewise.
3827         (expm1_test): Likewise.
3828         (fabs_test): Likewise.
3829         (fdim_test): Likewise.
3830         (finite_test): Likewise.
3831         (floor_test): Likewise.
3832         (fma_test): Likewise.
3833         (fma_test_towardzero): Likewise.
3834         (fma_test_downward): Likewise.
3835         (fma_test_upward): Likewise.
3836         (fmax_test): Likewise.
3837         (fmin_test): Likewise.
3838         (fmod_test): Likewise.
3839         (fpclassify_test): Likewise.
3840         (frexp_test): Likewise.
3841         (gamma_test): Likewise.
3842         (hypot_test): Likewise.
3843         (ilogb_test): Likewise.
3844         (isfinite_test): Likewise.
3845         (isgreater_test): Likewise.
3846         (isgreaterequal_test): Likewise.
3847         (isinf_test): Likewise.
3848         (isless_test): Likewise.
3849         (islessequal_test): Likewise.
3850         (islessgreater_test): Likewise.
3851         (isnan_test): Likewise.
3852         (isnormal_test): Likewise.
3853         (issignaling_test): Likewise.
3854         (isunordered_test): Likewise.
3855         (j0_test): Likewise.
3856         (j1_test): Likewise.
3857         (jn_test): Likewise.
3858         (ldexp_test): Likewise.
3859         (lgamma_test): Likewise.
3860         (lrint_test): Likewise.
3861         (lrint_test_tonearest): Likewise.
3862         (lrint_test_towardzero): Likewise.
3863         (lrint_test_downward): Likewise.
3864         (lrint_test_upward): Likewise.
3865         (llrint_test): Likewise.
3866         (llrint_test_tonearest): Likewise.
3867         (llrint_test_towardzero): Likewise.
3868         (llrint_test_downward): Likewise.
3869         (llrint_test_upward): Likewise.
3870         (log_test): Likewise.
3871         (log10_test): Likewise.
3872         (log1p_test): Likewise.
3873         (log2_test): Likewise.
3874         (logb_test): Likewise.
3875         (logb_test_downward): Likewise.
3876         (lround_test): Likewise.
3877         (llround_test): Likewise.
3878         (modf_test): Likewise.
3879         (nearbyint_test): Likewise.
3880         (nextafter_test): Likewise.
3881         (nexttoward_test): Likewise.
3882         (pow_test): Likewise.
3883         (pow_test_tonearest): Likewise.
3884         (pow_test_towardzero): Likewise.
3885         (pow_test_downward): Likewise.
3886         (pow_test_upward): Likewise.
3887         (remainder_test): Likewise.
3888         (remainder_test_tonearest): Likewise.
3889         (remainder_test_towardzero): Likewise.
3890         (remainder_test_downward): Likewise.
3891         (remainder_test_upward): Likewise.
3892         (remquo_test): Likewise.
3893         (rint_test): Likewise.
3894         (rint_test_tonearest): Likewise.
3895         (rint_test_towardzero): Likewise.
3896         (rint_test_downward): Likewise.
3897         (rint_test_upward): Likewise.
3898         (round_test): Likewise.
3899         (scalb_test): Likewise.
3900         (scalbn_test): Likewise.
3901         (scalbln_test): Likewise.
3902         (signbit_test): Likewise.
3903         (sin_test): Likewise.
3904         (sin_test_tonearest): Likewise.
3905         (sin_test_towardzero): Likewise.
3906         (sin_test_downward): Likewise.
3907         (sin_test_upward): Likewise.
3908         (sincos_test): Likewise.
3909         (sinh_test): Likewise.
3910         (sinh_test_tonearest): Likewise.
3911         (sinh_test_towardzero): Likewise.
3912         (sinh_test_downward): Likewise.
3913         (sinh_test_upward): Likewise.
3914         (sqrt_test): Likewise.
3915         (tan_test): Likewise.
3916         (tan_test_tonearest): Likewise.
3917         (tan_test_towardzero): Likewise.
3918         (tan_test_downward): Likewise.
3919         (tan_test_upward): Likewise.
3920         (tanh_test): Likewise.
3921         (tgamma_test): Likewise.
3922         (trunc_test): Likewise.
3923         (y0_test): Likewise.
3924         (y1_test): Likewise.
3925         (yn_test): Likewise.
3926         (significand_test): Likewise.
3928 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
3930         [BZ #15381]
3931         * libio/genops.c (_IO_no_init): Initialize wide struct info.
3933 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
3935         [BZ #14894]
3936         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3937         __ppc_mdoio and __ppc_mdoom.
3938         * manual/platform.texi: Document new functions __ppc_yield,
3939         __ppc_mdoio and __ppc_mdoom.
3941 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
3943         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3944         (main): Mention "tls" pseudo-hwcap is legacy.
3945         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3947 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
3949         * math/gen-libm-test.pl (parse_args): Output only string of
3950         arguments as text for test name, not full call or descriptions of
3951         tests for extra outputs.
3952         (generate_testfile): Do not pass function name to parse_args.
3953         Generate this_func variable from START.
3954         * math/libm-test.inc (struct test_f_f_data): Rename test_name
3955         field to arg_str.
3956         (struct test_ff_f_data): Likewise.
3957         (test_ff_f_data_nexttoward): Likewise.
3958         (struct test_fi_f_data): Likewise.
3959         (struct test_fl_f_data): Likewise.
3960         (struct test_if_f_data): Likewise.
3961         (struct test_fff_f_data): Likewise.
3962         (struct test_c_f_data): Likewise.
3963         (struct test_f_f1_data): Likewise.  Remove field extra_name.
3964         (struct test_fF_f1_data): Likewise.
3965         (struct test_ffI_f1_data): Likewise.
3966         (struct test_c_c_data): Rename test_name field to arg_str.
3967         (struct test_cc_c_data): Likewise.
3968         (struct test_f_i_data): Likewise.
3969         (struct test_ff_i_data): Likewise.
3970         (struct test_f_l_data): Likewise.
3971         (struct test_f_L_data): Likewise.
3972         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
3973         and extra2_name.
3974         (COMMON_TEST_SETUP): New macro.
3975         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3976         (COMMON_TEST_CLEANUP): Likewise.
3977         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3978         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
3979         macros.
3980         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3981         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
3982         macros.
3983         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3984         (RUN_TEST_fff_f): Take argument string.  Call new setup and
3985         cleanup macros.
3986         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3987         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
3988         macros.
3989         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3990         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
3991         macros.
3992         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3993         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
3994         cleanup macros.
3995         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3996         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
3997         cleanup macros.
3998         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3999         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
4000         cleanup macros.
4001         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4002         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
4003         macros.
4004         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4005         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
4006         macros.
4007         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4008         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
4009         macros.
4010         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4011         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
4012         cleanup macros.
4013         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4014         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
4015         cleanup macros.
4016         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4017         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
4018         macros.
4019         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4020         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
4021         cleanup macros.
4022         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4023         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
4024         macros.
4025         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4026         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
4027         macros.
4028         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4029         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
4030         cleanup macros.
4031         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4033 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4035         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4036         to _sifields.sigfault.
4037         (si_addr_lsb): Define new macro.
4038         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4039         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4040         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4042 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
4044         [BZ #15441]
4045         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4046         returns -1.
4047         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4048         null return -1.
4049         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4050         loading the domain.
4052 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4054         * math/gen-libm-test.pl (parse_args): Do not include expected
4055         result in test name.
4056         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4057         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4058         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4059         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4060         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4063 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4065         * benchtests/Makefile: Sort function entries.
4067         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4068         tanh, asinh, acosh, atanh.
4069         * benchtests/acos-inputs: New file.
4070         * benchtests/acosh-inputs: New file.
4071         * benchtests/asin-inputs: New file.
4072         * benchtests/asinh-inputs: New file.
4073         * benchtests/atanh-inputs: New file.
4074         * benchtests/cosh-inputs: New file.
4075         * benchtests/log-inputs: New file.
4076         * benchtests/sinh-inputs: New file.
4077         * benchtests/tanh-inputs: New file.
4079 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
4081         [BZ #15339]
4082         * posix/tst-getaddrinfo4.c: New test.
4083         * posix/Makefile (tests): Add it.
4085 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4087         [BZ #15339]
4088         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4089         when no services were used.
4090         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4091         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4093 2013-05-21  Andreas Schwab  <schwab@suse.de>
4095         [BZ #15014]
4096         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4097         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4098         successful.
4099         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4100         redundant variable declarations and reallocation of buffer when
4101         parsing as IPv6 address.  Always set NSS status when called from
4102         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
4103         buffer too small.  Correct computation of needed size.
4104         * nss/Makefile (tests): Add test-digits-dots.
4105         * nss/test-digits-dots.c: New test.
4107 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4109         * benchtests/Makefile: Remove instructions for adding
4110         benchmark tests.
4111         * benchtests/README: New file to explain how to execute and
4112         enhance the benchmark tests.
4114 2013-05-21  Andreas Schwab  <schwab@suse.de>
4116         [BZ #15493]
4117         * setjmp/Makefile (tests): Add tst-sigsetjmp.
4118         * setjmp/tst-sigsetjmp.c: New test.
4120 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4122         * sysdeps/x86_64/memset.S (memset): New implementation.
4123         (__bzero): Likewise.
4124         (__memset_tail): New function.
4126 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4128         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4129         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4130         __memcpy_sse2_unaligned ifunc selection.
4131         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4132         Add memcpy-sse2-unaligned.S.
4133         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4134         Add: __memcpy_sse2_unaligned.
4136 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
4138         [BZ #15490]
4139         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4140         math_force_eval before restoring floating-point envrionment.
4141         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4142         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4143         Likewise.
4144         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4145         <math_private.h>.
4146         (__nearbyintl): Use math_force_eval before restoring
4147         floating-point environment.
4148         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4150         * math/gen-libm-test.pl (special_functions): Remove.
4151         (parse_args): Don't handle TEST_extra.  Handle functions with no
4152         return value.
4153         * math/libm-test.inc (struct test_sincos_data): Replace with
4154         struct test_fFF_11_data.
4155         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4156         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4157         (sincos_test_data): Change element type to struct
4158         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
4159         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4160         RUN_TEST_LOOP_sincos.
4161         * math/README.libm-test: Don't mention special handling of
4162         individual functions.
4163         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4164         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4165         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4166         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4167         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4170         * math/gen-libm-test.pl (get_variable): Remove function.
4171         (parse_args): Don't show pointer parameters to call in test
4172         names.  Use "extra output N" in test names for extra outputs
4173         rather than naming variables.
4175 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
4177         [BZ #15488]
4178         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4179         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4180         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4181         double tests.
4182         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4183         disable.
4184         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4185         check_long_double.
4187         * math/gen-libm-test.pl (@tests): Remove variable.
4188         ($count): Likewise.
4189         (new_test): Remove function.
4190         (show_exceptions): New function.
4191         (special_functions): Use show_exceptions instead of new_test.
4192         (parse_args): Likewise.
4193         (generate_testfile): Pass only function name in generated call to
4194         print_max_error or print_complex_max_error.
4195         (get_ulps): Do not handle complex tests specially.
4196         (output_test): Rename to ...
4197         (get_all_ulps_for_test): ... this.  Return a string rather than
4198         printing to a file.  Require ulps to be present.
4199         (output_ulps): Generate arrays rather than #defines.
4200         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4201         (struct ulp_data): New type.
4202         (BUILD_COMPLEX_ULP): Remove macro.
4203         (compare_ulp_data): New function.
4204         (find_ulps): Likewise.
4205         (find_test_ulps): Likewise.
4206         (find_function_ulps): Likewise.
4207         (find_complex_function_ulps): Likewise.
4208         (print_max_error): Determine allowed ulps using
4209         find_function_ulps.
4210         (print_complex_max_error): Determine allowed ulps using
4211         find_complex_function_ulps.
4212         (check_float_internal): Determine max ulps using find_test_ulps.
4213         (check_float): Do not take max_ulp parameter.  Update call to
4214         check_float_internal.
4215         (check_complex): Likewise.
4216         (check_int): Do not take max_ulp parameter.
4217         (check_long): Likewise.
4218         (check_bool): Likewise.
4219         (check_longlong): Likewise.
4220         (struct test_f_f_data): Remove max_ulp field.
4221         (struct test_ff_f_data): Likewise.
4222         (struct test_ff_f_data_nexttoward): Likewise.
4223         (struct test_fi_f_data): Likewise.
4224         (struct test_fl_f_data): Likewise.
4225         (struct test_if_f_data): Likewise.
4226         (struct test_fff_f_data): Likewise.
4227         (struct test_c_f_data): Likewise.
4228         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4229         (struct test_fF_f1_data): Likewise.
4230         (struct test_ffI_f1_data): Likewise.
4231         (struct test_c_c_data): Remove max_ulp field.
4232         (struct test_cc_c_data): Likewise.
4233         (struct test_f_i_data): Likewise.
4234         (struct test_ff_i_data): Likewise.
4235         (struct test_f_l_data): Likewise.
4236         (struct test_f_L_data): Likewise.
4237         (struct test_sincos_data): Likewise.
4238         (RUN_TEST_f_f): Do not handle ulps.
4239         (RUN_TEST_LOOP_f_f): Likewise.
4240         (RUN_TEST_2_f): Likewise.
4241         (RUN_TEST_LOOP_2_f): Likewise.
4242         (RUN_TEST_fff_f): Likewise.
4243         (RUN_TEST_LOOP_fff_f): Likewise.
4244         (RUN_TEST_c_f): Likewise.
4245         (RUN_TEST_LOOP_c_f): Likewise.
4246         (RUN_TEST_f_f1): Likewise.
4247         (RUN_TEST_LOOP_f_f1): Likewise.
4248         (RUN_TEST_fF_f1): Likewise.
4249         (RUN_TEST_LOOP_fF_f1): Likewise.
4250         (RUN_TEST_fI_f1): Likewise.
4251         (RUN_TEST_LOOP_fI_f1): Likewise.
4252         (RUN_TEST_ffI_f1): Likewise.
4253         (RUN_TEST_LOOP_ffI_f1): Likewise.
4254         (RUN_TEST_c_c): Likewise.
4255         (RUN_TEST_LOOP_c_c): Likewise.
4256         (RUN_TEST_cc_c): Likewise.
4257         (RUN_TEST_LOOP_cc_c): Likewise.
4258         (RUN_TEST_f_i): Likewise.
4259         (RUN_TEST_LOOP_f_i): Likewise.
4260         (RUN_TEST_f_i_tg): Likewise.
4261         (RUN_TEST_LOOP_f_i_tg): Likewise.
4262         (RUN_TEST_ff_i_tg): Likewise.
4263         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4264         (RUN_TEST_f_b): Likewise.
4265         (RUN_TEST_LOOP_f_b): Likewise.
4266         (RUN_TEST_f_b_tg): Likewise.
4267         (RUN_TEST_LOOP_f_b_tg): Likewise.
4268         (RUN_TEST_f_l): Likewise.
4269         (RUN_TEST_LOOP_f_l): Likewise.
4270         (RUN_TEST_f_L): Likewise.
4271         (RUN_TEST_LOOP_f_L): Likewise.
4272         (RUN_TEST_sincos): Likewise.
4273         (RUN_TEST_LOOP_sincos): Likewise.
4275 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
4277         [BZ #15480]
4278         [BZ #15485]
4279         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4280         main case of finite arguments, set rounding mode to FE_TONEAREST
4281         and discard exceptions.
4282         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4283         exceptions.
4284         (remainder_tonearest_test_data): New variable.
4285         (remainder_test_tonearest): New function.
4286         (remainder_towardzero_test_data): New variable.
4287         (remainder_test_towardzero): New function.
4288         (remainder_downward_test_data): New variable.
4289         (remainder_test_downward): New function.
4290         (remainder_upward_test_data): New variable.
4291         (remainder_test_upward): New function.
4292         (main): Call the new test functions.
4294         * math/libm-test.inc (struct test_f_f1_data): Remove field
4295         extra_init.
4296         (struct test_fF_f1_data): Likewise.
4297         (struct test_ffI_f1_data): Likewise.
4298         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
4299         based on value of EXTRA_EXPECTED.
4300         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4301         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
4302         EXTRA_VAR based on value of EXTRA_EXPECTED.
4303         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4304         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
4305         EXTRA_VAR based on value of EXTRA_EXPECTED.
4306         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4307         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
4308         EXTRA_VAR based on value of EXTRA_EXPECTED.
4309         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4310         * math/gen-libm-test.pl (parse_args): Don't output initializers
4311         for extra output values.
4313         * math/libm-test.inc (check_int): Expect result to be exactly
4314         equal to expected value and do not handle ulps.
4315         (check_long): Likewise.
4316         (check_longlong): Likewise.
4318         * math/libm-test.inc (ceil_test_data): Test for "inexact"
4319         exceptions.
4320         (cimag_test_data): Likewise.
4321         (conj_test_data): Likewise.
4322         (copysign_test_data): Likewise.
4323         (cproj_test_data): Likewise.
4324         (creal_test_data): Likewise.
4325         (fabs_test_data): Likewise.
4326         (fdim_test_data): Likewise.
4327         (finite_test_data): Likewise.
4328         (floor_test_data): Likewise.
4329         (fmax_test_data): Likewise.
4330         (fmin_test_data): Likewise.
4331         (fmod_test_data): Likewise.
4332         (fpclassify_test_data): Likewise.
4333         (frexp_test_data): Likewise.
4334         (ilogb_test_data): Likewise.
4335         (isfinite_test_data): Likewise.
4336         (isgreater_test_data): Likewise.
4337         (isgreaterequal_test_data): Likewise.
4338         (isinf_test_data): Likewise.
4339         (isless_test_data): Likewise.
4340         (islessequal_test_data): Likewise.
4341         (islessgreater_test_data): Likewise.
4342         (isnan_test_data): Likewise.
4343         (isnormal_test_data): Likewise.
4344         (issignaling_test_data): Likewise.
4345         (isunordered_test_data): Likewise.
4346         (ldexp_test_data): Likewise.
4347         (lrint_test_data): Likewise.
4348         (lrint_test_data) [TEST_FLOAT]: Disable one test.
4349         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4350         (lrint_tonearest_test_data): Test for "inexact" exceptions.
4351         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4352         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4353         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4354         test input.
4355         (lrint_towardzero_test_data): Test for "inexact" exceptions.
4356         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4357         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4358         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4359         that test input.
4360         (lrint_downward_test_data): Test for "inexact" exceptions.
4361         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4362         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4363         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4364         test input.
4365         (lrint_upward_test_data): Test for "inexact" exceptions.
4366         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4367         test input.
4368         (llrint_test_data): Test for "inexact" exceptions.
4369         (llrint_test_data) [TEST_FLOAT]: Disable one test.
4370         (llrint_tonearest_test_data): Test for "inexact" exceptions.
4371         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4372         (llrint_towardzero_test_data): Test for "inexact" exceptions.
4373         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4374         (llrint_downward_test_data): Test for "inexact" exceptions.
4375         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4376         (llrint_upward_test_data): Test for "inexact" exceptions.
4377         (logb_test_data): Likewise.
4378         (logb_downward_test_data): Likewise.
4379         (nextafter_test_data): Likewise.
4380         (nexttoward_test_data): Likewise.
4381         (remainder_test_data): Likewise.
4382         (remquo_test_data): Likewise.
4383         (scalbn_test_data): Likewise.
4384         (scalbln_test_data): Likewise.
4385         (signbit_test_data): Likewise.
4386         (sqrt_test_data): Likewise.
4387         (significand_test_data): Likewise.
4389 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4391         [BZ #15424]
4392         * benchtests/bench-modf.c (struct args): Mark arg0 as
4393         volatile.
4394         * scripts/bench.pl: Mark members of struct args as volatile.
4396 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4398         [BZ # 15497]
4399         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4400         negative infinity on POWER6 or lower.
4401         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4403 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4405         [BZ #15442]
4406         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4407         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4408         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4409         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4410         (_FP_SETQNAN): New macro.
4411         (_FP_SETQNAN_SEMIRAW): Likewise.
4412         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4413         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4414         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4415         (FP_EXTEND): Use _FP_FRAC_SNANP.
4416         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4417         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4418         into account.
4419         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4420         New macro.
4421         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4422         Likewise.
4424 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4426         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4427         with DIVIDE_BY_ZERO_EXCEPTION.
4428         (gamma_test_data): Likewise.
4429         (lgamma_test_data): Likewise.
4430         (log_test_data): Likewise.
4431         (log10_test_data): Likewise.
4432         (log2_test_data): Likewise.
4433         (tgamma_test_data): Likewise.
4435         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4436         (acos_test_tonearest): Likewise.
4437         (acos_test_towardzero): Likewise.
4438         (acos_test_downward): Likewise.
4439         (acos_test_upward): Likewise.
4440         (acosh_test): Likewise.
4441         (asin_test): Likewise.
4442         (asin_test_tonearest): Likewise.
4443         (asin_test_towardzero): Likewise.
4444         (asin_test_downward): Likewise.
4445         (asin_test_upward): Likewise.
4446         (asinh_test): Likewise.
4447         (atan_test): Likewise.
4448         (atanh_test): Likewise.
4449         (atan2_test): Likewise.
4450         (cabs_test): Likewise.
4451         (cacos_test): Likewise.
4452         (cacosh_test): Likewise.
4453         (casin_test): Likewise.
4454         (casinh_test): Likewise.
4455         (catan_test): Likewise.
4456         (catanh_test): Likewise.
4457         (cbrt_test): Likewise.
4458         (ccos_test): Likewise.
4459         (ccosh_test): Likewise.
4460         (cexp_test): Likewise.
4461         (clog_test): Likewise.
4462         (clog10_test): Likewise.
4463         (cos_test): Likewise.
4464         (cos_test_tonearest): Likewise.
4465         (cos_test_towardzero): Likewise.
4466         (cos_test_downward): Likewise.
4467         (cos_test_upward): Likewise.
4468         (cosh_test): Likewise.
4469         (cosh_test_tonearest): Likewise.
4470         (cosh_test_towardzero): Likewise.
4471         (cosh_test_downward): Likewise.
4472         (cosh_test_upward): Likewise.
4473         (cpow_test): Likewise.
4474         (csin_test): Likewise.
4475         (csinh_test): Likewise.
4476         (csqrt_test): Likewise.
4477         (ctan_test): Likewise.
4478         (ctan_test_tonearest): Likewise.
4479         (ctan_test_towardzero): Likewise.
4480         (ctan_test_downward): Likewise.
4481         (ctan_test_upward): Likewise.
4482         (ctanh_test): Likewise.
4483         (ctanh_test_tonearest): Likewise.
4484         (ctanh_test_towardzero): Likewise.
4485         (ctanh_test_downward): Likewise.
4486         (ctanh_test_upward): Likewise.
4487         (erf_test): Likewise.
4488         (erfc_test): Likewise.
4489         (exp_test): Likewise.
4490         (exp_test_tonearest): Likewise.
4491         (exp_test_towardzero): Likewise.
4492         (exp_test_downward): Likewise.
4493         (exp_test_upward): Likewise.
4494         (exp10_test): Likewise.
4495         (exp2_test): Likewise.
4496         (expm1_test): Likewise.
4497         (fmod_test): Likewise.
4498         (gamma_test): Likewise.
4499         (hypot_test): Likewise.
4500         (j0_test): Likewise.
4501         (j1_test): Likewise.
4502         (jn_test): Likewise.
4503         (lgamma_test): Likewise.
4504         (log_test): Likewise.
4505         (log10_test): Likewise.
4506         (log1p_test): Likewise.
4507         (log2_test): Likewise.
4508         (logb_test_downward): Likewise.
4509         (pow_test): Likewise.
4510         (pow_test_tonearest): Likewise.
4511         (pow_test_towardzero): Likewise.
4512         (pow_test_downward): Likewise.
4513         (pow_test_upward): Likewise.
4514         (remainder_test): Likewise.
4515         (remquo_test): Likewise.
4516         (sin_test): Likewise.
4517         (sin_test_tonearest): Likewise.
4518         (sin_test_towardzero): Likewise.
4519         (sin_test_downward): Likewise.
4520         (sin_test_upward): Likewise.
4521         (sincos_test): Likewise.
4522         (sinh_test): Likewise.
4523         (sinh_test_tonearest): Likewise.
4524         (sinh_test_towardzero): Likewise.
4525         (sinh_test_downward): Likewise.
4526         (sinh_test_upward): Likewise.
4527         (sqrt_test): Likewise.
4528         (tan_test): Likewise.
4529         (tan_test_tonearest): Likewise.
4530         (tan_test_towardzero): Likewise.
4531         (tan_test_downward): Likewise.
4532         (tan_test_upward): Likewise.
4533         (tanh_test): Likewise.
4534         (tgamma_test): Likewise.
4535         (y0_test): Likewise.
4536         (y1_test): Likewise.
4537         (yn_test): Likewise.
4539         * math/gen-libm-test.pl (adjust_arg): Remove function.
4540         (special_function): Remove argument $in_func.  Only handle
4541         generating output for tables of tests, not inside functions.
4542         (parse_args): Likewise.
4543         (generate_testfile): Remove variable $in_func.  Update call to
4544         parse_args.
4545         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4546         (MINUS_ZERO_INIT): Rename macro to minus_zero.
4547         (PLUS_INFTY_INIT): Rename macro to plus_infty.
4548         (MINUS_INFTY_INIT): Rename macro to minus_infty.
4549         (QNAN_VALUE_INIT): Rename macro to qnan_value.
4550         (MAX_VALUE_INIT): Rename macro to max_value.
4551         (MIN_VALUE_INIT): Rename macro to min_value.
4552         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4553         (plus_zero): Remove variable.
4554         (minus_zero): Likewise.
4555         (plus_infty): Likewise.
4556         (minus_infty): Likewise.
4557         (qnan_value): Likewise.
4558         (max_value): Likewise.
4559         (min_value): Likewise.
4560         (min_subnorm_value): Likewise.
4562 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4564         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4565         uint64_t or uint32_t usage.
4566         * crypt/sha256-block.c: Likewise.
4567         * crypt/sha256-crypt.c: Likewise.
4568         * crypt/sha256.c: Likewise.
4569         * crypt/sha512-block.c: Likewise.
4570         * crypt/sha512-crypt.c: Likewise.
4571         * crypt/sha512.c: Likewise.
4572         * debug/backtrace-tst.c: Likewise.
4573         * debug/pcprofiledump.c: Likewise.
4574         * elf/cache.c: Likewise.
4575         * elf/dl-cache.c: Likewise.
4576         * elf/dl-misc.c: Likewise.
4577         * elf/dl-profile.c: Likewise.
4578         * elf/dl-support.c: Likewise.
4579         * elf/ldconfig.c: Likewise.
4580         * elf/sprof.c: Likewise.
4581         * iconv/dummy-repertoire.c: Likewise.
4582         * iconv/iconv_charmap.c: Likewise.
4583         * iconv/skeleton.c: Likewise.
4584         * iconvdata/8bit-generic.c: Likewise.
4585         * iconvdata/cp737.h: Likewise.
4586         * iconvdata/cp775.h: Likewise.
4587         * iconvdata/ibm1008.h: Likewise.
4588         * iconvdata/ibm1025.h: Likewise.
4589         * iconvdata/ibm1046.h: Likewise.
4590         * iconvdata/ibm1097.h: Likewise.
4591         * iconvdata/ibm1112.h: Likewise.
4592         * iconvdata/ibm1122.h: Likewise.
4593         * iconvdata/ibm1123.h: Likewise.
4594         * iconvdata/ibm1124.h: Likewise.
4595         * iconvdata/ibm1129.h: Likewise.
4596         * iconvdata/ibm1130.h: Likewise.
4597         * iconvdata/ibm1132.h: Likewise.
4598         * iconvdata/ibm1133.h: Likewise.
4599         * iconvdata/ibm1137.h: Likewise.
4600         * iconvdata/ibm1140.h: Likewise.
4601         * iconvdata/ibm1141.h: Likewise.
4602         * iconvdata/ibm1142.h: Likewise.
4603         * iconvdata/ibm1143.h: Likewise.
4604         * iconvdata/ibm1144.h: Likewise.
4605         * iconvdata/ibm1145.h: Likewise.
4606         * iconvdata/ibm1146.h: Likewise.
4607         * iconvdata/ibm1147.h: Likewise.
4608         * iconvdata/ibm1148.h: Likewise.
4609         * iconvdata/ibm1149.h: Likewise.
4610         * iconvdata/ibm1153.h: Likewise.
4611         * iconvdata/ibm1154.h: Likewise.
4612         * iconvdata/ibm1155.h: Likewise.
4613         * iconvdata/ibm1156.h: Likewise.
4614         * iconvdata/ibm1157.h: Likewise.
4615         * iconvdata/ibm1158.h: Likewise.
4616         * iconvdata/ibm1160.h: Likewise.
4617         * iconvdata/ibm1161.h: Likewise.
4618         * iconvdata/ibm1162.h: Likewise.
4619         * iconvdata/ibm1163.h: Likewise.
4620         * iconvdata/ibm1164.h: Likewise.
4621         * iconvdata/ibm1166.h: Likewise.
4622         * iconvdata/ibm1167.h: Likewise.
4623         * iconvdata/ibm12712.h: Likewise.
4624         * iconvdata/ibm1390.h: Likewise.
4625         * iconvdata/ibm1399.h: Likewise.
4626         * iconvdata/ibm16804.h: Likewise.
4627         * iconvdata/ibm4517.h: Likewise.
4628         * iconvdata/ibm4899.h: Likewise.
4629         * iconvdata/ibm4909.h: Likewise.
4630         * iconvdata/ibm4971.h: Likewise.
4631         * iconvdata/ibm5347.h: Likewise.
4632         * iconvdata/ibm803.h: Likewise.
4633         * iconvdata/ibm856.h: Likewise.
4634         * iconvdata/ibm901.h: Likewise.
4635         * iconvdata/ibm902.h: Likewise.
4636         * iconvdata/ibm9030.h: Likewise.
4637         * iconvdata/ibm9066.h: Likewise.
4638         * iconvdata/ibm921.h: Likewise.
4639         * iconvdata/ibm922.h: Likewise.
4640         * iconvdata/ibm9448.h: Likewise.
4641         * iconvdata/isiri-3342.h: Likewise.
4642         * iconvdata/jis0201.h: Likewise.
4643         * include/link.h: Likewise.
4644         * include/netdb.h: Likewise.
4645         * inet/check_native.c: Likewise.
4646         * inet/check_pf.c: Likewise.
4647         * inet/getipv4sourcefilter.c: Likewise.
4648         * inet/getnameinfo.c: Likewise.
4649         * inet/getsourcefilter.c: Likewise.
4650         * inet/htonl.c: Likewise.
4651         * inet/setipv4sourcefilter.c: Likewise.
4652         * inet/setsourcefilter.c: Likewise.
4653         * inet/test-inet6_opt.c: Likewise.
4654         * inet/tst-network.c: Likewise.
4655         * locale/C-collate.c: Likewise.
4656         * locale/C-ctype.c: Likewise.
4657         * locale/C-time.c: Likewise.
4658         * locale/C-translit.h: Likewise.
4659         * locale/loadarchive.c: Likewise.
4660         * locale/programs/3level.h: Likewise.
4661         * locale/programs/charmap.c: Likewise.
4662         * locale/programs/charmap.h: Likewise.
4663         * locale/programs/ld-address.c: Likewise.
4664         * locale/programs/ld-collate.c: Likewise.
4665         * locale/programs/ld-ctype.c: Likewise.
4666         * locale/programs/ld-identification.c: Likewise.
4667         * locale/programs/ld-measurement.c: Likewise.
4668         * locale/programs/ld-messages.c: Likewise.
4669         * locale/programs/ld-monetary.c: Likewise.
4670         * locale/programs/ld-name.c: Likewise.
4671         * locale/programs/ld-numeric.c: Likewise.
4672         * locale/programs/ld-paper.c: Likewise.
4673         * locale/programs/ld-telephone.c: Likewise.
4674         * locale/programs/ld-time.c: Likewise.
4675         * locale/programs/linereader.c: Likewise.
4676         * locale/programs/locale.c: Likewise.
4677         * locale/programs/locarchive.c: Likewise.
4678         * locale/programs/locfile.h: Likewise.
4679         * locale/programs/repertoire.c: Likewise.
4680         * locale/programs/simple-hash.c: Likewise.
4681         * locale/programs/simple-hash.h: Likewise.
4682         * malloc/memusage.c: Likewise.
4683         * malloc/memusagestat.c: Likewise.
4684         * nis/nis_defaults.c: Likewise.
4685         * nis/nis_hash.c: Likewise.
4686         * nis/nis_print.c: Likewise.
4687         * nis/nis_xdr.c: Likewise.
4688         * nscd/connections.c: Likewise.
4689         * nscd/hstcache.c: Likewise.
4690         * nscd/nscd_gethst_r.c: Likewise.
4691         * nscd/nscd_getserv_r.c: Likewise.
4692         * nscd/nscd_helper.c: Likewise.
4693         * nscd/servicescache.c: Likewise.
4694         * nss/makedb.c: Likewise.
4695         * nss/nss_db/db-XXX.c: Likewise.
4696         * nss/nss_db/db-initgroups.c: Likewise.
4697         * nss/nss_db/db-netgrp.c: Likewise.
4698         * nss/nss_files/files-network.c: Likewise.
4699         * nss/nss_files/files-parse.c: Likewise.
4700         * posix/bug-regex5.c: Likewise.
4701         * posix/fnmatch_loop.c: Likewise.
4702         * posix/regcomp.c: Likewise.
4703         * posix/regexec.c: Likewise.
4704         * posix/tst-rfc3484-2.c: Likewise.
4705         * posix/tst-rfc3484-3.c: Likewise.
4706         * posix/tst-rfc3484.c: Likewise.
4707         * resolv/nss_dns/dns-canon.c: Likewise.
4708         * resolv/nss_dns/dns-network.c: Likewise.
4709         * resolv/res_init.c: Likewise.
4710         * resolv/res_mkquery.c: Likewise.
4711         * resolv/tst-aton.c: Likewise.
4712         * stdlib/cxa_atexit.c: Likewise.
4713         * stdlib/cxa_finalize.c: Likewise.
4714         * stdlib/gen-fpioconst.c: Likewise.
4715         * stdlib/strtol_l.c: Likewise.
4716         * string/tst-endian.c: Likewise.
4717         * sunrpc/auth_des.c: Likewise.
4718         * sunrpc/clnt_udp.c: Likewise.
4719         * sunrpc/rtime.c: Likewise.
4720         * sunrpc/svcauth_des.c: Likewise.
4721         * sunrpc/xdr.c: Likewise.
4722         * sunrpc/xdr_intXX_t.c: Likewise.
4723         * sunrpc/xdr_rec.c: Likewise.
4724         * sysdeps/generic/ldconfig.h: Likewise.
4725         * sysdeps/generic/ldsodefs.h: Likewise.
4726         * sysdeps/generic/memusage.h: Likewise.
4727         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4728         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4729         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4730         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4731         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4732         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4733         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4734         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4735         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4736         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4737         * sysdeps/posix/getaddrinfo.c: Likewise.
4738         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4739         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4740         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4741         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4742         * sysdeps/powerpc/test-gettimebase.c: Likewise.
4743         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4744         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4745         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4746         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4747         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4748         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4749         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4750         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4751         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4752         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4753         * sysdeps/x86_64/dl-tls.h: Likewise.
4754         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4755         * time/alt_digit.c: Likewise.
4756         * time/era.c: Likewise.
4757         * wcsmbs/tst-c16c32-1.c: Likewise.
4759 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4761         * math/libm-test.inc (struct test_sincos_data): New type.
4762         (RUN_TEST_LOOP_sincos): New macro.
4763         (sincos_test_data): New variable.
4764         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4766 2013-05-16  Richard Henderson  <rth@redhat.com>
4768         * math/atest-exp2.c (LIMB64): New macro.
4769         (CONSTSZ): New macro.
4770         (mp_exp1, mp_exp_m1, mp_log2): New variables.
4771         (hexdig): Move ...
4772         (print_mpn_fp): ... to function scope.
4773         (read_mpn_hex): Remove.
4774         (get_log2): Remove.
4775         (exp2_mpn): Use mp_log2.
4776         (main): Use mp_exp1.
4778 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4780         * math/libm-test.inc: Remove comment about not testing "inexact"
4781         exceptions.
4782         (INEXACT_EXCEPTION): New macro.
4783         (NO_INEXACT_EXCEPTION): Likewise.
4784         (INVALID_EXCEPTION_OK): Update value.
4785         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4786         (OVERFLOW_EXCEPTION_OK): Likewise.
4787         (UNDERFLOW_EXCEPTION_OK): Likewise.
4788         (IGNORE_ZERO_INF_SIGN): Likewise.
4789         (ERRNO_UNCHANGED): Likewise.
4790         (ERRNO_EDOM): Likewise.
4791         (ERRNO_ERANGE): Likewise.
4792         (test_exceptions): Handle testing "inexact" exceptions.
4793         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4794         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4795         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4796         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4797         INEXACT_EXCEPTION.
4798         (rint_towardzero_test_data): Likewise.
4799         (rint_downward_test_data): Likewise.
4800         (rint_upward_test_data): Likewise.
4802         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4803         with OVERFLOW_EXCEPTION.
4804         (exp10_test_data): Likewise.
4805         (exp2_test_data): Likewise.
4806         (expm1_test_data): Likewise.
4807         (lgamma_test_data): Likewise.
4808         (pow_test_data): Likewise.
4809         (tgamma_test_data): Likewise.
4810         (yn_test_data): Remove duplicate test of overflow.
4812         * math/libm-test.inc (struct test_cc_c_data): New type.
4813         (RUN_TEST_LOOP_cc_c): New macro.
4814         (cpow_test_data): New variable.
4815         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4817         * math/libm-test.inc (struct test_f_L_data): New type.
4818         (RUN_TEST_LOOP_f_L): New macro.
4819         (llrint_test_data): New variable.
4820         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4821         (llrint_tonearest_test_data): New variable.
4822         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4823         (llrint_towardzero_test_data): New variable.
4824         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4825         (llrint_downward_test_data): New variable.
4826         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4827         (llrint_upward_test_data): New variable.
4828         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4829         (llround_test_data): New variable.
4830         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4832 2013-05-13  Peter Collingbourne  <pcc@google.com>
4834         * math/atest-exp2.c (get_log2): Remove const attribute.
4836 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4838         * math/libm-test.inc (struct test_f_l_data): New type.
4839         (RUN_TEST_LOOP_f_l): New macro.
4840         (lrint_test_data): New variable.
4841         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4842         (lrint_tonearest_test_data): New variable.
4843         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4844         (lrint_towardzero_test_data): New variable.
4845         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4846         (lrint_downward_test_data): New variable.
4847         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4848         (lrint_upward_test_data): New variable.
4849         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4850         (lround_test_data): New variable.
4851         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4853 2013-05-15  Peter Collingbourne  <pcc@google.com>
4855         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4856         (EXTRACT_WORDS64) Use where appropriate.
4857         (INSERT_WORDS64) Likewise.
4859         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4860         constraints with x constraints.
4861         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4863         * malloc/obstack.c (_obstack_compat): Add initializer.
4865 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4867         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4868         si_trapno and add si_addr_lsb to _sifields.sigfault.
4869         (si_trapno): Remove macro.
4870         (si_addr_lsb): Define new macro.
4871         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4873 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4875         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4876         instead of TEST_f_l.
4877         (llrint_test_tonearest): Likewise.
4878         (llrint_test_towardzero): Likewise.
4879         (llrint_test_downward): Likewise.
4880         (llrint_test_upward): Likewise.
4881         (llround_test): Likewise.
4883         * math/libm-test.inc (struct test_f_i_data): Add comment.
4884         (RUN_TEST_LOOP_f_b): New macro.
4885         (RUN_TEST_LOOP_f_b_tg): Likewise.
4886         (finite_test_data): New variable.
4887         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4888         (isfinite_test_data): New variable.
4889         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4890         (isinf_test_data): New variable.
4891         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4892         (isnan_test_data): New variable.
4893         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4894         (isnormal_test_data): New variable.
4895         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4896         (issignaling_test_data): New variable.
4897         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4898         (signbit_test_data): New variable.
4899         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4901         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4902         with INVALID_EXCEPTION.
4903         (acosh_test_data): Likewise.
4904         (asin_test_data): Likewise.
4905         (atanh_test_data): Likewise.
4906         (fmod_test_data): Likewise.
4907         (log_test_data): Likewise.
4908         (log10_test_data): Likewise.
4909         (log2_test_data): Likewise.
4910         (pow_test_data): Likewise.
4911         (sqrt_test_data): Likewise.
4912         (y0_test_data): Likewise.
4913         (y1_test_data): Likewise.
4914         (yn_test_data): Likewise.
4916         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4917         function contents.
4919         * math/libm-test.inc (struct test_ff_i_data): New type.
4920         (RUN_TEST_LOOP_ff_i_tg): New macro.
4921         (isgreater_test_data): New variable.
4922         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4923         (isgreaterequal_test_data): New variable.
4924         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4925         (isless_test_data): New variable.
4926         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4927         (islessequal_test_data): New variable.
4928         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4929         (islessgreater_test_data): New variable.
4930         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4931         (isunordered_test_data): New variable.
4932         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4934 2013-05-14  David S. Miller  <davem@davemloft.net>
4936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4938 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
4940         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4942         * math/libm-test.inc (struct test_fF_f1_data): Change type of
4943         extra_test to int.
4944         (struct test_f_i_data): Change type of max_ulp to int.
4946         * math/libm-test.inc (test_ffI_f1_data): New type.
4947         (RUN_TEST_LOOP_ffI_f1): New macro.
4948         (remquo_test_data): New variable.
4949         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4951         * setjmp/tst-setjmp-fp.c: New file.
4952         * setjmp/Makefile (tests): Add tst-setjmp-fp.
4953         (link-libm): New variable.
4954         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4956         * math/libm-test.inc (struct test_f_i_data): New type.
4957         (RUN_TEST_LOOP_f_i): New macro.
4958         (RUN_TEST_LOOP_f_i_tg): Likewise.
4959         (fpclassify_test_data): New variable.
4960         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4961         (ilogb_test_data): New variable.
4962         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4964         * math/libm-test.inc (scalbln_test): Correct function name in END
4965         call.
4967         * math/libm-test.inc (struct test_f_f1_data): Add comment.
4968         (RUN_TEST_LOOP_fI_f1): New macro.
4969         (frexp_test_data): New variable.
4970         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4972         * math/libm-test.inc (struct test_fF_f1_data): New type.
4973         (RUN_TEST_LOOP_fF_f1): New macro.
4974         (modf_test_data): New variable.
4975         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4977         * math/libm-test.inc (struct test_f_f1_data): New type.
4978         (RUN_TEST_LOOP_f_f1): New macro.
4979         (gamma_test_data): New variable.
4980         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4981         (lgamma_test_data): New variable.
4982         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4984 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
4986         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4987         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4988         (main): Comment "tls" pseudo-hwcap.
4990 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
4992         * math/libm-test.inc (struct test_fl_f_data): New type.
4993         (RUN_TEST_LOOP_fl_f): New variable.
4994         (scalbln_test_data): New variable.
4995         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4997         * math/libm-test.inc (struct test_fi_f_data): New type.
4998         (RUN_TEST_LOOP_fi_f): New macro.
4999         (ldexp_test_data): New variable.
5000         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5001         (scalbn_test_data): New variable.
5002         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5004         * math/libm-test.inc (struct test_c_f_data): New type.
5005         (RUN_TEST_LOOP_c_f): New macro.
5006         (cabs_test_data): New variable.
5007         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5008         (carg_test_data): New variable.
5009         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5010         (cimag_test_data): New variable.
5011         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5012         (creal_test_data): New variable.
5013         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5015         * math/libm-test.inc (struct test_if_f_data): New type.
5016         (RUN_TEST_LOOP_if_f): New macro.
5017         (jn_test_data): New variable.
5018         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5019         (yn_test_data): New variable.
5020         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5022         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5024 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5026         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5027         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5029 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5031         * benchtests/Makefile (CPPFLAGS-nonlib): Add
5032         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5033         (bench-deps): Add bench-timing.h.
5034         * benchtests-bench-skeleton.c: Include bench-timing.h.
5035         (main): Use TIMING_* macros instead of clock_gettime.
5036         * benchtests/bench-timing.h: New file.
5038         [BZ #14582]
5039         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5040         Renamed from _LIB_VERSION.
5041         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5043 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
5045         * math/libm-test.inc (struct test_fff_f_data): New type.
5046         (RUN_TEST_LOOP_fff_f): New macro.
5047         (fma_test_data): New variable.
5048         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5049         (fma_towardzero_test_data): New variable.
5050         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5051         (fma_downward_test_data): New variable.
5052         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5053         (fma_upward_test_data): New variable.
5054         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5056         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5057         (struct test_c_c_data): New type.
5058         (RUN_TEST_LOOP_c_c): New macro.
5059         (cacos_test_data): New variable.
5060         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5061         (cacosh_test_data): New variable.
5062         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5063         (casin_test_data): New variable.
5064         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5065         (casinh_test_data): New variable.
5066         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5067         (catan_test_data): New variable.
5068         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5069         (catanh_test_data): New variable.
5070         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5071         (ccos_test_data): New variable.
5072         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5073         (ccosh_test_data): New variable.
5074         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5075         (cexp_test_data): New variable.
5076         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5077         (clog_test_data): New variable.
5078         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5079         (clog10_test_data): New variable.
5080         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5081         (conj_test_data): New variable.
5082         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5083         (cproj_test_data): New variable.
5084         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5085         (csin_test_data): New variable.
5086         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5087         (csinh_test_data): New variable.
5088         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5089         (csqrt_test_data): New variable.
5090         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5091         (ctan_test_data): New variable.
5092         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5093         (ctan_tonearest_test_data): New variable.
5094         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5095         (ctan_towardzero_test_data): New variable.
5096         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5097         (ctan_downward_test_data): New variable.
5098         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5099         (ctan_upward_test_data): New variable.
5100         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5101         (ctanh_test_data): New variable.
5102         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5103         (ctanh_tonearest_test_data): New variable.
5104         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5105         (ctanh_towardzero_test_data): New variable.
5106         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5107         (ctanh_downward_test_data): New variable.
5108         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5109         (ctanh_upward_test_data): New variable.
5110         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5111         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5112         of BUILD_COMPLEX.
5114         * math/libm-test.inc (struct test_ff_f_data): New type.
5115         (struct test_ff_f_data_nexttoward): Likewise.
5116         (RUN_TEST_LOOP_2_f): New macro.
5117         (RUN_TEST_LOOP_ff_f): Likewise.
5118         (atan2_test_data): New variable.
5119         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5120         (copysign_test_data): New variable.
5121         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5122         (fdim_test_data): New variable.
5123         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5124         (fmax_test_data): New variable.
5125         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5126         (fmin_test_data): New variable.
5127         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5128         (fmod_test_data): New variable.
5129         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5130         (hypot_test_data): New variable.
5131         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5132         (nextafter_test_data): New variable.
5133         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5134         (nexttoward_test_data): New variable.
5135         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5136         (pow_test_data): New variable.
5137         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5138         (pow_tonearest_test_data): New variable.
5139         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5140         (pow_towardzero_test_data): New variable.
5141         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5142         (pow_downward_test_data): New variable.
5143         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5144         (pow_upward_test_data): New variable.
5145         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5146         (remainder_test_data): New variable.
5147         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5148         (scalb_test_data): New variable.
5149         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5150         * sysdeps/i386/fpu/libm-test-ulps: Update.
5152 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
5154         * math/libm-test.inc (fma_test): Use max_value instead of local
5155         variable fltmax.
5156         (nextafter_test): Likewise.
5158         * math/libm-test.inc (acos_towardzero_test_data): New variable.
5159         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5160         (acos_downward_test_data): New variable.
5161         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5162         (acos_upward_test_data): New variable.
5163         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5164         (acosh_test_data): New variable.
5165         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5166         (asin_test_data): New variable.
5167         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5168         (asin_tonearest_test_data): New variable.
5169         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5170         (asin_towardzero_test_data): New variable.
5171         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5172         (asin_downward_test_data): New variable.
5173         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5174         (asin_upward_test_data): New variable.
5175         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5176         (asinh_test_data): New variable.
5177         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5178         (atan_test_data): New variable.
5179         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5180         (atanh_test_data): New variable.
5181         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5182         (cbrt_test_data): New variable.
5183         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5184         (ceil_test_data): New variable.
5185         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5186         (cos_test_data): New variable.
5187         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5188         (cos_tonearest_test_data): New variable.
5189         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5190         (cos_towardzero_test_data): New variable.
5191         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5192         (cos_downward_test_data): New variable.
5193         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5194         (cos_upward_test_data): New variable.
5195         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5196         (cosh_test_data): New variable.
5197         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5198         (cosh_tonearest_test_data): New variable.
5199         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5200         (cosh_towardzero_test_data): New variable.
5201         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5202         (cosh_downward_test_data): New variable.
5203         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5204         (cosh_upward_test_data): New variable.
5205         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5206         (erf_test_data): New variable.
5207         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5208         (erfc_test_data): New variable.
5209         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5210         (exp_test_data): New variable.
5211         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5212         (exp_tonearest_test_data): New variable.
5213         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5214         (exp_towardzero_test_data): New variable.
5215         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5216         (exp_downward_test_data): New variable.
5217         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5218         (exp_upward_test_data): New variable.
5219         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5220         (exp10_test_data): New variable.
5221         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5222         (exp2_test_data): New variable.
5223         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5224         (expm1_test_data): New variable.
5225         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5226         (fabs_test_data): New variable.
5227         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5228         (floor_test_data): New variable.
5229         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5230         (j0_test_data): New variable.
5231         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5232         (j1_test_data): New variable.
5233         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5234         (log_test_data): New variable.
5235         (log_test): Run tests with RUN_TEST_LOOP_f_f.
5236         (log10_test_data): New variable.
5237         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5238         (log1p_test_data): New variable.
5239         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5240         (log2_test_data): New variable.
5241         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5242         (logb_test_data): New variable.
5243         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5244         (logb_downward_test_data): New variable.
5245         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5246         (nearbyint_test_data): New variable.
5247         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5248         (rint_test_data): New variable.
5249         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5250         (rint_tonearest_test_data): New variable.
5251         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5252         (rint_towardzero_test_data): New variable.
5253         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5254         (rint_downward_test_data): New variable.
5255         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5256         (rint_upward_test_data): New variable.
5257         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5258         (round_test_data): New variable.
5259         (round_test): Run tests with RUN_TEST_LOOP_f_f.
5260         (sin_test_data): New variable.
5261         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5262         (sin_tonearest_test_data): New variable.
5263         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5264         (sin_towardzero_test_data): New variable.
5265         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5266         (sin_downward_test_data): New variable.
5267         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5268         (sin_upward_test_data): New variable.
5269         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5270         (sinh_test_data): New variable.
5271         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5272         (sinh_tonearest_test_data): New variable.
5273         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5274         (sinh_towardzero_test_data): New variable.
5275         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5276         (sinh_downward_test_data): New variable.
5277         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5278         (sinh_upward_test_data): New variable.
5279         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5280         (sqrt_test_data): New variable.
5281         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5282         (tan_test_data): New variable.
5283         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5284         (tan_tonearest_test_data): New variable.
5285         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5286         (tan_towardzero_test_data): New variable.
5287         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5288         (tan_downward_test_data): New variable.
5289         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5290         (tan_upward_test_data): New variable.
5291         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5292         (tanh_test_data): New variable.
5293         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5294         (tgamma_test_data): New variable.
5295         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5296         (trunc_test_data): New variable.
5297         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5298         (y0_test_data): New variable.
5299         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5300         (y1_test_data): New variable.
5301         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5302         (significand_test_data): New variable.
5303         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5305 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
5307         [BZ #12387]
5308         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5310 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5312         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5314 2013-05-10  Andreas Jaeger  <aj@suse.de>
5316         [BZ #15448]
5317         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5318         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5320 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
5322         * math/gen-libm-test.pl (adjust_arg): New function.
5323         (special_functions): Handle generating output in both functions
5324         and arrays.
5325         (parse_args): Likewise.
5326         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
5327         $in_func argument to parse_args.
5328         * math/libm-test.inc (struct test_f_f_data): New type.
5329         (IF_ROUND_INIT_): New macro.
5330         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5331         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5332         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5333         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5334         (ROUND_RESTORE_): Likewise.
5335         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5336         (ROUND_RESTORE_FE_TONEAREST): Likewise.
5337         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5338         (ROUND_RESTORE_FE_UPWARD): Likewise.
5339         (RUN_TEST_LOOP_f_f): New macro.
5340         (acos_test_data): New variable.
5341         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5342         (acos_tonearest_test_data): New variable.
5343         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5345 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5347         * benchtests/bench-skeleton.c (startup): Fix coding style.
5349 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
5351         [BZ #6809]
5352         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5353         negative infinity argument.
5354         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5355         negative infinity argument.
5356         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5357         negative infinity argument.
5358         * math/libm-test.inc (tgamma_test): Expect errno to be set for
5359         domain errors.
5361 2013-05-10  Florian Weimer  <fweimer@redhat.com>
5363         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5364         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5365         * iconv/iconv_prog.c (main): Likewise.
5366         * locale/programs/charmap-dir.c (charmap_readdir)
5367         (fopen_uncompressed): Likewise.
5368         * locale/programs/locfile.c (siblings_uncached)
5369         (write_locale_data): Use lstat64 instead of lstat.
5370         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5371         stat.
5373 2013-05-10  Andreas Jaeger  <aj@suse.de>
5375         [BZ #15395]
5376         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5377         localization.
5378         Include <locale.h>.
5380 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
5382         * elf/dl-close.c (_dl_close_worker): Add comments.
5384 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
5386         [BZ #15359]
5387         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5388         high part of pi/2.
5389         (__ieee754_rem_pio2l): Update comments.
5391         [BZ #15429]
5392         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5393         high part of pi/2.
5394         (__ieee754_rem_pio2l): Update comments.
5396         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5397         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5399         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5400         M_PI_4l.
5402         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5403         (M_PI_34_LOG10El): Likewise.
5404         (M_PI2_LOG10El): Likewise.
5405         (M_PI4_LOG10El): Likewise.
5406         (M_PI_LOG10El): Likewise.
5408 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5412 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
5414         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5415         (MINUS_ZERO_INIT): Likewise.
5416         (PLUS_INFTY_INIT): Likewise.
5417         (MINUS_INFTY_INIT): Likewise.
5418         (QNAN_VALUE_INIT): Likewise.
5419         (MAX_VALUE_INIT): Likewise.
5420         (MIN_VALUE_INIT): Likewise.
5421         (MIN_SUBNORM_VALUE_INIT): Likewise.
5422         (plus_zero): Initialize with PLUS_ZERO_INIT.
5423         (minus_zero): Initialize with MINUS_ZERO_INIT.
5424         (plus_infty): Initialize with PLUS_INFTY_INIT.
5425         (minus_infty): Initialize with MINUS_INFTY_INIT.
5426         (qnan_value): Initialize with QNAN_VALUE_INIT.
5427         (max_value): Initialize with MAX_VALUE_INIT.
5428         (min_value): Initialize with MIN_VALUE_INIT.
5429         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5431         * math/libm-test.inc (RUN_TEST_if_f): New macro.
5432         (jn_test): Use TEST_if_f instead of TEST_ff_f.
5433         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5434         (yn_test): Use TEST_if_f instead of TEST_ff_f.
5436         * math/libm-test.inc (RUN_TEST_f_f): New macro.
5437         (RUN_TEST_2_f): Likewise.
5438         (RUN_TEST_ff_f): Likewise.
5439         (RUN_TEST_fi_f): Likewise.
5440         (RUN_TEST_fl_f): Likewise.
5441         (RUN_TEST_fff_f): Likewise.
5442         (RUN_TEST_c_f): Likewise.
5443         (RUN_TEST_f_f1): Likewise.
5444         (RUN_TEST_fF_f1): Likewise.
5445         (RUN_TEST_fI_f1): Likewise.
5446         (RUN_TEST_ffI_f1): Likewise.
5447         (RUN_TEST_c_c): Likewise.
5448         (RUN_TEST_cc_c): Likewise.
5449         (RUN_TEST_f_i): Likewise.
5450         (RUN_TEST_f_i_tg): Likewise.
5451         (RUN_TEST_ff_i_tg): Likewise.
5452         (RUN_TEST_f_b): Likewise.
5453         (RUN_TEST_f_b_tg): Likewise.
5454         (RUN_TEST_f_l): Likewise.
5455         (RUN_TEST_f_L): Likewise.
5456         (RUN_TEST_sincos): Likewise.
5457         * math/gen-libm-test.pl (new_test): Take new argument to indicate
5458         whether to show exceptions.  Do not include ");\n" in return
5459         value.
5460         (special_functions): Output call to RUN_TEST_sincos instead of
5461         check_float calls.  Update calls to new_test.
5462         (parse_args): Output call to single RUN_TEST_* macro instead of
5463         check_* calls and other assignments.  Update calls to new_test.
5465         [BZ #2546]
5466         [BZ #2560]
5467         [BZ #5159]
5468         [BZ #15426]
5469         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5470         input to result for tgamma overflow.
5471         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5472         (gamma_coeff): New variable.
5473         (NCOEFF): New macro.
5474         (gamma_positive): New function.
5475         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5476         underflow here.  Use gamma_positive instead of exp (lgamma) for
5477         other arguments.
5478         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5479         (gamma_coeff): New variable.
5480         (NCOEFF): New macro.
5481         (gammaf_positive): New function.
5482         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5483         underflow here.  Use gamma_positive instead of exp (lgamma) for
5484         other arguments.
5485         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5486         (gamma_coeff): New variable.
5487         (NCOEFF): New macro.
5488         (gammal_positive): New function.
5489         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5490         underflow here.  Use gamma_positive instead of exp (lgamma) for
5491         other arguments.
5492         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5493         (gamma_coeff): New variable.
5494         (NCOEFF): New macro.
5495         (gammal_positive): New function.
5496         (__ieee754_gammal_r): Handle positive infinity, overflow and
5497         underflow here.  Handle NaN the same as positive infinity.  Remove
5498         check x < 0xffffffff for negative integers.  Use gamma_positive
5499         instead of exp (lgamma) for other arguments.
5500         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5501         (gamma_coeff): New variable.
5502         (NCOEFF): New macro.
5503         (gammal_positive): New function.
5504         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5505         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5506         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5507         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5508         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5509         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5510         * sysdeps/generic/math_private.h (__gamma_productf): New
5511         prototype.
5512         (__gamma_product): Likewise.
5513         (__gamma_productl): Likewise.
5514         * math/Makefile (libm-calls): Add gamma_product.
5515         * math/libm-test.inc (tgamma_test): Add more tests.
5516         * sysdeps/i386/fpu/libm-test-ulps: Update.
5517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5519 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
5521         * benchtests/bench-skeleton.c (main): Preheat CPU.
5523 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
5525         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5527 2013-05-07  Roland McGrath  <roland@hack.frob.com>
5529         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5530         and _dl_skip_args_internal.
5532 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
5534         * manual/message.texi (Message Translation): Talk about users.
5535         Message to key mapping impacts design.
5537 2013-05-06  Roland McGrath  <roland@hack.frob.com>
5539         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5541         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5543         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5544         * sysdeps/wordsize-64/glob64.c: ... here.
5546         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5547         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5548         New macros.
5550         * debug/getlogin_r_chk.c: Moved to ...
5551         * login/getlogin_r_chk.c: ... here.
5552         * debug/Makefile (routines): Move getlogin_r_chk to ...
5553         * login/Makefile (routines): ... here.
5554         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5555         * login/Versions (libc: GLIBC_2.4): ... here.
5557         * io/poll.c (__poll): Renamed from poll.
5558         Add libc_hidden_def.
5559         (poll): Define as weak alias.
5561         * debug/ptsname_r_chk.c: Moved to ...
5562         * login/ptsname_r_chk.c: ... here.
5563         * debug/Makefile (routines): Move ptsname_r_chk to ...
5564         * login/Makefile (routines): ... here.
5565         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5566         * login/Versions (libc: GLIBC_2.4): ... here.
5568         * posix/getlogin.c: Moved to ...
5569         * login/getlogin.c: ... here.
5570         * posix/getlogin_r.c: Moved to ...
5571         * login/getlogin_r.c: ... here.
5572         * posix/getlogin_r.c: Moved to ...
5573         * login/getlogin_r.c: ... here.
5574         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5575         * login/Makefile (routines): ... here.
5576         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5577         * login/Versions (libc: GLIBC_2.0): ... here.
5579         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5580         (setrlimit): Define as weak alias.
5582         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5583         Call __ names for open, ftruncate, and close.
5584         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5585         (truncate): Define as weak alias.
5587 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
5589         * math/gen-libm-test.pl (parse_args): Initialize x before each
5590         test of frexp, modf and remquo.
5592         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5593         test signgam value.
5595 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5597         [BZ #15418]
5598         [BZ #15419]
5599         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5600         internal tests.
5601         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5603 2013-05-06  Roland McGrath  <roland@hack.frob.com>
5605         * elf/dl-writev.h: New file.
5606         * elf/dl-misc.c: Include it.
5607         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5608         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5610 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
5612         * math/libm-test.inc (noXFails): Remove variable.
5613         (noXPasses): Likewise.
5614         (BUILD_COMPLEX_INT): Remove macro.
5615         (print_screen): Remove xfail argument.
5616         (print_screen_max_error): Likewise.
5617         (update_stats): Likewise.
5618         (print_max_error): Likewise.  Update calls to other affected
5619         functions.
5620         (print_complex_max_error): Likewise.
5621         (test_single_exception): Update calls to print_screen.
5622         (test_single_errno): Likewise.
5623         (check_float_internal): Remove xfail argument.  Update calls to
5624         other affected functions.
5625         (check_float): Likewise.
5626         (check_complex): Likewise.
5627         (check_int): Likewise.
5628         (check_long): Likewise.
5629         (check_bool): Likewise.
5630         (check_longlong): Likewise.
5631         (main): Don't print noXFails and noXPasses.
5632         * math/gen-libm-test.pl (top level): Don't mention expected
5633         failure handling in comment.
5634         (new_test): Don't handle expected failures.
5635         (parse_args): Don't mention expected failure handling in comment.
5636         (generate_testfile): Don't handle expected failures.
5637         (parse_ulps): Likewise.
5638         (print_ulps_file): Likewise.
5639         (get_failure): Remove function.
5640         (output_test): Don't handle expected failures.
5641         * make/README.libm-test: Don't mention expected failure handling.
5643         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
5644         (minus_zero): Likewise.
5645         (plus_infty): Likewise.
5646         (minus_infty): Likewise.
5647         (qnan_value): Likewise.
5648         (max_value): Likewise.
5649         (min_value): Likewise.
5650         (min_subnorm_value): Likewise.
5651         (initialize): Do not initialize those variables dynamically.
5653 2013-05-03  Roland McGrath  <roland@hack.frob.com>
5655         * io/open.c (__open_2): Moved to ...
5656         * io/open_2.c: ... this new file.
5657         * io/open64.c (__open64_2): Moved to ...
5658         * io/open64_2.c: ... this new file.
5659         * io/openat.c (__openat_2): Moved to ...
5660         * io/openat_2.c: ... this new file.
5661         * io/openat64.c (__openat64_2): Moved to ...
5662         * io/openat64_2.c: ... this new file.
5663         * io/Makefile (routines): Add them.
5664         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5665         * sysdeps/unix/sysv/linux/open_2.c: File removed.
5666         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5667         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5668         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5669         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5670         (__openat64): Add hidden_ver.
5671         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5672         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5674         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5675         Separately conditionalize setting of GLRO(dl_sysinfo) so
5676         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5677         as well, but the actual setting is only under [NEED_DL_SYSINFO].
5679 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5681         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5682         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5683         definition.
5684         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5685         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5686         (_libc_vdso_platform_setup): Add __vdso_time initialization.
5687         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5688         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5690 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
5692         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5693         test signgam value.
5695         * math/libm-test.inc (hypot_test): Do not use
5696         IGNORE_ZERO_INF_SIGN.
5698 2013-05-03  Andreas Jaeger  <aj@suse.de>
5700         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5701         Linux 3.9.
5702         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5703         (PF_MAX): Adjust for VSOCK change.
5705 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5709 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
5711         [BZ #15264]
5712         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5713         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5714         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5716 2013-05-02  David S. Miller  <davem@davemloft.net>
5718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5720 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
5722         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5724 2013-05-01  Roland McGrath  <roland@hack.frob.com>
5726         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5728 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
5730         [BZ #14952]
5731         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5732         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5733         Use __attribute__ ((__gnu_inline__)).
5734         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5735         Don't use __attribute__ ((__gnu_inline__)).
5737 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
5739         [BZ #15423]
5740         * math/s_catan.c (__catan): Handle small real or imaginary part of
5741         input specially to avoid spurious underflow.
5742         * math/s_catanf.c (__catanf): Likewise.
5743         * math/s_catanh.c (__catanh): Likewise.
5744         * math/s_catanhf.c (__catanhf): Likewise.
5745         * math/s_catanhl.c (__catanhl): Likewise.
5746         * math/s_catanl.c (__catanl): Likewise.
5747         * math/libm-test.inc (catan_test): Add more tests.
5748         (catanh_test): Likewise.
5749         * sysdeps/i386/fpu/libm-test-ulps: Update.
5750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5752 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5756 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
5758         [BZ #15416]
5759         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5760         accurately for denominator in atan2.
5761         * math/s_catanf.c (__catanf): Likewise.
5762         * math/s_catanh.c (__catanh): Likewise.
5763         * math/s_catanhf.c (__catanhf): Likewise.
5764         * math/s_catanhl.c (__catanhl): Likewise.
5765         * math/s_catanl.c (__catanl): Likewise.
5766         * math/libm-test.inc (catan_test): Add more tests.
5767         (catanh_test): Likewise.
5768         * sysdeps/i386/fpu/libm-test-ulps: Update.
5769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5771 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5773         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5775         * benchtests/Makefile (bench): Remove slow benchmarks.
5776         * benchtests/atan-inputs: Add slow benchmark inputs.
5777         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5778         (BENCH_FUNC): Accept variant offset.
5779         (VARIANT): Define.
5780         * benchtests/bench-skeleton.c (main): Run benchmark for each
5781         variant.
5782         * benchtests/cos-inputs: Add slow benchmark inputs.
5783         * benchtests/exp-inputs: Likewise.
5784         * benchtests/pow-inputs: Likewise.
5785         * benchtests/sin-inputs: Likewise.
5786         * benchtests/slowatan-inputs: Remove.
5787         * benchtests/slowatan.c: Remove.
5788         * benchtests/slowcos-inputs: Remove.
5789         * benchtests/slowcos.c: Remove.
5790         * benchtests/slowexp-inputs: Remove.
5791         * benchtests/slowexp.c: Remove.
5792         * benchtests/slowpow-inputs: Remove.
5793         * benchtests/slowpow.c: Remove.
5794         * benchtests/slowsin-inputs: Remove.
5795         * benchtests/slowsin.c: Remove.
5796         * benchtests/slowtan-inputs: Remove.
5797         * benchtests/slowtan.c: Remove.
5798         * benchtests/tan-inputs: Add slow benchmark inputs.
5799         * scripts/bench.pl: Parse comments and directives.
5801         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
5802         in CPPFLAGS.
5803         ($(objpfx)bench-%.c): Remove *-ITER.
5804         * benchtests/bench-modf.c: Remove definition of ITER.
5805         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5806         (main): Loop for DURATION seconds instead of fixed number of
5807         iterations.
5808         * scripts/bench.pl: Don't expect iterations in parameters.
5810 2013-04-29  Roland McGrath  <roland@hack.frob.com>
5812         * io/fchdir.c (__fchdir): Renamed from fchdir.
5813         (fchdir): Define as weak alias.
5815 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5817         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5818         (ERRNO_EDOM): Likewise.
5819         (ERRNO_ERANGE): Likewise.
5820         (noErrnoTests): New variable.
5821         (init_max_error): Set errno to 0.
5822         (test_single_errno): New function.
5823         (test_errno): Likewise.
5824         (check_float_internal): Call test_errno.  Set errno to 0.
5825         (check_complex): Refer to errno tests in comment.
5826         (check_int): Call test_errno.  Set errno to 0.
5827         (check_long): Likewise.
5828         (check_bool): Likewise.
5829         (check_longlong): Likewise.
5830         (cos_test): Use ERRNO_* flags for errno tests instead of
5831         check_int.
5832         (expm1_test): Likewise.
5833         (fmod_test): Likewise.
5834         (ilogb_test): Likewise.
5835         (lgamma_test): Likewise.
5836         (pow_test): Likewise.
5837         (remainder_test): Likewise.
5838         (sin_test): Likewise.
5839         (tan_test): Likewise.
5840         (yn_test): Likewise.
5841         (initialize): Set errno to 0.
5842         (main): Print number of errno tests.
5843         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5845 2013-04-29  Andreas Jaeger  <aj@suse.de>
5847         [BZ #15084]
5848         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5849         and RES_USEVC.
5851         [BZ #15085]
5852         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5853         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5854         unimplemented.
5856         [BZ #15380]
5857         * stdlib/random.c (__initstate): Return NULL if
5858         __initstate fails.
5860         [BZ #15086]
5861         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5862         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5863         RES_SNGLKUPREOP.
5865 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5869 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5871         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5872         of individual tests.
5873         (casin_test): Likewise.
5874         (casinh_test): Likewise.
5876 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
5878         [BZ #15409]
5879         * math/s_catan.c (__catan): Handle arguments with large real or
5880         imaginary part separately without squaring.
5881         * math/s_catanf.c (__catanf): Likewise.
5882         * math/s_catanh.c (__catanh): Likewise.
5883         * math/s_catanhf.c (__catanhf): Likewise.
5884         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5885         and redefine.
5886         (__catanhl): Handle arguments with large real or imaginary part
5887         separately without squaring.
5888         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5889         and redefine.
5890         (__catanl): Handle arguments with large real or imaginary part
5891         separately without squaring.
5892         * math/libm-test.inc (catan_test): Add more tests.
5893         (catanh_test): Likewise.
5894         * sysdeps/i386/fpu/libm-test-ulps: Update.
5895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5897 2013-04-27  Andreas Jaeger  <aj@suse.de>
5899         [BZ #15007]
5900         * stdlib/stdlib.h: Update guards for qecvt.
5901         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5902         <stdlib.h>.
5904 2013-04-27  Allan McRae  <allan@archlinux.org>
5906         * sysdeps/i386/fpu/libm-test-ulps: Update.
5908 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
5910         [BZ #15406]
5911         * math/s_catan.c: Include <float.h>.
5912         (__catan): Ensure underflow exception occurs for underflowed
5913         result.
5914         * math/s_catanf.c: Include <float.h>.
5915         (__catanf): Ensure underflow exception occurs for underflowed
5916         result.
5917         * math/s_catanh.c: Include <float.h>.
5918         (__catanh): Ensure underflow exception occurs for underflowed
5919         result.
5920         * math/s_catanhf.c: Include <float.h>.
5921         (__catanhf): Ensure underflow exception occurs for underflowed
5922         result.
5923         * math/s_catanhl.c: Include <float.h>.
5924         (__catanhl): Ensure underflow exception occurs for underflowed
5925         result.
5926         * math/s_catanl.c: Include <float.h>.
5927         (__catanl): Ensure underflow exception occurs for underflowed
5928         result.
5929         * math/libm-test.inc (catan_test): Add more tests.
5930         (catanh_test): Likewise.
5932         [BZ #15405]
5933         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5934         underflowed result.
5935         * math/s_ccoshf.c (__ccoshf): Likewise.
5936         * math/s_ccoshl.c (__ccoshl): Likewise.
5937         * math/s_csin.c (__csin): Likewise.
5938         * math/s_csinf.c (__csinf): Likewise.
5939         * math/s_csinh.c (__csinh): Likewise.
5940         * math/s_csinhf.c (__csinhf): Likewise.
5941         * math/s_csinhl.c (__csinhl): Likewise.
5942         * math/s_csinl.c (__csinl): Likewise.
5943         * math/libm-test.inc (ccos_test): Add more tests.
5944         (ccosh_test): Likewise.
5945         (csin_test): Likewise.
5946         (csinh_test): Likewise.
5948 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5950         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5951         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5952         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5953         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5954         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5955         powerpc/power5+/fpu folders.
5956         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5959 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
5961         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5963 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
5965         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5966         additions to variable.
5967         [$(config-machine) = x86_64] (modules-names): Likewise.
5968         ($(objpfx)tst-audit3): Remove dependency.
5969         ($(objpfx)tst-audit3.out): Likewise.
5970         ($(objpfx)tst-audit4): Likewise.
5971         ($(objpfx)tst-audit4.out): Likewise.
5972         ($(objpfx)tst-audit5): Likewise.
5973         ($(objpfx)tst-audit5.out): Likewise.
5974         ($(objpfx)tst-audit6): Likewise.
5975         ($(objpfx)tst-audit6.out): Likewise.
5976         ($(objpfx)tst-audit7): Likewise.
5977         ($(objpfx)tst-audit7.out): Likewise.
5978         (tst-audit3-ENV): Remove variable.
5979         (tst-audit4-ENV): Likewise.
5980         (tst-audit5-ENV): Likewise.
5981         (tst-audit6-ENV): Likewise.
5982         (tst-audit7-ENV): Likewise.
5983         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5984         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5985         addition to variable.
5986         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5987         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5988         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5989         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5990         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5991         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5992         tst-audit3, tst-audit4 and tst-audit5.
5993         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5994         tst-audit6 and tst-audit7.
5995         [$(subdir) = elf] (modules-names): Add audit modules for those
5996         tests.
5997         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5998         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5999         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6000         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6001         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6002         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6003         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6004         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6005         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6006         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6007         [$(subdir) = elf] (tst-audit3-ENV): New variable.
6008         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6009         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6010         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6011         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6012         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6013         Likewise.
6014         [$(subdir) = elf && $(config-cflags-avx) = yes]
6015         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6016         [$(subdir) = elf && $(config-cflags-avx) = yes]
6017         (CFLAGS-tst-auditmod4a.c): Likewise.
6018         [$(subdir) = elf && $(config-cflags-avx) = yes]
6019         (CFLAGS-tst-auditmod4b.c): Likewise.
6020         [$(subdir) = elf && $(config-cflags-avx) = yes]
6021         (CFLAGS-tst-auditmod6b.c): Likewise.
6022         [$(subdir) = elf && $(config-cflags-avx) = yes]
6023         (CFLAGS-tst-auditmod6c.c): Likewise.
6024         [$(subdir) = elf && $(config-cflags-avx) = yes]
6025         (CFLAGS-tst-auditmod7b.c): Likewise.
6026         * elf/tst-audit3.c: Move to ...
6027         * sysdeps/x86_64/tst-audit3.c: ... here.
6028         * elf/tst-audit4.c: Move to ...
6029         * sysdeps/x86_64/tst-audit4.c: ... here.
6030         * elf/tst-audit5.c: Move to ...
6031         * sysdeps/x86_64/tst-audit5.c: ... here.
6032         * elf/tst-audit6.c: Move to ...
6033         * sysdeps/x86_64/tst-audit6.c: ... here.
6034         * elf/tst-audit7.c: Move to ...
6035         * sysdeps/x86_64/tst-audit7.c: ... here.
6036         * elf/tst-auditmod3a.c: Move to ...
6037         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6038         * elf/tst-auditmod3b.c: Move to ...
6039         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6040         * elf/tst-auditmod4a.c: Move to ...
6041         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6042         * elf/tst-auditmod4b.c: Move to ...
6043         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6044         * elf/tst-auditmod5a.c: Move to ...
6045         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6046         * elf/tst-auditmod5b.c: Move to ...
6047         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6048         * elf/tst-auditmod6a.c: Move to ...
6049         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6050         * elf/tst-auditmod6b.c: Move to ...
6051         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6052         * elf/tst-auditmod6c.c: Move to ...
6053         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6054         * elf/tst-auditmod7a.c: Move to ...
6055         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6056         * elf/tst-auditmod7b.c: Move to ...
6057         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6059 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
6061         [BZ #15366]
6062         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6063         define unconditionally.
6064         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6065         define unconditionally.
6066         (INT8_C, INT16_C, etc.): Likewise.
6068 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
6070         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6071         __ehdr_start with hidden visibility.
6073         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6075 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
6077         * math/libm-test.inc (cos_test): Use accurate hex constants.
6078         (sincost_test): Likewise.
6080 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
6082         * math/libm-test.inc (catan_test): Add more tests.
6083         (catanh_test): Likewise.
6085         * math/s_catanf.c (__catanf): Use suffixed floating-point
6086         constants.
6087         * math/s_catanhf.c (__catanhf): Likewise.
6088         * math/s_catanhl.c (__catanhl): Likewise.
6089         * math/s_catanl.c (__catanl): Likewise.
6091         [BZ #15394]
6092         * math/s_catan.c (__catan): Calculate imaginary part of result
6093         with log1p not log unless computing log of number close to 0.
6094         * math/s_catanf.c (__catanf): Likewise.
6095         * math/s_catanl.c (__catanl): Likewise.
6096         * math/s_catanh.c (__catanh): Calculate real part of result with
6097         log1p not log unless computing log of number close to 0.
6098         * math/s_catanhf.c (__catanhf): Likewise.
6099         * math/s_catanhl.c (__catanhl): Likewise.
6100         * math/libm-test.inc (catan_test): Add more tests.
6101         (catanh_test): Likewise.
6102         * sysdeps/i386/fpu/libm-test-ulps: Update.
6103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6105 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6107         * benchtests/Makefile: Mention files in which fast and slow
6108         paths of math functions are implemented.
6110 2013-04-23  Roland McGrath  <roland@hack.frob.com>
6112         * sysdeps/posix/timespec_get.c: New file.
6114 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6116         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6117         POWER.
6118         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6119         for POWER.
6120         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6121         powerpc/power5/fpu folders.
6122         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6123         * benchtests/Makefile: Add modf testcase.
6124         * benchtests/bench-modf.c: New file: Benchmark test for mo
6126 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6128         [BZ #14888]
6129         * time/Makefile (tests): Add tst-strptime-whitespace.
6130         * time/strptime_l.c (get_number): Use ISSPACE.
6131         (__strptime_internal): Likewise.
6132         * time/tst-strptime-whitespace.c: New test case.
6134 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
6136         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6137         member.
6138         (_nss_files_init): Set it here.
6140 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
6142         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6143         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6144         unsigned.
6146 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
6148         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6150 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6152         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6153         size just once.
6155 2013-04-21  David S. Miller  <davem@davemloft.net>
6157         * po/ru.po: Update Russion translation from translation project.
6159 2013-04-17  Adam Conrad  <adconrad@0c3.net>
6161         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6162         and setfsgid.
6164 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
6166         * configure.in: Remove i386 configure warning. Remove i386 case.
6167         * configure: Regenerate.
6168         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6169         Add example to error message.
6170         * sysdeps/i386/configure: Regenerate.
6172 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6174         * benchtests/Makefile (bench): Add cos, tan, slowcos and
6175         slowtan.
6176         * benchtests/cos-inputs: New file.
6177         * benchtests/slowcos-inputs: New file.
6178         * benchtests/slowcos.c: New file.
6179         * benchtests/slowtan-inputs: New file.
6180         * benchtests/slowtan.c: New file.
6181         * benchtests/tan-inputs: New file.
6183 2013-04-16  Roland McGrath  <roland@hack.frob.com>
6185         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6186         considered kosher.
6188 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6190         * benchtests/Makefile: Include cppflags-iterator.mk to add
6191         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6193         * Makefile.in (bench-clean): New target.
6194         * benchtests/Makefile (bench-clean): Likewise.
6196 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
6198         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6200 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
6202         * stdio-common/tstdiomisc.c: Fix coding-style violation.
6204 2013-04-15  Andreas Schwab  <schwab@suse.de>
6206         * nscd/grpcache.c (cache_addgr): Properly check for short write.
6207         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6208         * nscd/pwdcache.c (cache_addpw): Likewise.
6209         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
6210         more than recsize.
6212 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6214         * benchtests/Makefile (bench): Write all output to
6215         bench-out.tmp together.
6217 2013-04-15  Andreas Schwab  <schwab@suse.de>
6219         * nscd/nscd.c (main): Don't fork again after closing files.
6221 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6223         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6225         * benchtests/Rules (bench-deps): Collect dependencies into a
6226         single variable.  Add Makefile to dependencies.
6227         ($(objpfx)bench-%.c): Depend on bench-deps.
6229 2013-04-12  Roland McGrath  <roland@hack.frob.com>
6230             Xavier Roche  <roche+kml2@exalead.com>
6232         [BZ #15361]
6233         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6234         just that it's a file descriptor.
6235         * manual/llio.texi (Synchronizing AIO Operations): Update description
6236         for EBADF error from aio_fsync.
6238 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6240         * Rules (bench): Move target definition...
6241         * benchtests/Makefile: ... here.
6243 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
6245         * math/libm-test.inc (cos_test): Fix PI/2 test.
6246         (sincos_test): Likewise.
6247         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6248         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6250 2013-04-11  Andreas Schwab  <schwab@suse.de>
6252         [BZ #13988]
6253         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6254         accept exponent character only when digits were seen.
6255         * stdio-common/Makefile (tests): Add bug26.
6256         * stdio-common/bug26.c: New file.
6258         [BZ #14293]
6259         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6260         non-freeable.
6262 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6264         * Makeconfig (rtld-prefix): Define built linker prefix.
6265         * Rules (run-bench): Use it.
6266         * math/Makefile (run-regen-ulps): Likewise.
6268         * Rules (bench): Remove eval.
6270 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6271             Roland McGrath  <roland@hack.frob.com>
6272             Ondrej Bilka  <neleai@seznam.cz>
6274         [BZ #15346]
6275         * time/getdate.c: Include ctype.h and alloca.h.
6276         (__getdate_r): Trim leading and trailing spaces of input.
6277         * time/tst-getdate.c (tests): Add tests with leading and
6278         trailing spaces.
6280 2013-04-08  Roland McGrath  <roland@hack.frob.com>
6282         [BZ #14280]
6283         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6284         when computing value.
6286 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6288         * math/README.libm-test (How can I generate "libm-test-ulps"?):
6289         Use testrun.sh to run libm tests.
6291         [BZ #15309]
6292         * elf/dl-open.c (dl_open_worker): memset all of seen array.
6294 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
6296         [BZ #15264]
6297         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6299 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6301         * Makefile.in (regen-ulps): New target.
6302         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6303         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6304         [ifneq (no,$(PERL)] (regen-ulps): New target.
6305         [ifeq (no,$(PERL)] (regen-ulps): New target.
6306         * math/libm-test.inc (ulps_file_name): Define.
6307         (output_dir): New variable.
6308         (options): Add "output-dir" option.
6309         (parse_opt): Handle 'o' case.
6310         (main): If output_dir is non-NULL use it as a prefix
6311         otherwise use "".
6312         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6314 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6316         [BZ #10060, #10062]
6317         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6318         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6319         fail configure if __sync_val_compare_and_swap is not inlined.
6320         * sysdeps/i386/configure: Regenerate.
6321         * configure.in: Build for i686 when configured for i386.
6322         * configure: Regenerate.
6323         * README: Remove i386 reference.
6325 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6327         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6328         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6330 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
6332         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6333         (lmsnanval): New variables.
6334         (F): Add conversion tests.
6335         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6336         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6338         * stdio-common/tstdiomisc.c (F): Properly collect individual
6339         tests' results.
6341         [BZ #14686, #15336]
6342         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6343         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6344         Instead, use input NaN values or generate a qNaN by arithmetic
6345         operation.  Also fix bugs to comply with the standard.
6346         * math/libm-test.inc (remainder_test): Add more tests.
6348         [BZ #15335, #15342]
6349         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6350         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6351         input NaN values or generate a qNaN by arithmetic operation.
6353         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6354         unreachable code.
6356         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6357         definitions.
6359 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
6361         [BZ #14478]
6362         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6363         underflowed result.
6364         * math/s_cexpf.c (__cexpf): Likewise.
6365         * math/s_cexpl.c (__cexpl): Likewise.
6366         * math/libm-test.inc (cexp_test): Add more tests.
6368 2013-04-03  Andreas Schwab  <schwab@suse.de>
6370         [BZ #15330]
6371         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6372         order arrays from heap if bigger than alloca cutoff.
6374 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
6376         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6377         (SNAN_TESTS_double): Refer to GCC PR56831.
6378         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6379         GCC PR56828.
6381 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6383         * Rules (bench): Move bench.out after the run is complete.
6385         * Rules (bench): Echo currently running benchmark.
6387         * benchtests/Makefile (bench): Add atan and slowatan.
6388         * benchtests/atan-inputs: New file.
6389         * benchtests/slowatan-inputs: New file.
6390         * benchtests/slowatan.c: New file.
6392         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6393         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6394         its value.
6396         [BZ #15305]
6397         * sysdeps/unix/sysv/linux/kernel-features.h
6398         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6399         __ASSUME_XFS_RESTRICTED_CHOWN.
6400         * sysdeps/unix/sysv/linux/pathconf.c
6401         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6402         Save and restore errno.
6404 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
6406         [BZ #15327]
6407         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6408         arguments using __kernel_casinh.
6409         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6410         arguments using __kernel_casinhf.
6411         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6412         arguments using __kernel_casinhl.
6413         * math/libm-test.inc (cacosh_test): Add more tests.
6414         * sysdeps/i386/fpu/libm-test-ulps: Update.
6415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6417 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6419         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6420         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6422         * bench/Makefile (bench): Add sin and slowsin.
6423         * benchtests/sin-inputs: New file.
6424         * benchtests/slowsin-inputs: New file.
6425         * benchtests/slowsin.c: New file.
6427         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6428         (bench): Add slowexp and slowpow.
6429         (exp-ITER): Increase iterations.
6430         (pow-ITER): Likewise.
6431         * benchtests/exp-inputs: Change input.
6432         * benchtests/pow-inputs: Likewise.
6433         * benchtests/slowexp-inputs: New file.
6434         * benchtests/slowexp.c: New file.
6435         * benchtests/slowpow-inputs: New file.
6436         * benchtests/slowpow.c: New file.
6438 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6440         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6441         instructions.
6442         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6443         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6444         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6445         * benchtests/Makefile: Add rint benchtest.
6446         * benchtests/rint-inputs: Input for rint benchtest.
6448 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
6450         * Versions.def (libm): Add GLIBC_2.18.
6451         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6452         hidden libm prototypes.
6453         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6454         * math/Makefile (libm-calls): Add s_issignaling.
6455         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6456         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
6457         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6458         declaration.
6459         * math/math.h [__USE_GNU] (issignaling): New macro.
6460         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6461         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6462         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6463         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6464         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6465         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6466         * manual/arith.texi (issignaling): New section.
6467         * manual/libm-err-tab.pl (@all_functions): Update comment.
6468         * math/gen-libm-test.pl (parse_args): Apply special handling for
6469         issignaling.
6470         * math/libm-test.inc (print_float, issignaling_test): New
6471         functions.
6472         (check_float_internal): Add issignaling checks.
6473         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6474         default definition.
6475         * sysdeps/powerpc/math-tests.h: New file.
6476         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6477         tests.
6478         * math/test-snan.c (TEST_FUNC): Likewise.
6480 2013-03-30  David S. Miller  <davem@davemloft.net>
6482         * po/de.po: Update from translation team.
6484 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
6486         [BZ #10357]
6487         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6488         imaginary part less than 1.0 and real part less than 0.5
6489         specially.
6490         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6491         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6492         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6493         (cacos_test): Add more tests.
6494         (casin_test): Likewise.
6495         (casinh_test): Likewise.
6496         * sysdeps/i386/fpu/libm-test-ulps: Update.
6497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6499 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6501         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6502         ONE with its value.
6504         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6505         (__pow_mp): Replace ONE and MONE with their values.
6506         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6507         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6508         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6509         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6510         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6511         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6513         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6515         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6516         (__pow_mp): Replace ZERO and MZERO with their values.
6517         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6518         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6519         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6520         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6521         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6522         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6523         (__sqr): Likewise.
6525         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6527         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6529 2013-03-28  Roland McGrath  <roland@hack.frob.com>
6531         * include/stdlib.h [!SHARED] (__call_tls_dtors):
6532         Declare with __attribute__ ((weak)).
6533         * stdlib/exit.c (__libc_atexit) [!SHARED]:
6534         Call __call_tls_dtors only if it's not NULL.
6536 2013-03-28  Roland McGrath  <roland@hack.frob.com>
6538         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6539         didn't do it already, then set _dl_phdr and _dl_phnum based on the
6540         magic __ehdr_start linker symbol if it's defined.
6541         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6542         them up here if it was already done.
6544         * elf/dl-support.c (_dl_phdr): Make pointer to const.
6545         (_dl_aux_init): Use const in cast when setting it.
6546         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6547         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6548         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6550         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6551         Declare them here.
6552         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6553         * csu/libc-tls.c: Nor here.
6554         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6556         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6557         (__libc_message): Never call vsyslog.
6559 2013-03-28  Alan Modra  <amodra@gmail.com>
6561         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6562         Define as empty.
6563         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6564         Likewise.
6566 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6568         [BZ #15214]
6569         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6570         underflow.
6571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6573 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6575         [BZ #15304]
6576         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6577         Don't add gid passed as argument.
6579         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6581 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
6583         [BZ #15307]
6584         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6585         imaginary part between 1.0 and 1.5 and real part less than 0.5
6586         specially.
6587         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6588         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6589         * math/libm-test.inc (cacos_test): Add more tests.
6590         (casin_test): Likewise.
6591         (casinh_test): Likewise.
6592         * sysdeps/i386/fpu/libm-test-ulps: Update.
6593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6595 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6597         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6598         constants.
6599         (norm): Likewise.
6600         (denorm): Likewise.
6601         (__dbl_mp): Likewise.
6602         (add_magnitudes): Likewise.
6603         (sub_magnitudes): Likewise.
6604         (__add): Likewise.
6605         (__sub): Likewise.
6606         (__mul): Likewise.
6607         (__sqr): Likewise.
6608         (__inv): Likewise.
6609         (__dvd): Likewise.
6611         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6612         commented code.
6613         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6614         (__dubcos): Likewise.
6615         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6616         (__ieee754_acos): Likewise.
6617         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6618         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6619         (__exp1): Likewise.
6620         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6621         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6622         (log1): Likewise.
6623         (my_log2): Likewise.
6624         (checkint): Likewise.
6625         * sysdeps/ieee754/dbl-64/e_remainder.c
6626         (__ieee754_remainder): Likewise.
6627         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6628         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6629         (bsloww): Likewise.
6630         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6632         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6633         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6634         MANTISSA_STORE_T to store computations on mantissa.  Use
6635         macros for rounding and division.
6636         (denorm): Likewise.
6637         (__dbl_mp): Likewise.
6638         (add_magnitudes): Likewise.
6639         (sub_magnitudes): Likewise.
6640         (__mul): Likewise.
6641         (__sqr): Likewise.
6642         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
6643         powers of two in terms of TWOPOW macro.
6644         (mp_no): Make type of mantissa as MANTISSA_T.
6645         [!RADIXI]: Define RADIXI.
6646         [!TWO52]: Define TWO52.
6647         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6649 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6651         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6652         llroundl symbol when building for PPC32.
6654 2013-03-24  Mark H Weaver  <mhw@netris.org>
6656         * manual/arith.texi (Normalization Functions): Fix prototypes for
6657         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6659 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6661         [BZ #13889]
6662         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6663         high value to check if expl overflow.
6664         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6665         to check for underflow and overflow.
6666         * math/libm-test.inc: Add exp test.
6668 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
6670         [BZ #11120]
6671         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6672         with NOT_IN_libc.
6674 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6676         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6677         symbol.
6679 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6681         * math/gen-libm-test.pl (parse_args, special_functions): Properly
6682         wrap blocks consisting of several statements.
6684         * sysdeps/generic/math-tests.h: New file.
6685         * sysdeps/i386/fpu/math-tests.h: Likewise.
6686         * math/test-snan.c: Include it.
6687         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6689 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6691         [BZ #15285]
6692         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6693         (__ieee754_j0l): Do not improve calculations using cos of twice
6694         input for inputs above LDBL_MAX / 2.0L.
6695         (__ieee754_y0l): Likewise.
6696         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6697         (__ieee754_j1l): Do not improve calculations using cos of twice
6698         input for inputs above LDBL_MAX / 2.0L.
6699         (__ieee754_y1l): Likewise.
6700         * math/libm-test.inc (j0_test): Add another test.
6701         (j1_test): Likewise.
6702         (y0_test): Likewise.
6703         (y1_test): Likewise.
6704         * sysdeps/i386/fpu/libm-test-ulps: Update.
6706 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6708         * Rules ($(objpfx)bench-%.c): Include code from a C source
6709         file.
6711 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6713         [BZ #15287]
6714         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6715         imaginary part 1.0 and real part less than 0.5 specially.
6716         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6717         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6718         * math/libm-test.inc (cacos_test): Add more tests.
6719         (casin_test): Likewise.
6720         (casinh_test): Likewise.
6721         * sysdeps/i386/fpu/libm-test-ulps: Update.
6722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6724 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6726         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6727         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6729 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
6731         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6732         * config.make.in (config-cflags-sse4): Remove variable.
6733         (config-cflags-avx): Likewise.
6734         (config-cflags-sse2avx): Likewise.
6735         (config-cflags-novzeroupper): Likewise.
6736         (config-asflags-i686): Likewise.
6737         (have-mfma4): Likewise.
6738         (have-as-vis3): Likewise.
6739         (MIG): Likewise.
6740         * configure.in (MIG): Do not AC_SUBST.
6741         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6742         (libc_cv_cc_sse4): Do not AC_SUBST.
6743         (libc_cv_cc_avx): Likewise.
6744         (libc_cv_cc_sse2avx): Likewise.
6745         (libc_cv_cc_novzeroupper): Likewise.
6746         (libc_cv_cc_fma4): Likewise.
6747         (libc_cv_as_i686): Likewise.
6748         (libc_cv_sparc_as_vis3): Likewise.
6749         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6750         LIBC_CONFIG_VAR.
6751         (config-asflags-i686): Likewise.
6752         (config-cflags-avx): Likewise.
6753         (config-cflags-sse2avx): Likewise.
6754         (have-mfma4): Likewise.
6755         (config-cflags-novzeroupper): Likewise.
6756         * sysdeps/mach/configure.in (MIG): Likewise.
6757         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6758         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6759         LIBC_CONFIG_VAR.
6760         (config-cflags-avx): Likewise.
6761         (config-cflags-sse2avx): Likewise.
6762         (have-mfma4): Likewise.
6763         (config-cflags-novzeroupper): Likewise.
6764         * configure: Regenerated.
6765         * sysdeps/i386/configure: Likewise.
6766         * sysdeps/mach/configure: Likewise.
6767         * sysdeps/sparc/configure: Likewise.
6768         * sysdeps/x86_64/configure: Likewise.
6770 2013-03-20  Roland McGrath  <roland@hack.frob.com>
6772         [BZ #14812]
6773         * locale/programs/localedef.c (options): Put N_ translation marker
6774         on argument names, not just descriptions.
6776 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6778         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6780 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
6782         [BZ #14176]
6783         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6785 2013-03-19  Roland McGrath  <roland@hack.frob.com>
6787         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6788         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6789         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6790         [!BEFORE_ABORT] (before_abort): New function.
6791         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6792         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6793         (writev_for_fatal): New function.
6794         (WRITEV_FOR_FATAL): New macro; call that.
6795         (backtrace_and_maps): New function.
6796         (BEFORE_ABORT): New macro; call that.
6797         (struct str_list): Type removed.
6798         (__libc_message, __libc_fatal): Functions removed.
6799         Include <sysdeps/posix/libc_fatal.c> instead.
6801 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
6803         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6804         constants.
6805         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6806         double constants.
6808 2013-03-19  Andreas Schwab  <schwab@suse.de>
6810         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6811         * sysdeps/gnu/configure: Regenerate.
6813         * configure.in: Substitute libc_cv_rtlddir.
6814         * configure: Regenerate.
6815         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6816         * Makeconfig (rtlddir, inst_rtlddir): New variables.
6817         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6818         * elf/Makefile (install-others, CFLAGS-interp.c)
6819         (ldso_install, common-ldd-rewrite): Likewise.
6820         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6821         $(inst_slibdir)/$(rtld-installed-name).
6822         * scripts/rellns-sh: Add -p option.
6823         * Makerules (make-shlib-link): Use rellns-sh to get relative name
6824         for source.
6826 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6828         * manual/nptl.texi: Renamed to ...
6829         * manual/threads.texi: ... this.
6830         * manual/Makefile (chapters): Update.
6832 2013-03-18  Roland McGrath  <roland@hack.frob.com>
6834         [BZ #14812]
6835         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6836         on argument names, not just descriptions.
6837         * malloc/memusagestat.c (options): Likewise.
6838         * nss/getent.c (options): Likewise.
6840 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
6842         [BZ #14812]
6843         * iconv/iconv_prog.c (options): Put N_ translation marker
6844         on argument names, not just descriptions.
6845         * iconv/iconvconfig.c (options): Likewise.
6847 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
6849         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6850         implementation which is faster on all x86_64 architectures.
6851         Tested on AMD, Intel Nehalem, SNB, IVB.
6852         * sysdeps/x86_64/strnlen.S: Likewise.
6854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6855         Remove all multiarch strlen and strnlen versions.
6856         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6857         Remove strlen and strnlen related parts.
6859         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6860         Inline strlen part.
6861         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6863         * sysdeps/x86_64/multiarch/strlen.S: Remove.
6864         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6865         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6866         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6867         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6868         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6870 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
6872         * manual/memory.texi (Malloc Tunable Parameters):
6873         Sort parameters alphabetically. Add comments for missing entries.
6875 2013-03-17  David S. Miller  <davem@davemloft.net>
6877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6879 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
6881         [BZ #15283]
6882         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6883         for arguments at most half maximum finite value.
6884         * math/libm-test.inc (j0_test): Add more tests.
6885         (j1_test): Likewise.
6886         (y0_test): Likewise.
6887         (y1_test): Likewise.
6888         * sysdeps/i386/fpu/libm-test-ulps: Update.
6889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6891         [BZ #14155]
6892         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6893         1 / x and functions P and Q for arguments above 0x1p256L.
6894         (__ieee754_y0l): Likewise.
6895         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6896         (__ieee754_y1l): Likewise.
6897         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6898         (j1_test): Likewise.
6899         (y0_test): Likewise.
6900         (y1_test): Likewise.
6902 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
6904         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6905         variable.
6907 2013-03-15  Roland McGrath  <roland@hack.frob.com>
6909         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6910         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6911         zero since it's initialized to EXEC_PAGESIZE.
6913         * sysdeps/unix/sysv/linux/ldsodefs.h
6914         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6915         * sysdeps/generic/ldsodefs.h: ... here.
6917 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
6919         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6921         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6922         math/test-snan.c.
6923         * math/test-snan.c: Renamed from
6924         sysdeps/powerpc/fpu/test-powerpc-snan.c.
6925         * math/Makefile (tests): Add test-snan.
6926         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6927         test-powerpc-snan.
6929         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6930         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
6931         functions.
6932         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
6933         __builtin_nan family of functions.
6934         * math/libm-test.inc (initialize): Initialize qnan_value with
6935         __builtin_nan family of functions.
6936         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6937         Remove variables.
6938         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6939         Remove functions.
6940         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
6941         storage class.  Initialize qNaN_var and sNaN_var with
6942         __builtin_nan and __builtin_nans families of functions,
6943         respectively.
6945         * math/libm-test.inc (acosh_test): Also test with qNaN input.
6946         (sqrt_test): Remove duplicate test with qNaN input.
6947         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6948         (round_test, signbit_test, significand_test): Note missing +/-Inf
6949         as well as qNaN tests.
6951         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6952         qNaN_var.  Fix a few strings, too.
6953         * math/libm-test.inc (nan_value): Rename to qnan_value.
6954         * math/gen-libm-test.pl (%beautify): Adjust to that.
6955         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6956         * math/test-misc.c (main): Likewise.
6957         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6958         to __qnan_bytes, and __qnan_union, respectively.
6959         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6960         Likewise.
6961         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6962         and lqnanval, respectively.
6963         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6964         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6965         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6966         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6968         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6969         * math/test-misc.c (main) [__x86_64__]: Enable test for long
6970         doubles.
6972         * math/test-misc.c (main): Fix copy'n'pastos.
6973         * misc/tst-efgcvt.c (special): Likewise.
6975         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6976         Remove declarations.
6978 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6980         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6981         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6982         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6983         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6985 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6987         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6988         macro to return vdso values correctly in IFUNC implementations.
6989         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6990         Optimization by using IFUNC.
6992 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6993             Richard Henderson  <rth@redhat.com>
6994             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6996         * Makefile.in (bench): New target.
6997         * NEWS: Mention the benchmark framework.
6998         * Rules (bench): Likewise.
6999         (binaries-bench): Generate binaries for functions to
7000         benchmark.
7001         * benchtests/Makefile: New makefile for benchmark tests.
7002         * benchtests/bench-skeleton.c: New skeleton file for benchmark
7003         programs.
7004         * benchtests/exp-inputs: New input file for EXP function.
7005         * benchtests/pow-inputs: New input file for POW function.
7006         * scripts/bench.pl: New script to generate source files for
7007         benchmark programs.
7009 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7011         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7012         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7013         computations on mantissa.  Use macros for rounding and
7014         division.
7015         (denorm): Likewise.
7016         (__dbl_mp): Likewise.
7017         (add_magnitudes): Likewise.
7018         (sub_magnitudes): Likewise.
7019         (__mul): Likewise.
7020         (__sqr): Likewise.
7021         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7022         powers of two in terms of TWOPOW macro.
7023         (mp_no): Make type of mantissa as MANTISSA_T.
7024         [!RADIXI]: Define RADIXI.
7025         [!TWO52]: Define TWO52.
7026         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7028         * manual/nptl.texi (cindex): Modify threads to pthreads.
7030 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
7032         * sysdeps/x86_64/preconfigure: Regenerated.
7034 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
7036         [BZ #14155]
7037         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7038         0x1p28 and above.
7039         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7040         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7041         0x1p28 and above.
7042         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7043         * math/libm-test.inc (j0_test): Do not allow one spurious
7044         underflow exception.
7045         (y1_test): Likewise.
7047 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7049         * manual/Makefile (chapters): Add nptl.
7050         * manual/debug.texi (Debugging Support): Add link to Threads
7051         chapter.
7052         * manual/nptl.texi: New file.
7054         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7056 2013-03-14  Petr Baudis  <pasky@ucw.cz>
7058         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7059         for non-NULL pointer before the memory validity test. Pointed
7060         out by Holger Brunck <holger.brunck@keymile.com>.
7062 2013-03-13  Andreas Schwab  <schwab@suse.de>
7064         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7065         instead of .os.
7067 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
7069         * timezone/zic.c: Update from tzcode 2013b.
7071 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
7073         * manual/install.texi (Configuring and compiling):
7074         Mention i686 and i586.
7075         * INSTALL: Regenerate.
7077 2013-03-12  Roland McGrath  <roland@hack.frob.com>
7079         * sysdeps/init_array/elf-init.c: New file.
7080         * csu/elf-init.c
7081         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7082         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7084         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7085         __gmon_start__ as global, but as static with a .preinit_array pointer.
7086         * sysdeps/init_array/gmon-start.c: New file.  Use that.
7087         * sysdeps/init_array/crti.S: New file, empty except for comments.
7088         * sysdeps/init_array/crtn.S: Likewise.
7090 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
7092         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7093         definining bcopy.
7094         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7095         Remove Prefer_SSE_for_memop.
7096         * sysdeps/x86_64/multiarch/init-arch.h: Remove
7097         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7098         HAS_PREFER_SSE_FOR_MEMOP.
7099         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7100         memset-x86-64.
7101         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7102         Remove bzero, memset ifunc support.
7103         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7104         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7105         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7106         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7108 2013-03-11  Andreas Schwab  <schwab@suse.de>
7110         [BZ #15234]
7111         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7112         by SHLIB_COMPAT.
7113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7114         (GLIBC_2.16): Remove pthread_atfork.
7116 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7118         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7119         (ptestcases.h): Likewise.
7121 2013-03-08  Roland McGrath  <roland@hack.frob.com>
7123         * Makeconfig ($(common-objpfx)config.status): Depend on
7124         sysdeps/*/preconfigure{,.in} too.
7126 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
7128         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7129         (__free_hook): Use void * instead of __malloc_ptr_t.
7130         (__malloc_hook): Likewise.
7131         (__realloc_hook): Likewise.
7132         (__memalign_hook): Likewise.
7133         (__after_morecore_hook): Likewise.
7134         * malloc/arena.c (save_malloc_hook): Likewise.
7135         (save_free_hook): Likewise.
7136         * malloc/hooks.c (malloc_hook_ini): Likewise.
7137         (realloc_hook_ini): Likewise.
7138         (memalign_hook_ini): Likewise.
7139         * malloc/malloc.c (malloc_hook_ini): Likewise.
7140         (realloc_hook_ini): Likewise.
7141         (memalign_hook_ini): Likewise.
7142         (__free_hook): Likewise.
7143         (__malloc_hook): Likewise.
7144         (__realloc_hook): Likewise.
7145         (__memalign_hook): Likewise.
7146         (__libc_malloc): Likewise.
7147         (__libc_free): Likewise.
7148         (__libc_realloc): Likewise.
7149         (__libc_memalign): Likewise.
7150         (__libc_valloc): Likewise.
7151         (__libc_pvalloc): Likewise.
7152         (__libc_calloc): Likewise.
7153         (__posix_memalign): Likewise.
7154         * malloc/morecore.c (__sbrk): Likewise.
7155         (__default_morecore): Likewise.
7157         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7159         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7160         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7161         __malloc_ptrdiff_t.
7163         * malloc/malloc.h (__malloc_size_t): Remove macro.
7164         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7165         __malloc_size_t.
7166         (old_memalign_hook): Likewise.
7167         (old_realloc_hook): Likewise.
7168         (struct hdr): Likewise.
7169         (flood): Likewise.
7170         (mallochook): Likewise.
7171         (memalignhook): Likewise.
7172         (reallochook): Likewise.
7173         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7174         (tr_old_realloc_hook): Likewise.
7175         (tr_old_memalign_hook): Likewise.
7176         (tr_mallochook): Likewise.
7177         (tr_reallochook): Likewise.
7178         (tr_memalignhook): Likewise.
7180 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7182         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7183         default_ldbl_pack and using as default implementation.
7184         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7185         implementation.
7186         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7187         redundant definition.
7188         (ldbl_insert_mantissa): Likewise.
7189         (ldbl_canonicalize): Likewise.
7190         (ldbl_nearbyint): Likewise.
7191         (ldbl_pack): Rename to ldbl_pack_ppc.
7192         (ldbl_unpack): Rename to ldbl_unpack_ppc.
7193         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7194         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7196 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7198         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7199         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7200         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7201         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7202         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7203         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7204         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7205         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7207 2013-03-07  Andreas Jaeger  <aj@suse.de>
7209         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7210         bits/mman-linux.h.
7212 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7214         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7215         Include mpa.h and declare __MPEXP.
7216         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7217         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7218         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7219         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7220         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7221         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7222         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7224         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7225         (__slowpow): Use long double EXPL and LOGL functions to
7226         compute POW.
7227         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7228         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7229         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7230         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7231         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7232         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7235         intermediate variable to calculate exponent.
7236         (__sqr): Likewise.
7237         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7238         Likewise.
7239         (__sqr): Likewise.
7241         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7242         [!NO__SQR]: Define __sqr.
7243         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7244         and NO__SQR.  Remove all code except __mul and __sqr.  Include
7245         sysdeps/ieee754/dbl-64/mpa.c.
7246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7248         [BZ #12723]
7249         * posix/Makefile (tests): Add tst-pathconf.
7250         * posix/tst-pathconf.c: New test case.
7251         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7252         _PC_PIPE_BUF.
7253         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7255 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
7257         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7259 2013-03-06  Andreas Jaeger  <aj@suse.de>
7261         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7262         definition via __MAP_ANONYMOUS.
7264         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7265         it's not part of Linux headers.
7267         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7268         (MAP_HUGE_MASK): Define.
7270         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7271         Define.
7272         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7273         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7274         Define.
7275         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7276         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7277         Define.
7278         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7279         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7280         Define.
7281         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7283         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7284         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7285         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7286         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7287         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7288         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7290         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7291         Handle f2fs.
7293         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7294         Handle f2fs and efivarfs.
7296         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7297         f2fs.
7299         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7300         (EFIVARFS_MAGIC): Add.
7301         (F2FS_LINK_MAX): Add.
7303 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7305         * stdio-common/vfprintf.c: Replace __builtin_expect with
7306         __glibc_unlikely.
7308 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
7310         [BZ #13550]
7311         * sysdeps/generic/bp-sym.h: Remove file.
7312         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7313         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7314         <bp-sym.h> and <bp-asm.h>.
7315         (__longjmp): Don't use BP_SYM.
7316         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7317         and <bp-asm.h>.
7318         (memcpy): Don't use BP_SYM.
7319         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7320         <bp-sym.h> and <bp-asm.h>.
7321         (memcpy): Don't use BP_SYM.
7322         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7323         <bp-asm.h>.
7324         (memcpy): Don't use BP_SYM.
7325         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7326         <bp-asm.h>.
7327         (memset): Don't use BP_SYM.
7328         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7329         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7330         (__bzero): Don't use BP_SYM.
7331         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7332         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7333         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7334         <bp-sym.h> and <bp-asm.h>.
7335         (memcmp): Don't use BP_SYM.  Remove comment about bounded
7336         pointers.
7337         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7338         <bp-sym.h> and <bp-asm.h>.
7339         (memcpy): Don't use BP_SYM.
7340         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7341         <bp-sym.h> and <bp-asm.h>.
7342         (memset): Don't use BP_SYM.
7343         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7344         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7345         (__bzero): Don't use BP_SYM.
7346         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7347         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7348         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7349         <bp-sym.h> and <bp-asm.h>.
7350         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7351         pointers.
7352         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7353         <bp-sym.h> and <bp-asm.h>.
7354         (memcpy): Don't use BP_SYM.
7355         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7356         <bp-sym.h> and <bp-asm.h>.
7357         (memset): Don't use BP_SYM.
7358         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7359         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7360         (__bzero): Don't use BP_SYM.
7361         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7362         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7363         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7364         <bp-sym.h> and <bp-asm.h>.
7365         (__memchr): Don't use BP_SYM.
7366         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7367         <bp-sym.h> and <bp-asm.h>.
7368         (memcmp): Don't use BP_SYM.  Remove comment about bounded
7369         pointers.
7370         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7371         <bp-sym.h> and <bp-asm.h>.
7372         (memcpy): Don't use BP_SYM.
7373         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7374         <bp-sym.h> and <bp-asm.h>.
7375         (__mempcpy): Don't use BP_SYM.
7376         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7377         <bp-sym.h> and <bp-asm.h>.
7378         (__memrchr): Don't use BP_SYM.
7379         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7380         <bp-sym.h> and <bp-asm.h>.
7381         (memset): Don't use BP_SYM.
7382         (__bzero): Likewise.
7383         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7384         <bp-sym.h> and <bp-asm.h>.
7385         (__rawmemchr): Don't use BP_SYM.
7386         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7387         <bp-sym.h> and <bp-asm.h>.
7388         (__STRCMP): Don't use BP_SYM.
7389         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7390         <bp-sym.h> and <bp-asm.h>.
7391         (strchr): Don't use BP_SYM.
7392         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7393         <bp-sym.h> and <bp-asm.h>.
7394         (__strchrnul): Don't use BP_SYM.
7395         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7396         <bp-sym.h> and <bp-asm.h>.
7397         (strlen): Don't use BP_SYM.
7398         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7399         <bp-sym.h> and <bp-asm.h>.
7400         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7401         pointers.
7402         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7403         <bp-sym.h> and <bp-asm.h>.
7404         (__strnlen): Don't use BP_SYM.
7405         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7406         <bp-sym.h> and <bp-asm.h>.
7407         (__GI__setjmp): Don't use BP_SYM.
7408         (_setjmp): Likewise.
7409         (__sigsetjmp): Likewise.
7410         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7411         (L(start_addresses)): Don't use BP_SYM.
7412         (_start): Likewise.
7413         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7414         <bp-asm.h>.
7415         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7416         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7417         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7418         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7419         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7420         <bp-asm.h>.
7421         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7422         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
7423         about bounded pointers.
7424         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7425         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7426         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7427         <bp-asm.h>.
7428         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
7429         about bounded pointers.  Remove GKM FIXME comments.
7430         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7431         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7432         <bp-asm.h>.
7433         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7434         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
7435         Remove GKM FIXME comments.
7436         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7437         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7438         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7439         <bp-asm.h>.
7440         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
7441         about bounded pointers.  Remove GKM FIXME comment.
7442         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7443         and <bp-asm.h>.
7444         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7445         pointers.
7446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7447         <bp-sym.h> and <bp-asm.h>.
7448         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7450         <bp-sym.h> and <bp-asm.h>.
7451         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
7452         comment.
7454 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7456         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7457         call free(NULL).
7459 2013-03-05  David S. Miller  <davem@davemloft.net>
7461         * po/es.po: Update from translation team.
7463 2013-03-05  Andreas Jaeger  <aj@suse.de>
7465         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7466         <bits/mman-linux.h>.
7467         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7468         is fine.
7469         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7470         <bits/mman-linux.h> to end of file.
7471         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7472         is fine.
7473         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7474         <bits/mman-linux.h> to end of file.
7475         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7476         is fine.
7477         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7478         <bits/mman-linux.h> to end of file.
7480         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7481         (MCL_CURRENT, MCL_FUTURE): Define here.
7483 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7485         [BZ #15232]
7486         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7487         attribute_hidden.
7488         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7490 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7492         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7493         fourth parameter needed for rt_sigprocmask syscall.
7494         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7495         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7496         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7497         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7498         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7499         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7501 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
7503         [BZ #13550]
7504         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7505         comment about bounded pointers.
7506         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7507         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7509 2013-03-04  Andreas Jaeger  <aj@suse.de>
7511         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7512         common definitions.
7514         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7515         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7516         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7517         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7518         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7519         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7521 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7523         [BZ #15055]
7524         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7525         __ieee754_sqrl instead of __sqrl.
7527 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
7529         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7530         * sysdeps/powerpc/fpu_control.h: ... here.
7531         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7532         * sysdeps/powerpc/bits/fenvinline.h: ... here.
7533         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7534         * sysdeps/powerpc/bits/mathinline.h: ... here.
7536 2013-03-01  Roland McGrath  <roland@hack.frob.com>
7538         * elf/dl-hwcaps.c (_dl_important_hwcaps):
7539         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7540         to just [NEED_DL_SYSINFO_DSO].
7541         * elf/dl-support.c: Likewise.
7542         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7543         * elf/rtld.c (dl_main): Likewise.
7544         * elf/setup-vdso.h (setup_vdso): Likewise.
7545         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7546         * sysdeps/unix/sysv/linux/dl-sysdep.c
7547         (_dl_discover_osversion): Likewise.
7549 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
7551         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7552         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7554 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7556         * NEWS: Mention libm performance improvements and non-x86 PI
7557         futex support.
7559         * csu/libc-start.c (__pthread_initialize_minimal): Change
7560         function arguments.
7561         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7563 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
7565         [BZ #13550]
7566         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7567         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7568         <bp-sym.h> and <bp-asm.h>.
7569         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7570         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7571         and <bp-asm.h>.
7572         (memcpy): Don't use BP_SYM.
7573         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7574         <bp-asm.h>.
7575         (__mpn_add_n): Don't use BP_SYM.
7576         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7577         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7578         and <bp-asm.h>.
7579         (__mpn_addmul_1): Don't use BP_SYM.
7580         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7581         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7582         <bp-sym.h>.
7583         (_setjmp): Don't use BP_SYM.
7584         (__novmx_setjmp): Likewise.
7585         (__GI__setjmp): Likewise.
7586         (__vmx_setjmp): Likewise.
7587         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7588         <bp-sym.h>.
7589         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7590         (__bzero): Don't use BP_SYM.
7591         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7592         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7593         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7594         <bp-sym.h> and <bp-asm.h>.
7595         (memcpy): Don't use BP_SYM.
7596         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7597         <bp-sym.h> and <bp-asm.h>.
7598         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7599         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7600         <bp-sym.h> and <bp-asm.h>.
7601         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7602         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7603         <bp-asm.h>.
7604         (__mpn_lshift): Don't use BP_SYM.
7605         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7606         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7607         <bp-asm.h>.
7608         (memset): Don't use BP_SYM.
7609         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7610         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7611         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7612         <bp-asm.h>.
7613         (__mpn_mul_1): Don't use BP_SYM.
7614         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7615         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7616         <bp-sym.h> and <bp-asm.h>.
7617         (memcmp): Don't use BP_SYM.
7618         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7619         <bp-sym.h> and <bp-asm.h>.
7620         (memcpy): Don't use BP_SYM.
7621         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7622         <bp-sym.h> and <bp-asm.h>.
7623         (memset): Don't use BP_SYM.
7624         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7625         <bp-sym.h> and <bp-asm.h>.
7626         (strncmp): Don't use BP_SYM.
7627         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7628         <bp-sym.h> and <bp-asm.h>.
7629         (memcpy): Don't use BP_SYM.
7630         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7631         <bp-sym.h> and <bp-asm.h>.
7632         (memset): Don't use BP_SYM.
7633         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7634         <bp-sym.h> and <bp-asm.h>.
7635         (__memchr): Don't use BP_SYM.
7636         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7637         <bp-sym.h> and <bp-asm.h>.
7638         (memcmp): Don't use BP_SYM.
7639         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7640         <bp-sym.h> and <bp-asm.h>.
7641         (memcpy): Don't use BP_SYM.
7642         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7643         <bp-sym.h> and <bp-asm.h>.
7644         (__mempcpy): Don't use BP_SYM.
7645         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7646         <bp-sym.h> and <bp-asm.h>.
7647         (__memrchr): Don't use BP_SYM.
7648         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7649         <bp-sym.h> and <bp-asm.h>.
7650         (memset): Don't use BP_SYM.
7651         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7652         <bp-sym.h> and <bp-asm.h>.
7653         (__rawmemchr): Don't use BP_SYM.
7654         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7655         <bp-sym.h> and <bp-asm.h>.
7656         (__STRCMP): Don't use BP_SYM.
7657         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7658         <bp-sym.h> and <bp-asm.h>.
7659         (strchr): Don't use BP_SYM.
7660         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7661         <bp-sym.h> and <bp-asm.h>.
7662         (__strchrnul): Don't use BP_SYM.
7663         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7664         <bp-sym.h> and <bp-asm.h>.
7665         (strlen): Don't use BP_SYM.
7666         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7667         <bp-sym.h> and <bp-asm.h>.
7668         (strncmp): Don't use BP_SYM.
7669         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7670         <bp-sym.h> and <bp-asm.h>.
7671         (__strnlen): Don't use BP_SYM.
7672         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7673         <bp-asm.h>.
7674         (__mpn_rshift): Don't use BP_SYM.
7675         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7676         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7677         <bp-sym.h> and <bp-asm.h>.
7678         (__sigsetjmp): Don't use BP_SYM.
7679         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7680         (L(start_addresses)): Don't use BP_SYM.
7681         (_start): Likewise.
7682         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7683         <bp-asm.h>.
7684         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7685         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7686         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7687         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7688         <bp-asm.h>.
7689         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7690         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7691         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7692         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7693         <bp-asm.h>.
7694         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7695         comments.
7696         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7697         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7698         <bp-asm.h>.
7699         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
7700         FIXME comments.
7701         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7702         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7703         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7704         <bp-asm.h>.
7705         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7706         comment.
7707         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7708         and <bp-asm.h>.
7709         (strncmp): Don't use BP_SYM,
7710         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7711         <bp-asm.h>.
7712         (__mpn_sub_n): Don't use BP_SYM.
7713         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7714         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7715         and <bp-asm.h>.
7716         (__mpn_submul_1): Don't use BP_SYM.
7717         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7719         <bp-sym.h> and <bp-asm.h>.
7720         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7722         <bp-sym.h> and <bp-asm.h>.
7723         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
7724         comment.
7726 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7729         Use ZK to minimize writes to Z.
7730         (sub_magnitudes): Simplify code a bit.
7731         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7732         Use ZK to minimize writes to Z.
7733         (sub_magnitudes): Simplify code a bit.
7735 2013-02-27  Roland McGrath  <roland@hack.frob.com>
7737         * csu/gmon-start.c: Add special exception to license text.
7739 2013-02-27  Richard Henderson  <rth@redhat.com>
7741         * scripts/config.guess: Update from config.git.
7742         * scripts/config.sub: Likewise.
7744 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7746         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7748         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7750         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7752         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7754         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7756 2013-02-26  Roland McGrath  <roland@hack.frob.com>
7758         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7759         [$(build-shared = yes].
7761 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7763         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7764         (__mul): Reduce iterations for calculating mantissa.
7766         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7767         MPTWO.
7768         (__mpranred): Likewise.
7770         [BZ #15160]
7771         * malloc/memusagestat.c (main): Draw graphs for heap and stack
7772         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7774 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
7776         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7777         Define __attribute__.
7779 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7781         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7782         unused.
7783         * posix/regex_internal.h (__attribute): Remove.
7784         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7785         (re_string_context_at): Likewise.
7786         (bitset_not): Use __attribute__ and mark function as possibly
7787         unused.
7788         (bitset_merge): Likewise.
7789         (bitset_mask): Likewise.
7790         (re_string_char_size_at): Likewise.
7791         (re_string_wchar_at): Likewise.
7792         (re_string_elem_size_at): Likewise.
7794 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7796         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7797         code.
7798         (cc32): Likewise.
7800         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7801         (__acr): Likewise.
7802         (__cpy): Likewise.
7803         (norm): Likewise.
7804         (denorm): Likewise.
7805         (__dbl_mp): Likewise.
7806         (add_magnitudes): Likewise.
7807         (sub_magnitudes): Likewise.
7808         (__mul): Likewise.
7809         (__inv): Likewise.
7811         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7812         style.
7814         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7815         style.
7817         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7818         code.
7820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7821         up changes with default code.
7822         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7823         Likewise.
7825 2013-02-24  Allan McRae  <allan@archlinux.org>
7827         * manual/socket.texi (The Internet Namespace): Order menu items
7828         to match that in the file.
7830         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7831         node listing of the info page menu.
7833 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
7835         [BZ #13550]
7836         * sysdeps/i386/bp-asm.h: Remove file.
7837         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7838         (PARMS): Do not use macros from bp-asm.h.
7839         (S1): Likewise.
7840         (S2): Likewise.
7841         (SIZE): Likewise.
7842         (__mpn_add_n): Do not use BP_SYM
7843         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7844         "bp-asm.h".
7845         (PARMS): Do not use macros from bp-asm.h.
7846         (S1): Likewise.
7847         (SIZE): Likewise.
7848         (__mpn_addmul_1): Do not use BP_SYM
7849         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7850         "bp-asm.h".
7851         (PARMS): Do not use macros from bp-asm.h.
7852         (SIGMSK): Likewise.
7853         (_setjmp): Likewise.  Do not use BP_SYM.
7854         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7855         "bp-asm.h".
7856         (PARMS): Do not use macros from bp-asm.h.
7857         (SIGMSK): Likewise.
7858         (setjmp): Likewise.  Do not use BP_SYM.
7859         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7860         "bp-asm.h".
7861         (PARMS): Do not use macros from bp-asm.h.
7862         (__frexp): Do not use BP_SYM.
7863         (frexp): Likewise.
7864         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7865         "bp-asm.h".
7866         (PARMS): Do not use macros from bp-asm.h.
7867         (__frexpf): Do not use BP_SYM.
7868         (frexpf): Likewise.
7869         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7870         "bp-asm.h".
7871         (PARMS): Do not use macros from bp-asm.h.
7872         (__frexpl): Do not use BP_SYM.
7873         (frexpl): Likewise.
7874         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7875         "bp-asm.h".
7876         (PARMS): Do not use macros from bp-asm.h.
7877         (__remquo): Do not use BP_SYM.
7878         (remquo): Likewise.
7879         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7880         "bp-asm.h".
7881         (PARMS): Do not use macros from bp-asm.h.
7882         (__remquof): Do not use BP_SYM.
7883         (remquof): Likewise.
7884         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7885         "bp-asm.h".
7886         (PARMS): Do not use macros from bp-asm.h.
7887         (__remquol): Do not use BP_SYM.
7888         (remquol): Likewise.
7889         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7890         "bp-asm.h".
7891         (PARMS): Do not use macros from bp-asm.h.
7892         (DEST): Likewise.
7893         (SRC): Likewise.
7894         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
7895         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7896         "bp-asm.h".
7897         (PARMS): Do not use macros from bp-asm.h.
7898         (strlen): Do not use BP_SYM.
7899         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7900         "bp-asm.h".
7901         (PARMS): Do not use macros from bp-asm.h.
7902         (S1): Likewise.
7903         (S2): Likewise.
7904         (SIZE): Likewise.
7905         (__mpn_add_n): Do not use BP_SYM.
7906         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7907         "bp-asm.h".
7908         (PARMS): Do not use macros from bp-asm.h.
7909         (S1): Likewise.
7910         (SIZE): Likewise.
7911         (__mpn_addmul_1): Do not use BP_SYM.
7912         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7913         weak_alias.
7914         (bzero): Likewise.
7915         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7916         "bp-asm.h".
7917         (PARMS): Do not use macros from bp-asm.h.
7918         (S): Likewise.
7919         (SIZE): Likewise.
7920         (__mpn_lshift): Do not use BP_SYM.
7921         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7922         "bp-asm.h".
7923         (PARMS): Do not use macros from bp-asm.h.
7924         (DEST): Likewise.
7925         (SRC): Likewise.
7926         (LEN): Likewise.
7927         (memcpy): Likewise.  Do not use BP_SYM.
7928         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7929         libc_hidden_def and weak_alias.
7930         (mempcpy): Do not use BP_SYM in weak_alias.
7931         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7932         "bp-asm.h".
7933         (PARMS): Do not use macros from bp-asm.h.
7934         (DEST): Likewise.
7935         (LEN): Likewise.
7936         [!BZERO_P] (CHR): Likewise.
7937         (memset): Likewise.  Do not use BP_SYM.
7938         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7939         "bp-asm.h".
7940         (PARMS): Do not use macros from bp-asm.h.
7941         (S1): Likewise.
7942         (SIZE): Likewise.
7943         (__mpn_mul_1): Do not use BP_SYM.
7944         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7945         "bp-asm.h".
7946         (PARMS): Do not use macros from bp-asm.h.
7947         (S): Likewise.
7948         (SIZE): Likewise.
7949         (__mpn_rshift): Do not use BP_SYM.
7950         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7951         "bp-asm.h".
7952         (PARMS): Do not use macros from bp-asm.h.
7953         (STR): Likewise.
7954         (CHR): Likewise.
7955         (strchr): Likewise.  Do not use BP_SYM.
7956         (index): Do not use BP_SYM in weak_alias.
7957         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7958         "bp-asm.h".
7959         (PARMS): Do not use macros from bp-asm.h.
7960         (DEST): Likewise.
7961         (SRC): Likewise.
7962         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
7963         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7964         "bp-asm.h".
7965         (PARMS): Do not use macros from bp-asm.h.
7966         (strlen): Do not use BP_SYM.
7967         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7968         "bp-asm.h".
7969         (PARMS): Do not use macros from bp-asm.h.
7970         (S1): Likewise.
7971         (S2): Likewise.
7972         (SIZE): Likewise.
7973         (__mpn_sub_n): Do not use BP_SYM.
7974         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7975         "bp-asm.h".
7976         (PARMS): Do not use macros from bp-asm.h.
7977         (S1): Likewise.
7978         (SIZE): Likewise.
7979         (__mpn_submul_1): Do not use BP_SYM.
7980         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7981         "bp-asm.h".
7982         (PARMS): Do not use macros from bp-asm.h.
7983         (S1): Likewise.
7984         (S2): Likewise.
7985         (SIZE): Likewise.
7986         (__mpn_add_n): Do not use BP_SYM.
7987         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7988         weak_alias.
7989         (bzero): Likewise.
7990         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7991         "bp-asm.h".
7992         (PARMS): Do not use macros from bp-asm.h.
7993         (BLK2): Likewise.
7994         (LEN): Likewise.
7995         (memcmp): Do not use BP_SYM.
7996         (bcmp): Do not use BP_SYM in weak_alias.
7997         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7998         "bp-asm.h".
7999         (PARMS): Do not use macros from bp-asm.h.
8000         (DEST): Likewise.
8001         (SRC): Likewise.
8002         (LEN): Likewise.
8003         (memcpy): Likewise.  Do not use BP_SYM.
8004         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8005         "bp-asm.h".
8006         (PARMS): Do not use macros from bp-asm.h.
8007         (DEST): Likewise.
8008         (SRC): Likewise.
8009         (LEN): Likewise.
8010         (memmove): Likewise.  Do not use BP_SYM.
8011         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8012         "bp-asm.h".
8013         (PARMS): Do not use macros from bp-asm.h.
8014         (DEST): Likewise.
8015         (SRC): Likewise.
8016         (LEN): Likewise.
8017         (__mempcpy): Likewise.  Do not use BP_SYM.
8018         (mempcpy): Do not use BP_SYM in weak_alias.
8019         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8020         "bp-asm.h".
8021         (PARMS): Do not use macros from bp-asm.h.
8022         (DEST): Likewise.
8023         (LEN): Likewise.
8024         [!BZERO_P] (CHR): Likewise.
8025         (memset): Likewise.  Do not use BP_SYM.
8026         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8027         "bp-asm.h".
8028         (PARMS): Do not use macros from bp-asm.h.
8029         (STR2): Likewise.
8030         (strcmp): Do not use BP_SYM.
8031         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8032         "bp-asm.h".
8033         (PARMS): Do not use macros from bp-asm.h.
8034         (STR): Likewise.
8035         (DELIM): Likewise.
8036         [USE_AS_STRTOK_R] (SAVE): Likewise.
8037         (FUNCTION): Likewise.  Do not use BP_SYM.
8038         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8039         aliases.
8040         (strtok_r): Likewise.
8041         (__GI___strtok_r): Likewise.
8042         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8043         (PARMS): Do not use macros from bp-asm.h.
8044         (S): Likewise.
8045         (SIZE): Likewise.
8046         (__mpn_lshift): Do not use BP_SYM.
8047         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8048         (PARMS): Do not use macros from bp-asm.h.
8049         (STR): Likewise.
8050         (CHR): Likewise.
8051         (__memchr): Do not use BP_SYM.
8052         (memchr): Do not use BP_SYM in weak_alias.
8053         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8054         (PARMS): Do not use macros from bp-asm.h.
8055         (BLK2): Likewise.
8056         (LEN): Likewise.
8057         (memcmp): Do not use BP_SYM.
8058         (bcmp): Do not use BP_SYM in weak_alias.
8059         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8060         (PARMS): Do not use macros from bp-asm.h.
8061         (S1): Likewise.
8062         (SIZE): Likewise.
8063         (__mpn_mul_1): Do not use BP_SYM.
8064         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8065         "bp-asm.h".
8066         (PARMS): Do not use macros from bp-asm.h.
8067         (STR): Likewise.
8068         (CHR): Likewise.
8069         (__rawmemchr): Do not use BP_SYM.
8070         (rawmemchr): Do not use BP_SYM in weak_alias.
8071         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8072         (PARMS): Do not use macros from bp-asm.h.
8073         (S): Likewise.
8074         (SIZE): Likewise.
8075         (__mpn_rshift): Do not use BP_SYM.
8076         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8077         (PARMS): Do not use macros from bp-asm.h.
8078         (SIGMSK): Likewise.
8079         (__sigsetjmp): Likewise.  Do not use BP_SYM.
8080         * sysdeps/i386/start.S: Do not include "bp-sym.h".
8081         (_start): Do not use BP_SYM.
8082         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8083         (PARMS): Do not use macros from bp-asm.h.
8084         (DEST): Likewise.
8085         (SRC): Likewise.
8086         (__stpcpy): Likewise.  Do not use BP_SYM.
8087         (stpcpy): Do not use BP_SYM in weak_alias.
8088         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8089         "bp-asm.h".
8090         (PARMS): Do not use macros from bp-asm.h.
8091         (DEST): Likewise.
8092         (SRC): Likewise.
8093         (LEN): Likewise.
8094         (__stpncpy): Likewise.  Do not use BP_SYM.
8095         (stpncpy): Do not use BP_SYM in weak_alias.
8096         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8097         (PARMS): Do not use macros from bp-asm.h.
8098         (STR): Likewise.
8099         (CHR): Likewise.
8100         (strchr): Likewise.  Do not use BP_SYM.
8101         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8102         "bp-asm.h".
8103         (PARMS): Do not use macros from bp-asm.h.
8104         (STR): Likewise.
8105         (CHR): Likewise.
8106         (__strchrnul): Likewise.  Do not use BP_SYM.
8107         (strchrnul): Do not use BP_SYM in weak_alias.
8108         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8109         "bp-asm.h".
8110         (PARMS): Do not use macros from bp-asm.h.
8111         (STOP): Likewise.
8112         (strcspn): Do not use BP_SYM.
8113         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8114         "bp-asm.h".
8115         (PARMS): Do not use macros from bp-asm.h.
8116         (STR): Likewise.
8117         (STOP): Likewise.
8118         (strpbrk): Likewise.  Do not use BP_SYM.
8119         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8120         "bp-asm.h".
8121         (PARMS): Do not use macros from bp-asm.h.
8122         (STR): Likewise.
8123         (CHR): Likewise.
8124         (strrchr): Likewise.  Do not use BP_SYM.
8125         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8126         (PARMS): Do not use macros from bp-asm.h.
8127         (SKIP): Likewise.
8128         (strspn): Do not use BP_SYM.
8129         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8130         (PARMS): Do not use macros from bp-asm.h.
8131         (STR): Likewise.
8132         (DELIM): Likewise.
8133         (SAVE): Likewise.
8134         (FUNCTION): Likewise.  Do not use BP_SYM.
8135         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8136         aliases.
8137         (strtok_r): Likewise.
8138         (__GI___strtok_r): Likewise.
8139         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8140         (PARMS): Do not use macros from bp-asm.h.
8141         (S1): Likewise.
8142         (S2): Likewise.
8143         (SIZE): Likewise.
8144         (__mpn_sub_n): Do not use BP_SYM.
8145         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8146         "bp-asm.h".
8147         (PARMS): Do not use macros from bp-asm.h.
8148         (S1): Likewise.
8149         (SIZE): Likewise.
8150         (__mpn_submul_1): Do not use BP_SYM.
8151         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8152         <bp-sym.h>.
8153         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8154         and <bp-asm.h>.
8155         (PARMS): Do not use macros from bp-asm.h.
8156         (FLAGS): Likewise.
8157         (PTID): Likewise.
8158         (TLS): Likewise.
8159         (CTID): Likewise.
8160         (__clone): Do not use BP_SYM.
8161         (clone): Do not use BP_SYM in weak_alias.
8162         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8163         and <bp-asm.h>.
8164         (PARMS): Do not use macros from bp-asm.h.
8165         (LEN): Likewise.
8166         (__mmap64): Do not use BP_SYM.
8167         (mmap64): Do not use BP_SYM in weak_alias.
8168         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8169         <bp-sym.h> and <bp-asm.h>.
8170         (PARMS): Do not use macros from bp-asm.h.
8171         (__posix_fadvise64_l64): Do not use BP_SYM.
8172         * sysdeps/unix/sysv/linux/i386/semtimedop.S
8173         (PARMS): Do not use macros from bp-asm.h.
8174         (NSOPS): Likewise.
8175         (semtimedop): Do not use BP_SYM.
8176         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8177         and <bp-asm.h>.
8179 2013-02-21  Allan McRae  <allan@archlinux.org>
8181         * manual/message.texi (Charset conversion in gettext):
8182         Move @end statement to beginning of line.
8184 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8187         static.
8188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8189         Likewise.
8191         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8192         (denorm): Likewise.
8193         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8194         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8196 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8198         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8199         tail-call to the resolved function if pltexit isn't needed.
8201 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8204         or Y being zero as being unlikely.
8205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8206         Likewise.
8208 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
8210         * manual/nss.texi (System Databases and Name Service Switch):
8211         Remove frobnicate @pxref.
8213 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8215         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8216         __attribute__ ((unused)) to __attribute__ ((__unused__)).
8218 2013-02-20  Petr Machata  <pmachata@redhat.com>
8220         * elf/elf.h (R_ARM_TARGET1): New macro.
8221         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8222         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8223         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8224         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8225         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8226         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8227         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8228         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8229         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8230         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8231         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8232         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8233         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8234         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8235         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8236         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8237         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8238         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8239         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8240         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8241         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8242         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8243         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8244         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8245         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8246         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8247         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8248         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8249         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8250         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8251         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8252         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8253         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8254         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8255         (R_ARM_THM_GOT_BREL12): Likewise.
8256         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8257         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8258         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8259         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8260         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8261         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8262         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8263         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8264         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8266 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8268         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8269         __attribute_used__ to __attribute__ ((unused)).
8271 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8273         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8274         powerpc mpa.c.
8275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8276         comment formatting.
8277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8279 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
8281         [BZ #13550]
8282         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8283         Remove macro.
8284         (ENTER): Remove both macro definitions.
8285         (LEAVE): Likewise.
8286         (CHECK_BOUNDS_LOW): Likewise.
8287         (CHECK_BOUNDS_HIGH): Likewise.
8288         (CHECK_BOUNDS_BOTH): Likewise.
8289         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8290         (RETURN_BOUNDED_POINTER): Likewise.
8291         (RETURN_NULL_BOUNDED_POINTER): Likewise.
8292         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8293         (POP_ERRNO_LOCATION_RETURN): Likewise.
8294         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8295         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8296         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8297         macros.
8298         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8299         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8300         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8301         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8302         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8303         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8304         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8305         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8306         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8307         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8308         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8309         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8310         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8311         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8312         removed macros.
8313         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8314         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8315         macros.
8316         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8317         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8318         * sysdeps/i386/i586/memset.S (memset): Likewise.
8319         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8320         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8321         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8322         macros.
8323         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8324         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8325         Change uses of L(2) to L(out).
8326         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8327         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8328         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8329         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8330         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8331         removed macros.
8332         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8333         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8334         macros.
8335         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8336         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8337         (RETURN): Do not use macro LEAVE.
8338         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8339         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8340         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8341         * sysdeps/i386/i686/memset.S (memset): Likewise.
8342         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8343         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8344         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8345         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8346         Likewise.
8347         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8348         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
8349         L(1_2) and L(1_3) into L(1).
8350         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8351         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8352         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8353         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8354         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8355         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8356         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8357         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8358         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8359         macros.
8360         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8361         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8362         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8363         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8364         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8365         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8366         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8367         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8368         * sysdeps/i386/strcspn.S (strcspn): Likewise.
8369         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8370         * sysdeps/i386/strrchr.S (strrchr): Likewise.
8371         * sysdeps/i386/strspn.S (strspn): Likewise.
8372         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8373         conditional code.
8374         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8375         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8376         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8377         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
8378         L(1_3) into L(1_1).
8379         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8380         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8381         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8382         macros.
8383         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8385 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
8387         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8388         macro.
8390 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8392         * math/atest-exp.c (exp_mpn): Remove ROUND.
8393         * math/atest-exp2.c (exp_mpn): Likewise.
8394         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8396         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8397         * stdlib/tst-tls-atexit-lib.c: Likewise.
8398         * stdlib/tst-tls-atexit.c: Likewise.
8400 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8402         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8403         and __attribute_alloc_size__.
8405 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8407         * include/programs/xmalloc.h: Change __attribute_alloc_size to
8408         __attribute_alloc_size__.
8409         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8410         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8412 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8414         * include/programs/xmalloc.h: New file.
8415         * catgets/gencat.c: Include it.
8416         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8417         * elf/pldd.c: Likewise.
8418         * iconv/iconv_charmap.c: Likewise.
8419         * iconv/iconvconfig.c: Likewise.
8420         * iconv/strtab.c: Likewise.
8421         * locale/programs/locale.c: Likewise.
8422         * locale/programs/localedef.h: Likewise.
8423         * locale/programs/simple-hash.c: Likewise.
8424         * nscd/nscd.h: Likewise.
8425         * nss/makedb.c: Likewise.
8426         * sysdeps/generic/ldconfig.h: Likewise.
8428 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8430         * Versions.def: Add GLIBC_2.18.
8431         * include/link.h (struct link_map): New member l_tls_dtor_count.
8432         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8433         (__call_tls_dtors): Likewise.
8434         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8435         __cxa_thread_atexit_impl.
8436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8437         Likewise.
8438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8439         Likewise.
8440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8441         Likewise.
8442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8443         Likewise.
8444         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8446         Likewise.
8447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8448         Likewise.
8449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8451         Likewise.
8452         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8453         (tests): Add test case tst-tls-atexit.
8454         (modules-names): Add shared library for tst-tls-atexit.
8455         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8456         (GLIBC_PRIVATE): Add __call_tls_dtors.
8457         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8458         for libstdc++.
8459         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8460         * stdlib/tst-tls-atexit.c: New test case.
8461         * stdlib/tst-tls-atexit-lib.c: New test case.
8463         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8465         * elf/Versions (ld): Add _dl_find_dso_for_object.
8466         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8467         * elf/dl-open.c (_dl_find_dso_for_object): New function.
8468         (dl_open_worker): Use _dl_find_dso_for_object.
8469         * elf/dl-sym.c (do_sym): Likewise.
8470         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8472 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8474         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8475         Syntactic changes only.
8476         (_dl_runtime_profile): Do a tail-call to the resolved function.
8478 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
8480         [BZ #13550]
8481         * sysdeps/x86_64/bp-asm.h: Remove file.
8482         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8483         <bp-sym.h> and <bp-asm.h>.
8484         (__clone): Do not use BP_SYM.
8485         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8486         <bp-sym.h> and <bp-asm.h>.
8487         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8488         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8489         "bp-asm.h".
8490         (_setjmp): Do not use BP_SYM.
8491         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8492         "bp-asm.h".
8493         (setjmp): Do not use BP_SYM.
8494         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8495         libc_hidden_def.
8496         (mempcpy): Do not use BP_SYM in weak_alias.
8497         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8498         "bp-asm.h".
8499         (strchr): Do not use BP_SYM.
8500         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8501         "bp-asm.h".
8502         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8503         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8504         (_start): Do not use BP_SYM.
8505         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8506         "bp-asm.h".
8507         (strcat): Do not use BP_SYM.
8508         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8509         "bp-asm.h".
8510         (STRCMP): Do not use BP_SYM.
8511         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8512         "bp-asm.h".
8513         (STRCPY): Do not use BP_SYM.
8514         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8515         "bp-asm.h".
8516         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8517         "bp-asm.h".
8518         (FUNCTION): Do not use BP_SYM.
8519         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8520         weak_alias.
8521         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8523 2013-02-17  Andreas Jaeger  <aj@suse.de>
8525         * time/Versions: Sort entries.
8526         * string/Versions: Likewise.
8527         * resolv/Versions: Likewise.
8528         * posix/Versions: Likewise.
8529         * iconv/Versions: Likewise.
8530         * elf/Versions: Likewise.
8531         * wcsmbs/Versions: Likewise.
8533 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8535         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8536         loop termination condition.
8538         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8539         variable to calculate EZ.
8540         (__sqr): Likewise.
8542         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8543         the lower precision input.
8545 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
8547         [BZ #13550]
8548         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8549         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8550         (run-via-rtld-prefix): Do not handle %-bp tests.
8551         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8552         (all-object-suffixes): Remove .ob.
8553         (bppfx): Remove variable.
8554         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8555         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8556         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8557         [$(build-bounded) = yes] (libtype.ob): Likewise.
8558         * Makerules (elide-routines.ob): Remove variable.
8559         (do-tests-clean): Do not handle *-bp.out.
8560         (common-mostlyclean): Do not handle *-bp and *-bp.out.
8561         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8562         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8563         (tests): Do not include $(tests-bp.out).
8564         (xtests): Do not include $(xtests-bp.out).
8565         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8566         [$(build-bounded) = yes] ($(addprefix
8567         $(objpfx),$(binaries-bounded))): Remove rule.
8568         ($(objpfx)%-bp.out): Remove rule.
8569         * config.make.in (build-bounded): Remove variable.
8570         * crypt/Makefile [$(build-bounded) = yes]
8571         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8572         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8573         append to variable.
8574         [$(build-bounded) = yes] (install-lib): Likewise.
8575         [$(build-bounded) = yes] (generated): Likewise.
8576         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8577         Remove rule.
8578         * intl/Makefile [$(build-bounded) = yes]
8579         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8580         * math/Makefile [$(build-bounded) = yes]
8581         ($(tests:%=$(objpfx)%-bp): Likewise.
8582         * misc/Makefile [$(build-bounded) = yes]
8583         ($(objpfx)tst-tsearch-bp): Likewise.
8584         * nptl/Makeconfig (bounded-thread-library): Remove variable.
8585         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8586         Remove dependency.
8587         * string/Makefile (o-objects.ob): Remove variable.
8588         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8589         (CFLAGS-.ob): Remove variable.
8590         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8591         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8592         both definitions of variable.
8593         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8594         (ASFLAGS-.ob): Remove variable.
8596 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
8598         [BZ #13550]
8599         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8600         Remove __BOUNDED_POINTERS__ from condition.
8601         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8602         * string/bits/string2.h [!__NO_STRING_INLINES &&
8603         !__BOUNDED_POINTERS__]: Likewise.
8604         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8605         Likewise.
8606         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8607         Remove conditional code.
8608         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8609         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8610         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8611         condition.
8613         [BZ #13550]
8614         * csu/libc-start.c: Do not include <bp-sym.h>.
8615         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8616         * elf/dl-open.c: Do not include <bp-sym.h>.
8617         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8618         * math/fegetenv.c: Do not include <bp-sym.h>.
8619         (fegetenv): Do not use BP_SYM in versioned symbols.
8620         * nptl/sysdeps/pthread/bits/libc-lockP.h
8621         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8622         <bp-sym.h>.
8623         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8624         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8625         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8626         (__pthread_mutex_destroy): Likewise.
8627         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8628         (__pthread_mutex_lock): Likewise.
8629         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8630         (__pthread_mutex_trylock): Likewise.
8631         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8632         (__pthread_mutex_unlock): Likewise.
8633         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8634         (__pthread_mutexattr_init): Likewise.
8635         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8636         (__pthread_mutexattr_destroy): Likewise.
8637         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8638         (__pthread_mutexattr_settype): Likewise.
8639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8640         (__pthread_rwlock_init): Likewise.
8641         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8642         (__pthread_rwlock_destroy): Likewise.
8643         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8644         (__pthread_rwlock_rdlock): Likewise.
8645         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8646         (__pthread_rwlock_tryrdlock): Likewise.
8647         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8648         (__pthread_rwlock_wrlock): Likewise.
8649         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8650         (__pthread_rwlock_trywrlock): Likewise.
8651         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8652         (__pthread_rwlock_unlock): Likewise.
8653         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8654         (__pthread_key_create): Likewise.
8655         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8656         (__pthread_setspecific): Likewise.
8657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8658         (__pthread_getspecific): Likewise.
8659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8660         Likewise.
8661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8662         (_pthread_cleanup_push_defer): Likewise.
8663         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8664         (_pthread_cleanup_pop_restore): Likewise.
8665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8666         (pthread_setcancelstate): Likewise.
8667         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8668         <bp-sym.h>.
8669         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8670         (memchr): Do not use BP_SYM in weak_alias.
8671         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8672         (fegetenv): Do not use BP_SYM in versioned symbols.
8673         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8674         (fesetenv): Do not use BP_SYM in versioned symbols.
8675         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8676         (feupdateenv): Do not use BP_SYM in versioned symbols.
8677         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8678         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8679         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8680         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8681         (open64): Do not use BP_SYM in weak_alias.
8682         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8683         (fegetenv): Do not use BP_SYM in versioned symbols.
8684         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8685         (fesetenv): Do not use BP_SYM in versioned symbols.
8686         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8687         (feupdateenv): Do not use BP_SYM in versioned symbols.
8688         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8689         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8690         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8691         (feraiseexcept): Do not use BP_SYM in versioned symbols.
8692         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8693         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8694         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8695         <bp-sym.h>.
8696         (__libc_start_main): Do not use BP_SYM.
8698 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8700         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8701         redundant return line.
8702         (norm): Likewise.
8703         (denorm): Likewise.
8704         (dbl_mp): Likewise.
8705         (sub_magnitudes): Likewise.
8706         (__add): Likewise.
8707         (__sub): Likewise.
8708         (__mul): Likewise.
8709         (__inv): Likewise.
8710         (__dvd): Likewise.
8711         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8712         (norm): Likewise.
8713         (denorm): Likewise.
8714         (dbl_mp): Likewise.
8715         (sub_magnitudes): Likewise.
8716         (__add): Likewise.
8717         (__sub): Likewise.
8718         (__mul): Likewise.
8719         (__inv): Likewise.
8720         (__dvd): Likewise.
8722         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8723         instead of __mul.
8724         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8725         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8726         (cc32): Likewise.
8728         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8729         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8730         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8731         of __mul for squares.
8732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8733         function
8734         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8735         Likewise.
8736         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8737         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8739 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
8741         [BZ #13550]
8742         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8743         code.
8744         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8745         prototype or function definition.  Rename ubp_* variables and
8746         parameters.  Remove argv definitions conditional on
8747         [__BOUNDED_POINTERS__].
8748         * debug/backtrace.c (__backtrace): Do not use __unbounded.
8749         * elf/dl-runtime.c (_dl_fixup): Likewise.
8750         * include/set-hooks.h (RUN_HOOK): Likewise.
8751         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8752         definition.
8753         * string/strcpy.c (strcpy): Do not use __unbounded.
8754         * sysdeps/generic/frame.h (struct layout): Likewise.
8755         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8756         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8757         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8758         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8759         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8760         (__backtrace): Likewise.
8761         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8762         use __ptrvalue.
8763         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8764         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8765         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8766         Likewise.
8767         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8768         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8769         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8770         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8771         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8772         Do not use __unbounded.
8773         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8774         Rename __unboundedrlimits parameter to rlimits in prototype.
8775         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8776         Do not use __unbounded.
8777         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8778         not use __ptrvalue.
8779         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8780         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8781         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8782         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8783         __ptrvalue or __unbounded.
8784         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8785         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8786         use __unbounded.
8787         (__new_msgctl): Do not use __ptrvalue.
8788         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8789         __unbounded.
8790         (__libc_msgrcv): Do not use __ptrvalue.
8791         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8792         startup_info): Do not use __unbounded.
8793         (__libc_start_main): Likewise.  Rename ubp_* variables and
8794         parameters.  Remove argv definitions conditional on
8795         [__BOUNDED_POINTERS__].
8796         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8797         __ptrvalue.
8798         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8799         use __unbounded.
8800         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8801         or __ptrvalue.
8802         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8803         use __unbounded.
8804         (__new_shmctl): Do not use __ptrvalue.
8805         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8806         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8807         Likewise.
8808         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8809         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8810         (__libc_sigaction): Likewise.
8811         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8812         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8813         Likewise.
8814         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8816 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
8818         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8820         * string/mempcpy.c: Implement by calling memcpy.
8822 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8824         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8826         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8827         evaluation.
8829         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8830         values in the mantissa.
8832         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8833         minimize writes to Z.
8834         (sub_magnitudes): Simplify code a bit.
8836 2013-02-12  Roland McGrath  <roland@hack.frob.com>
8838         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8839         from the message.  The linker prefixes all warnings with that already.
8841 2013-02-12  Andreas Schwab  <schwab@suse.de>
8843         [BZ #15078]
8844         * posix/regexec.c (extend_buffers): Add parameter min_len.
8845         (check_matching): Pass minimum needed length.
8846         (clean_state_log_if_needed): Likewise.
8847         (get_subexp): Likewise.
8848         * posix/Makefile (tests): Add bug-regex34.
8849         (bug-regex34-ENV): Define.
8850         * posix/bug-regex34.c: New file.
8852         [BZ #11561]
8853         * posix/regcomp.c (parse_bracket_exp): When looking up collating
8854         elements compare against the byte sequence of it, not its name.
8855         * posix/Makefile (tests): Add bug-regex35.
8856         (bug-regex35-ENV): Define.
8857         * posix/bug-regex35.c: New file.
8859 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8861         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
8862         comment.
8863         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8864         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8865         (CHECK_EOL): Add undef.
8867 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
8869         * bits/stdlib-bsearch.h: New file.
8870         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8871         * stdlib/stdlib.h: Likewise.
8873 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8875         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8876         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8877         declaration.
8878         * manual/search.texi (Array Search Function): Add missing const in
8879         lfind prototype.
8880         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8881         declaration to use rlim_t.
8882         (Basic Scheduling Functions): Remove erroneous const from
8883         sched_getparam prototype.  Remove erroneous * from
8884         sched_get_priority_max and sched_get_priority_min prototypes.
8885         (Resource Usage): Fix summary @comment on vtimes to refer to
8886         sys/vtimes.h rather than vtimes.h.
8887         Add missing *s in vtimes prototype.
8888         (Limits on Resources): Fix ulimit prototype to return long int.
8889         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8890         prototypes to use long int rather than double.
8891         (BSD Random): Fix initstate and setstate to use char *, not void *.
8892         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8893         prototype to make second argument 'struct aiocb64 *const[]'.
8894         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8895         (Status of AIO Operations): Remove erroneous const in aio_return and
8896         aio_return64 prototypes.
8897         (Synchronizing I/O): Fix sync prototype to return void.
8898         * manual/startup.texi (Suboptions): Remove an erroneous const in
8899         getsubopt prototype.
8900         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8901         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8902         use size_t rather than int.
8903         (Scanning All Users): Likewise for getpwent_r.
8904         (Setting Groups): Add missing const to setgroups prototype.
8905         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8906         * manual/socket.texi (Host Names): Fix gethostbyaddr and
8907         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8908         'const void *' rather than 'const char *'.
8909         (Host Address Functions): Likewise for inet_ntop.
8910         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8911         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8912         ssize_t for return value.
8913         (Sending Data): Likewise for send, sendto, sendmsg.
8914         (Socket Option Functions): Add a missing const in setsockopt prototype.
8915         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8916         use wchar_t for the argument.
8917         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8918         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8919         take no arguments.
8920         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8921         double/float/long double for second argument.
8922         Fix return types of significand, significandf, significandl.
8923         * manual/filesys.texi (Setting Permissions): Use mode_t for second
8924         argument in fchmod prototype.
8925         (File Owner): Use uid_t and gid_t in fchown prototype.
8926         (File Times): Add const to utimes, futimes, and lutimes prototypes.
8927         (Making Special Files): Use mode_t and dev_t in mknod prototype.
8928         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8929         use 'const struct dirent **' as argument types to CMP function pointer
8930         argument.
8931         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8932         (File Times): Fix summary magic @comment for struct utimbuf and utime
8933         to refer to utime.h, not time.h.
8934         * manual/string.texi (Argz Functions): Add missing const in
8935         argz_extract and argz_next prototypes.
8936         (Finding Tokens in a String): Likewise for basename.
8937         (String/Array Comparison): Fix typo in wcscasecmp prototype.
8938         (Copying and Concatenation): Fix typo in wmemmove prototype.
8939         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8940         (Signal Stack): Remove erroneous const in sigstack prototype.
8941         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8942         prototype.
8943         (Simple Calendar Time): Likewise for stime.
8944         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8945         prototype.
8946         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8947         say sys/sysctl.h instead.
8948         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8949         and vsyslog prototypes.
8951 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8953         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8954         Remove.
8956 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8958         * misc/sys/mman.h: Fix typo in mremap comment.
8960 2013-02-08  Roland McGrath  <roland@hack.frob.com>
8962         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8963         the '\0' terminator.
8965 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
8967         [BZ #13550]
8968         * debug/segfault.c: Don't include <bp-checks.h>.
8969         * sysdeps/generic/bp-checks.h: Remove file.
8970         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8971         (__GETDENTS): Don't use CHECK_N.
8972         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8973         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8974         (__getgroups): Don't use CHECK_N.
8975         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8976         (setgroups): Don't use CHECK_N.
8977         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8978         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8979         (__libc_msgrcv): Don't use CHECK_N.
8980         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8981         (__libc_msgsnd): Don't use CHECK_N.
8982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8983         <bp-checks.h>.
8984         (__libc_pread): Don't use CHECK_N.
8985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8986         include <bp-checks.h>.
8987         (__libc_pread64): Don't use CHECK_N.
8988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8989         include <bp-checks.h>.
8990         (__libc_pwrite): Don't use CHECK_N.
8991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8992         include <bp-checks.h>.
8993         (__libc_pwrite64): Don't use CHECK_N.
8994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8995         <bp-checks.h>.
8996         (__libc_pread): Don't use CHECK_N.
8997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8998         include <bp-checks.h>.
8999         (__libc_pread64): Don't use CHECK_N.
9000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9001         include <bp-checks.h>.
9002         (__libc_pwrite): Don't use CHECK_N.
9003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9004         include <bp-checks.h>.
9005         (__libc_pwrite64): Don't use CHECK_N.
9006         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9007         (do_pread): Don't use CHECK_N.
9008         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9009         (do_pread64): Don't use CHECK_N.
9010         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9011         (do_pwrite): Don't use CHECK_N.
9012         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9013         (do_pwrite64): Don't use CHECK_N.
9014         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9015         (__libc_readv): Don't use CHECK_N.
9016         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9017         (semop): Don't use CHECK_N.
9018         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9019         <bp-checks.h>.
9020         (semtimedop): Don't use CHECK_N.
9021         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9022         (__libc_pread): Don't use CHECK_N.
9023         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9024         <bp-checks.h>.
9025         (__libc_pread64): Don't use CHECK_N.
9026         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9027         <bp-checks.h>.
9028         (__libc_pwrite): Don't use CHECK_N.
9029         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9030         <bp-checks.h>.
9031         (__libc_pwrite64): Don't use CHECK_N.
9032         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9033         <bp-checks.h>.
9034         (__libc_msgrcv): Don't use CHECK_N.
9035         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9036         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
9037         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9038         (__libc_writev): Don't use CHECK_N.
9040 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9042         * string/strcpy.c: Removed unused variable.
9044         * Makeconfig (+sysdep-includes): Define with := rather than =.
9045         Use an existing include/ subdir of each sysdeps dir before it.
9047 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9049         * nscd/connection.c (register_traced_file): Comment function.
9050         [HAVE_INOTIFY] (union __inev): Define.
9051         [HAVE_INOTIFY] (inotify_check_files): New function.
9052         [HAVE_INOTIFY] (clear_db_cache): Likewise.
9053         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9054         clear_db_cache.
9055         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9057 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9059         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9060         loaded if not already and that a failure is permanent.
9062 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9064         [BZ #15006]
9065         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9066         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9068 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9070         [BZ #13550]
9071         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9072         (CHECK_1_NULL_OK): Likewise.
9073         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9074         (__fxstat): Do not use CHECK_1.
9075         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9076         <bp-checks.h>.
9077         (___fxstat64): Do not use CHECK_1.
9078         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9079         <bp-checks.h>.
9080         (__fxstatat): Do not use CHECK_1.
9081         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9082         <bp-checks.h>.
9083         (__fxstatat64): Do not use CHECK_1.
9084         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9085         <bp-checks.h>.
9086         (__fxstat): Do not use CHECK_1.
9087         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9088         <bp-checks.h>.
9089         (__fxstatat): Do not use CHECK_1.
9090         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9091         <bp-checks.h>.
9092         (__getresgid): Do not use CHECK_1.
9093         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9094         <bp-checks.h>.
9095         (__getresuid): Do not use CHECK_1.
9096         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9097         <bp-checks.h>.
9098         (__lxstat): Do not use CHECK_1.
9099         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9100         <bp-checks.h>.
9101         (__old_msgctl): Do not use CHECK_1.
9102         (__new_msgctl): Likewise.
9103         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9104         <bp-checks.h>.
9105         (__new_setrlimit): Do not use CHECK_1.
9106         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9107         <bp-checks.h>.
9108         (__old_shmctl): Do not use CHECK_1.
9109         (__new_shmctl): Likewise.
9110         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9111         <bp-checks.h>.
9112         (__xstat): Do not use CHECK_1.
9113         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9114         (__lxstat): Do not use CHECK_1.
9115         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9116         <bp-checks.h>.
9117         (___lxstat64): Do not use CHECK_1.
9118         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9119         (__old_msgctl): Do not use CHECK_1.
9120         (__new_msgctl): Likewise.
9121         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9122         <bp-checks.h>.
9123         (__gettimeofday): Do not use CHECK_1.
9124         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9125         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9126         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9127         <bp-checks.h>.
9128         (__gettimeofday): Do not use CHECK_1.
9129         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9130         (__old_shmctl): Do not use CHECK_1_NULL_OK.
9131         (__new_shmctl): Do not use CHECK_1.
9132         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9133         <bp-checks.h>.
9134         (do_sigtimedwait): Do not use CHECK_1.
9135         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9136         <bp-checks.h>.
9137         (do_sigwaitinfo): Do not use CHECK_1.
9138         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9139         <bp-checks.h>.
9140         (msgctl): Do not use CHECK_1.
9141         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9142         <bp-checks.h>.
9143         (shmctl): Do not use CHECK_1.
9144         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9145         (ustat): Do not use CHECK_1.
9146         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9147         <bp-checks.h>.
9148         (__fxstat): Do not use CHECK_1.
9149         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9150         <bp-checks.h>.
9151         (__fxstatat): Do not use CHECK_1.
9152         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9153         <bp-checks.h>.
9154         (__lxstat): Do not use CHECK_1.
9155         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9156         <bp-checks.h>.
9157         (__xstat): Do not use CHECK_1.
9158         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9159         (__xstat): Do not use CHECK_1.
9160         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9161         (___xstat64): Do not use CHECK_1.
9163         [BZ #13550]
9164         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9165         definitions.
9166         (CHECK_BOUNDS_HIGH): Likewise.
9167         * string/strcpy.c: Do not include <bp-checks.h>.
9168         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9170 2013-02-07  Roland McGrath  <roland@hack.frob.com>
9172         * nscd/nscd-client.h (__nscd_drop_map_ref):
9173         Add __attribute__ ((unused)).
9174         * nis/nss-nisplus.h (niserr2nss): Likewise.
9176         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9177         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9179         * csu/libc-tls.c (init_static_tls, init_slotinfo):
9180         Remove inline keyword.
9181         * include/rounding-mode.h (round_away): Likewise.
9182         * libio/wfileops.c (adjust_wide_data): Likewise.
9183         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9184         (__m128i_strloadu_tolower): Likewise.
9185         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9186         (__m128i_strloadu_tolower): Likewise.
9187         * time/mktime.c (ydhms_diff): Likewise.
9188         * locale/elem-hash.h (elem_hash): Likewise.
9189         * locale/setlocale.c (setdata): Likewise.
9190         * posix/regex_internal.h (re_string_char_size_at): Likewise.
9191         (re_string_wchar_at): Likewise.
9192         (bitset_not, bitset_merge, bitset_mask): Likewise.
9193         [!(__GNUC__ > 3)] (inline): Remove macro.
9194         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9195         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9196         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9197         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9198         * string/memcmp.c (memcmp_bytes): Likewise.
9199         * locale/programs/locarchive.c (compute_hashval): Likewise.
9200         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9201         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9202         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9203         * nss/getent.c (print_rpc, print_protocols): Likewise.
9204         (print_passwd, print_group, print_aliases): Likewise.
9205         * nis/nss-nisplus.h (niserr2nss): Likewise.
9206         * nscd/connections.c (restart_p): Likewise.
9207         Change return type to bool.
9209 2013-02-05  Roland McGrath  <roland@hack.frob.com>
9211         * Makeconfig (all-Depend-files): Add existing
9212         $(sorted-subdirs:=/Depend) files.
9213         (all-subdirs): Remove nss.
9214         * sysdeps/unix/inet/Subdirs: Add it here instead.
9215         * hesiod/Depend: New file.
9217         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9218         instead of calling alloca.
9220         * io/lseek.c (__lseek): Rename to __libc_lseek.
9221         Define __lseek as an alias.
9223         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9225 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
9227         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9228         else clause and remove check for non-standard endianness.
9230 2013-02-04  David S. Miller  <davem@davemloft.net>
9232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9234 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
9236         [BZ #13550]
9237         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9238         (__ubp_memchr): Remove prototype.
9239         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9240         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9241         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9242         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9243         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9244         Remove alias.
9245         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9246         (__ubp_memchr): Likewise.
9247         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9248         (__ubp_memchr): Likewise.
9249         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9250         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9251         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9252         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9253         CHECK_STRING.
9254         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9255         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9256         (__getcwd): Do not use CHECK_STRING.
9257         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9258         <bp-checks.h>.
9259         (__real_chown): Do not use CHECK_STRING.
9260         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9261         <bp-checks.h>.
9262         (fchownat): Do not use CHECK_STRING.
9263         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9264         CHECK_STRING.
9265         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9266         <bp-checks.h>.
9267         (__lchown): Do not use CHECK_STRING.
9268         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9269         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9270         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9271         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9273         include <bp-checks.h>.
9274         (truncate64): Do not use CHECK_STRING.
9275         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9276         <bp-checks.h>.
9277         (__real_chown): Do not use CHECK_STRING.
9278         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9279         <bp-checks.h>.
9280         (__lchown): Do not use CHECK_STRING.
9281         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9282         <bp-checks.h>.
9283         (__chown): Do not use CHECK_STRING.
9284         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9285         <bp-checks.h>.
9286         (truncate64): Do not use CHECK_STRING.
9287         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9288         Likewise.
9289         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9290         (__xmknod): Do not use CHECK_STRING.
9291         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9292         <bp-checks.h>.
9293         (__xmknodat): Do not use CHECK_STRING.
9294         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9295         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9297 2013-02-04  Andreas Schwab  <schwab@suse.de>
9299         [BZ #14142]
9300         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9301         * include/netdb.h: Likewise for h_errno.
9302         * elf/tst-stackguard1.c: Include <tls.h>.
9304 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9306         * elf/link.h (struct link_map): Extend the l_addr comment.
9307         * include/link.h (struct link_map): Likewise.
9309 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
9311         [BZ #13550]
9312         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9313         (BOUNDED_1): Remove macro.
9314         * debug/backtrace.c: Don't include <bp-checks.h>.
9315         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9316         (__backtrace): Likewise.
9317         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9318         <bp-checks.h>.
9319         (__backtrace): Don't use BOUNDED_1.
9320         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9321         <bp-checks.h>.
9322         (__backtrace): Don't use BOUNDED_1.
9323         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9324         (__backtrace): Don't use BOUNDED_1.
9325         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9326         (shmat): Don't use BOUNDED_N.
9328 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
9330         [BZ #13550]
9331         * sysdeps/generic/bp-start.h: Remove file.
9332         * csu/libc-start.c: Don't include <bp-start.h>.
9333         (LIBC_START_MAIN): Set up __environ directly instead of using
9334         INIT_ARGV_and_ENVIRON.
9335         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9336         <bp-start.h>.
9338         [BZ #13550]
9339         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9340         definitions.
9341         (CHECK_FCNTL): Likewise.
9342         (CHECK_N_PAGES): Likewise.
9344         [BZ #13550]
9345         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9346         definitions.
9347         (CHECK_SIGSET_NULL_OK): Likewise.
9348         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9349         <bp-checks.h>.
9350         (sigpending): Don't use CHECK_SIGSET.
9351         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9352         <bp-checks.h>.
9353         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9354         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9355         <bp-checks.h>.
9356         (do_sigsuspend): Don't use CHECK_SIGSET.
9357         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9358         use CHECK_SIGSET.
9359         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9360         (do_sigwait): Don't use CHECK_SIGSET.
9361         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9362         use CHECK_SIGSET.
9363         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9364         include <bp-checks.h>.
9365         (sigpending): Don't use CHECK_SIGSET.
9366         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9367         include <bp-checks.h>.
9368         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9369         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9370         <bp-checks.h>.
9371         (sigpending): Don't use CHECK_SIGSET.
9372         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9373         <bp-checks.h>.
9374         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9376         [BZ #13550]
9377         * sysdeps/generic/bp-semctl.h: Remove file.
9378         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9379         <bp-checks.h> and <bp-semctl.h>.
9380         (__old_semctl): Don't use CHECK_SEMCTL.
9381         (__new_semctl): Likewise.
9382         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9383         and <bp-semctl.h>.
9384         (__old_semctl): Don't use CHECK_SEMCTL.
9385         (__new_semctl): Likewise.
9386         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9387         <bp-checks.h> and <bp-semctl.h>.
9388         (__old_semctl): Don't use CHECK_SEMCTL.
9389         (__new_semctl): Likewise.
9390         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9391         <bp-checks.h> and <bp-semctl.h>.
9392         (semctl): Don't use CHECK_SEMCTL.
9394         [BZ #13550]
9395         * Makerules (elide-bp-thunks): Remove variable.
9396         (elide-routines.oS): Don't use $(elide-bp-thunks).
9397         (elide-routines.os): Likewise.
9398         (elide-routines.o): Likewise.
9399         (elide-routines.op): Likewise.
9400         (elide-routines.og): Likewise.
9401         (objects): Don't use $(bp-thunks).
9402         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9403         include.
9404         (common-generated): Do not add s-proto-bp.d.
9405         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9406         (int): Likewise.
9407         (typ): Likewise.
9408         Do not generate makefile rules for bounded-pointer thunks.
9409         * sysdeps/generic/bp-thunks.h: Remove file.
9410         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9411         * sysdeps/unix/s-proto-bp.S: Likewise.
9413         [BZ #15062]
9414         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9415         parts of result separately when argument is not close to line from
9416         -i to i and one part of argument is small.
9417         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9418         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9419         * math/libm-test.inc (cacos_test): Add more tests.
9420         (casin_test): Likewise.
9421         (casinh_test): Likewise.
9422         * sysdeps/i386/fpu/libm-test-ulps: Update.
9423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9425 2013-01-31  David S. Miller  <davem@davemloft.net>
9427         * po/de.po: Update from translation team.
9429 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
9431         * time/tzfile.c: Include stdint.h for SIZE_MAX.
9433 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
9435         * configure.in (_AC_PROG_CC_C89): New definition.
9436         * configure: Regenerate.
9438         * configure.in (AC_PROG_CPP): New definition.
9439         * configure: Regenerate.
9441 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
9443         * debug/tst-backtrace.h: New file.
9444         * debug/tst-backtrace2.c: Include tst-backtrace.h.
9445         (ret): Remove variable.
9446         (x): Likewise.
9447         (FAIL): Remove macro.
9448         (NO_INLINE): Likewise.
9449         (fn1): Use match function instead of strstr.
9450         * debug/tst-backtrace3.c: Include tst-backtrace.h.
9451         (ret): Remove variable.
9452         (x): Likewise.
9453         (FAIL): Remove macro.
9454         (NO_INLINE): Likewise.
9455         (fn): Use match function instead of strstr.
9456         * debug/tst-backtrace4.c: Include tst-backtrace.h.
9457         (ret): Remove variable.
9458         (x): Likewise.
9459         (FAIL): Remove macro.
9460         (NO_INLINE): Likewise.
9461         (handle_signal): Use match function instead of strstr.
9462         * debug/tst-backtrace5.c: Include tst-backtrace.h.
9463         (ret): Remove variable.
9464         (x): Likewise.
9465         (FAIL): Remove macro.
9466         (NO_INLINE): Likewise.
9467         (handle_signal): Use match function instead of strstr.
9469 2013-01-23  Roland McGrath  <roland@hack.frob.com>
9471         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9473 2013-01-23  David S. Miller  <davem@davemloft.net>
9475         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9476         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9477         argument of CAS if possible.
9478         * sysdeps/sparc/sparc64/bits/atomic.h
9479         (__arch_compare_and_exchange_val_32_acq): Likewise.
9480         (__arch_compare_and_exchange_val_64_acq): Likewise.
9482 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
9484         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9485         * sysdeps/posix/ulimit.c: ... this.
9486         Include <limits.h>.
9487         * sysdeps/unix/bsd/ulimit.c: Remove file.
9489 2013-01-23  Adam Conrad  <adconrad@0c3.net>
9491         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9492         (LDFLAGS-tst-array5): Likewise.
9494 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
9496         [BZ #15036]
9497         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9498         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9499         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9500         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9502 2013-01-21  David S. Miller  <davem@davemloft.net>
9504         * sysdeps/sparc/backtrace.c: New file.
9505         * sysdeps/sparc/sparc32/backtrace.h: New file.
9506         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9507         * sysdeps/sparc/sparc64/backtrace.h: New file.
9508         * sysdeps/sparc/sparc64/backtrace.c: Delete.
9509         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9510         -funwind-tables.
9512 2013-01-21  Andreas Schwab  <schwab@suse.de>
9514         [BZ #15020]
9515         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9516         closed its stdout.
9518 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
9520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9521         "mpa2.h".
9522         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9524 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
9525             Mark Mitchell  <mark@codesourcery.com>
9526             Tom de Vries  <tom@codesourcery.com>
9527             Paul Pluzhnikov  <ppluzhnikov@google.com>
9529         * debug/tst-backtrace2.c: New file.
9530         * debug/tst-backtrace3.c: Likewise.
9531         * debug/tst-backtrace4.c: Likewise.
9532         * debug/tst-backtrace5.c: Likewise.
9533         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9534         (CFLAGS-tst-backtrace3.c): Likewise.
9535         (CFLAGS-tst-backtrace4.c): Likewise.
9536         (CFLAGS-tst-backtrace5.c): Likewise.
9537         (LDFLAGS-tst-backtrace2): Likewise.
9538         (LDFLAGS-tst-backtrace3): Likewise.
9539         (LDFLAGS-tst-backtrace4): Likewise.
9540         (LDFLAGS-tst-backtrace5): Likewise.
9541         (tests): Add new tests tst-backtrace2, tst-backtrace3,
9542         tst-backtrace4 and tst-backtrace5.
9544 2013-01-18  Anton Blanchard  <anton@samba.org>
9545             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9547         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9548         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9549         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9550         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9552         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9553         "+r" and remove output regs list as redundant.  Add explicit inline
9554         asm to specify register of return val to work around compiler codegen
9555         bug.  Remove (int) cast on return value.  Add return type parameter to
9556         use in macro so that this macro does not truncate return value for
9557         64-bit values.
9558         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9559         pass to INTERNAL_VSYSCALL_NCS.
9560         (INLINE_VSYSCALL): Add 'long int' as return type to
9561         INTERNAL_VSYSCALL_NCS macro invocation.
9562         (INTERNAL_VSYSCALL): Add 'long int' as return type to
9563         INTERNAL_VSYSCALL_NCS macro invocation.
9564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9566 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9568         [BZ #14496]
9569         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9570         Fix application of SIMD FP exception mask.
9572         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9573         mp_no from a power of two.
9574         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9575         __mpexp_twomm1.  Use __pow_mp.
9577         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9578         multiplication.
9580 2013-01-17  David S. Miller  <davem@davemloft.net>
9582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9584 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
9586         [BZ #15023]
9587         * include/complex.h: Condition contents on [!_COMPLEX_H].
9588         (__kernel_casinhf): New prototype.
9589         (__kernel_casinh): Likewise.
9590         (__kernel_casinhl): Likewise.
9591         * math/Makefile (libm_calls): Add k_casinh.
9592         * math/k_casinh.c: New file.
9593         * math/k_casinhf.c: Likewise.
9594         * math/k_casinhl.c: Likewise.
9595         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9596         finite nonzero arguments.
9597         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9598         finite nonzero arguments.
9599         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9600         finite nonzero arguments.
9601         * math/s_casinh.c: Do not include <float.h>.
9602         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9603         * math/s_casinhf.c: Do not include <float.h>.
9604         (__casinhf): Move code for finite nonzero arguments to
9605         k_casinhf.c.
9606         * math/s_casinhl.c: Do not include <float.h>.
9607         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9608         redefine.
9609         (__casinhl): Move code for finite nonzero arguments to
9610         k_casinhl.c.
9611         * math/libm-test.inc (cacos_test): Add more tests.
9612         * sysdeps/i386/fpu/libm-test-ulps: Update.
9613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9615 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
9617         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9618         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9619         [!HAVE_MREMAP]: Remove [defined linux] case.
9620         * malloc/arena.c: Do not include <malloc-sysdep.h>.
9622 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9624         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9626 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
9628         * elf/elf.h (R_386_SIZE32): New relocation.
9629         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9630         R_386_SIZE32.
9631         (elf_machine_rela): Likewise.
9632         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9633         R_X86_64_SIZE64 and R_X86_64_SIZE32.
9635 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
9637         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9638         (FP_FAST_FMA): Do not define.
9639         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9640         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9641         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9642         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9643         !_SOFT_FLOAT]: Likewise.
9644         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9645         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9646         value.
9647         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9648         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9649         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9650         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9651         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9652         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9653         file.
9655 2013-01-16  Andreas Schwab  <schwab@suse.de>
9657         [BZ #14327]
9658         * include/stdlib.h (__mktemp): Add declaration.
9659         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9660         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9662 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9664         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9665         definitions.
9666         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9667         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9668         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9669         definitions here.
9670         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9671         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9672         definitions.
9673         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9674         and ONE.
9675         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9676         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9677         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9678         definitions.
9679         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9680         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9681         definitions.
9682         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9684         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9686 2013-01-15  David S. Miller  <davem@davemloft.net>
9688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9689         trunc{,f} to libm-sysdep_routes.
9690         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9692         file.
9693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9695         file.
9696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9697         file.
9698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9700         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9701         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9702         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9703         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9704         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9705         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9708         nearbyint{,f} to libm-sysdep_routes.
9709         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9711         New file.
9712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9713         file.
9714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9715         New file.
9716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9717         file.
9718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9720         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9721         file.
9722         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9723         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9724         file.
9725         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9726         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9727         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9729         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9730         libc_feholdexcept and libc_fesetenv.
9732 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
9734         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9736 2013-01-14  David S. Miller  <davem@davemloft.net>
9738         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9739         (SPARC_ASM_VIS2_IFUNC): Likewise.
9740         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9742         use of 'siam' instruction.
9743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9744         Likewise.
9745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9746         Likewise.
9747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9748         Likewise.
9749         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9750         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9751         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9752         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9754         file.
9755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9756         file.
9757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9758         file.
9759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9760         file.
9761         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9762         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9763         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9764         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9766         new VIS2 routines.
9767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9770         Likewise.
9771         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9772         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9773         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9774         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9776         routines to libm-sysdep_routines.
9777         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9780         fdim/fdimf to libm-sysdep_routines.
9781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9782         file.
9783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9785         file.
9786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9789         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9790         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9791         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9792         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9794 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9796         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9797         to optimize copies.
9799         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9801         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9804         local variable MPTWO.
9805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9806         Likewise.
9808 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9810         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9811         GLOB_NOESCAPE.
9813 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9815         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9817 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9819         * manual/pattern.texi (glob_t): Document gl_flags.
9820         (glob64_t): Likewise.
9822 2013-01-11  David S. Miller  <davem@davemloft.net>
9824         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9825         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9826         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
9827         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9828         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9829         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9830         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9831         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9832         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9833         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9834         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9835         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9836         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9838         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9839         sparc V9 rather than using V8 code.
9840         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9841         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9843         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9844         Move to...
9845         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9846         Here.
9848 2013-01-11  Roland McGrath  <roland@hack.frob.com>
9850         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9851         not in the main loop.
9852         * configure: Regenerated.
9854 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
9856         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9857         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9858         to just #else.
9859         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
9860         [!__GLIBC_HAVE_LONG_LONG] case.
9861         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9862         condition to just #else.
9863         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9864         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9865         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9866         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9867         unconditional.
9868         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9869         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9870         #elif condition to just #else.
9871         * sysdeps/unix/sysv/linux/sys/sysmacros.h
9872         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9873         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9874         #elif condition to just #else.
9876 2013-01-11  Steve Ellcey  <sellcey@mips.com>
9878         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9879         (EF_MIPS_ARCH_64): Fix value.
9880         (EF_MIPS_ARCH_32R2): New.
9881         (EF_MIPS_ARCH_64R2): New.
9883 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
9885         * Makeconfig (+link-pie-before-libc): New.
9886         (+link-pie-after-libc): Likewise.
9887         (+link-pie-tests): Likewise.
9888         (+link-pie): Rewritten.
9889         (link-before-libc): Remove $(config-LDFLAGS).
9890         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9891         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9892         (config-LDFLAGS): Renamed to ...
9893         (rtld-LDFLAGS): This.
9894         (rtld-tests-LDFLAGS): New macro.
9895         (link-libc-rpath-link): Likewise.
9896         (link-libc-tests-rpath-link): Likewise.
9897         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9898         (link-libc): Prepand $(link-libc-rpath-link).
9899         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9900         (test-program-prefix): New macro.
9901         (test-via-rtld-prefix): Likewise.
9902         (test-program-cmd): Likewise.
9903         (host-test-program-cmd): Likewise.
9904         * Makefile ($(common-objpfx)testrun.sh): Replace
9905         $(run-program-prefix) with $(test-program-prefix).
9906         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9907         $(rtld-LDFLAGS).
9908         ($(common-objpfx)shlib.lds): Likewise.
9909         (build-module-helper): Likewise.
9910         ($(common-objpfx)format.lds): Likewise.
9911         * Rules (binaries-pie-tests): New.
9912         (binaries-pie-notests): Likewise.
9913         (binaries-pie): Rewritten.
9914         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9915         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9916         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9917         (make-test-out): Replace $(host-built-program-cmd) with
9918         $(host-test-program-cmd).
9919         * config.make.in (build-hardcoded-path-in-tests): New variable.
9920         * configure.in (--enable-hardcoded-path-in-tests): New configure
9921         option.
9922         (hardcoded_path_in_tests): New AC_SUBST.
9923         * configure: Regenerated.
9924         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9925         $(built-program-cmd) with $(test-program-cmd).
9926         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9927         (test_program_cmd): This.
9928         * elf/Makefile ($(objpfx)order.out): Run test with
9929         $(test-program-prefix).
9930         ($(objpfx)order2.out): Likewise.
9931         ($(objpfx)tst-initorder.out): Likewise.
9932         ($(objpfx)tst-initorder2.out): Likewise.
9933         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9934         $(test-program-cmd).
9935         ($(objpfx)tst-array1-static.out): Likewise.
9936         ($(objpfx)tst-array2.out): Likewise.
9937         ($(objpfx)tst-array3.out): Likewise.
9938         ($(objpfx)tst-array4.out): Likewise.
9939         ($(objpfx)tst-array5.out): Likewise.
9940         ($(objpfx)tst-array5-static.out): Likewise.
9941         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9942         $(test-program-cmd).
9943         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9944         $(run-program-prefix) with $(test-program-prefix).
9945         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9946         (test_program_prefix): This.
9947         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9948         $(run-program-prefix) with $(test-program-prefix).
9949         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9950         (test_program_prefix): This.
9951         * iconvdata/tst-tables.sh: Likewise.
9952         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9953         $(run-program-prefix) with $(test-program-prefix).
9954         ($(objpfx)tst-translit.out): Likewise.
9955         ($(objpfx)tst-gettext2.out): Likewise.
9956         ($(objpfx)tst-gettext4.out): Likewise.
9957         ($(objpfx)tst-gettext6.out): Likewise.
9958         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9959         (test_program_prefix): This.
9960         * intl/tst-gettext2.sh: Likewise.
9961         * intl/tst-gettext4.sh  Likewise.
9962         * intl/tst-gettext6.sh: Likewise.
9963         * intl/tst-translit.sh: Likewise.
9964         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9965         with $(test-program-cmd).
9966         * libio/Makefile ($(objpfx)test-freopen.out): Replace
9967         $(run-program-prefix) with $(test-program-prefix).
9968         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9969         (test_program_prefix): This.
9970         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9971         $(run-program-prefix) with $(test-program-prefix).
9972         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9973         (test_program_prefix): This.
9974         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9975         * posix/Makefile ($(objpfx)globtest.out): Replace
9976         $(run-via-rtld-prefix) and $(test-wrapper) with
9977         $(test-program-prefix) and $(test-via-rtld-prefix).
9978         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9979         $(test-program-prefix).
9980         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9981         $(host-test-program-cmd).
9982         (tst-spawn-ARGS): Likewise.
9983         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9984         $(test-program-prefix).
9985         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9986         (test_via_rtld_prefix): This.
9987         (test_wrapper): Renamed to ...
9988         (test_program_prefix): This.
9989         (run_program_prefix): Replaced by test_program_prefix.
9990         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9991         (test_program_prefix): This.
9992         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9993         with $(host-test-program-cmd).
9994         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9995         $(run-program-prefix) with $(test-program-prefix).
9996         ($(objpfx)tst-printf.out): Likewise.
9997         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9998         $(test-program-cmd).
9999         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10000         (test_program_prefix): This.
10001         * stdio-common/tst-unbputc.sh: Likewise.
10002         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10003         $(run-program-prefix) with $(test-program-prefix).
10004         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10005         (test_program_prefix): This.
10006         * string/Makefile ($(objpfx)tst-svc.out):  Replace
10007         $(built-program-cmd) with $(test-program-cmd).
10009 2013-01-11  Andreas Jaeger  <aj@suse.de>
10011         [BZ #15003]
10012         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10013         value. Sync with Linux 3.7.
10015 2013-01-10  David S. Miller  <davem@davemloft.net>
10017         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10018         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10019         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10021 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10023         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10024         never set.
10025         * configure: Regenerated.
10027 2013-01-10  David S. Miller  <davem@davemloft.net>
10029         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10030         sparc V9 rather than using V8 code.
10031         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10032         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10034 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10036         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10037         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10038         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10039         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10040         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10041         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10042         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10043         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10044         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10045         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10046         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10047         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10048         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10049         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10050         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10051         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10052         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10053         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10054         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10055         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10056         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10057         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10058         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10059         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10060         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10061         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10062         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10064 2013-01-10  David S. Miller  <davem@davemloft.net>
10066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10068 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10070         * posix/Makefile (tests-static): New variable.
10071         (tests): Add $(tests-static).
10072         (tst-exec-static-ARGS): New variable.
10073         (tst-spawn-static-ARGS): Likewise.
10074         * posix/tst-exec-static.c: New file.
10075         * posix/tst-spawn-static.c: Likewise.
10076         * posix/tst-exec.c: Support run directly.
10077         * posix/tst-spawn.c: Likewise.
10079 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
10081         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10082         long.
10083         * math/bits/mathcalls.h (llrint): Likewise.
10084         (llround): Likewise.
10085         * stdlib/stdlib.h (struct drand48_data): Likewise.
10086         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10087         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10088         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10089         Likewise.
10090         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10091         Likewise.
10092         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10093         (elf_greg_t): Likewise.
10094         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10095         (__jmp_buf): Likewise.
10096         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10097         definitions.
10098         (llrint): Likewise, for all definitions.
10099         (llrintl): Likewise.
10101         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10102         Remove [__GNUC__] condition.
10103         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10104         condition to just [__USE_ISOC99].
10105         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10107 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10109         [BZ #14200]
10110         * sysdeps/unix/sysv/linux/x86/bits/environments.h
10111         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10112         defined.
10113         (_POSIX_V6_ILP32_OFF32): Likewise.
10114         (_XBS5_ILP32_OFF32): Likewise.
10115         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10116         (__ILP32_OFFBIG_LDFLAGS): Likewise.
10118 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10120         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10122         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10123         doubles __mpexp_twomm1.  Adjust usage.
10124         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10125         Remove.
10127 2013-01-10  Andreas Schwab  <schwab@suse.de>
10129         [BZ #14964]
10130         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10131         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10133 2013-01-09  David S. Miller  <davem@davemloft.net>
10135         [BZ #15003]
10136         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10137         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10138         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10139         TCP_FASTOPEN): Define.
10140         (tcp_repair_opt): New structure.
10141         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10142         enum values.
10143         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10144         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10145         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10146         (tcp_cookie_transactions): New structure.
10148 2013-01-09  Anton Blanchard  <anton@samba.org>
10150         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10151         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10152         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10153         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10155 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
10157         * include/features.h (__USE_ANSI): Remove.
10159 2013-01-09  Roland McGrath  <roland@hack.frob.com>
10161         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10163         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10165 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
10167         * sysdeps/s390/fpu/libm-test-ulps: Update.
10169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10171         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10172         (__acr): Likewise.
10173         (__cpy): Likewise.
10174         (norm): Likewise.
10175         (denorm): Likewise.
10176         (__mp_dbl): Likewise.
10177         (__dbl_mp): Likewise.
10178         (add_magnitudes): Likewise.
10179         (sub_magnitudes): Likewise.
10180         (__add): Likewise.
10181         (__sub): Likewise.
10182         (__mul): Likewise.
10183         (__inv): Likewise.
10184         (__dvd): Likewise.
10185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10186         (__acr): Likewise.
10187         (__cpy): Likewise.
10188         (norm): Likewise.
10189         (denorm): Likewise.
10190         (__mp_dbl): Likewise.
10191         (__dbl_mp): Likewise.
10192         (add_magnitudes): Likewise.
10193         (sub_magnitudes): Likewise.
10194         (__add): Likewise.
10195         (__sub): Likewise.
10196         (__mul): Likewise.
10197         (__inv): Likewise.
10198         (__dvd): Likewise.
10199         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10200         (__acr): Likewise.
10201         (__cpy): Likewise.
10202         (norm): Likewise.
10203         (denorm): Likewise.
10204         (__mp_dbl): Likewise.
10205         (__dbl_mp): Likewise.
10206         (add_magnitudes): Likewise.
10207         (sub_magnitudes): Likewise.
10208         (__add): Likewise.
10209         (__sub): Likewise.
10210         (__mul): Likewise.
10211         (__inv): Likewise.
10212         (__dvd): Likewise.
10214 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
10216         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10217         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10218         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10219         2 && __USE_EXTERN_INLINES]: Likewise.
10221 2013-01-08  Andreas Jaeger  <aj@suse.de>
10223         [BZ# 14985]
10224         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10225         Remove.
10226         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10227         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10229 2013-01-07  Anton Blanchard  <anton@samba.org>
10231         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10232         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10233         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10234         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10235         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10236         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10237         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10238         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10240         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10241         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10242         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10243         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10244         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10245         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10246         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10247         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10248         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10249         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10250         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10251         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10252         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10253         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10254         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10255         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10256         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10257         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10258         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10259         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10260         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10261         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10263         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10264         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10265         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10266         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10267         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10268         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10269         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10270         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10271         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10272         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10273         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10275 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
10277         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10278         (__MALLOC_PMT): Likewise.
10279         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10280         [__GNUC__], only on [_LIBC].
10281         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10282         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10283         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10284         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10285         forward declaration.
10286         (realloc_hook_ini): Likewise.
10287         (memalign_hook_ini): Likewise.
10288         (__libc_memalign): Do not use __MALLOC_PMT in variable
10289         declaration.
10290         (__libc_valloc): Likewise.
10291         (__libc_pvalloc): Likewise.
10292         (__libc_calloc): Likewise.
10293         (__posix_memalign): Likewise.
10295         [BZ #14996]
10296         * math/s_casinh.c: Include <float.h>.
10297         (__casinh): Do not do computation with squaring and square root
10298         for large arguments.
10299         * math/s_casinhf.c: Include <float.h>.
10300         (__casinhf): Do not do computation with squaring and square root
10301         for large arguments.
10302         * math/s_casinhl.c: Include <float.h>.
10303         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10304         (__casinhl): Do not do computation with squaring and square root
10305         for large arguments.
10306         * math/libm-test.inc (casin_test): Add more tests.
10307         (casinh_test): Likewise.
10308         * sysdeps/i386/fpu/libm-test-ulps: Update.
10309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10311 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
10313         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10314         (__x86_64_raw_data_cache_size): Likewise.
10315         (__x86_64_data_cache_size_half): Likewise.
10316         (__x86_64_raw_data_cache_size_half): Likewise.
10317         (__x86_64_shared_cache_size): Likewise.
10318         (__x86_64_raw_shared_cache_size): Likewise.
10319         (__x86_64_shared_cache_size_half): Likewise.
10320         (__x86_64_raw_shared_cache_size_half): Likewise.
10321         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10322         to ...
10323         (__x86_data_cache_size): This.
10324         (__x86_64_raw_data_cache_size): Renamed to ...
10325         (__x86_raw_data_cache_size): This.
10326         (__x86_64_data_cache_size_half): Renamed to ...
10327         (__x86_data_cache_size_half): This.
10328         (__x86_64_raw_data_cache_size_half): Renamed to ...
10329         (__x86_raw_data_cache_size_half): This.
10330         (__x86_64_shared_cache_size): Renamed to ...
10331         (__x86_shared_cache_size): This.
10332         (__x86_64_raw_shared_cache_size): Renamed to ...
10333         (__x86_raw_shared_cache_size): This.
10334         (__x86_64_shared_cache_size_half): Renamed to ...
10335         (__x86_shared_cache_size_half): This.
10336         (__x86_64_raw_shared_cache_size_half): Renamed to ...
10337         (__x86_raw_shared_cache_size_half): This.
10338         * sysdeps/x86_64/memcpy.S: Updated.
10339         * sysdeps/x86_64/memset.S: Likewise.
10340         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10341         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10342         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10344 2013-01-04  David S. Miller  <davem@davemloft.net>
10346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10348 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
10350         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10351         1 to avoid redefinition warning.
10352         (__USE_GNU): Don't define.
10353         (init_signaling_nan): Protoize.
10355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10357 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10359         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10360         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10361         (__cpymn): Likewise.
10362         (norm): Remove commented code.
10363         (denorm): Likewise.
10364         (__mp_dbl): Likewise.
10365         (__inv): Likewise.
10366         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10367         (__cpymn): Likewise.
10368         (norm): Remove commented code.
10369         (denorm): Likewise.
10370         (__mp_dbl): Likewise.
10371         (__inv): Likewise.
10373         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10374         mp_no value for 1.0 and 2.0.
10375         (norm): Use RADIXI instead of radixi.d.
10376         (denorm): Likewise.
10377         (__mul): Use 0.0 instead of zero.d.
10378         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10379         mp_no value for 1.0 and 2.0.
10380         (norm): Use RADIXI instead of radixi.d.
10381         (denorm): Likewise.
10382         (__mul): Use 0.0 instead of zero.d.
10384 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
10386         [BZ #14994]
10387         * math/s_casinh.c (__casinh): Reduce finite argument to first
10388         quadrant then set signs of results at the end.
10389         * math/s_casinhf.c (__casinhf): Likewise.
10390         * math/s_casinhl.c (__casinhl): Likewise.
10391         * math/libm-test.inc (casin_test): Add more tests.
10392         (casinh_test): Likewise.
10393         * sysdeps/i386/fpu/libm-test-ulps: Update.
10394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10396 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10398         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10400         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10402         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10403         declarations.
10404         (denorm): Likewise.
10405         (__mp_dbl): Likewise.
10406         (__inv): Likewise.
10408         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10409         and adjust the header comment.
10411         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10412         variable name from declaration.
10414 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
10416         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10417         Initialize COMMON_CPUID_INDEX_7 element.
10418         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10419         (CPUID_RTM): Likewise.
10420         (HAS_RTM): Likewise.
10421         (COMMON_CPUID_INDEX_7): New enum.
10423 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
10425         [BZ #14981]
10426         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10427         size is zero, record memory as freed.
10429 2013-01-03  Andreas Jaeger  <aj@suse.de>
10431         * po/ia.po: Add new Interlingua translation.
10433 2012-01-03  Allan McRae  <allan@archlinux.org>
10435         * locale/programs/localedef.c: Fix description of '--posix' flag.
10437 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
10439         * NEWS: Update dates in second copyright notice.
10440         * README: Update copyright dates in example.
10441         * manual/libc.texinfo: Update copyright dates.
10442         * scripts/test-installation.pl: Update copyright date in --version
10443         output.
10445         * hurd/ctty-input.c: Fix copyright notice formatting.
10446         * hurd/ctty-output.c: Likewise.
10447         * hurd/dtable.c: Likewise.
10448         * hurd/hurd-raise.c: Likewise.
10449         * hurd/hurdprio.c: Likewise.
10450         * hurd/msgportdemux.c: Likewise.
10451         * misc/sys/file.h: Likewise.
10452         * misc/sys/ioctl.h: Likewise.
10453         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10454         * sysdeps/mach/hurd/chdir.c: Likewise.
10455         * sysdeps/mach/hurd/fchdir.c: Likewise.
10456         * sysdeps/mach/hurd/rename.c: Likewise.
10457         * sysdeps/mach/hurd/rmdir.c: Likewise.
10458         * sysdeps/mach/hurd/seekdir.c: Likewise.
10459         * sysdeps/mach/hurd/setsid.c: Likewise.
10460         * sysdeps/posix/wait3.c: Likewise.
10462         * All files with FSF copyright notices: Update copyright dates
10463         using scripts/update-copyrights.
10464         * intl/plural.c: Regenerated.
10465         * locale/programs/charmap-kw.h: Likewise.
10466         * locale/programs/locfile-kw.h: Likewise.
10468 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10470         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10471         four values.
10473         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10474         calculation loop and add branch prediction.
10476         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10477         check access beyond bounds of m1np.
10479         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10480         MPTWO.
10481         (__inv): Remove local variable MPTWO to use the global
10482         constant.
10483         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10484         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10485         variable MPTWO.
10486         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10487         MP3HALFS static const.
10489 2013-01-01  David S. Miller  <davem@davemloft.net>
10491         * po/ca.po: Update from translation team.
10493 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
10495         * scripts/update-copyrights: New file.
10496         * Makeconfig: Reformat copyright notice.
10497         * ctype/ctype.h: Likewise.
10498         * debug/swprintf_chk.c: Likewise.
10499         * elf/dl-cache.c: Likewise.
10500         * elf/dl-debug.c: Likewise.
10501         * elf/dl-object.c: Likewise.
10502         * grp/initgroups.c: Likewise.
10503         * hurd/Makefile: Likewise.
10504         * hurd/hurd/signal.h: Likewise.
10505         * hurd/hurdfault.c: Likewise.
10506         * hurd/hurdioctl.c: Likewise.
10507         * hurd/hurdlookup.c: Likewise.
10508         * hurd/intr-msg.c: Likewise.
10509         * iconv/gconv_open.c: Likewise.
10510         * libio/swprintf.c: Likewise.
10511         * locale/lc-ctype.c: Likewise.
10512         * locale/nl_langinfo.c: Likewise.
10513         * mach/Machrules: Likewise.
10514         * mach/Makefile: Likewise.
10515         * malloc/obstack.h: Likewise.
10516         * manual/Makefile: Likewise.
10517         * manual/tsort.awk: Likewise.
10518         * misc/bits/stab.def: Likewise.
10519         * nis/nis_print_group_entry.c: Likewise.
10520         * nis/nis_table.c: Likewise.
10521         * nis/nss_compat/compat-pwd.c: Likewise.
10522         * nis/nss_compat/compat-spwd.c: Likewise.
10523         * po/Makefile: Likewise.
10524         * posix/fnmatch.c: Likewise.
10525         * posix/regex.h: Likewise.
10526         * resolv/Makefile: Likewise.
10527         * resolv/nss_dns/dns-network.c: Likewise.
10528         * resolv/res_hconf.c: Likewise.
10529         * scripts/gen-sorted.awk: Likewise.
10530         * soft-fp/soft-fp.h: Likewise.
10531         * stdio-common/printf.h: Likewise.
10532         * stdlib/monetary.h: Likewise.
10533         * stdlib/random.c: Likewise.
10534         * stdlib/random_r.c: Likewise.
10535         * sysdeps/generic/Makefile: Likewise.
10536         * sysdeps/gnu/Makefile: Likewise.
10537         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10538         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10539         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10540         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10541         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10542         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10543         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10544         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10545         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10546         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10547         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10548         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10549         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10550         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10551         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10552         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10553         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10554         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10555         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10556         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10557         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10558         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10559         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10560         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10561         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10562         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10563         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10564         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10565         * sysdeps/mach/hurd/errnos.awk: Likewise.
10566         * sysdeps/mach/hurd/fork.c: Likewise.
10567         * sysdeps/mach/hurd/getcwd.c: Likewise.
10568         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10569         * sysdeps/mach/hurd/mmap.c: Likewise.
10570         * sysdeps/mach/hurd/utimes.c: Likewise.
10571         * sysdeps/mach/hurd/xmknod.c: Likewise.
10572         * sysdeps/posix/profil.c: Likewise.
10573         * sysdeps/posix/readdir_r.c: Likewise.
10574         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10575         * sysdeps/powerpc/bits/setjmp.h: Likewise.
10576         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10577         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10578         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10579         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10580         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10581         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10583         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10584         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10585         * sysdeps/pthread/lio_listio.c: Likewise.
10586         * sysdeps/sparc/dl-procinfo.h: Likewise.
10587         * sysdeps/unix/i386/sysdep.S: Likewise.
10588         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10589         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10590         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10591         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10593         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10594         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10595         * sysdeps/unix/sysv/linux/speed.c: Likewise.
10596         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10597         * sysdeps/wordsize-32/divdi3.c: Likewise.
10598         * time/sys/time.h: Likewise.
10599         * wcsmbs/Makefile: Likewise.
10601 2013-01-01  David S. Miller  <davem@davemloft.net>
10603         * po/fr.po: Update from translation team.
10605         * catgets/gencat.c: Update copyright year.
10606         * csu/version.c: Likewise.
10607         * debug/catchsegv.sh: Likewise.
10608         * debug/pcprofiledump.c: Likewise.
10609         * debug/xtrace.sh: Likewise.
10610         * elf/ldconfig.c: Likewise.
10611         * elf/ldd.bash.in: Likewise.
10612         * elf/pldd.c: Likewise.
10613         * elf/sotruss.ksh: Likewise.
10614         * elf/sprof.c: Likewise.
10615         * iconv/iconv_prog.c: Likewise.
10616         * iconv/iconvconfig.c: Likewise.
10617         * locale/programs/locale.c: Likewise.
10618         * locale/programs/localedef.c: Likewise.
10619         * login/programs/pt_chown.c: Likewise.
10620         * malloc/memusage.sh: Likewise.
10621         * malloc/memusagestat.c: Likewise.
10622         * malloc/mtrace.pl: Likewise.
10623         * nscd/nscd.c: Likewise.
10624         * nss/getent.c: Likewise.
10625         * nss/makedb.c: Likewise.
10626         * posix/getconf.c: Likewise.
10628 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10630         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10631         numbers.
10633 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
10635         * math/bits/mathcalls.h (modf): Use __nonnull.
10637 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10639         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10640         (split): Use macro CN instead of the bare value.
10641         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10642         could be used.
10643         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10644         instead of the bare value.
10645         (power1): Likewise.
10647 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10649         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10650         __ATAN_TWOM.
10651         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10653         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10654         their values.
10655         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10656         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10657         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10658         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10660 2012-12-28  Andreas Jaeger  <aj@suse.de>
10662         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
10663         values are from Linux 3.7.
10665         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10666         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
10668 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10670         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10671         TRUE case.
10673         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10674         (norm): Likewise.
10675         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10676         variables with preprocessor constants.
10677         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10678         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10679         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10681 2012-12-27  Bruno Haible  <bruno@clisp.org>
10683         [BZ #14317]
10684         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10685         only if needed.
10687 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10689         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10690         and use variable directly.
10691         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10693         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10694         MPONE.
10695         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10696         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10697         variable MPONE.
10698         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10699         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10700         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10701         include directive.  Remove local variable MPONE.
10702         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10703         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10704         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10706 2012-12-25  David S. Miller  <davem@davemloft.net>
10708         * version.h (RELEASE): Set to "development".
10709         (VERSION): Set to "2.17.90".
10710         * NEWS: Add 2.18 section.
10712 2012-12-21  David S. Miller  <davem@davemloft.net>
10714         * po/hr.po: Update from translation team.
10716 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10718         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10720 2012-12-19  Steve Ellcey  <sellcey@mips.com>
10722         * NEWS:  Mention new memcpy for MIPS.
10724 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10726         * manual/contrib.texi (Contributors): Spelling correction.
10728 2012-12-15  David S. Miller  <davem@davemloft.net>
10730         * po/ru.po: Update from translation team.
10732 2012-12-13  David S. Miller  <davem@davemloft.net>
10734         * NEWS: Mention IFUNC testsuite enhancements.
10736         * po/pl.po: Update from translation team.
10737         * po/bg.po: Likewise.
10739         * manual/contrib.texi (Contributors): Update entries for Hongjiu
10740         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
10742 2012-12-11  David S. Miller  <davem@davemloft.net>
10744         * po/sv.po: Update from translation team.
10746         * po/vi.po: Update from translation team.
10748         * po/cs.po: Update from translation team.
10750         * po/de.po: Update from translation team.
10751         * po/eo.po: Likewise.
10752         * po/nl.po: Likewise.
10754 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10756         [BZ #14246]
10757         * manual/argp.texi (Argp Helper Functions): Move node to follow
10758         Argp Parsing State.
10760         [BZ #14872]
10761         * manual/conf.texi (Limits on File System Capacity): Mention if
10762         terminating null is included in the max size.
10764 2012-12-10  Andreas Jaeger  <aj@suse.de>
10766         * po/cs.po: Update from translation team.
10768 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10770         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10771         void pointer and cast to uintptr_t.
10772         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10773         path.
10774         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10775         * sysdeps/s390/s390-64/memset.S: Likewise.
10777 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
10779         [BZ #14833]
10780         * menual/message.texi (Message Translation): Fix typos.
10781         (Helper programs for gettext): Likewise.
10783 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
10785         [BZ #14898]
10786         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10787         Change to -1.
10789 2012-12-07  David S. Miller  <davem@davemloft.net>
10791         * po/libc.pot: Update.
10793 2012-12-07  Richard Henderson  <rth@redhat.com>
10795         [BZ #10114]
10796         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10797         normal/normal case to before the switch.
10798         (_FP_DIV): Likewise.
10800 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
10801             Mike Frysinger  <vapier@gentoo.org>
10803         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10804         check for __NR_fadvise64_64.
10806 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
10808         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10809         0, not just to plain "0" as a statement.
10810         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10811         with cw.
10813 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
10815         * NEWS: Use sourceware.org in Bugzilla URL.
10817 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10820         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10822         * stdio-common/tst-put-error.c (do_test): Add newline to the
10823         padded test to ensure flush.
10825 2012-12-05  Jeff Law  <law@redhat.com>
10827         * sunrpc/etc.rpc (fedfs_admin): Add entry.
10829 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
10831         * README: Don't refer to ports add-on as distributed separately.
10832         Mention AArch64 in list of systems supported in the ports add-on.
10834         * LICENSES: Add more non-FSF copyright and license notices.
10836         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10837         ((unused)).
10839         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10841         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10842         10000 as width of padded output.
10844 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10846         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10848         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10849         variable LX with __attribute__ ((unused)).
10850         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10851         Likewise.
10852         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10853         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10854         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10855         with __attribute__ ((unused)).
10857 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
10859         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10861 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10863         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10864         (CFLAGS-nldbl-acos.c): New variable.
10865         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10866         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10867         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10868         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10869         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10870         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10871         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10872         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10873         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10874         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10875         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10876         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10877         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10878         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10879         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10880         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10881         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10882         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10883         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10884         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10885         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10886         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10887         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10888         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10889         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10890         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10891         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10892         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10893         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10894         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10895         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10896         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10897         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10898         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10899         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10900         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10901         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10902         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10903         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10904         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10905         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10906         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10907         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10908         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10909         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10910         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10911         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10912         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10913         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10914         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10915         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10916         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10917         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10918         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10919         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10920         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10921         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10922         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10923         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10924         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10925         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10926         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10927         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10928         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10929         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10930         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10931         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10932         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10933         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10934         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10935         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10936         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10937         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10938         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10939         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10940         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10941         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10942         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10943         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10944         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10945         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10946         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10947         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10948         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10949         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10950         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10951         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10952         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10953         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10954         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10955         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10956         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10957         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10958         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10959         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10960         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10961         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10964         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10966         [BZ #14914]
10967         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10968         whole low double instead of just low 47 bits when splitting values
10969         into two parts.
10971 2012-12-03  Allan McRae  <allan@archlinux.org>
10973         * manual/stdio.texi (Predefined Printf Handlers): Remove
10974         @hsep and @vsep usage.
10976 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
10978         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10979         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10981 2012-12-03  Jeff Law  <law@redhat.com>
10983         * time/sys/time.h (settimeofday): Do not mark TV argument
10984         as __nonnull.
10986 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
10988         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10989         when currently writing and seek to current position when not.
10990         * libio/Makefile (tests): Remove bug-fclose1.
10991         * libio/bug-fclose1.c: Delete.
10993 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
10995         * manual/arith.texi (feenableexcept): Fix typo.
10996         (fedisableexcept): Likewise.
10998 2012-11-30  Roland McGrath  <roland@hack.frob.com>
11000         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11001         second, differently-typed declaration, rather than a cast.
11003 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11005         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11006         * include/rpc/svc.h: ... here.
11008 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
11010         [BZ #13013]
11011         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11012         depending n and resplen2 to catch cases where answer
11013         equals answerp2.
11015 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
11017         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11018         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11020 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
11022         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11024 2012-11-29  Roland McGrath  <roland@hack.frob.com>
11026         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11028 2012-11-28  Jeff Law  <law@redhat.com>
11030         [BZ #13761]
11031         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11032         dataset_temporary.  Track alloca usage into alloca_used.
11033         If dataset is large allocate and release it via malloc/free.
11035 2012-06-04  Florian Weimer  <fweimer@redhat.com>
11037         [BZ #14197]
11038         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11040 2012-11-28  David S. Miller  <davem@davemloft.net>
11042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11044 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11046         [BZ #14803]
11047         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11048         of pi/2 rounded to nearest to 64 bits.
11049         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11050         nearest to 64 bits.
11051         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11052         bits.
11054 2012-11-28  Jeff Law <law@redhat.com>
11055             Martin Osvald <mosvald@redhat.com>
11057         [BZ #14889]
11058         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11059         * sunrpc/svc.c: Include time.h.
11060         (__svc_accept_failed): New function.
11061         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11062         any reason other than EINTR, call __svc_accept_failed.
11063         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11064         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11066 2012-11-28  Andreas Schwab  <schwab@suse.de>
11068         * scripts/abilist.awk: Also handle indirect functions in .opd
11069         section.
11071 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11073         [BZ #13881]
11074         * sysdeps/x86/fpu/powl_helper.c: New file.
11075         * sysdeps/x86/fpu/Makefile: Likewise.
11076         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11077         (p3): New object.
11078         (__ieee754_powl): Use __powl_helper for finite arguments except
11079         integer exponents below 8.
11080         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11081         (p3): New object.
11082         (__ieee754_powl): Use __powl_helper for finite arguments except
11083         integer exponents below 8.
11084         * math/libm-test.inc (pow_test): Add more tests and enable some
11085         previously disabled tests.
11086         * sysdeps/i386/fpu/libm-test-ulps: Update.
11087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11089 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11090             Carlos O'Donell  <carlos_odonell@mentor.com>
11092         * nss/makedb.c (is_prime): Assert that input is odd and greater
11093         than 4.  Note that fact in a comment too.
11094         (next_prime): Add 4 to input.
11096 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11098         [BZ #11741]
11099         * libio/Makefile (tests): Add test case tst-fwrite-error.
11100         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11101         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11102         * libio/tst-fwrite-error.c: New test case.
11104 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
11106         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11107         before casting to void *.
11108         * include/libc-internal.h (__pointer_type): New macro.
11109         (__integer_if_pointer_type_sub): Likewise.
11110         (__integer_if_pointer_type): Likewise.
11111         (cast_to_integer): Likewise.
11112         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11113         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11114         before casting to atomic64_t.
11115         (atomic_exchange_acq): Likewise.
11116         (__arch_exchange_and_add_body): Likewise.
11117         (__arch_add_body): Likewise.
11118         (atomic_add_negative): Likewise.
11119         (atomic_add_zero): Likewise.
11121 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
11123         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11124         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11125         (add_fdes): Likewise.
11126         (linear_search_fdes): Likewise.
11127         (binary_search_unencoded_fdes): Likewise.
11129 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
11131         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11133 2012-11-24  Adam Conrad  <adconrad@0c3.net>
11135         * configure.in: Autodetect C++ header directories.
11136         * configure: Regenerated.
11138 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
11140         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11142 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
11144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11146 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
11148         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11149         LDBL_MANT_DIG == 106]: Disable some tests.
11150         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11151         Likewise.
11152         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11153         Likewise.
11155         [BZ #14871]
11156         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11157         input for small inputs.  Return +/- pi/2 for large inputs.
11158         * math/libm-test.inc (atan_test): Add more tests.
11160         * sysdeps/generic/unwind-dw2-fde-glibc.c
11161         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11162         __attribute__ ((unused)).
11164         [BZ #14645]
11165         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11166         x * y if x and y are nonzero and z is zero.
11168         [BZ #14811]
11169         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11170         nonzero exponents with absolute value below 0x1p-117 to +/-
11171         0x1p-117.
11173         [BZ #14869]
11174         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11175         up arguments below 2**-450, not just those below 2**-500.
11176         * math/libm-test.inc (hypot_test): Add another test.
11178         [BZ #14868]
11179         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11180         Return a+b for ratio over 2**120, not 2**60.
11181         * math/libm-test.inc (hypot_test): Add another test.
11183         * math/libm-test.inc (clog_test): Use
11184         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11185         (clog10_test): Likewise.
11187         [BZ #6778]
11188         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11190 2012-11-22  Andreas Schwab  <schwab@suse.de>
11192         * sysdeps/i386/fpu/libm-test-ulps: Update.
11194 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
11196         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11197         printf output with newline.
11199 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
11201         [BZ #14865]
11202         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11203         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11204         -z nodlopen, -z initfirst and -z execstack support.
11205         * configure: Regenerated.
11207         * elf/elf.h (DF_1_NODIRECT): New macro.
11208         (DF_1_IGNMULDEF): Likewise.
11209         (DF_1_NOKSYMS): Likewise.
11210         (DF_1_NOHDR): Likewise.
11211         (DF_1_EDITED): Likewise.
11212         (DF_1_NORELOC): Likewise.
11213         (DF_1_SYMINTPOSE): Likewise.
11214         (DF_1_GLOBAUDIT): Likewise.
11215         (DF_1_SINGLETON): Likewise.
11216         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11217         DT_1_SUPPORTED_MASK bits.
11218         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11220 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
11222         * sysdeps/unix/make-syscalls.sh: Document prefixes.
11224 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
11226         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11227         macro.
11229         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11230         (sendmmsg): Move declarations...
11231         * socket/sys/socket.h: ... here.
11232         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11233         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11234         include it from...
11235         * socket/recvmmsg.c: ... this new file.
11236         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11237         (sendmmsg): Rename to __sendmmsg, create weak alias and make
11238         definition of __sendmmsg hidden.
11239         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11240         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11241         Move ENOSYS stub into and include it from...
11242         * socket/sendmmsg.c: ... this new file.
11243         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11244         (sysdep_routines): Move recvmmsg and sendmmsg...
11245         * socket/Makefile (routines): ... here.
11246         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11247         (GLIBC_PRIVATE): Add __sendmmsg.
11248         * include/sys/socket.h (__sendmmsg): Add declarations.
11249         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11250         sendmmsg.
11252 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
11254         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11255         variable I1 with __attribute__ ((unused)).
11256         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11258 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11260         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11261         DUMMY variables with __attribute__ ((unused)).
11263         * bits/byteswap.h: Include <bits/types.h>.
11264         (__bswap_64): Use __uint64_t instead of unsigned long long int.
11266 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11268         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11269         string_t.  Do not manually set errno.
11270         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11271         length with __strnlen.  Make sure to both set errno and return it on
11272         failure.
11274 2012-11-19  David S. Miller  <davem@davemloft.net>
11276         With help from Joseph Myers.
11277         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11278         very large arguments properly.
11279         * math/libm-test.inc (atan_test): New tests.
11280         (atan2_test): New tests.
11281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11282         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11284 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11286         [BZ #14856]
11287         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11288         Define to 3.
11290         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11291         [POSIX] (EADDRNOTAVAIL): Likewise.
11292         [POSIX] (EAFNOSUPPORT): Likewise.
11293         [POSIX] (EALREADY): Likewise.
11294         [POSIX] (ECONNABORTED): Likewise.
11295         [POSIX] (ECONNREFUSED): Likewise.
11296         [POSIX] (ECONNRESET): Likewise.
11297         [POSIX] (EDESTADDRREQ): Likewise.
11298         [POSIX] (EDQUOT): Likewise.
11299         [POSIX] (EHOSTUNREACH): Likewise.
11300         [POSIX] (EIDRM): Likewise.
11301         [POSIX] (EISCONN): Likewise.
11302         [POSIX] (ELOOP): Likewise.
11303         [POSIX] (EMULTIHOP): Likewise.
11304         [POSIX] (ENETDOWN): Likewise.
11305         [POSIX] (ENETUNREACH): Likewise.
11306         [POSIX] (ENOBUFS): Likewise.
11307         [POSIX] (ENODATA): Likewise.
11308         [POSIX] (ENOLINK): Likewise.
11309         [POSIX] (ENOMSG): Likewise.
11310         [POSIX] (ENOPROTOOPT): Likewise.
11311         [POSIX] (ENOSR): Likewise.
11312         [POSIX] (ENOSTR): Likewise.
11313         [POSIX] (ENOTCONN): Likewise.
11314         [POSIX] (ENOTSOCK): Likewise.
11315         [POSIX] (EOPNOTSUPP): Likewise.
11316         [POSIX] (EOVERFLOW): Likewise.
11317         [POSIX] (EPROTO): Likewise.
11318         [POSIX] (EPROTONOSUPPORT): Likewise.
11319         [POSIX] (EPROTOTYPE): Likewise.
11320         [POSIX] (ESTALE): Likewise.
11321         [POSIX] (ETIME): Likewise.
11322         [POSIX] (ETXTBSY): Likewise.
11323         [POSIX] (EWOULDBLOCK): Likewise.
11324         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11325         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11326         [POSIX] (SEEK_CUR): Likewise.
11327         [POSIX] (SEEK_END): Likewise.
11328         [POSIX || UNIX98] (mode_t): Do not require.
11329         [POSIX] (off_t): Likewise.
11330         [POSIX] (pid_t): Likewise.
11331         [POSIX] (sys/stat.h): Do not allow header.
11332         [POSIX] (unistd.h): Likewise.
11333         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11334         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11335         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11336         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11337         require.
11338         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11339         sigevent): Specify elements.
11340         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11341         entry.
11342         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11343         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11345         * conform/data/cpio.h-data [POSIX]: Disable whole file.
11346         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11347         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11348         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11349         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11350         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11351         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11352         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11353         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11354         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11355         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11356         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11357         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11358         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11359         Likewise.
11360         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11361         Likewise.
11362         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11363         Likewise.
11364         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11365         Likewise.
11366         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11367         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11368         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11369         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11370         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11371         Specify lower bound on value.
11372         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11373         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11374         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11375         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11376         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11377         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11378         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11379         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11380         value.
11381         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11382         as optional.
11383         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11384         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11385         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11386         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11387         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11388         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11389         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11390         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11391         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11392         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11393         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11394         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11395         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11396         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11397         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11398         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11399         entry.
11400         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11401         optional.
11402         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11403         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11404         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11405         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11406         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11407         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11408         Likewise.
11409         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11410         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11411         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11412         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11413         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
11414         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11415         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11416         as optional.
11417         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11418         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11419         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11420         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11421         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11422         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11423         specify as optional.
11424         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11425         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11426         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11427         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11428         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11429         [XPG3] (NL_LANGMAX): Likewise.
11430         [POSIX || XPG3] (NL_MSGMAX): Likewise.
11431         [POSIX || XPG3] (NL_NMAX): Likewise.
11432         [POSIX || XPG3] (NL_SETMAX): Likewise.
11433         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11434         [XPG3] (NZERO): Likewise.
11435         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11436         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11437         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11438         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11439         (REG_ERANGE): Expect.
11440         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11441         optional-constant.
11442         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11443         Use (void) in prototype.
11444         [POSIX] (*_t): Allow.
11445         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11446         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11447         (WRDE_BADVAL): Expect.
11449         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11450         expect.
11451         [XPG3 || XPG4] (O_RSYNC): Likewise.
11452         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11453         Likewise.
11454         [XPG3 || XPG4] (pthread_sigmask): Likewise.
11455         [XPG3 || XPG4] (sigqueue): Likewise.
11456         [XPG3 || XPG4] (sigtimedwait): Likewise.
11457         [XPG3 || XPG4] (sigwaitinfo): Likewise.
11458         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11459         [XPG3 || XPG4] (vsnprintf): Likewise.
11460         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11461         Likewise.
11462         [XPG3 || XPG4] (blksize_t): Likewise.
11463         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11464         Likewise.
11465         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11466         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11467         [XPG3 || XPG4] (struct itimerspec): Likewise.
11468         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11469         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11470         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11471         [XPG3 || XPG4] (clockid_t): Likewise.
11472         [XPG3 || XPG4] (timer_t): Likewise.
11473         [XPG3 || XPG4] (clock_getres): Likewise.
11474         [XPG3 || XPG4] (clock_gettime): Likewise.
11475         [XPG3 || XPG4] (clock_settime): Likewise.
11476         [XPG3 || XPG4] (nanosleep): Likewise.
11477         [XPG3 || XPG4] (timer_create): Likewise.
11478         [XPG3 || XPG4] (timer_delete): Likewise.
11479         [XPG3 || XPG4] (timer_gettime): Likewise.
11480         [XPG3 || XPG4] (timer_getoverrun): Likewise.
11481         [XPG3 || XPG4] (timer_settime): Likewise.
11482         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11483         [XPG3 || XPG4] (getlogin_r): Likewise.
11484         [XPG3 || XPG4] (pread): Likewise.
11485         [XPG3 || XPG4] (pthread_atfork): Likewise.
11486         [XPG3 || XPG4] (pwrite): Likewise.
11488         [BZ #14835]
11489         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11490         <bits/siginfo.h>.
11492 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11494         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11495         finalizing MALLSTREAM.
11497         * sysdeps/mach/hurd/syncfs.c: New file.
11499 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11501         [BZ #14719]
11502         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11503         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11504         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11505         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11506         (_nss_dns_gethostbyname4_r): Likewise.
11507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11508         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11510 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
11512         [BZ #13763]
11513         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11515 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
11517         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11518         * elf/cache.c (print_entry): Print ",AArch64" for
11519         FLAG_AARCH64_LIB64
11521         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11522         * elf/cache.c (print_entry): Print ",hard-float" for
11523         FLAG_ARM_LIBHF.
11525 2012-11-18  David S. Miller  <davem@davemloft.net>
11527         With help from Joseph Myers.
11528         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11529         cutoff to 2**-13.
11530         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11531         cutoff to 2**-25.
11532         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11533         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11534         small.
11535         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11536         * math/libm-test.inc (y0_test): New tests.
11537         (y1_test): New tests.
11538         * sysdeps/i386/fpu/libm-test-ulps: Update.
11539         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11542 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
11544         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11545         64-bit targets.
11546         * configure: Regenerated.
11548 2012-11-17  David S. Miller  <davem@davemloft.net>
11550         [BZ #14811]
11551         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11552         nonzero exponents with absolute value below 0x1p-128 to +/-
11553         0x1p-128.
11555 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
11557         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11559         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11561         * posix/getconf-speclist.c: New file.
11562         * posix/posix-envs.def: Likewise.
11563         * posix/confstr.c (START_ENV_GROUP): New macro.
11564         (END_ENV_GROUP): Likewise.
11565         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11566         (KNOWN_PRESENT_ENV_STRING): Likewise.
11567         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11568         (UNKNOWN_ENVIRONMENT): Likewise.
11569         (confstr): Include posix-envs.def instead of handling
11570         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11571         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11572         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11573         (END_ENV_GROUP): Likewise.
11574         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11575         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11576         (UNKNOWN_ENVIRONMENT): Likewise.
11577         (__sysconf): Include posix-envs.def instead of handling associated
11578         cases directly here.
11579         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11580         preprocessing getconf-speclist.c rather than running getconf or
11581         generating empty file.
11583 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
11585         * scripts/check-local-headers.sh: Ignore 'mach' headers.
11587 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
11589         [BZ #14672]
11590         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11592 2012-11-16  David S. Miller  <davem@davemloft.net>
11594         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11595         smaller than LDBL_EPSILON/2.0L, just return xm1.
11597 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
11599         * elf/tst-array1.c (init): Set constructor priority to 1000.
11600         (fini): Set destructor priority to 1000.
11601         * elf/tst-array2dep.c: Likewise.
11603 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11605         [BZ #11741]
11606         * libio/fileops.c (_IO_new_file_write): Correctly return error.
11607         (_IO_new_file_xsputn): Also return EOF if none of the input
11608         data was written when overflow failed.
11609         * libio/iopadn.c (_IO_padn): Likewise.
11610         * libio/iowpadn.c (_IO_wpadn): Likewise.
11611         * stdio-common/tst-put-error.c: Add copyright notice.
11612         (do_test): Add case for printing padded string.
11613         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11614         _IO_padn returned error.
11615         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11616         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11617         return EOF.
11619 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11621         * libio/libioP.h: Add comment note that the references to C++
11622         bits are now obsolete.
11624 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11626         * math/libm-test.inc (check_complex): Use asprintf.
11628 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
11630         * debug/pcprofiledump.c (print_version): Update copyright year.
11631         * malloc/memusagestat.c (print_version): Likewise.
11633 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11635         [BZ #14831]
11636         * elf/Makefile (tests): Add tst-audit8.
11637         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11638         ($(objpfx)tst-audit8.out): New target.
11639         (tst-audit8-ENV): New variable.
11640         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11641         audit if l_reloc_result is NULL.
11642         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11643         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11644         * elf/tst-audit8.c: New file.
11646 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11648         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11649         * misc/Makefile (CFLAGS-select.c): Define.
11650         * posix/Makefile (CFLAGS-pause.c): Define.
11652 2012-11-13  David S. Miller  <davem@davemloft.net>
11654         * crypt/Makefile: Move test targets after toplevel Rules
11655         inclusion.  Grab any necessary sysdep routines when linking.
11656         * crypt/md5.c (md5_process_block): Remove define, we will always
11657         name it __md5_process_block.
11658         (md5_finish_ctx): Update md5_process_block call.
11659         (md5_stream): Likewise.
11660         (md5_process_bytes): Likewise.
11661         (md5_process_block): Rename to __md5_process_block and move to ...
11662         * crypt/md5-block.c: ... here.
11663         * crypt/sha256.c (sha256_process_block): Move to ...
11664         * crypt/sha256-block.c: ... here.
11665         * crypt/sha512.c (sha512_process_block): Move to ...
11666         * crypt/sha512-block.c: ... here.
11667         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11668         path.
11669         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11670         * sysdeps/sparc/sparc64/multiarch/Makefile
11671         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11672         crypt subdir.
11673         (localedef-aux): Add md5 crypto assembler when in locale subdir.
11674         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11675         multiarch changes.
11676         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11677         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11678         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11679         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11680         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11681         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11682         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11683         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11684         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11685         file.
11686         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11687         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11688         file.
11689         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11691 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
11693         * timezone/tzselect.ksh: Update from tzcode git revision
11694         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11695         * timezone/zdump.c: Likewise.
11696         * timezone/zic.c: Likewise.
11697         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11698         in TZVERSION setting, not $(PKGVERSION).
11699         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
11700         REPORT_BUGS_TO settings.
11702         [BZ #14838]
11703         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11704         macro.
11706 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11708         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11709         detection to immediately after _FP_ROUND().
11710         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11711         bits are 0.
11713 2012-11-11  David S. Miller  <davem@davemloft.net>
11715         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11716         inttypes.h
11717         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11718         __close rather than their public counterparts.
11720 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
11722         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11723         file.
11724         [UNIX98] (sem_timedwait): Do not expect.
11725         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11726         [XPG4 || UNIX98] (sockatmark): Do not expect.
11727         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11728         (clock_getcpuclockid): Do not expect.
11729         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11730         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11731         Do not expect.
11732         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11733         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11734         [UNIX98] (vwscanf): Likewise.
11735         [UNIX98] (vswscanf): Likewise.
11737 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
11739         * timezone/version.h: Remove file.
11740         * timezone/README: Do not refer to version.h.
11741         * timezone/Makefile ($(objpfx)zic.o): New dependency on
11742         $(objpfx)version.h.
11743         ($(objpfx)zdump.o): Likewise.
11744         ($(objpfx)version.h): New target.
11746         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11747         2012i.
11748         * timezone/README: Don't mention modification to tzselect.ksh.
11749         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11750         work on unmodified tzselect.ksh.  Substitute version numbers in
11751         tzselect.ksh.
11753         * Makefile (format-me): Remove.
11754         (INSTALL): Adjust indentation.  Use commands directly instead of
11755         using $(format-me).
11757         * aclocal.m4 (ACX_PKGVERSION): New macro.
11758         (ACX_BUGURL): Likewise.
11759         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11760         (PKGVERSION): New AC_DEFINE_UNQUOTED.
11761         (REPORT_BUGS_TO): Likewise.
11762         * configure: Regenerated.
11763         * config.h.in (PKGVERSION): New macro.
11764         (REPORT_BUGS_TO): Likewise.
11765         * config.make.in (PKGVERSION): New variable.
11766         (PKGVERSION_TEXI): Likewise.
11767         (REPORT_BUGS_TO): Likewise.
11768         (REPORT_BUGS_TEXI): Likewise.
11769         * Makefile (format-me): Use -I$(common-objpfx)manual.
11770         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11771         ($(common-objpfx)manual/%): New target.
11772         (manual/%): Remove target.
11773         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11774         (print_version): Use PKGVERSION.
11775         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11776         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11777         and REPORT_BUGS_TO.
11778         ($(objpfx)xtrace): Likewise.
11779         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11780         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11781         (print_version): Use PKGVERSION.
11782         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11783         (do_version): Use PKGVERSION.
11784         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11785         REPORT_BUGS_TO.
11786         (common-ldd-rewrite): Likewise.
11787         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11788         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11789         (print_version): Use PKGVERSION.
11790         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11791         * elf/pldd.c (argp_program_bug_address): Remove variable.
11792         (more_help): New function.
11793         (argp): Use more_help.
11794         (print_version): Use PKGVERSION.
11795         * elf/sln.c (main): Use PKGVERSION.
11796         (usage): Use REPORT_BUGS_TO.
11797         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11798         (top level): Use PKGVERSION.
11799         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11800         (print_version): Use PKGVERSION.
11801         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11802         (print_version): Use PKGVERSION.
11803         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11804         (print_version): Use PKGVERSION.
11805         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11806         (print_version): Use PKGVERSION.
11807         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11808         (print_version): Use PKGVERSION.
11809         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11810         (print_version): Use PKGVERSION.
11811         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11812         and BUGURL.
11813         ($(objpfx)memusage): Likewise.
11814         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11815         (do_version): Use PKGVERSION.
11816         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11817         (print_version): Use PKGVERSION.
11818         * malloc/mtrace.pl ($PACKAGE): Remove variable.
11819         ($PKGVERSION): New variable.
11820         ($REPORT_BUGS_TO): Likewise.
11821         (usage): Use $REPORT_BUGS_TO.
11822         (top level): Use $PKGVERSION.
11823         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11824         ($(objpfx)pkgvers.texi): New rule.
11825         ($(objpfx)stamp-pkgvers): Likewise.
11826         * manual/install.texi: Include pkgvers.texi.
11827         (--with-pkgversion): Document new configure option.
11828         (--with-bugurl): Likewise.
11829         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11830         than necessarily for this particular distribution.  Use
11831         REPORT_BUGS_TO for where to report bugs.
11832         * INSTALL: Regenerated.
11833         * manual/libc.texinfo: Include pkgvers.texi.
11834         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11835         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11836         (print_version): Use PKGVERSION.
11837         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11838         (print_version): Use PKGVERSION.
11839         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11840         (print_version): Use PKGVERSION.
11841         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11842         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11843         macro.
11844         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11845         (print_version): Use PKGVERSION.
11846         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11847         (print_version): Use PKGVERSION.
11848         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11849         and PKGVERSION.
11851         * timezone/checktab.awk: Update from tzcode 2012i.
11852         * timezone/ialloc.c: Likewise.
11853         * timezone/private.h: Likewise.
11854         * timezone/scheck.c: Likewise.
11855         * timezone/tzfile.h: Likewise.
11856         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11857         (TZVERSION): Hardcode tzcode version number.
11858         * timezone/zdump.c: Update from tzcode 2012i.
11859         * timezone/zic.c: Likewise.
11860         * timezone/version.h: New file.
11861         * timezone/README: Describe version.h.  Update upstream location.
11863         [BZ #14824]
11864         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11865         (mktemp): Enable declaration.
11866         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11867         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11868         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11869         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11870         Likewise.
11871         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11872         Likewise.
11873         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11874         Likewise.
11875         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11876         Likewise.
11877         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11878         Likewise.
11879         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11880         Likewise.
11882         [BZ #14821]
11883         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11884         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
11885         for copies of such integer values.
11886         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11887         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11889 2012-11-09  Andreas Jaeger  <aj@suse.de>
11891         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11892         definitions and declarations that are provided by
11893         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11895 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11897         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11898         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11899         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11900         definition.
11902 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11904         * elf/elf.h: Update comment before AArch64 relocations.
11906 2012-11-07  David S. Miller  <davem@davemloft.net>
11908         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11909         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11910         (__start_context): Declare.
11911         (__makecontext_ret): Delete.
11912         (__makecontext): Hook up __start_context instead of
11913         __makecontext_ret.
11914         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11915         (sysdep_routines): Add __start_context when in stdlib.
11917 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11919         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11920         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11921         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
11922         hardcoded "nm".
11923         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
11924         (READELF): New variable.  Use it instead of hardcoded "readelf".
11926 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11928         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11929         * sysdeps/x86/Makefile: Here.
11930         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11931         * sysdeps/x86/tst-xmmymm.sh: This.
11933 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11935         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11936         expectations.
11937         [UNIX98] (pthread_barrier_t): Do not expect.
11938         [UNIX98] (pthread_barrierattr_t): Likewise.
11939         [UNIX98] (pthread_spinlock_t): Likewise.
11940         [UNIX98] (pthread_barrier_destroy): Likewise.
11941         [UNIX98] (pthread_barrier_init): Likewise.
11942         [UNIX98] (pthread_barrier_wait): Likewise.
11943         [UNIX98] (pthread_barrierattr_destroy): Likewise.
11944         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11945         [UNIX98] (pthread_barrierattr_init): Likewise.
11946         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11947         [UNIX98] (pthread_getcpuclockid): Likewise.
11948         [UNIX98] (pthread_mutex_timedlock): Likewise.
11949         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11950         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11951         [UNIX98] (pthread_sigmask): Likewise.
11952         [UNIX98] (pthread_spin_destroy): Likewise.
11953         [UNIX98] (pthread_spin_init): Likewise.
11954         [UNIX98] (pthread_spin_lock): Likewise.
11955         [UNIX98] (pthread_spin_trylock): Likewise.
11956         [UNIX98] (pthread_spin_unlock): Likewise.
11957         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11958         Do not expect.
11959         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11960         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11961         [XPG3 || XPG4] (pthread_cond_t): Likewise.
11962         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11963         [XPG3 || XPG4] (pthread_key_t): Likewise.
11964         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11965         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11966         [XPG3 || XPG4] (pthread_once_t): Likewise.
11967         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11968         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11969         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11970         [XPG3 || XPG4] (pthread_t): Likewise.
11972         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11973         not expect.
11974         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11976         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11977         Change function return type to int.
11979         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11980         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11981         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11982         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11983         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11984         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11985         [!POSIX] (posix_madvise): Likewise.
11986         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11987         && !UNIX98].
11988         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11989         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11990         (mode_t): Likewise.
11991         (posix_mem_offset): Likewise.
11992         (posix_typed_mem_get_info): Likewise.
11993         (posix_typed_mem_open): Likewise.
11995         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11996         Change condition to [XOPEN2K8].
11998         * conform/conformtest.pl: Preprocess allow-header data with -x c
11999         instead of from stdin.
12000         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12001         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12002         [C99-based standards] (cerfc): Likewise.
12003         [C99-based standards] (cexp2): Likewise.
12004         [C99-based standards] (cexpm1): Likewise.
12005         [C99-based standards] (clog10): Likewise.
12006         [C99-based standards] (clog1p): Likewise.
12007         [C99-based standards] (clog2): Likewise.
12008         [C99-based standards] (clgamma): Likewise.
12009         [C99-based standards] (ctgamma): Likewise.
12010         [C99-based standards] (cerff): Likewise.
12011         [C99-based standards] (cerfcf): Likewise.
12012         [C99-based standards] (cexp2f): Likewise.
12013         [C99-based standards] (cexpm1f): Likewise.
12014         [C99-based standards] (clog10f): Likewise.
12015         [C99-based standards] (clog1pf): Likewise.
12016         [C99-based standards] (clog2f): Likewise.
12017         [C99-based standards] (clgammaf): Likewise.
12018         [C99-based standards] (ctgammaf): Likewise.
12019         [C99-based standards] (cerfl): Likewise.
12020         [C99-based standards] (cerfcl): Likewise.
12021         [C99-based standards] (cexp2l): Likewise.
12022         [C99-based standards] (cexpm1l): Likewise.
12023         [C99-based standards] (clog10l): Likewise.
12024         [C99-based standards] (clog1pl): Likewise.
12025         [C99-based standards] (clog2l): Likewise.
12026         [C99-based standards] (clgammal): Likewise.
12027         [C99-based standards] (ctgammal): Likewise.
12028         * conform/data/inttypes.h-data [C99-based standards]: Include
12029         stdint.h-data.  Remove all expectations for stdint.h contents.
12030         [C99-based standards] (PRI*): Do not allow.
12031         [C99-based standards] (SCN*): Likewise.
12032         [C99-based standards] (*_t): Likewise.
12033         [C99-based-standards] (PRId8): Expect macro.
12034         [C99-based-standards] (PRIi8): Likewise.
12035         [C99-based-standards] (PRIo8): Likewise.
12036         [C99-based-standards] (PRIu8): Likewise.
12037         [C99-based-standards] (PRIx8): Likewise.
12038         [C99-based-standards] (PRIX8): Likewise.
12039         [C99-based-standards] (SCNd8): Likewise.
12040         [C99-based-standards] (SCNi8): Likewise.
12041         [C99-based-standards] (SCNo8): Likewise.
12042         [C99-based-standards] (SCNu8): Likewise.
12043         [C99-based-standards] (SCNx8): Likewise.
12044         [C99-based-standards] (PRIdLEAST8): Likewise.
12045         [C99-based-standards] (PRIiLEAST8): Likewise.
12046         [C99-based-standards] (PRIoLEAST8): Likewise.
12047         [C99-based-standards] (PRIuLEAST8): Likewise.
12048         [C99-based-standards] (PRIxLEAST8): Likewise.
12049         [C99-based-standards] (PRIXLEAST8): Likewise.
12050         [C99-based-standards] (SCNdLEAST8): Likewise.
12051         [C99-based-standards] (SCNiLEAST8): Likewise.
12052         [C99-based-standards] (SCNoLEAST8): Likewise.
12053         [C99-based-standards] (SCNuLEAST8): Likewise.
12054         [C99-based-standards] (SCNxLEAST8): Likewise.
12055         [C99-based-standards] (PRIdFAST8): Likewise.
12056         [C99-based-standards] (PRIiFAST8): Likewise.
12057         [C99-based-standards] (PRIoFAST8): Likewise.
12058         [C99-based-standards] (PRIuFAST8): Likewise.
12059         [C99-based-standards] (PRIxFAST8): Likewise.
12060         [C99-based-standards] (PRIXFAST8): Likewise.
12061         [C99-based-standards] (SCNdFAST8): Likewise.
12062         [C99-based-standards] (SCNiFAST8): Likewise.
12063         [C99-based-standards] (SCNoFAST8): Likewise.
12064         [C99-based-standards] (SCNuFAST8): Likewise.
12065         [C99-based-standards] (SCNxFAST8): Likewise.
12066         [C99-based-standards] (PRId16): Likewise.
12067         [C99-based-standards] (PRIi16): Likewise.
12068         [C99-based-standards] (PRIo16): Likewise.
12069         [C99-based-standards] (PRIu16): Likewise.
12070         [C99-based-standards] (PRIx16): Likewise.
12071         [C99-based-standards] (PRIX16): Likewise.
12072         [C99-based-standards] (SCNd16): Likewise.
12073         [C99-based-standards] (SCNi16): Likewise.
12074         [C99-based-standards] (SCNo16): Likewise.
12075         [C99-based-standards] (SCNu16): Likewise.
12076         [C99-based-standards] (SCNx16): Likewise.
12077         [C99-based-standards] (PRIdLEAST16): Likewise.
12078         [C99-based-standards] (PRIiLEAST16): Likewise.
12079         [C99-based-standards] (PRIoLEAST16): Likewise.
12080         [C99-based-standards] (PRIuLEAST16): Likewise.
12081         [C99-based-standards] (PRIxLEAST16): Likewise.
12082         [C99-based-standards] (PRIXLEAST16): Likewise.
12083         [C99-based-standards] (SCNdLEAST16): Likewise.
12084         [C99-based-standards] (SCNiLEAST16): Likewise.
12085         [C99-based-standards] (SCNoLEAST16): Likewise.
12086         [C99-based-standards] (SCNuLEAST16): Likewise.
12087         [C99-based-standards] (SCNxLEAST16): Likewise.
12088         [C99-based-standards] (PRIdFAST16): Likewise.
12089         [C99-based-standards] (PRIiFAST16): Likewise.
12090         [C99-based-standards] (PRIoFAST16): Likewise.
12091         [C99-based-standards] (PRIuFAST16): Likewise.
12092         [C99-based-standards] (PRIxFAST16): Likewise.
12093         [C99-based-standards] (PRIXFAST16): Likewise.
12094         [C99-based-standards] (SCNdFAST16): Likewise.
12095         [C99-based-standards] (SCNiFAST16): Likewise.
12096         [C99-based-standards] (SCNoFAST16): Likewise.
12097         [C99-based-standards] (SCNuFAST16): Likewise.
12098         [C99-based-standards] (SCNxFAST16): Likewise.
12099         [C99-based-standards] (PRId32): Likewise.
12100         [C99-based-standards] (PRIi32): Likewise.
12101         [C99-based-standards] (PRIo32): Likewise.
12102         [C99-based-standards] (PRIu32): Likewise.
12103         [C99-based-standards] (PRIx32): Likewise.
12104         [C99-based-standards] (PRIX32): Likewise.
12105         [C99-based-standards] (SCNd32): Likewise.
12106         [C99-based-standards] (SCNi32): Likewise.
12107         [C99-based-standards] (SCNo32): Likewise.
12108         [C99-based-standards] (SCNu32): Likewise.
12109         [C99-based-standards] (SCNx32): Likewise.
12110         [C99-based-standards] (PRIdLEAST32): Likewise.
12111         [C99-based-standards] (PRIiLEAST32): Likewise.
12112         [C99-based-standards] (PRIoLEAST32): Likewise.
12113         [C99-based-standards] (PRIuLEAST32): Likewise.
12114         [C99-based-standards] (PRIxLEAST32): Likewise.
12115         [C99-based-standards] (PRIXLEAST32): Likewise.
12116         [C99-based-standards] (SCNdLEAST32): Likewise.
12117         [C99-based-standards] (SCNiLEAST32): Likewise.
12118         [C99-based-standards] (SCNoLEAST32): Likewise.
12119         [C99-based-standards] (SCNuLEAST32): Likewise.
12120         [C99-based-standards] (SCNxLEAST32): Likewise.
12121         [C99-based-standards] (PRIdFAST32): Likewise.
12122         [C99-based-standards] (PRIiFAST32): Likewise.
12123         [C99-based-standards] (PRIoFAST32): Likewise.
12124         [C99-based-standards] (PRIuFAST32): Likewise.
12125         [C99-based-standards] (PRIxFAST32): Likewise.
12126         [C99-based-standards] (PRIXFAST32): Likewise.
12127         [C99-based-standards] (SCNdFAST32): Likewise.
12128         [C99-based-standards] (SCNiFAST32): Likewise.
12129         [C99-based-standards] (SCNoFAST32): Likewise.
12130         [C99-based-standards] (SCNuFAST32): Likewise.
12131         [C99-based-standards] (SCNxFAST32): Likewise.
12132         [C99-based-standards] (PRId64): Likewise.
12133         [C99-based-standards] (PRIi64): Likewise.
12134         [C99-based-standards] (PRIo64): Likewise.
12135         [C99-based-standards] (PRIu64): Likewise.
12136         [C99-based-standards] (PRIx64): Likewise.
12137         [C99-based-standards] (PRIX64): Likewise.
12138         [C99-based-standards] (SCNd64): Likewise.
12139         [C99-based-standards] (SCNi64): Likewise.
12140         [C99-based-standards] (SCNo64): Likewise.
12141         [C99-based-standards] (SCNu64): Likewise.
12142         [C99-based-standards] (SCNx64): Likewise.
12143         [C99-based-standards] (PRIdLEAST64): Likewise.
12144         [C99-based-standards] (PRIiLEAST64): Likewise.
12145         [C99-based-standards] (PRIoLEAST64): Likewise.
12146         [C99-based-standards] (PRIuLEAST64): Likewise.
12147         [C99-based-standards] (PRIxLEAST64): Likewise.
12148         [C99-based-standards] (PRIXLEAST64): Likewise.
12149         [C99-based-standards] (SCNdLEAST64): Likewise.
12150         [C99-based-standards] (SCNiLEAST64): Likewise.
12151         [C99-based-standards] (SCNoLEAST64): Likewise.
12152         [C99-based-standards] (SCNuLEAST64): Likewise.
12153         [C99-based-standards] (SCNxLEAST64): Likewise.
12154         [C99-based-standards] (PRIdFAST64): Likewise.
12155         [C99-based-standards] (PRIiFAST64): Likewise.
12156         [C99-based-standards] (PRIoFAST64): Likewise.
12157         [C99-based-standards] (PRIuFAST64): Likewise.
12158         [C99-based-standards] (PRIxFAST64): Likewise.
12159         [C99-based-standards] (PRIXFAST64): Likewise.
12160         [C99-based-standards] (SCNdFAST64): Likewise.
12161         [C99-based-standards] (SCNiFAST64): Likewise.
12162         [C99-based-standards] (SCNoFAST64): Likewise.
12163         [C99-based-standards] (SCNuFAST64): Likewise.
12164         [C99-based-standards] (SCNxFAST64): Likewise.
12165         [C99-based-standards] (PRIdMAX): Likewise.
12166         [C99-based-standards] (PRIiMAX): Likewise.
12167         [C99-based-standards] (PRIoMAX): Likewise.
12168         [C99-based-standards] (PRIuMAX): Likewise.
12169         [C99-based-standards] (PRIxMAX): Likewise.
12170         [C99-based-standards] (PRIXMAX): Likewise.
12171         [C99-based-standards] (SCNdMAX): Likewise.
12172         [C99-based-standards] (SCNiMAX): Likewise.
12173         [C99-based-standards] (SCNoMAX): Likewise.
12174         [C99-based-standards] (SCNuMAX): Likewise.
12175         [C99-based-standards] (SCNxMAX): Likewise.
12176         [C99-based-standards] (PRIdPTR): Likewise.
12177         [C99-based-standards] (PRIiPTR): Likewise.
12178         [C99-based-standards] (PRIoPTR): Likewise.
12179         [C99-based-standards] (PRIuPTR): Likewise.
12180         [C99-based-standards] (PRIxPTR): Likewise.
12181         [C99-based-standards] (PRIXPTR): Likewise.
12182         [C99-based-standards] (SCNdPTR): Likewise.
12183         [C99-based-standards] (SCNiPTR): Likewise.
12184         [C99-based-standards] (SCNoPTR): Likewise.
12185         [C99-based-standards] (SCNuPTR): Likewise.
12186         [C99-based-standards] (SCNxPTR): Likewise.
12187         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12188         allow.
12189         * conform/data/stdint.h-data: Update comments to clarify
12190         requirements.
12191         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
12192         type.
12193         [C99-based standards] (INT8_MAX): Likewise.
12194         [C99-based standards] (INT16_MIN): Likewise.
12195         [C99-based standards] (INT16_MAX): Likewise.
12196         [C99-based standards] (INT32_MIN): Likewise.
12197         [C99-based standards] (INT32_MAX): Likewise.
12198         [C99-based standards] (INT64_MIN): Likewise.
12199         [C99-based standards] (INT64_MAX): Likewise.
12200         [C99-based standards] (UINT8_MAX): Likewise.
12201         [C99-based standards] (UINT16_MAX): Likewise.
12202         [C99-based standards] (UINT32_MAX): Likewise.
12203         [C99-based standards] (UINT64_MAX): Likewise.
12204         [C99-based standards] (INT_LEAST8_MIN): Likewise.
12205         [C99-based standards] (INT_LEAST8_MAX): Likewise.
12206         [C99-based standards] (INT_LEAST16_MIN): Likewise.
12207         [C99-based standards] (INT_LEAST16_MAX): Likewise.
12208         [C99-based standards] (INT_LEAST32_MIN): Likewise.
12209         [C99-based standards] (INT_LEAST32_MAX): Likewise.
12210         [C99-based standards] (INT_LEAST64_MIN): Likewise.
12211         [C99-based standards] (INT_LEAST64_MAX): Likewise.
12212         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12213         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12214         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12215         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12216         [C99-based standards] (INT_FAST8_MIN): Likewise.
12217         [C99-based standards] (INT_FAST8_MAX): Likewise.
12218         [C99-based standards] (INT_FAST16_MIN): Likewise.
12219         [C99-based standards] (INT_FAST16_MAX): Likewise.
12220         [C99-based standards] (INT_FAST32_MIN): Likewise.
12221         [C99-based standards] (INT_FAST32_MAX): Likewise.
12222         [C99-based standards] (INT_FAST64_MIN): Likewise.
12223         [C99-based standards] (INT_FAST64_MAX): Likewise.
12224         [C99-based standards] (UINT_FAST8_MAX): Likewise.
12225         [C99-based standards] (UINT_FAST16_MAX): Likewise.
12226         [C99-based standards] (UINT_FAST32_MAX): Likewise.
12227         [C99-based standards] (UINT_FAST64_MAX): Likewise.
12228         [C99-based standards] (INTPTR_MIN): Likewise.
12229         [C99-based standards] (INTPTR_MAX): Likewise.
12230         [C99-based standards] (UINTPTR_MAX): Likewise.
12231         [C99-based standards] (INTMAX_MIN): Likewise.
12232         [C99-based standards] (INTMAX_MAX): Likewise.
12233         [C99-based standards] (UINTMAX_MAX): Likewise.
12234         [C99-based standards] (PTRDIFF_MIN): Likewise.
12235         [C99-based standards] (PTRDIFF_MAX): Likewise.
12236         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12237         [C99-based standards] (SIZE_MAX): Likewise.
12238         [C99-based standards] (WCHAR_MAX): Likewise.
12239         [C99-based standards] (WINT_MAX): Likewise.
12240         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
12241         constraint on value.
12242         [C99-based standards] (WCHAR_MIN): Likewise.
12243         [C99-based standards] (WINT_MIN): Likewise.
12244         [C99-based standards] (*_t): Allow.
12245         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12246         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12247         Include math.h-data and complex.h-data.  Remove all expectations
12248         of math.h and complex.h contents.
12249         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12250         at end of line.
12251         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12252         (struct tm): Expect tag.
12253         [C99-based-standards] (wcstof): Expect function.
12254         [C99-based-standards] (wcstold): Likewise.
12255         [C99-based-standards] (wcstoll): Likewise.
12256         [C99-based-standards] (wcstoull): Likewise.
12257         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12258         macro-int-constant.  Specify type.
12259         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
12260         constraint on value.
12261         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12262         Specify type.
12263         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12264         Specify value.
12265         [ISO C standards]: Do not allow headers.
12266         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12267         wcs[abcdefghijklmnopqrstuvwxyz]*.
12268         [ISO C standards] (*_t): Do not allow.
12269         * conform/data/wctype.h-data [C99-based standards] (iswblank):
12270         Expect function.
12271         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12272         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12273         Specify type.
12274         [ISO C standards]: Do not allow headers.
12275         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12276         is[abcdefghijklmnopqrstuvwxyz]*.
12277         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12278         to[abcdefghijklmnopqrstuvwxyz]*.
12279         [ISO C standards] (*_t): Do not allow.
12280         * conform/data/stdalign.h-data: New file.
12281         * conform/data/stdbool.h-data: Likewise.
12282         * conform/data/stdnoreturn.h-data: Likewise.
12284 2012-11-07  Roland McGrath  <roland@hack.frob.com>
12286         [BZ #14815]
12287         * manual/filesys.texi (Directory Entries): Typo fix.
12288         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12290 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12292         * elf/elf.h (EM_AARCH64): New macro.
12293         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12294         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12295         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12296         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12297         (R_AARCH64_TLSDESC): Likewise.
12298         (NT_ARM_TLS): Likewise.
12299         (NT_ARM_HW_BREAK): Likewise.
12300         (NT_ARM_HW_WATCH): Likewise.
12302 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12304         [BZ #14811]
12305         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12306         (__ieee754_powl): Saturate nonzero exponents with absolute value
12307         below 0x1p-79 to +/- 0x1p-79.
12308         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12309         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12310         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12311         nonzero exponents with absolute value below 0x1p-32 to +/-
12312         0x1p-32.
12313         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12314         (__ieee754_powl): Saturate nonzero exponents with absolute value
12315         below 0x1p-79 to +/- 0x1p-79.
12316         * math/libm-test.inc (pow_test): Add more tests.
12318 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12320         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12321         _dl_s390_cap_flags with kernel. Increase string length.
12322         (_dl_s390_platforms): Add z196 and zEC12.
12324 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12326         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12327         Change XOPEN21K to XOPEN2K.
12329 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
12331         * string/memmove.c: Use memcpy when possible.
12333 2012-11-06  Andreas Jaeger  <aj@suse.de>
12335         * po/eo.po: Update from translation team.
12337 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
12339         [BZ #14793]
12340         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12341         exponent and small x and y exponents, scale x or y up.  Increase
12342         by 2 the exponent used in scaling up.
12343         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12344         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12345         * math/libm-test.inc (fma_test): Add more tests.
12346         (fma_test_towardzero): Likewise.
12347         (fma_test_downward): Likewise.
12348         (fma_test_upward): Likewise.
12350 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
12352         [BZ #14805]
12353         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12354         fenv_t *.
12356         [BZ #14801]
12357         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12358         namespace for names of struct fields.
12359         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12360         fenv_t fields.
12361         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12362         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12364 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12366         [BZ #3665]
12367         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12369 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12371         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12372         PTR_DEMANGLE.
12374         [BZ #5246]
12375         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12376         PTR_DEMANGLE.
12378 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
12380         [BZ #14797]
12381         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12382         definitely overflow as x * y not x * y + z.
12383         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12384         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12385         * math/libm-test.inc (fma_test): Add more tests.
12386         (fma_test_towardzero): Likewise.
12387         (fma_test_downward): Likewise.
12388         (fma_test_upward): Likewise.
12390 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12392         [BZ #157]
12394         * include/stub-tag.h: Remove file.
12395         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12396         '#include' of it.
12397         * manual/maint.texi (Porting): Don't reference it.
12398         * Makerules ($(objpfx)stubs): Likewise.
12399         * dirent/closedir.c: Don't include <stub-tag.h>.
12400         * dirent/dirfd.c: Likewise.
12401         * dirent/fdopendir.c: Likewise.
12402         * dirent/getdents.c: Likewise.
12403         * dirent/getdents64.c: Likewise.
12404         * dirent/opendir.c: Likewise.
12405         * dirent/readdir.c: Likewise.
12406         * dirent/readdir64.c: Likewise.
12407         * dirent/readdir64_r.c: Likewise.
12408         * dirent/readdir_r.c: Likewise.
12409         * dirent/rewinddir.c: Likewise.
12410         * dirent/seekdir.c: Likewise.
12411         * dirent/telldir.c: Likewise.
12412         * gmon/profil.c: Likewise.
12413         * grp/setgroups.c: Likewise.
12414         * inet/if_index.c: Likewise.
12415         * io/access.c: Likewise.
12416         * io/chdir.c: Likewise.
12417         * io/chmod.c: Likewise.
12418         * io/chown.c: Likewise.
12419         * io/close.c: Likewise.
12420         * io/dup.c: Likewise.
12421         * io/dup2.c: Likewise.
12422         * io/dup3.c: Likewise.
12423         * io/euidaccess.c: Likewise.
12424         * io/faccessat.c: Likewise.
12425         * io/fchdir.c: Likewise.
12426         * io/fchmod.c: Likewise.
12427         * io/fchmodat.c: Likewise.
12428         * io/fchown.c: Likewise.
12429         * io/fchownat.c: Likewise.
12430         * io/fcntl.c: Likewise.
12431         * io/flock.c: Likewise.
12432         * io/fstatfs.c: Likewise.
12433         * io/fstatfs64.c: Likewise.
12434         * io/fstatvfs.c: Likewise.
12435         * io/fstatvfs64.c: Likewise.
12436         * io/futimens.c: Likewise.
12437         * io/fxstat.c: Likewise.
12438         * io/fxstat64.c: Likewise.
12439         * io/fxstatat.c: Likewise.
12440         * io/fxstatat64.c: Likewise.
12441         * io/getcwd.c: Likewise.
12442         * io/isatty.c: Likewise.
12443         * io/lchmod.c: Likewise.
12444         * io/lchown.c: Likewise.
12445         * io/link.c: Likewise.
12446         * io/linkat.c: Likewise.
12447         * io/lseek.c: Likewise.
12448         * io/lseek64.c: Likewise.
12449         * io/lxstat64.c: Likewise.
12450         * io/mkdir.c: Likewise.
12451         * io/mkdirat.c: Likewise.
12452         * io/mkfifo.c: Likewise.
12453         * io/mkfifoat.c: Likewise.
12454         * io/open.c: Likewise.
12455         * io/open64.c: Likewise.
12456         * io/openat.c: Likewise.
12457         * io/openat64.c: Likewise.
12458         * io/pipe.c: Likewise.
12459         * io/pipe2.c: Likewise.
12460         * io/poll.c: Likewise.
12461         * io/posix_fadvise.c: Likewise.
12462         * io/posix_fadvise64.c: Likewise.
12463         * io/posix_fallocate.c: Likewise.
12464         * io/posix_fallocate64.c: Likewise.
12465         * io/read.c: Likewise.
12466         * io/readlink.c: Likewise.
12467         * io/readlinkat.c: Likewise.
12468         * io/rmdir.c: Likewise.
12469         * io/sendfile.c: Likewise.
12470         * io/sendfile64.c: Likewise.
12471         * io/statfs.c: Likewise.
12472         * io/statfs64.c: Likewise.
12473         * io/statvfs.c: Likewise.
12474         * io/statvfs64.c: Likewise.
12475         * io/symlink.c: Likewise.
12476         * io/symlinkat.c: Likewise.
12477         * io/ttyname.c: Likewise.
12478         * io/ttyname_r.c: Likewise.
12479         * io/umask.c: Likewise.
12480         * io/unlink.c: Likewise.
12481         * io/unlinkat.c: Likewise.
12482         * io/utime.c: Likewise.
12483         * io/utimensat.c: Likewise.
12484         * io/write.c: Likewise.
12485         * io/xmknod.c: Likewise.
12486         * io/xmknodat.c: Likewise.
12487         * io/xstat.c: Likewise.
12488         * io/xstat64.c: Likewise.
12489         * login/getpt.c: Likewise.
12490         * login/grantpt.c: Likewise.
12491         * login/unlockpt.c: Likewise.
12492         * math/e_acoshl.c: Likewise.
12493         * math/e_acosl.c: Likewise.
12494         * math/e_asinl.c: Likewise.
12495         * math/e_atan2l.c: Likewise.
12496         * math/e_atanhl.c: Likewise.
12497         * math/e_coshl.c: Likewise.
12498         * math/e_expl.c: Likewise.
12499         * math/e_fmodl.c: Likewise.
12500         * math/e_gammal_r.c: Likewise.
12501         * math/e_hypotl.c: Likewise.
12502         * math/e_j0l.c: Likewise.
12503         * math/e_j1l.c: Likewise.
12504         * math/e_jnl.c: Likewise.
12505         * math/e_lgammal_r.c: Likewise.
12506         * math/e_log10l.c: Likewise.
12507         * math/e_log2l.c: Likewise.
12508         * math/e_logl.c: Likewise.
12509         * math/e_powl.c: Likewise.
12510         * math/e_rem_pio2l.c: Likewise.
12511         * math/e_sinhl.c: Likewise.
12512         * math/e_sqrtl.c: Likewise.
12513         * math/fclrexcpt.c: Likewise.
12514         * math/fedisblxcpt.c: Likewise.
12515         * math/feenablxcpt.c: Likewise.
12516         * math/fegetenv.c: Likewise.
12517         * math/fegetexcept.c: Likewise.
12518         * math/fegetround.c: Likewise.
12519         * math/feholdexcpt.c: Likewise.
12520         * math/fesetenv.c: Likewise.
12521         * math/fesetround.c: Likewise.
12522         * math/feupdateenv.c: Likewise.
12523         * math/fgetexcptflg.c: Likewise.
12524         * math/fraiseexcpt.c: Likewise.
12525         * math/fsetexcptflg.c: Likewise.
12526         * math/ftestexcept.c: Likewise.
12527         * math/k_cosl.c: Likewise.
12528         * math/k_rem_pio2l.c: Likewise.
12529         * math/k_sinl.c: Likewise.
12530         * math/k_tanl.c: Likewise.
12531         * math/s_asinhl.c: Likewise.
12532         * math/s_atanl.c: Likewise.
12533         * math/s_cbrtl.c: Likewise.
12534         * math/s_erfl.c: Likewise.
12535         * math/s_expm1l.c: Likewise.
12536         * math/s_log1pl.c: Likewise.
12537         * math/s_tanhl.c: Likewise.
12538         * misc/acct.c: Likewise.
12539         * misc/brk.c: Likewise.
12540         * misc/chflags.c: Likewise.
12541         * misc/chroot.c: Likewise.
12542         * misc/fchflags.c: Likewise.
12543         * misc/fgetxattr.c: Likewise.
12544         * misc/flistxattr.c: Likewise.
12545         * misc/fremovexattr.c: Likewise.
12546         * misc/fsetxattr.c: Likewise.
12547         * misc/fsync.c: Likewise.
12548         * misc/ftruncate.c: Likewise.
12549         * misc/futimes.c: Likewise.
12550         * misc/futimesat.c: Likewise.
12551         * misc/getdomain.c: Likewise.
12552         * misc/getdtsz.c: Likewise.
12553         * misc/gethostid.c: Likewise.
12554         * misc/gethostname.c: Likewise.
12555         * misc/getloadavg.c: Likewise.
12556         * misc/getpagesize.c: Likewise.
12557         * misc/getsysstats.c: Likewise.
12558         * misc/getxattr.c: Likewise.
12559         * misc/gtty.c: Likewise.
12560         * misc/ioctl.c: Likewise.
12561         * misc/lgetxattr.c: Likewise.
12562         * misc/listxattr.c: Likewise.
12563         * misc/llistxattr.c: Likewise.
12564         * misc/lremovexattr.c: Likewise.
12565         * misc/lsetxattr.c: Likewise.
12566         * misc/lutimes.c: Likewise.
12567         * misc/madvise.c: Likewise.
12568         * misc/mincore.c: Likewise.
12569         * misc/mlock.c: Likewise.
12570         * misc/mlockall.c: Likewise.
12571         * misc/mmap.c: Likewise.
12572         * misc/mprotect.c: Likewise.
12573         * misc/msync.c: Likewise.
12574         * misc/munlock.c: Likewise.
12575         * misc/munlockall.c: Likewise.
12576         * misc/munmap.c: Likewise.
12577         * misc/preadv.c: Likewise.
12578         * misc/preadv64.c: Likewise.
12579         * misc/ptrace.c: Likewise.
12580         * misc/pwritev.c: Likewise.
12581         * misc/pwritev64.c: Likewise.
12582         * misc/readv.c: Likewise.
12583         * misc/reboot.c: Likewise.
12584         * misc/remap_file_pages.c: Likewise.
12585         * misc/removexattr.c: Likewise.
12586         * misc/revoke.c: Likewise.
12587         * misc/select.c: Likewise.
12588         * misc/setdomain.c: Likewise.
12589         * misc/setegid.c: Likewise.
12590         * misc/seteuid.c: Likewise.
12591         * misc/sethostid.c: Likewise.
12592         * misc/sethostname.c: Likewise.
12593         * misc/setregid.c: Likewise.
12594         * misc/setreuid.c: Likewise.
12595         * misc/setxattr.c: Likewise.
12596         * misc/sstk.c: Likewise.
12597         * misc/stty.c: Likewise.
12598         * misc/swapoff.c: Likewise.
12599         * misc/swapon.c: Likewise.
12600         * misc/sync.c: Likewise.
12601         * misc/syncfs.c: Likewise.
12602         * misc/syscall.c: Likewise.
12603         * misc/truncate.c: Likewise.
12604         * misc/ualarm.c: Likewise.
12605         * misc/usleep.c: Likewise.
12606         * misc/ustat.c: Likewise.
12607         * misc/utimes.c: Likewise.
12608         * misc/vhangup.c: Likewise.
12609         * misc/writev.c: Likewise.
12610         * posix/_exit.c: Likewise.
12611         * posix/alarm.c: Likewise.
12612         * posix/execve.c: Likewise.
12613         * posix/fexecve.c: Likewise.
12614         * posix/fork.c: Likewise.
12615         * posix/fpathconf.c: Likewise.
12616         * posix/getaddrinfo.c: Likewise.
12617         * posix/getegid.c: Likewise.
12618         * posix/geteuid.c: Likewise.
12619         * posix/getgid.c: Likewise.
12620         * posix/getgroups.c: Likewise.
12621         * posix/getlogin.c: Likewise.
12622         * posix/getlogin_r.c: Likewise.
12623         * posix/getpgid.c: Likewise.
12624         * posix/getpid.c: Likewise.
12625         * posix/getppid.c: Likewise.
12626         * posix/getresgid.c: Likewise.
12627         * posix/getresuid.c: Likewise.
12628         * posix/getsid.c: Likewise.
12629         * posix/getuid.c: Likewise.
12630         * posix/glob64.c: Likewise.
12631         * posix/nanosleep.c: Likewise.
12632         * posix/pathconf.c: Likewise.
12633         * posix/pause.c: Likewise.
12634         * posix/posix_madvise.c: Likewise.
12635         * posix/pread.c: Likewise.
12636         * posix/pread64.c: Likewise.
12637         * posix/pwrite.c: Likewise.
12638         * posix/pwrite64.c: Likewise.
12639         * posix/sched_getaffinity.c: Likewise.
12640         * posix/sched_getp.c: Likewise.
12641         * posix/sched_gets.c: Likewise.
12642         * posix/sched_primax.c: Likewise.
12643         * posix/sched_primin.c: Likewise.
12644         * posix/sched_rr_gi.c: Likewise.
12645         * posix/sched_setaffinity.c: Likewise.
12646         * posix/sched_setp.c: Likewise.
12647         * posix/sched_sets.c: Likewise.
12648         * posix/sched_yield.c: Likewise.
12649         * posix/setgid.c: Likewise.
12650         * posix/setlogin.c: Likewise.
12651         * posix/setpgid.c: Likewise.
12652         * posix/setresgid.c: Likewise.
12653         * posix/setresuid.c: Likewise.
12654         * posix/setsid.c: Likewise.
12655         * posix/setuid.c: Likewise.
12656         * posix/sleep.c: Likewise.
12657         * posix/spawni.c: Likewise.
12658         * posix/sysconf.c: Likewise.
12659         * posix/times.c: Likewise.
12660         * posix/wait.c: Likewise.
12661         * posix/wait3.c: Likewise.
12662         * posix/wait4.c: Likewise.
12663         * posix/waitpid.c: Likewise.
12664         * resolv/gai_sigqueue.c: Likewise.
12665         * resource/getpriority.c: Likewise.
12666         * resource/getrlimit.c: Likewise.
12667         * resource/getrusage.c: Likewise.
12668         * resource/nice.c: Likewise.
12669         * resource/setpriority.c: Likewise.
12670         * resource/setrlimit.c: Likewise.
12671         * resource/ulimit.c: Likewise.
12672         * rt/aio_cancel.c: Likewise.
12673         * rt/aio_fsync.c: Likewise.
12674         * rt/aio_read.c: Likewise.
12675         * rt/aio_sigqueue.c: Likewise.
12676         * rt/aio_suspend.c: Likewise.
12677         * rt/aio_write.c: Likewise.
12678         * rt/clock_getres.c: Likewise.
12679         * rt/clock_gettime.c: Likewise.
12680         * rt/clock_nanosleep.c: Likewise.
12681         * rt/clock_settime.c: Likewise.
12682         * rt/lio_listio.c: Likewise.
12683         * rt/mq_close.c: Likewise.
12684         * rt/mq_getattr.c: Likewise.
12685         * rt/mq_notify.c: Likewise.
12686         * rt/mq_open.c: Likewise.
12687         * rt/mq_receive.c: Likewise.
12688         * rt/mq_send.c: Likewise.
12689         * rt/mq_setattr.c: Likewise.
12690         * rt/mq_timedreceive.c: Likewise.
12691         * rt/mq_timedsend.c: Likewise.
12692         * rt/mq_unlink.c: Likewise.
12693         * rt/shm_open.c: Likewise.
12694         * rt/shm_unlink.c: Likewise.
12695         * rt/timer_create.c: Likewise.
12696         * rt/timer_delete.c: Likewise.
12697         * rt/timer_getoverr.c: Likewise.
12698         * rt/timer_gettime.c: Likewise.
12699         * rt/timer_settime.c: Likewise.
12700         * setjmp/__longjmp.c: Likewise.
12701         * setjmp/setjmp.c: Likewise.
12702         * signal/kill.c: Likewise.
12703         * signal/killpg.c: Likewise.
12704         * signal/raise.c: Likewise.
12705         * signal/sigaction.c: Likewise.
12706         * signal/sigaltstack.c: Likewise.
12707         * signal/sigblock.c: Likewise.
12708         * signal/sigignore.c: Likewise.
12709         * signal/sigintr.c: Likewise.
12710         * signal/signal.c: Likewise.
12711         * signal/sigpause.c: Likewise.
12712         * signal/sigpending.c: Likewise.
12713         * signal/sigqueue.c: Likewise.
12714         * signal/sigreturn.c: Likewise.
12715         * signal/sigset.c: Likewise.
12716         * signal/sigsetmask.c: Likewise.
12717         * signal/sigstack.c: Likewise.
12718         * signal/sigsuspend.c: Likewise.
12719         * signal/sigtimedwait.c: Likewise.
12720         * signal/sigvec.c: Likewise.
12721         * signal/sigwait.c: Likewise.
12722         * signal/sigwaitinfo.c: Likewise.
12723         * signal/sysv_signal.c: Likewise.
12724         * socket/accept.c: Likewise.
12725         * socket/accept4.c: Likewise.
12726         * socket/bind.c: Likewise.
12727         * socket/connect.c: Likewise.
12728         * socket/getpeername.c: Likewise.
12729         * socket/getsockname.c: Likewise.
12730         * socket/getsockopt.c: Likewise.
12731         * socket/isfdtype.c: Likewise.
12732         * socket/listen.c: Likewise.
12733         * socket/recv.c: Likewise.
12734         * socket/recvfrom.c: Likewise.
12735         * socket/recvmsg.c: Likewise.
12736         * socket/send.c: Likewise.
12737         * socket/sendmsg.c: Likewise.
12738         * socket/sendto.c: Likewise.
12739         * socket/setsockopt.c: Likewise.
12740         * socket/shutdown.c: Likewise.
12741         * socket/sockatmark.c: Likewise.
12742         * socket/socket.c: Likewise.
12743         * socket/socketpair.c: Likewise.
12744         * stdio-common/ctermid.c: Likewise.
12745         * stdio-common/cuserid.c: Likewise.
12746         * stdio-common/remove.c: Likewise.
12747         * stdio-common/rename.c: Likewise.
12748         * stdio-common/renameat.c: Likewise.
12749         * stdio-common/tempname.c: Likewise.
12750         * stdlib/getcontext.c: Likewise.
12751         * stdlib/makecontext.c: Likewise.
12752         * stdlib/setcontext.c: Likewise.
12753         * stdlib/swapcontext.c: Likewise.
12754         * stdlib/system.c: Likewise.
12755         * streams/fattach.c: Likewise.
12756         * streams/fdetach.c: Likewise.
12757         * streams/getmsg.c: Likewise.
12758         * streams/getpmsg.c: Likewise.
12759         * streams/putmsg.c: Likewise.
12760         * streams/putpmsg.c: Likewise.
12761         * sysdeps/unix/bsd/getpt.c: Likewise.
12762         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12763         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12764         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12766         Likewise.
12767         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12768         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12769         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12770         * sysvipc/msgctl.c: Likewise.
12771         * sysvipc/msgget.c: Likewise.
12772         * sysvipc/msgrcv.c: Likewise.
12773         * sysvipc/msgsnd.c: Likewise.
12774         * sysvipc/semctl.c: Likewise.
12775         * sysvipc/semget.c: Likewise.
12776         * sysvipc/semop.c: Likewise.
12777         * sysvipc/semtimedop.c: Likewise.
12778         * sysvipc/shmat.c: Likewise.
12779         * sysvipc/shmctl.c: Likewise.
12780         * sysvipc/shmdt.c: Likewise.
12781         * sysvipc/shmget.c: Likewise.
12782         * termios/tcdrain.c: Likewise.
12783         * termios/tcflow.c: Likewise.
12784         * termios/tcflush.c: Likewise.
12785         * termios/tcgetattr.c: Likewise.
12786         * termios/tcgetpgrp.c: Likewise.
12787         * termios/tcsendbrk.c: Likewise.
12788         * termios/tcsetattr.c: Likewise.
12789         * termios/tcsetpgrp.c: Likewise.
12790         * time/adjtime.c: Likewise.
12791         * time/clock.c: Likewise.
12792         * time/getitimer.c: Likewise.
12793         * time/gettimeofday.c: Likewise.
12794         * time/setitimer.c: Likewise.
12795         * time/settimeofday.c: Likewise.
12796         * time/stime.c: Likewise.
12797         * time/time.c: Likewise.
12799 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
12801         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12802         /usr/old/bin.
12804         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12805         instead of spaces.
12806         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12808 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
12810         [BZ #14796]
12811         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12812         FE_TONEAREST before applying Dekker multiplication and Knuth
12813         addition.  Clear inexact exceptions and check for exact zero
12814         results afterwards.
12815         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12816         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12817         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12818         * math/libm-test.inc (fma_test): Add more tests.
12819         (fma_test_towardzero): Likewise.
12820         (fma_test_downward): Likewise.
12821         (fma_test_upward): Likewise.
12822         * sysdeps/generic/math_private.h (default_libc_fesetround): New
12823         function.
12824         (libc_fesetround): New macro.
12825         (libc_fesetroundf): Likewise.
12826         (libc_fesetroundl): Likewise.
12827         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12828         function.
12829         (libc_fesetround_387): Likewise.
12830         (libc_fesetroundf): New macro.
12831         (libc_fesetround): Likewise.
12832         (libc_fesetroundl): Likewise.
12833         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12834         function.
12835         (libc_fesetroundf): New macro.
12836         (libc_fesetround): Likewise.
12837         (libc_fesetroundl): Likewise.
12838         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12839         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12840         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12841         libm_hidden_ver.
12842         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12843         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12844         libm_hidden_def.
12845         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12846         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12847         libm_hidden_ver.
12848         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12849         libm_hidden_def.
12851         [BZ #3439]
12852         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12853         integer constant usable in #if and use that to give value to enum
12854         constant.
12855         (FE_DIVBYZERO): Likewise.
12856         (FE_UNDERFLOW): Likewise.
12857         (FE_OVERFLOW): Likewise.
12858         (FE_INVALID): Likewise.
12859         (FE_INVALID_SNAN): Likewise.
12860         (FE_INVALID_ISI): Likewise.
12861         (FE_INVALID_IDI): Likewise.
12862         (FE_INVALID_ZDZ): Likewise.
12863         (FE_INVALID_IMZ): Likewise.
12864         (FE_INVALID_COMPARE): Likewise.
12865         (FE_INVALID_SOFTWARE): Likewise.
12866         (FE_INVALID_SQRT): Likewise.
12867         (FE_INVALID_INTEGER_CONVERSION): Likewise.
12868         (FE_TONEAREST): Likewise.
12869         (FE_TOWARDZERO): Likewise.
12870         (FE_UPWARD): Likewise.
12871         (FE_DOWNWARD): Likewise.
12872         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12873         (FE_DIVBYZERO): Likewise.
12874         (FE_OVERFLOW): Likewise.
12875         (FE_UNDERFLOW): Likewise.
12876         (FE_INEXACT): Likewise.
12877         (FE_TONEAREST): Likewise.
12878         (FE_DOWNWARD): Likewise.
12879         (FE_UPWARD): Likewise.
12880         (FE_TOWARDZERO): Likewise.
12881         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12882         (FE_UNDERFLOW): Likewise.
12883         (FE_OVERFLOW): Likewise.
12884         (FE_DIVBYZERO): Likewise.
12885         (FE_INVALID): Likewise.
12886         (FE_TONEAREST): Likewise.
12887         (FE_TOWARDZERO): Likewise.
12888         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12889         (FE_OVERFLOW): Likewise.
12890         (FE_UNDERFLOW): Likewise.
12891         (FE_DIVBYZERO): Likewise.
12892         (FE_INEXACT): Likewise.
12893         (FE_TONEAREST): Likewise.
12894         (FE_TOWARDZERO): Likewise.
12895         (FE_UPWARD): Likewise.
12896         (FE_DOWNWARD): Likewise.
12897         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12898         (FE_DIVBYZERO): Likewise.
12899         (FE_OVERFLOW): Likewise.
12900         (FE_UNDERFLOW): Likewise.
12901         (FE_INEXACT): Likewise.
12902         (FE_TONEAREST): Likewise.
12903         (FE_DOWNWARD): Likewise.
12904         (FE_UPWARD): Likewise.
12905         (FE_TOWARDZERO): Likewise.
12907 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
12909         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12911 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
12913         * scripts/cross-test-ssh.sh (command): Use newlines to separate
12914         commands.  Quote $PWD.
12915         (blacklist_exports): Don't use remove_newlines.  Replace "declare
12916         -x" by "export".
12917         (remove_newlines): Remove.
12919 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
12921         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12922         * stdlib/stdlib.h (atof): Moved to ...
12923         * include/bits/stdlib-float.h: Here.  New file.
12924         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12925         * stdlib/bits/stdlib-float.h: New file.
12926         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12927         -mno-sse -mno-mmx.
12928         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12929         <xmmintrin.h>.
12931 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
12933         * conform/conformtest.pl (@headers): Add fenv.h.
12934         * conform/data/fenv.h-data: New file.
12935         * include/fenv.h [_ISOMAC]: Disable all contents of file except
12936         include of <math/fenv.h>.
12938         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12939         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12940         && !UNIX98].  Enables tests for XOPEN2K8.
12941         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12942         POSIX2008]: Likewise.
12944         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12945         (struct rusage): Do not expect type or its members.
12947         [BZ #3439]
12948         * math/math.h (FP_NAN): Define macro to integer constant usable in
12949         #if and use that to give value to enum constant.
12950         (FP_INFINITE): Likewise.
12951         (FP_ZERO): Likewise.
12952         (FP_SUBNORMAL): Likewise.
12953         (FP_NORMAL): Likewise.
12955 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
12957         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12958         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12959         arguments.
12961 2012-11-02  Roland McGrath  <roland@hack.frob.com>
12963         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12964         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12965         autoconf-time if not.
12966         * configure.in: Remove AC_PREREQ.
12968 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12970         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12971         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12972         of the internal implementation.
12974 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
12976         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12977         except include of <misc/sys/syslog.h>.
12979 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12982         function returns with a NULL context exit with zero.
12984 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12986         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12988 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
12990         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12991         (run_program_cmd): This.
12992         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12993         (tst_langinfo): New variable.  Use it.
12995 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
12997         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12998         floating point opcodes.
13000 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13002         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13003         variable.
13005         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13007         * sysdeps/mach/hurd/powerpc: Remove directory.
13008         * sysdeps/mach/powerpc: Likewise.
13010 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13012         * scripts/check-local-headers.sh: Ignore c++ headers.
13014 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13016         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13017         __libc_cleanup_region_start argument.
13019 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
13021         [BZ #14784]
13022         [BZ #14785]
13023         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13024         x * y using scaling, not as x * y + z.
13025         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13026         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13027         * math/libm-test.inc (fma_test): Add more tests.
13028         (fma_test_towardzero): Likewise.
13029         (fma_test_downward): Likewise.
13030         (fma_test_upward): Likewise.
13032 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13034         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13036 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13038         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13039         New variable.
13041 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
13043         * rt/tst-shm.c (worker): Correct checking for mmap failure.
13045 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13048         Fix sort order.
13049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13050         Likewise.
13052 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13055         Fix the order of the list for glibc 2.17.
13056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13057         Likewise.
13059 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13063 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13065         [BZ #14610]
13066         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13067         for low part of x being zero before using __atanl (y).
13068         * math/libm-test.inc (atan2_test): Add another test.
13070         * manual/install.texi (Configuring and compiling): Document
13071         general use of test-wrapper and test-wrapper-env.
13072         * INSTALL: Regenerated.
13074         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13075         (__fma): Do not extract and scale down low bits on after-rounding
13076         systems when result rounded to normal precision would have normal
13077         exponent.
13078         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13079         (__fmal): Do not extract and scale down low bits on after-rounding
13080         systems when result rounded to normal precision would have normal
13081         exponent.
13082         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13083         (__fmal): Do not extract and scale down low bits on after-rounding
13084         systems when result rounded to normal precision would have normal
13085         exponent.
13086         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13087         macro.
13088         (fma_test): Add more tests.
13089         (fma_test_towardzero): Likewise.
13090         (fma_test_downward): Likewise.
13091         (fma_test_upward): Likewise.
13093 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
13095         * sysdeps/i386/tininess.h: Renamed to ...
13096         * sysdeps/x86/tininess.h: This.
13097         * sysdeps/x86_64/tininess.h: Removed.
13099 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13101         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13102         input.  Use $(build-program-cmd).
13103         ($(objpfx)tst-array1-static.out): Likewise.
13104         ($(objpfx)tst-array2.out): Likewise.
13105         ($(objpfx)tst-array3.out): Likewise.
13106         ($(objpfx)tst-array4.out): Likewise.
13107         ($(objpfx)tst-array5.out): Likewise.
13108         ($(objpfx)tst-array5-static.out): Likewise.
13110 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
13112         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13113         if defined.
13115         * nss/nsswitch.h (nss_interface_function): Provide new
13116         macro for use with NSS functions.
13117         * grp/initgroups.c: Use new macro.
13118         * nss/getXXbyYY.c: Likewise.
13119         * nss/getXXbyYY_r.c: Likewise.
13120         * nss/getXXent.c: Likewise.
13121         * nss/getXXent_r.c: Likewise.
13122         * sysdeps/posix/getaddrinfo.c: Likewise.
13124 2012-10-30  Andreas Jaeger  <aj@suse.de>
13126         * po/ru.po: Update Russion translation from translation project.
13128 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13130         [BZ #14152]
13131         [BZ #14783]
13132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13133         result and shift together with sticky bit instead of replicating
13134         round-to-nearest rounding.
13135         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13136         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13137         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
13138         missing underflow exceptions.
13139         (fma_test_towardzero): Add more tests.
13140         (fma_test_downward): Likewise.
13141         (fma_test_upward): Likewise.
13143         [BZ #14047]
13144         * sysdeps/generic/tininess.h: New file.
13145         * sysdeps/i386/tininess.h: Likewise.
13146         * sysdeps/sh/tininess.h: Likewise.
13147         * sysdeps/x86_64/tininess.h: Likewise.
13148         * stdlib/tst-strtod-underflow.c: Likewise.
13149         * stdlib/tst-tininess.c: Likewise.
13150         * stdlib/strtod_l.c: Include <tininess.h>.
13151         (round_and_return): Do not set errno for exact underflow cases.
13152         Force an underflow exception when setting errno for underflow.
13153         Determine underflow based on rounding to normal precision if
13154         TININESS_AFTER_ROUNDING.
13155         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13156         ERANGE for exact underflow cases.
13157         * stdlib/Makefile (tests): Add tst-tininess and
13158         tst-strtod-underflow.
13159         ($(objpfx)tst-tininess): Use $(link-libm).
13160         ($(objpfx)tst-strtod-underflow): Likewise.
13162 2012-10-30  Andreas Jaeger  <aj@suse.de>
13164         [BZ#14767]
13165         * elf/Makefile (tests): Remove conditional for have-initfini-array
13166         since this is now always required and the variable does not exist
13167         anymore.
13168         (tests-static): Likewise.
13169         (modules-names): Likewise.
13171         * po/eo.po: Add Esperanto translation from translation project.
13173         * elf/tst-array1.c (fini_array): Make writeable so that it can be
13174         merged with constructor/destructor.
13175         (init_array): Likewise.
13176         * elf/tst-array2dep.c (fini_array): Likewise.
13177         (init_array): Likewise.
13179 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
13181         * manual/message.texi: Delete @cartouche tags.
13183 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
13185         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13186         EOPNOTSUPP.
13187         * sysdeps/mach/hurd/fsync.c: Likewise.
13189         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13190         [_POSIX_REALTIME_SIGNALS]: Change condition to
13191         [_POSIX_REALTIME_SIGNALS > 0].
13193 2012-10-27  Andreas Jaeger  <aj@suse.de>
13195         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13196         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13197         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13198         [__WORDSIZE != 64]: Likewise.
13200 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
13202         *  iconvdata/tst-table.sh: Remove ${SHELL}.
13203         *  iconvdata/tst-tables.sh: Likewise.
13205 2012-10-25  David S. Miller  <davem@davemloft.net>
13207         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13208         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13209         of strtoull.
13211         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13212         ifunc-impl-list.c
13213         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13214         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13215         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13216         file.
13218 2012-10-25  Roland McGrath  <roland@hack.frob.com>
13220         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13221         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13222         __getdirentries.
13224 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13225             Jim Blandy  <jimb@codesourcery.com>
13227         * scripts/cross-test-ssh.sh: New file.
13228         * manual/install.texi (Configuring and compiling): Document use of
13229         cross-test-ssh.sh.
13230         * INSTALL: Regenerated.
13232 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
13234         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13235         EOPNOTSUPP.
13237 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13239         * Makeconfig (run-program-prefix): Fix comment.
13241 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13242             Jim Blandy  <jimb@codesourcery.com>
13244         * Makeconfig (test-wrapper): New variable,
13245         (test-wrapper-env): Likewise.
13246         [$(cross-compiling) = yes && $(test-wrapper) != ""]
13247         (run-built-tests): Define to yes.
13248         (run-program-prefix): Use $(test-wrapper).
13249         (built-program-cmd): Likewise.
13250         * Rules (make-test-out): Use $(test-wrapper-env) and
13251         $(host-built-program-cmd).
13252         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13253         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13254         tst-pathopt.sh.
13255         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13256         $(test-wrapper-env) to tst-rtld-load-self.sh.
13257         ($(objpfx)order2.out): Use $(test-wrapper).
13258         ($(objpfx)tst-initorder.out): Likewise.
13259         ($(objpfx)tst-initorder2.out): Likewise.
13260         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13261         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13262         (test_wrapper_env): New variable.  Use it to run ld.so.
13263         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13264         Use it to run ld.so.
13265         (test_wrapper_env): Likewise.
13266         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13267         $(test-wrapper) to run-iconv-test.sh.
13268         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13269         (ICONV): Use $test_wrapper.
13270         * posix/Makefile ($(objpfx)globtest.out): Pass
13271         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13272         globtest.sh, not $(run-program-prefix).
13273         * posix/globtest.sh (run_via_rtld_prefix): New variable.
13274         (test_wrapper): Likewise.
13275         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
13276         set together with run_via_rtld_prefix.
13277         (run_program_prefix): Define in terms of test_wrapper and
13278         run_via_rtld_prefix.
13280 2012-10-24  Roland McGrath  <roland@hack.frob.com>
13282         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13283         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13284         Targets removed.
13286         [BZ #14743]
13287         * include/time.h: Remove librt_hidden_proto (clock_gettime).
13288         Declare __clock_getres, __clock_gettime, __clock_settime,
13289         __clock_nanosleep, and __clock_getcpuclockid.
13290         * rt/clock_gettime.c: Define __clock_gettime as an alias.
13291         Remove librt_hidden_def (clock_gettime).
13292         * sysdeps/unix/clock_gettime.c: Likewise.
13293         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13294         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13295         * rt/clock_getres.c: Define __clock_getres as an alias.
13296         * sysdeps/posix/clock_getres.c: Likewise.
13297         * rt/clock_settime.c: Define __clock_settime as an alias.
13298         * sysdeps/unix/clock_settime.c: Likewise.
13299         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13300         * sysdeps/unix/clock_nanosleep.c: Likewise.
13301         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13302         * rt/clock-compat.c: New file.
13303         * rt/Makefile (librt-routines): Add clock-compat and move
13304         $(clock-routines) to ...
13305         (routines): ... here, new variable.
13306         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13307         Don't add get_clockfreq here.
13308         * rt/Versions (libc: GLIBC_2.17): New version set.
13309         Add clock_* symbols here.
13310         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
13311         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13312         (GLIBC_2.17): Add clock_* symbols.
13313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13315         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13317         Likewise.
13318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13319         Likewise.
13320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13321         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13324         * NEWS: Mention the move.
13326         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13327         Use __open, __read, __close rather than their public counterparts.
13328         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13329         (__get_clockfreq_via_cpuinfo): Likewise.
13330         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13331         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13333         * config.h.in (HAVE_IFUNC): New #undef.
13334         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13335         was successful.
13336         * configure: Regenerated.
13338 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
13340         * configure.in: Move READELF check to start of file.
13341         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13342         libc_cv_asm_gnu_indirect_function in the process.
13343         * configure: Regenerated.
13345 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
13347         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13348         send the output to /dev/null.
13349         (libc_cv_cc_with_libunwind): Likewise.
13350         (libc_cv_as_noexecstack): Likewise.
13351         * configure: Regenerate.
13353 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13355         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13357         * posix/globtest.sh (TMPDIR): Do not set.
13358         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13359         (testout): Likewise.
13361 2012-10-24  Andreas Jaeger  <aj@suse.de>
13363         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13364         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13365         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13366         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13367         posix_fadvise64, posix_fallocate64.
13369         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13370         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13371         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13372         Likewise.
13373         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13374         Likewise.
13375         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13377         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13378         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13379         <bits/fcntl-linux.h>.
13380         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13382         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13383         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13384         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13385         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13386         [__WORDSIZE != 64]: Likewise.
13388 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
13390         * Makeconfig (run-built-tests): New variable.
13391         * Rules [$(cross-compiling) = yes]: Change condition to
13392         [$(run-built-tests) = no].
13393         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13394         to [$(run-built-tests) = yes].
13395         * elf/Makefile [$(cross-compiling) = no]: Likewise
13396         * grp/Makefile [$(cross-compiling) = no]: Likewise.
13397         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13398         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13399         * intl/Makefile [$(cross-compiling) = no]: Likewise.
13400         * io/Makefile [$(cross-compiling) = no]: Likewise.
13401         * libio/Makefile [$(cross-compiling) = no]: Likewise.
13402         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13403         * misc/Makefile [$(cross-compiling) = no]: Likewise.
13404         * posix/Makefile [$(cross-compiling) = no]: Likewise.
13405         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13406         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13407         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13408         * string/Makefile [$(cross-compiling) = no]: Likewise.
13410         * posix/Makefile ($(objpfx)globtest.out): Pass
13411         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13412         $(rtld-installed-name).
13413         * posix/globtest.sh (elf_objpfx): Remove variable.
13414         (rtld_installed_name): Likewise.
13415         (library_path): Likewise.
13416         (run_program_prefix): New variable.  Use for running globtest
13417         binary.
13419 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
13420             Joseph Myers  <joseph@codesourcery.com>
13422         * Makeconfig (host-built-program-cmd): New variable.
13423         * elf/Makefile (tst-stackguard1-ARGS): Use
13424         $(host-built-program-cmd).
13425         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13426         (tst-spawn-ARGS): Likewise.
13427         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13429 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
13430             Jim Blandy  <jimb@codesourcery.com>
13432         * Makeconfig (run-via-rtld-prefix): New variable.
13433         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13434         (built-program-cmd): Likewise.
13436 2012-10-22  Andreas Jaeger  <aj@suse.de>
13438         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13439         __O_RSYNC if it exists, otherwise to O_SYNC.
13441 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
13442             Joseph Myers  <joseph@codesourcery.com>
13444         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13445         /dev/null.
13446         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13447         from /dev/null
13448         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13449         /dev/null.
13451 2012-10-22  Andreas Jaeger  <aj@suse.de>
13453         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13454         Define always.
13455         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13457         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13458         bits/fcntl-linux.h.
13460         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13461         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13463         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13464         to __O_LARGEFILE.
13465         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13466         to __O_LARGEFILE.
13468 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
13469             Joseph Myers  <joseph@codesourcery.com>
13471         * config.make.in (NM): New variable.
13473 2012-10-21  Andreas Jaeger  <aj@suse.de>
13475         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13476         definitions and declarations that are provided by
13477         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13479 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
13481         [BZ #14683]
13482         * elf/Makefile (tests-static): Add tst-leaks1-static.
13483         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13484         ($(objpfx)tst-leaks1-static): New rule.
13485         ($(objpfx)tst-leaks1-static-mem): Likewise.
13486         (tst-leaks1-static-ENV): New macro.
13487         * elf/dl-open.c (dl_open_worker): Check the main application
13488         only if SHARED is defined.
13489         * elf/tst-leaks1-static.c: New file.
13491 2012-10-20  Andreas Jaeger  <aj@suse.de>
13493         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13494         generic values for Linux.
13495         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13496         and declarations that are provided by <bits/fcntl-linux.h> and
13497         include <bits/fcntl-linux.h>.
13498         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13499         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13501 2012-10-20  Roland McGrath  <roland@hack.frob.com>
13503         * io/fcntl.h: Move include of <bits/types.h> to the top and
13504         include it unconditionally.
13506 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
13508         * wcsmbs/Makefile (tests-ifunc): New variable.
13509         (tests): Add $(tests-ifunc).
13510         * wcsmbs/test-wcschr-ifunc.c: New file.
13511         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13512         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13513         * wcsmbs/test-wcslen-ifunc.c: Likewise.
13514         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13515         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13517         * string/Makefile (tests-ifunc): New variable.
13518         (tests): Add $(tests-ifunc).
13519         * string/test-memccpy.c (TEST_NAME): New macro.
13520         * string/test-memchr.c (TEST_NAME): Likewise.
13521         * string/test-memcmp.c (TEST_NAME): Likewise.
13522         * string/test-memcpy.c (TEST_NAME): Likewise.
13523         * string/test-memmem.c (TEST_NAME): Likewise.
13524         * string/test-memmove.c (TEST_NAME): Likewise.
13525         * string/test-memset.c (TEST_NAME): Likewise.
13526         * string/test-rawmemchr.c (TEST_NAME): Likewise.
13527         * string/test-stpcpy.c (TEST_NAME): Likewise.
13528         * string/test-stpncpy.c (TEST_NAME): Likewise.
13529         * string/test-strcasecmp.c (TEST_NAME): Likewise.
13530         * string/test-strcasestr.c (TEST_NAME): Likewise.
13531         * string/test-strcat.c (TEST_NAME): Likewise.
13532         * string/test-strchr.c (TEST_NAME): Likewise.
13533         * string/test-strcmp.c(TEST_NAME): Likewise.
13534         * string/test-strcpy.c (TEST_NAME): Likewise.
13535         * string/test-strcspn.c (TEST_NAME): Likewise.
13536         * string/test-strlen.c (TEST_NAME): Likewise.
13537         * string/test-strncasecmp.c (TEST_NAME): Likewise.
13538         * string/test-strncmp.c (TEST_NAME): Likewise.
13539         * string/test-strncpy.c (TEST_NAME): Likewise.
13540         * string/test-strnlen.c (TEST_NAME): Likewise.
13541         * string/test-strpbrk.c (TEST_NAME): Likewise.
13542         * string/test-strrchr.c (TEST_NAME): Likewise.
13543         * string/test-strspn.c (TEST_NAME): Likewise.
13544         * string/test-strstr.c (TEST_NAME): Likewise.
13545         * string/test-bcopy-ifunc.c: New file.
13546         * string/test-bzero-ifunc.c: Likewise.
13547         * string/test-memccpy-ifunc.c: Likewise.
13548         * string/test-memchr-ifunc.c: Likewise.
13549         * string/test-memcmp-ifunc.c: Likewise.
13550         * string/test-memcpy-ifunc.c: Likewise.
13551         * string/test-memmem-ifunc.c: Likewise.
13552         * string/test-memmove-ifunc.c: Likewise.
13553         * string/test-mempcpy-ifunc.c: Likewise.
13554         * string/test-memset-ifunc.c: Likewise.
13555         * string/test-rawmemchr-ifunc.c: Likewise.
13556         * string/test-stpcpy-ifunc.c: Likewise.
13557         * string/test-stpncpy-ifunc.c: Likewise.
13558         * string/test-strcasecmp-ifunc.c: Likewise.
13559         * string/test-strcasestr-ifunc.c: Likewise.
13560         * string/test-strcat-ifunc.c: Likewise.
13561         * string/test-strchr-ifunc.c: Likewise.
13562         * string/test-strchrnul-ifunc.c: Likewise.
13563         * string/test-strcmp-ifunc.c: Likewise.
13564         * string/test-strcpy-ifunc.c: Likewise.
13565         * string/test-strcspn-ifunc.c: Likewise.
13566         * string/test-strlen-ifunc.c: Likewise.
13567         * string/test-strncasecmp-ifunc.c: Likewise.
13568         * string/test-strncat-ifunc.c: Likewise.
13569         * string/test-strncmp-ifunc.c: Likewise.
13570         * string/test-strncpy-ifunc.c: Likewise.
13571         * string/test-strnlen-ifunc.c: Likewise.
13572         * string/test-strpbrk-ifunc.c: Likewise.
13573         * string/test-strrchr-ifunc.c: Likewise.
13574         * string/test-strspn-ifunc.c: Likewise.
13575         * string/test-strstr-ifunc.c: Likewise.
13577         * debug/Makefile (tests-ifunc): New variable.
13578         (tests): Add $(tests-ifunc).
13579         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13580         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13581         * debug/test-stpcpy_chk-ifunc.c: New file.
13582         * debug/test-strcpy_chk-ifunc.c: Likewise.
13584 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13586         [BZ #13601]
13587         * elf/dl-load.c (open_verify): Retry read if the entire ELF
13588         header is not read in.
13590 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
13592         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
13593         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
13594         directly.  Pass built executable to script as
13595         $(built-program-cmd).
13596         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
13597         $testprogram without using LD_LIBRARY_PATH and $ldso.
13599         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13600         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13601         $(rtld-installed-name).
13602         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13603         (rtld_installed_name): Likewise.
13604         (library_path): Likewise.
13605         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
13606         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13607         $(run-program-prefix) to tst-tables.sh.
13608         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
13609         it to run tst-table-from and tst-table-to.
13610         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13611         Pass it to tst-table.sh.
13612         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13613         $(run-program-prefix) to tst-gettext.sh.
13614         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13615         tst-translit.sh.
13616         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13617         tst-gettext2.sh.
13618         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
13619         to run tst-gettext.
13620         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
13621         to run tst-gettext2.
13622         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
13623         to run tst-translit.
13624         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13625         $(run-program-prefix) to tst-mtrace.sh.
13626         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
13627         to run tst-mtrace.
13628         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13629         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13630         $(rtld-installed-name).
13631         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13632         (rtld_installed_name): Likewise.
13633         (run_program_prefix): New variable.  Use it to run wordexp-test.
13635         * Makeconfig (ARCH): Remove all definitions.
13636         (machine): Likewise.
13637         [ARCH]: Remove conditional code.
13638         [!objdir]: Give error.
13639         [!objdir] (objpfx): Remove.
13640         [!objdir] (common-objpfx): Likewise.
13641         [!objdir] (common-objdir): Likewise.
13642         * configure.in (config_makefile): Remove.  Hardcode Makefile in
13643         AC_CONFIG_FILES call.
13644         * configure: Regenerated.
13646         [BZ #13888]
13647         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13648         or TMPDIR.
13649         (testout): Likewise.
13651         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13652         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13653         $(rtld-installed-name).
13654         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13655         (rtld_installed_name): Likwise.
13656         (runit): Remove function.
13657         (run_getconf): New variable,  Use it for running getconf binary.
13659 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
13661         [BZ #14716]
13662         * string/test-memmem.c (check_result): New function.
13663         (do_one_test): Use it.
13664         (check1): New function.
13665         (test_main): Use it.
13667 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
13669         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13671 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
13673         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13674         (_G_LSEEK64): Likewise.
13675         (_G_MMAP64): Likewise.
13676         (_G_FSTAT64): Likewise.
13677         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13678         (_G_LSEEK64): Likewise.
13679         (_G_MMAP64): Likewise.
13680         (_G_FSTAT64): Likewise.
13681         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13682         unconditional.  Call __mmap64 directly.
13683         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13684         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
13685         __lseek64 directly.
13686         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13687         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
13688         __mmap64 directly.
13689         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13690         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13691         __lseek64 directly.
13692         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13693         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13694         __lseek64 directly.
13695         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13696         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
13697         __lseek64 directly.
13698         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13699         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
13700         __fxstat64 directly.
13701         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13702         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13703         unconditional.
13704         (freopen64) [!_G_OPEN64]: Remove conditional code.
13705         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13706         unconditional.
13707         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13708         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13709         unconditional.
13710         (ftello64) [!_G_LSEEK64]: Remove conditional code.
13711         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13712         unconditional.
13713         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13714         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13715         unconditional.
13716         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13717         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13718         unconditional.
13719         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13720         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13721         unconditional.
13722         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13723         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13724         unconditional.
13725         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13727 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13729         [BZ #12140]
13730         * manual/memory.texi (Malloc Tunable Parameters): Add note
13731         about free list pointers overwriting some perturb bytes.
13732         Wording suggested by Roland McGrath.
13734 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
13736         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13737         (lgamma_test): Likewise.
13738         (tgamma_test): Likewise.
13740 2012-10-16  Florian Weimer  <fweimer@redhat.com>
13742         [BZ #14700]
13743         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13744         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13746 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
13748         * NEWS: Mention BZ #14716.
13749         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13750         when removing AVAILABLE1_USES_J macro.
13752 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
13754         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13755         (__bswap_64): __uint64_t for unsigned 64-bit int.
13757 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
13759         * include/string.h (memmem): Declare libc hidden alias.
13760         * string/memmem.c (memmem): Define libc hidden alias.
13761         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13762         __read, __close instead of open, read, close.
13764 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
13766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13767         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13768         global and hidden.
13769         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13770         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13771         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13772         Likewise.
13773         (__rawmemchr_sse2): Likewise.
13774         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13775         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13776         (__strchr_sse2): Likewise.
13777         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13778         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13779         (__strcasecmp_sse2): Likewise.
13780         (__strncasecmp_sse2): Likewise.
13781         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13782         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13783         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13784         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13785         (__strrchr_sse2): Likewise.
13786         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13787         ifunc-impl-list.c.
13788         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13789         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13790         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13791         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13792         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13793         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13794         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13795         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13796         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13797         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13798         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13799         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13800         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13801         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13802         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13803         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13804         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13805         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13806         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13807         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13808         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13809         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13810         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13811         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13812         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13813         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13814         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13815         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13816         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13817         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13819         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13820         global and hidden.
13821         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13822         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13823         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13824         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13825         Likewise.
13826         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13827         Likewise.
13828         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13829         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13830         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13831         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13832         ifunc-impl-list.c.
13833         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13834         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13835         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13836         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13837         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13838         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13839         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13840         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13841         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13842         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13843         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13844         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13845         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13846         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13847         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13848         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13849         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13850         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13851         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13852         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13853         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13854         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13855         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13856         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13857         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13858         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13859         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13860         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13861         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13862         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13863         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13864         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13865         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13866         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13867         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13868         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13869         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13870         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13871         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13872         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13873         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13875         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13876         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13877         * include/ifunc-impl-list.h: New file.
13878         * misc/ifunc-impl-list.c: Likewise.
13879         * misc/Makefile (routines): Add ifunc-impl-list.
13880         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13881         * string/test-string.h: Include <ifunc-impl-list.h>.
13882         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13883         impl_array): New variables.
13884         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13885         are defined.
13886         (test_init): Call __libc_ifunc_impl_list to initialize
13887         func_list if TEST_IFUNC and TEST_NAME are defined.
13889         * string/Makefile (strop-tests): Add bcopy and bzero.
13890         * string/test-bcopy.c: New file.
13891         * string/test-bzero.c: Likewise.
13892         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13893         defined.
13894         * string/test-memset.c: Support bzero test if TEST_BZERO is
13895         defined.
13896         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13897         __libc_memmove.
13898         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13899         __libc_memset.
13900         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13901         of memset.
13903 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
13905         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13906         * configure: Regenerated.
13908         * Makeconfig (+link-static-before-libc): Don't include
13909         $(link-static-libc).
13911         * libio/libio.h (_IO_pos_t): Remove.
13913 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13915         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
13916         McGrath.
13918 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13920         * crypt/crypt-entry.c: Include fips-private.h.
13921         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13922         * crypt/md5c-test.c (main): Tolerate disabled MD5.
13923         * sysdeps/unix/sysv/linux/fips-private.h: New file.
13924         * sysdeps/generic/fips-private.h: New file, dummy fallback.
13926 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13928         * crypt/crypt-private.h: Include stdbool.h.
13929         (_ufc_setup_salt_r): Return bool.
13930         * crypt/crypt-entry.c: Include errno.h.
13931         (__crypt_r): Return NULL with EINVAL for bad salt.
13932         * crypt/crypt_util.c (bad_for_salt): New.
13933         (_ufc_setup_salt_r): Check that salt is long enough and within
13934         the specified alphabet.
13935         * crypt/badsalttest.c: New file.
13936         * crypt/Makefile (tests): Add it.
13937         ($(objpfx)badsalttest): New.
13939 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
13941         * NEWS: Add entry for BZ #14602.
13943 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13945         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13946         type-generic.
13947         * math/libm-test.inc: Update comment listing what functions and
13948         macros are tested.
13949         (isgreater_test): New function.
13950         (isgreaterequal_test): Likewise.
13951         (isless_test): Likewise.
13952         (islessequal_test): Likewise.
13953         (islessgreater_test): Likewise.
13954         (isunordered_test): Likewise.
13955         (main): Call the new functions.
13957 2012-10-09  Roland McGrath  <roland@hack.frob.com>
13959         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13960         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13961         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13962         * sysdeps/i386/configure: Regenerated.
13963         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13964         * sysdeps/mach/configure: Regenerated.
13965         * sysdeps/mach/hurd/configure: Regenerated.
13966         * sysdeps/powerpc/configure: Regenerated.
13967         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13968         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13969         * sysdeps/s390/s390-32/configure: Regenerated.
13970         * sysdeps/s390/s390-64/configure: Regenerated.
13971         * sysdeps/sh/configure: Regenerated.
13972         * sysdeps/sparc/configure: Regenerated.
13973         * sysdeps/unix/sysv/linux/configure: Regenerated.
13974         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13975         * sysdeps/x86_64/configure: Regenerated.
13977         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13978         defined.  Don't check if MAP is NULL.
13980 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13982         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13983         (_G_stat64): Likewise.
13984         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13985         (_G_stat64): Likewise.
13986         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13987         instead of struct _G_stat64.
13988         * libio/fileops.c (mmap_remap_check): Likewise.
13989         (decide_maybe_mmap): Likewise.
13990         (_IO_new_file_seekoff): Likewise.
13991         (_IO_file_stat): Likewise.
13992         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13993         _G_off64_t.
13994         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13995         instead of struct _G_stat64.
13996         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13998 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
14000         [BZ #14602]
14001         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14002         Replace with ...
14003         (CHECK_EOL): New macro.
14004         (two_way_short_needle): Check beginning of haystack for EOL.  Use
14005         CHECK_EOL.
14006         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14007         Replace with CHECK_EOL.
14008         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14009         Replace with CHECK_EOL.
14011 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
14013         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14014         type-generic.
14015         * math/libm-test.inc: Update comment listing what functions and
14016         macros are tested.
14017         (finite_test): New function.
14018         (isinf_test): Likewise.
14019         (isnan_test): Likewise.
14020         (fpclassify_test): Test subnormal input.
14021         (isfinite_test): Likewise.
14022         (isnormal_test): Likewise.
14023         (main): Call the new functions.
14025 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
14027         [BZ #14660]
14028         * Makerules (%.dynsym): Force C locale when running
14029         $(OBJDUMP) --dynamic-syms.
14031 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
14033         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14034         <stdint.h>.
14036 2012-10-06  David S. Miller  <davem@davemloft.net>
14038         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14039         upper 32-bits of the length value in %o2 since we use branch-on-register
14040         tests which consider the entire 64-bit register.
14042 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
14044         * string/test-strstr.c (check2): Add a test for page boundary.
14046 2012-10-05  David S. Miller  <davem@davemloft.net>
14048         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14049         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14050         file.
14051         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14052         sysdep_routines.
14053         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14054         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14055         and bzero when HWCAP_SPARC_CRYPTO is present.
14057 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
14059         [BZ #14602]
14060         * string/test-strstr.c (check2): New function.
14061         (test_main): Call check2.
14063         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14064         and bug-strchr1.
14065         * string/bug-strcasestr1.c (do_test): Moved to ...
14066         * string/test-strcasestr.c (check1): Here.  New function.
14067         (do_one_test): Break out result checking code into ...
14068         (check_result): This.  New function.
14069         (do_one_test): Call check_result.
14070         (test_main): Call check1.
14071         * string/bug-strchr1.c (do_test): Moved to ...
14072         * string/test-strchr.c (check1): Here.  New function.
14073         (do_one_test): Break out result checking code into ...
14074         (check_result): This.  New function.
14075         (do_one_test): Call check_result.
14076         (test_main): Call check1.
14077         * string/bug-strstr1.c (main): Moved to ...
14078         * string/test-strstr.c (check1): Here.  New function.
14079         (do_one_test): Break out result checking code into ...
14080         (check_result): This.  New function.
14081         (do_one_test): Call check_result.
14082         (test_main): Call check1.
14083         * string/bug-strcasestr1.c: Removed.
14084         * string/bug-strchr1.c: Likewise.
14085         * string/bug-strstr1.c: Likewise.
14087         * elf/Makefile (dl-routines): Add hwcaps.
14088         * elf/dl-support.c (_dl_important_hwcaps): Removed.
14089         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14090         (_dl_important_hwcaps): Moved to ...
14091         * elf/dl-hwcaps.c: Here.  New file.
14092         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14094         [BZ #14557]
14095         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14096         if IS_IN_rtld isn't defined.
14098         * elf/dl-support.c (_dl_sysinfo_map): New.
14099         Include "get-dynamic-info.h" and "setup-vdso.h".
14100         (_dl_non_dynamic_init): Call setup_vdso.
14101         * elf/dynamic-link.h: Don't include <assert.h>.
14102         (elf_get_dynamic_info): Moved to ...
14103         * elf/get-dynamic-info.h: Here.  New file.
14104         * elf/dynamic-link.h: Include "get-dynamic-info.h".
14105         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14106         * elf/setup-vdso.h: Here.  New file.
14107         * elf/rtld.c: Include "setup-vdso.h".
14108         (dl_main): Call setup_vdso.
14110 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
14112         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14113         creal in comment listing functions tested.  List finite, isinf,
14114         isnan, isless, islessequal, isgreater, isgreaterequal,
14115         islessgreater, isunordered, lgamma_r and pow10 as functions and
14116         macros not tested.  Mention which functions not tested are aliases
14117         for other functions.  Fix typo.  Note that signs of NaNs are not
14118         tested.
14120         * scripts/config.guess: Update from config.git.
14121         * scripts/config.sub: Likewise.
14123 2012-10-04  Roland McGrath  <roland@hack.frob.com>
14125         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14126         * misc/madvise.c (madvise): Renamed to __madvise.
14127         Make madvise a weak alias.
14128         * include/sys/mman.h: Declare __madvise.
14129         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14130         * sysdeps/unix/syscalls.list
14131         (madvise): Make __madvise the strong name, and madvise a weak alias.
14132         * sysdeps/unix/sysv/linux/syscalls.list
14133         (madvise, mmap): Remove redundant entries.
14134         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14135         * malloc/malloc.c (mtrim): Likewise.
14136         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14138 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14140         * sysdeps/mach/hurd/dl-cache.c: File removed.
14141         * config.h.in (USE_LDCONFIG): New #undef.
14142         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14143         * configure: Regenerated.
14144         * elf/Makefile (dl-routines): Add dl-cache only under
14145         [$(use-ldconfig) = yes].
14146         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14147         cache on [USE_LDCONFIG].
14148         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14149         [USE_LDCONFIG].
14150         * elf/rtld.c (dl_main): Likewise.
14152 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
14154         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14155         _SC_LEVEL4_CACHE_LINESIZE.
14157 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14159         * sysdeps/unix/bsd/confstr.h: File removed.
14161 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
14163         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14164         sys/sdt-config.h.
14166 2012-10-02  Roland McGrath  <roland@hack.frob.com>
14168         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14169         Make 'mapoff' field ElfW(Off) rather than off_t.
14171 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
14173         * nscd/Makefile: Remove nscd-cflags and all its users.
14174         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14175         (CFLAGS-nonlib): Add compiler flags for nscd modules.
14177         [BZ #10631]
14178         * malloc.c (malloc_printerr): Clarify error message.
14180 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
14182         [BZ #14648]
14183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14184         Set bit_FMA_Usable if FMA is supported.
14185         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14186         macro.
14187         (bit_FMA4_Usable): Updated.
14188         (index_FMA_Usable): New macro.
14189         (CPUID_FMA): Likewise
14190         (HAS_FMA): Defined with bit_FMA_Usable.
14192 2012-10-01  Roland McGrath  <roland@hack.frob.com>
14194         * bits/types.h (__swblk_t): Type removed.
14195         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14196         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14197         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14198         (__SWBLK_T_TYPE): Likewise.
14199         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14200         (__SWBLK_T_TYPE): Likewise.
14201         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14202         (__SWBLK_T_TYPE): Likewise.
14203         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14204         (__SWBLK_T_TYPE): Likewise.
14206 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
14207             Honza Horak <hhorak@redhat.com>
14209         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14210         (xdr_mapname): Use YPMAXMAP as maxsize.
14211         (xdr_peername): Use YPMAXPEER as maxsize.
14212         (xdr_keydat): Use YPAXRECORD as maxsize.
14213         (xdr_valdat): Use YPMAXRECORD as maxsize.
14215 2012-10-01  Roland McGrath  <roland@hack.frob.com>
14217         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14219         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14220         * csu/init-first.c: ... here.
14221         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14222         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14223         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14224         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14225         * sysdeps/i386/init-first.c: File removed.
14226         * sysdeps/sh/init-first.c: File removed.
14228 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
14230         [BZ #14645]
14231         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14232         if x * y might underflow to zero and z is zero.
14233         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14234         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14235         * math/libm-test.inc (min_subnorm_value): New variable.
14236         (fma_test): Add more tests.
14237         (fma_test_towardzero): Likewise.
14238         (fma_test_downward): Likewise
14239         (fma_test_upward): Likewise.
14240         (initialize): Set min_subnorm_value.
14242 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
14244         [BZ #14638]
14245         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14246         0 + 0.
14247         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14248         mode for addition resulting in exact zero.
14249         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14250         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14251         exact 0 + 0.
14252         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14253         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14254         * math/libm-test.inc (fma_test): Add more tests.
14255         (fma_test_towardzero): New function.
14256         (fma_test_downward): Likewise.
14257         (fma_test_upward): Likewise.
14258         (main): Call the new functions.
14260 2012-09-28  David S. Miller  <davem@davemloft.net>
14262         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14264 2012-09-28  Roland McGrath  <roland@hack.frob.com>
14266         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14267         instead of SIGALRM.
14269         * sysdeps/gnu/_G_config.h: Moved to ...
14270         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14271         * sysdeps/mach/hurd/_G_config.h: Moved to ...
14272         * sysdeps/generic/_G_config.h: ... here.
14274         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
14276         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14278         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14279         Conditionalize target on [libnss_test1.so-version].
14281         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14283         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14284         (elfobjdir): Move out of conditionals.
14286         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14287         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14288         (__nss_lookup_function): Conditionalize label remove_from_tree on
14289         [!DO_STATIC_NSS || SHARED], matching its only use.
14291 2012-09-28  David S. Miller  <davem@davemloft.net>
14293         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14294         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14295         file.
14296         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14297         sysdep_routines.
14298         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14299         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14300         when HWCAP_SPARC_CRYPTO is present.
14302 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14304         * io/tst-mknodat.c: Create a FIFO instead of a socket.
14306 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
14308         [BZ #6530]
14309         * stdio-common/vfprintf.c (process_string_arg): Revert
14310         2000-07-22 change.
14312 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
14314         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14315         for testcase.
14316         * stdio-common/tst-sprintf.c: Include <locale.h>
14317         (main): Test sprintf's handling of incomplete multibyte
14318         characters.
14320 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
14322         * elf/dl-runtime.c (VERSYMIDX): Removed.
14323         * elf/dl-version.c (VERSYMIDX): Likewise.
14324         * elf/do-rel.h (VERSYMIDX): Likewise.
14325         (VALIDX): Likewise.
14326         * elf/dynamic-link.h (VERSYMIDX): Likewise.
14327         * elf/rtld.c (VALIDX): Likewise.
14328         (ADDRIDX): Likewise.
14329         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14330         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14331         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14332         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14333         (VALIDX): Likewise.
14334         (ADDRIDX): Likewise.
14336 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14338         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14340 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
14342         [BZ #11438]
14343         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14344         to global scope.
14345         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14346         addresses are in the same scope as 192.0.2/24.
14347         * posix/gai.conf: Document new scope table defaults.
14349 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14351         [BZ #5298]
14352         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14353         for ftell.  Compute offsets from write pointers instead.
14354         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14356 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14358         [BZ #14543]
14359         * libio/Makefile (tests): New test case tst-fseek.
14360         * libio/tst-fseek.c: New test case to verify that fseek/ftell
14361         combination works in wide mode.
14362         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14363         state when the external buffer state changes.
14365 2012-09-27  David S. Miller  <davem@davemloft.net>
14367         [BZ #14376]
14368         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14369         pass reloc->r_addend in as the 'high' argument to
14370         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14374 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14376         * rt/tst-aio2.c: Include <pthread.h>.
14377         * rt/tst-aio3.c: Likewise.
14379 2012-09-27  Steve Ellcey  <sellcey@mips.com>
14381         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14383 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
14385         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14386         contents on [SHARED].
14388 2012-09-26  Marek Polacek  <polacek@redhat.com>
14390         [BZ #14530]
14391         [BZ #13741]
14392         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14393         for C++ and GCC <4.3 as well as for non GCC compilers.
14395 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
14397         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14399 2012-09-25  Roland McGrath  <roland@hack.frob.com>
14401         * Makefile.in (all, install): Declare with .PHONY.
14402         Reported by Michael Hope <michael.hope@linaro.org>.
14404 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14406         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14407         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14408         system header.
14409         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14410         Likewise.
14411         (sydep_routines): Add the new and the internal functions.
14412         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14413         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14415         (GLIBC_2.17): Add the new function.
14416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14417         (GLIBC_2.17): Likewise.
14418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14419         (GLIBC_2.17): Likewise.
14420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14421         (GLIBC_2.17): Likewise.
14422         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14424 2012-09-25  Alan Modra  <amodra@gmail.com>
14426         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14427         Add release barrier before setting once_control to say
14428         initialisation is done.  Add hints on lwarx.  Use macro in
14429         place of isync.
14430         (clear_once_control): Add release barrier.
14432 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
14434         [BZ #13629]
14435         * math/s_clog.c (__clog): Handle more values close to |z| = 1
14436         specially.
14437         * math/s_clog10.c (__clog10): Likewise.
14438         * math/s_clog10f.c (__clog10f): Likewise.
14439         * math/s_clog10l.c (__clog10l): Likewise.
14440         * math/s_clogf.c (__clogf): Likewise.
14441         * math/s_clogl.c (__clogl): Likewise.
14442         * math/Makefile (libm-calls): Add x2y2m1.
14443         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14444         (__x2y2m1): Likewise.
14445         (__x2y2m1l): Likewise.
14446         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14447         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14448         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14449         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14450         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14451         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14452         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14453         * sysdeps/i386/fpu/libm-test-ulps: Update.
14454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14456         [BZ #14621]
14457         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14458         int as type of variable DEPTH.
14459         (glob): Use size_t instead of int as type of variables NEWCOUNT
14460         and OLD_PATHC.
14462 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14464         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14465         Add s_sincosf-sse2.
14466         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14467         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14468         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14469         macros for using routine as __sincosf_ia32.
14470         Use macro for function declaration and weak_alias.
14471         * sysdeps/i386/fpu/libm-test-ulps: Update.
14473         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14474         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14476         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14477         subnormal argument.
14478         * math/s_cexpf.c (__cexpf): Likewise.
14479         * math/s_csinf.c (__csinf): Likewise.
14480         * math/s_csinhf.c (__csinhf): Likewise.
14481         * math/s_ctanf.c (__ctanf): Likewise.
14482         * math/s_ctanhf.c (__ctanhf): Likewise.
14483         * math/s_ccosh.c (__ccoshf): Likewise.
14484         * math/s_cexp.c (__cexpl): Likewise.
14485         * math/s_csin.c (__csin): Likewise.
14486         * math/s_csinh.c (__csinh): Likewise.
14487         * math/s_ctan.c (__ctan): Likewise.
14488         * math/s_ctanh.c (ctanh): Likewise.
14489         * math/s_ccoshl.c (__ccoshl): Likewise.
14490         * math/s_cexpl.c (__cexpl): Likewise.
14491         * math/s_csinl.c (__csinl): Likewise.
14492         * math/s_csinhl.c (__csinhl): Likewise.
14493         * math/s_ctanl.c (__ctanl): Likewise.
14494         * math/s_ctanhl.c (__ctanhl): Likewise.
14496 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
14498         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14499         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14500         (_IO_off_t): Define to __off_t, not _G_off_t.
14501         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14502         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14503         (_IO_wint_t): Define to wint_t, not _G_wint_t.
14504         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14505         type of __dummy and __dummy2 fields.
14506         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14507         (_G_ssize_t): Likewise.
14508         (_G_off_t): Likewise.
14509         (_G_pid_t): Likewise.
14510         (_G_uid_t): Likewise.
14511         (_G_wchar_t): Likewise.
14512         (_G_wint_t): Likewise.
14513         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14514         (_G_ssize_t): Likewise.
14515         (_G_off_t): Likewise.
14516         (_G_pid_t): Likewise.
14517         (_G_uid_t): Likewise.
14518         (_G_wchar_t): Likewise.
14519         (_G_wint_t): Likewise.
14520         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14521         (_G_ssize_t): Likewise.
14522         (_G_off_t): Likewise.
14523         (_G_pid_t): Likewise.
14524         (_G_uid_t): Likewise.
14525         (_G_wchar_t): Likewise.
14526         (_G_wint_t): Likewise.
14528 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14530         * malloc/arena.c: Include malloc-sysdep.h.
14531         (shrink_heap): Use check_may_shrink_heap to decide if madvise
14532         is sufficient to shrink the heap or an unmap is needed.
14533         * sysdeps/generic/malloc-sysdep.h: New file.  Define
14534         new function check_may_shrink_heap.
14535         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
14536         new function check_may_shrink_heap.
14538 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14540         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14541         comments.
14543 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
14545         * catgets/test-gencat.sh: Add "set -e".
14546         * elf/tst-pathopt.sh: Likewise.
14547         * grp/tst_fgetgrent.sh: Likewise.
14548         * iconvdata/run-iconv-test.sh: Likewise.
14549         * intl/tst-gettext.sh: Likewise.
14550         * intl/tst-gettext2.sh: Likewise.
14551         * intl/tst-gettext4.sh: Likewise.
14552         * intl/tst-gettext6.sh: Likewise.
14553         * intl/tst-translit.sh: Likewise.
14554         * io/ftwtest-sh: Likewise.
14555         * libio/test-freopen.sh: Likewise.
14556         * malloc/tst-mtrace.sh: Likewise.
14557         * posix/globtest.sh: Likewise.
14558         * posix/tst-getconf.sh: Likewise.
14559         * posix/wordexp-tst.sh: Likewise.
14560         * stdio-common/tst-printf.sh: Likewise.
14561         * stdio-common/tst-unbputc.sh: Likewise.
14562         * stdlib/tst-fmtmsg.sh: Likewise.
14563         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14564         * catgets/Makefile: Do not specify -e option when running
14565         testsuite shell scripts.
14566         * elf/Makefile: Likewise.
14567         * grp/Makefile: Likewise.
14568         * iconvdata/Makefile: Likewise.
14569         * intl/Makefile: Likewise.
14570         * io/Makefile: Likewise.
14571         * libio/Makefile: Likewise.
14572         * malloc/Makefile: Likewise.
14573         * posix/Makefile: Likewise.
14574         * stdio-common/Makefile: Likewise.
14575         * stdlib/Makefile: Likewise.
14576         * sysdeps/x86_64/Makefile: Likewise.
14578         * io/ftwtest-sh: Add copyright header.
14579         * posix/globtest.sh: Likewise.
14580         * posix/tst-getconf.sh: Likewise.
14581         * posix/wordexp-tst.sh: Likewise.
14582         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14584 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
14586         [BZ #13679]
14587         * Makeconfig (+link): Defined as $(+link-static) if
14588         $(build-shared) isn't yes.
14589         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14590         isn't yes.
14591         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14593         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14595         [BZ #14562]
14596         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14597         new chunk size with MALLOC_ALIGN_MASK.
14599 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
14601         [BZ #5044]
14602         * stdio-common/printf_fphex.c: Include <stdbool.h> and
14603         <rounding-mode.h>.
14604         (__printf_fphex): Determine rounding using get_rounding_mode and
14605         round_away.
14606         * stdio-common/tst-printf-round.c (struct hex_test): New
14607         structure.
14608         (hex_tests): New variable.
14609         (test_hex_in_one_mode): New function.
14610         (do_test): Also run tests for hex float output.
14612 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
14614         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14615         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14616         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14617         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14618         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14619         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14620         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14621         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14623 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
14625         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14626         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14627         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14628         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14630 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
14632         [BZ #14579]
14633         * elf/rtld.c (dl_main): Limit the check for self loading to normal
14634         mode only.
14635         * elf/tst-rtld-load-self.sh: New test.
14636         * elf/Makefile: Run it.
14638 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
14640         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14641         (tst-writev-ENV): Remove.
14642         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14644 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
14646         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14648 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
14650         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14651         unconditional.
14652         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14653         Likewise.
14654         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14655         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14656         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14657         Likewise.
14659 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
14661         [BZ #14587]
14662         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14663         * config.make.in (have-cpp-asm-debuginfo): Removed.
14664         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14665         * configure: Regenerated.
14667 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
14669         [BZ #5044]
14670         * stdio-common/printf_fp.c: Include <stdbool.h> and
14671         <rounding-mode.h>.
14672         (___printf_fp): Determine rounding using get_rounding_mode and
14673         round_away.
14674         * stdio-common/tst-printf-round.c: New file.
14675         * stdio-common/Makefile (tests): Add tst-printf-round.
14676         (link-libm): New variable.
14677         ($(objpfx)tst-printf-round): Depend in $(link-libm).
14679 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
14681         [BZ #14576]
14682         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14683         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14684         Likewise.
14685         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14686         Likewise.
14688 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
14690         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14691         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14692         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14693         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14695 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
14697         [BZ #14518]
14698         * include/rounding-mode.h: New file.
14699         * sysdeps/generic/get-rounding-mode.h: Likewise.
14700         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14701         * stdlib/strtod_l.c: Include <rounding-mode.h>.
14702         (MAX_VALUE): New macro.
14703         (MIN_VALUE): Likewise.
14704         (overflow_value): New function.
14705         (underflow_value): Likewise.
14706         (round_and_return): Use overflow_value and underflow_value to
14707         determine return values in overflow and underflow cases.  Use
14708         round_away to determine rounding depending on rounding mode.
14709         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14710         determine return values in overflow and underflow cases.
14711         * stdlib/tst-strtod-round.c: Include <fenv.h>.
14712         (struct test_results): New structure.
14713         (struct test): Use struct test_results to store expected results
14714         for all rounding modes.
14715         (TEST): Include expected results for all rounding modes.
14716         (test_in_one_mode): New function.
14717         (do_test): Use test_in_one_mode to compute and check results.
14718         Check results for all rounding modes.
14719         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14720         $(link-libm).
14722 2012-12-09  Allan McRae  <allan@archlinux.org>
14724         * sysdeps/i386/fpu/libm-test-ulps: Update
14726 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
14728         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14729         (_G_int32_t): Likewise.
14730         (_G_uint16_t): Likewise.
14731         (_G_uint32_t): Likewise.
14732         (_G_HAVE_BOOL): Likewise.
14733         (_G_HAVE_ATEXIT): Likewise.
14734         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14735         (_G_HAVE_IO_FILE_OPEN): Likewise.
14736         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14737         (_G_int32_t): Likewise.
14738         (_G_uint16_t): Likewise.
14739         (_G_uint32_t): Likewise.
14740         (_G_HAVE_BOOL): Likewise.
14741         (_G_HAVE_ATEXIT): Likewise.
14742         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14743         (_G_HAVE_IO_FILE_OPEN): Likewise.
14744         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14745         (_G_int32_t): Likewise.
14746         (_G_uint16_t): Likewise.
14747         (_G_uint32_t): Likewise.
14748         (_G_HAVE_BOOL): Likewise.
14749         (_G_HAVE_ATEXIT): Likewise.
14750         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14751         (_G_HAVE_IO_FILE_OPEN): Likewise.
14753 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
14755         * csu/libc-tls.c: Update copyright years.
14757 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
14759         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14760         [!_G_USING_THUNKS]: Remove conditional code.
14761         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14762         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14764         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14765         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14766         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14767         (_G_VTABLE_LABEL_PREFIX): Likewise.
14768         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14769         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14770         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14771         (_G_VTABLE_LABEL_PREFIX): Likewise.
14772         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14773         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14774         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14775         (_G_VTABLE_LABEL_PREFIX): Likewise.
14776         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14778 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
14780         * libio/Makefile: Include ../Makeconfig before tests.
14781         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14782         only if $(build-shared) is yes.
14784         * iconv/gconv_db.c: Update copyright years.
14786 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14788         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14789         unwind info if defined PIC. Fix special cases description.
14790         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14792         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14793         DP_HI_MASK entry.
14794         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14796 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
14798         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14800         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14801         is NULL.
14803         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14804         (LDLIBS-tst-chk4): This.
14805         (LDFLAGS-tst-chk5): Renamed to ...
14806         (LDLIBS-tst-chk5): This.
14807         (LDFLAGS-tst-chk6): Renamed to ...
14808         (LDLIBS-tst-chk6): This.
14809         (LDFLAGS-tst-lfschk4): Renamed to ...
14810         (LDLIBS-tst-lfschk4): This.
14811         (LDFLAGS-tst-lfschk5): Renamed to ...
14812         (LDLIBS-tst-lfschk5): This.
14813         (LDFLAGS-tst-lfschk6): Renamed to ...
14814         (LDLIBS-tst-lfschk6): This.
14816         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14817         on $(common-objpfx)soversions.mk.
14819 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
14821         [BZ #10014]
14822         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14823         example host name.
14825 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14827         * malloc/arena.c (arena_get_retry): New function that gets
14828         another arena for the caller to try its request on.
14829         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14830         current arena cannot fulfill the request.
14831         (__libc_memalign): Likewise.
14832         (__libc_memalign): Likewise.
14833         (__libc_pvalloc): Likewise.
14834         (__libc_calloc): Likewise.
14836 2012-09-05  John Tobey  <john.tobey@gmail.com>
14838         [BZ #13542]
14839         * manual/arith.texi (Operations on Complex): Fix description
14840         of carg branch cut.
14842 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14844         [BZ #10014]
14845         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14846         host name.
14848         [BZ #10038]
14849         * manual/memory.texi (Memory): Make order of menu items match
14850         order of sections.
14852 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14854         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14855         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
14856         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14858 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14860         * csu/libc-tls.c (static_dtv): Renamed to ...
14861         (_dl_static_dtv): This.  Make it global.
14862         (_dl_initial_dtv): Removed.
14863         (__libc_setup_tls): Updated.
14864         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14865         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14866         DL_INITIAL_DTV.
14868 2012-09-06  Petr Machata  <pmachata@redhat.com>
14870         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14871         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14872         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14873         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14875 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14877         [BZ #14545]
14878         * csu/libc-tls.c (_dl_initial_dtv): New variable.
14879         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14880         freeing dtv[-1].
14882 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14884         [BZ #14544]
14885         * Makeconfig (link-static-before-libc): Replace $(+prector)
14886         with $(+prectorT).
14887         (link-static-after-libc): Replace $(+postctor) with
14888         $(+postctorT).
14889         (link-bounded): Replace $(+prector)/$(+postctor) with
14890         $(+prectorT)/$(+postctorT).
14891         (+prectorT): New macro.
14892         (+postctorT): Likewise.
14894 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14896         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14897         (round_str): Handle values above the maximum for IBM long double
14898         as inexact.
14899         * stdlib/tst-strtod-round.c (tests): Regenerated.
14901 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14903         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14904         assembler flag.
14905         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14906         zarch_nohighgprs around the zarch optimized routines.
14907         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14908         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14909         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14910         for zarch.
14912 2012-09-05  David S. Miller  <davem@davemloft.net>
14914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14916         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14917         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14918         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14919         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14920         entries.
14922 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14924         * malloc/arena.c: Fold copyright years.
14925         * malloc/mcheck.c, malloc/memusage.c: Likewise.
14927 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14929         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14931 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14933         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
14935 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14937         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14938         change internal state upon failure.
14940 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14942         * malloc/mcheck.c (mcheck_check_all): Fix typo.
14943         * malloc/memusage.c (mmap): Likewise.
14944         (mmap64, mremap): Likewise.  Adjust name in comment.
14946 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14948         * libio/fileops.c: Fix typos in comments.
14949         * libio/oldfileops.c: Likewise.
14950         * libio/wfileops.c: Likewise.
14952 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14954         [BZ #1349]
14955         * malloc/Makefile (tests): Add tst-malloc-usable test case.
14956         (tst-malloc-usable-ENV): Set environment for test case.
14957         * malloc/hooks.c (malloc_check_get_size): New function to get
14958         requested size.
14959         * malloc/malloc.c (musable): Use malloc_check_get_size.
14960         * malloc/tst-malloc-usable.c: New test case.
14962 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14964         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14966 2012-09-05  Allan McRae  <allan@archlinux.org>
14968         [BZ #13966]
14969         * configure.in (CXX_SYSINCLUDES): Use compiler output to
14970         determine header location.
14971         * configure: Regenerated.
14973 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14975         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14976         float format.
14977         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14978         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14979         format.
14980         (test): Regenerate.
14982 2012-09-04  David S. Miller  <davem@davemloft.net>
14984         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14985         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14986         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14988 2012-09-04  Florian Weimer  <fweimer@redhat.com>
14990         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14991         failures.
14993         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14995 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
14997         [BZ #9914]
14998         * libio/iogetdelim.c: Include <limits.h>.
14999         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15000         + len + 1 would overflow.
15002 2012-09-03  Andreas Jaeger  <aj@suse.de>
15004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15005         * sysdeps/i386/fpu/libm-test-ulps: Update.
15007 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15009         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15010         Add s_sinf-sse2, s_conf-sse2.
15012         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15013         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15014         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15015         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15017         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15018         for using routine as __sinf_ia32.
15019         Use macro for function declaration and weak_alias.
15020         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15021         for using routine as __cosf_ia32.
15022         Use macro for function declaration and weak_alias.
15024         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15025         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15027         * sysdeps/x86_64/fpu/s_sinf.S: New file.
15028         * sysdeps/x86_64/fpu/s_cosf.S: New file.
15029         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15031         * math/libm-test.inc (cos_test): Add more test cases.
15032         (sin_test): Likewise.
15033         (sincos_test): Likewise.
15035 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15037         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15038         (IFUNC_RESOLVE): Make pointers to the specialized implementations
15039         hidden.
15040         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15042 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
15044         [BZ #14538]
15045         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15046         first element of the GOT.
15047         (elf_machine_load_address): Return the difference between
15048         the runtime address of _DYNAMIC and elf_machine_dynamic ().
15050 2012-09-01  Allan McRae  <allan@archlinux.org>
15052         [BZ #13412]
15053         * configure.in (AWK): Require gawk version 3.0 or later.
15054         * configure: Regenerated.
15056 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
15058         * sysdeps/unix/sysv/linux/kernel-features.h
15059         (__ASSUME_POSIX_CPU_TIMERS): Remove.
15060         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15061         [__NR_clock_getres]: Make code unconditional.
15062         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15063         (clock_getcpuclockid): Remove code left unreachable by removal of
15064         conditionals.
15065         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15066         code unconditional.
15067         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15068         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15069         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15070         Make code unconditional.
15071         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15072         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15073         * sysdeps/unix/sysv/linux/clock_settime.c
15074         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15075         conditional code.
15076         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15077         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15079 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
15081         [BZ #14476]
15082         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15083         scripts/test-installation.pl.
15085         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15086         and $ld_so_version if it is set.
15088 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15090         [BZ #14516]
15091         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15092         failure if reading from procfs failed.
15093         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15095 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15097         * sysdeps/unix/sysv/linux/kernel-features.h
15098         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15099         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15100         Remove conditional code.
15101         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15102         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15103         Remove conditional code.
15104         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15105         * sysdeps/unix/sysv/linux/i386/fxstat.c
15106         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15107         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15108         * sysdeps/unix/sysv/linux/i386/fxstatat.c
15109         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15110         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15111         * sysdeps/unix/sysv/linux/i386/lxstat.c
15112         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15113         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15114         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15115         Remove conditional code.
15116         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15117         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15118         Remove conditional code.
15119         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15120         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15121         <kernel-features.h>.
15122         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15123         Remove.
15124         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15125         Remove conditional code.
15126         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15127         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15128         Remove conditional.
15130 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
15132         [BZ #5400]
15133         * NEWS: Add fixed bug number.
15135 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15137         [BZ #14519]
15138         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15139         underflowing exponent in case of negative sign.
15140         * stdlib/tst-strtod-round-data: Add more tests.
15141         * stdlib/tst-strtod-round.c (tests): Regenerated.
15143         [BZ #3479]
15144         * stdlib/strtod_l.c (NDIG): Remove.
15145         (HEXNDIG): Likewise.
15146         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15147         smallest representable value.
15148         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15149         lie within an exact representation of 1/2 ulp of the result.
15150         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15151         unconditionally.
15152         (TENS_P9_IDX): Define unconditionally.
15153         (TENS_P9_SIZE): Likewise.
15154         (TENS_P10_IDX): Likewise.
15155         (TENS_P10_SIZE): Likewise.
15156         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15157         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15158         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15159         entries for 10^2^13 and 10^2^14.
15160         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15161         (TENS_P13_IDX): Define.
15162         (TENS_P13_SIZE): Likewise.
15163         (TENS_P14_IDX): Likewise.
15164         (TENS_P14_SIZE): Likewise.
15165         (_fpioconst_pow10): Change array size to
15166         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
15167         unconditional.
15168         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15169         1024]: Add entries for 10^2^13 and 10^2^14.
15170         [LAST_POW10 > _LAST_POW10]: Remove #error.
15171         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15172         (_fpioconst_pow10): Change array size to
15173         FPIOCONST_POW10_ARRAY_SIZE.
15174         * stdlib/gen-fpioconst.c: New file.
15175         * stdlib/gen-tst-strtod-round.c: Likewise.
15176         * stdlib/tst-strtod-round-data: Likewise.
15177         * stdlib/tst-strtod-round.c: Likewise.
15178         * stdlib/Makefile (tests): Add tst-strtod-round.
15180         [BZ #14459]
15181         * stdlib/strtod_l.c: Include <stdint.h>.
15182         (NDEBUG): Do not define.
15183         (round_and_return): Change EXPONENT parameter to type intmax_t.
15184         Rearrange calculations to avoid internal overflow possibilities.
15185         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15186         Rearrange calculations to avoid internal overflow possibilities.
15187         Assert that number fits inside MPNSIZE limbs.
15188         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15189         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
15190         calculations and add assertions to avoid internal overflow
15191         possibilities.  Add casts to avoid signed/unsigned operations.
15192         * stdlib/tst-strtod-overflow.c: New file.
15193         * stdlib/Makefile (tests): Add tst-strtod-overflow.
15195 2012-08-25  Marek Polacek  <polacek@redhat.com>
15197         * time/time.h: Fix some typos in comments.
15199 2012-08-23  Roland McGrath  <roland@hack.frob.com>
15201         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15202         * posix/tst-rfc3484-2.c: Likewise.
15203         * posix/tst-rfc3484-3.c: Likewise.
15205 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
15207         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15208         (EF_ARM_ABI_FLOAT_HARD): Likewise.
15210 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
15212         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15213         #include of fxstatat64.c.
15215 2012-08-22  Roland McGrath  <roland@hack.frob.com>
15217         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15218         * shadow/getspent_r.c: Likewise.
15219         * shadow/getspnam.c: Likewise.
15220         * shadow/getspnam_r.c: Likewise.
15221         * gshadow/getsgent.c: Likewise.
15222         * gshadow/getsgent_r.c: Likewise.
15223         * gshadow/getsgnam.c: Likewise.
15224         * gshadow/getsgnam_r.c: Likewise.
15225         * inet/getnetbyad.c: Likewise.
15226         * inet/getnetbyad_r.c: Likewise.
15227         * inet/getnetbynm.c: Likewise.
15228         * inet/getnetbynm_r.c: Likewise.
15229         * inet/getnetent.c: Likewise.
15230         * inet/getnetent_r.c: Likewise.
15231         * inet/getproto.c: Likewise.
15232         * inet/getproto_r.c: Likewise.
15233         * inet/getprtent.c: Likewise.
15234         * inet/getprtent_r.c: Likewise.
15235         * inet/getprtname.c: Likewise.
15236         * inet/getprtname_r.c: Likewise.
15237         * inet/getrpcbyname.c: Likewise.
15238         * inet/getrpcbyname_r.c: Likewise.
15239         * inet/getrpcbynumber.c: Likewise.
15240         * inet/getrpcbynumber_r.c: Likewise.
15241         * inet/getrpcent.c: Likewise.
15242         * inet/getrpcent_r.c: Likewise.
15243         * inet/getaliasent.c: Likewise.
15244         * inet/getaliasent_r.c: Likewise.
15245         * inet/getaliasname.c: Likewise.
15246         * inet/getaliasname_r.c: Likewise.
15247         * nscd/getgrgid_r.c: Likewise.
15248         * nscd/getgrnam_r.c: Likewise.
15249         * nscd/gethstbyad_r.c: Likewise.
15250         * nscd/gethstbynm3_r.c: Likewise.
15251         * nscd/getpwnam_r.c: Likewise.
15252         * nscd/getpwuid_r.c: Likewise.
15253         * nscd/getsrvbynm_r.c: Likewise.
15254         * nscd/getsrvbypt_r.c: Likewise.
15255         * nscd/gai.c: Likewise.
15257         * configure.in (build_nscd): New substituted variable, set
15258         by --disable-build-nscd and defaults to $use_nscd.
15259         * configure: Regenerated.
15260         * config.make.in (build-nscd): New substituted variable.
15261         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15262         Change conditional to require [$(build-nscd) = yes] as well.
15263         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15265         [BZ# 13696]
15266         * configure.in (use_nscd): New substituted variable, set by
15267         --disable-nscd.  If enabled, define USE_NSCD.
15268         * configure: Regenerated.
15269         * config.h.in: Add USE_NSCD.
15270         * config.make.in (use-nscd): New substituted variable.
15271         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15272         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15273         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15274         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15275         (CFLAGS-getgrnam_r.c): Likewise.
15276         (CFLAGS-initgroups.c): Likewise.
15277         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15278         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15279         Variables removed.
15280         * inet/getnetgrent_r.c
15281         (nscd_setnetgrent): New function, broken out of ...
15282         (setnetgrent): ... here.  Call it.
15283         (innetgr): Conditionalize nscd bits on [USE_NSCD].
15284         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15285         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15286         * nscd/Makefile (routines, aux): Move definitions after include of
15287         Makeconfig.  Conditionalize on [$(use-nscd) != no].
15288         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15289         Conditionalize on [USE_NSCD].
15290         (is_nscd, nscd_init_cb): Likewise.
15291         (nss_load_library): Conditionalize init callback on [USE_NSCD].
15292         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15293         * nss/nss_db/db-init.c: Likewise.
15294         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15295         [USE_NSCD].
15296         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15297         (make_request): Use it.
15298         (cache_valid_p): New function.
15299         (__check_pf): Use it.
15300         * NEWS: Add item for --disable-nscd.
15302 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
15304         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15305         to support sed >= 4.2.1-20-ga9bf076.
15306         * configure: Regenerated.
15308 2012-08-22  Roland McGrath  <roland@hack.frob.com>
15310         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15311         Conditionalize whole body on [IREL].
15313 2012-08-22  Jeff Law <law@redhat.com>
15315         [BZ #14505]
15316         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15317         if the family is PF_UNSPEC.
15319 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
15321         * Makerules (lib-version): Rename from V.
15322         (install-lib-nosubdir): Change V to lib-version.
15324 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
15326         [BZ #14252]
15327         * powerpc32/power6/wcschr.c: New file.
15328         * powerpc32/power6/wcscpy.c: New file.
15329         * powerpc32/power6/wcsrchr.c: New file.
15330         * powerpc64/power6/wcschr.c: New file.
15331         * powerpc64/power6/wcscpy.c: New file.
15332         * powerpc64/power6/wcsrchr.c: New file.
15334 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15336         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15337         (two_way_short_needle): Use it.
15338         * string/strstr.c (AVAILABLE1_USES_J): Define.
15339         * string/strcasestr.c: Likewise.
15341         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15342         array references.
15343         * string/strcasestr.c (TOLOWER): Make side-effect safe.
15345         [BZ #11607]
15346         * NEWS: Add an entry.
15347         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15348         define their defaults.
15349         (two_way_short_needle): Detect end-of-string on-the-fly.
15350         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15351         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15352         * string/bug-strcasestr1.c: New test.
15353         * string/Makefile: Run it.
15355 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15357         [BZ #11607]
15358         * string/str-two-way.h (two_way_short_needle): Optimize matching of
15359         the first character.
15361 2012-08-21  Roland McGrath  <roland@hack.frob.com>
15363         * csu/elf-init.c (__libc_csu_irel): Function removed.
15364         * csu/libc-start.c (apply_irel): New function.
15365         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15367 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
15369         * sysdeps/unix/sysv/linux/kernel-features.h
15370         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15371         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15372         <kernel-features.h>.
15373         [__NR_fadvise64_64]: Make code unconditional.
15374         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15375         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15376         !__NR_fadvise64_64)]: Likewise.
15377         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15378         !__NR_fadvise64_64))]: Likewise.
15379         [__NR_fadvise64]: Make code unconditional.
15380         [!__NR_fadvise64]: Remove conditional code.
15381         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15382         <kernel-features.h>.
15383         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15384         unconditional.
15385         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15386         conditional code.
15387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15388         not include <kernel-features.h>.
15389         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15390         unconditional.
15391         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15392         conditional code.
15393         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15394         include <kernel-features.h>.
15395         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15396         unconditional.
15397         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15398         conditional code.
15400 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
15402         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15403         slight instruction rearrangements per scrollpipe analysis.
15404         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15406 2012-08-20  Roland McGrath  <roland@hack.frob.com>
15408         * manual/syslog.texi (syslog; vsyslog, closelog):
15409         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15410         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15412         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15413         DSOCAPS to match condition on defining it.
15415 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
15417         * sysdeps/unix/sysv/linux/kernel-features.h
15418         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15420         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15421         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15423         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15424         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15426         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15427         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15429         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15430         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15432         * sysdeps/unix/sysv/linux/kernel-features.h
15433         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15434         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15435         unconditional.
15436         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15437         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15438         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15439         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15440         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15441         Make code unconditional.
15442         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15443         (__mmap64) [!__NR_mmap2]: Likewise.
15444         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15445         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15446         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15447         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15448         [__NR_mmap2]: Make code unconditional.
15449         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15450         (__mmap64) [!__NR_mmap2]: Likewise.
15452 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15454         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15456 2012-08-18  Andreas Jaeger  <aj@suse.de>
15458         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15460 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
15462         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15463         * include/unistd.h (__have_sock_cloexec): Likewise.
15464         (__have_pipe2): Likewise.
15465         (__have_dup3): Likewise.
15467 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
15469         [BZ #9685]
15470         * include/unistd.h (__have_pipe2): Change define into an extern int.
15471         (__have_dup3): Likewise.
15472         * socket/have_sock_cloexec.c: Include fcntl.h.
15473         (__have_pipe2): New variable.
15474         (__have_dup3): Likewise.
15476 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
15478         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15480 2012-08-17  Marek Polacek  <polacek@redhat.com>
15482         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15483         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15485 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15487         * configure.in: Add AC_SUBST for sysheaders.
15488         * configure: Regenerated.
15489         * config.make.in (sysheaders): New substituted variable.
15491         * sysdeps/unix/mkfifo.c: Moved ...
15492         * sysdeps/posix/mkfifo.c: ... here.
15493         * sysdeps/unix/mkfifoat.c: Moved ...
15494         * sysdeps/posix/mkfifoat.c: ... here.
15496         * sysdeps/unix/utime.c: Moved ...
15497         * sysdeps/posix/utime.c: ... here.
15499         * sysdeps/unix/time.c: Moved ...
15500         * sysdeps/posix/time.c: ... here.
15501         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15502         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15504         * sysdeps/unix/nice.c: Moved ...
15505         * sysdeps/posix/nice.c: ... here.
15507         * sysdeps/unix/alarm.c: Moved ...
15508         * sysdeps/posix/alarm.c: ... here.
15510         * intl/Makefile ($(codeset_mo)): Depend on the input file.
15512 2012-08-17  Jeff Law <law@redhat.com>
15514         * intl/Makefile (codeset_mo): New variable.
15515         ($(codeset_mo)): New target.
15516         (tst-codeset.out): Depend on that.  Remove explicit rule.
15517         (tst-gettext3.out, tst-gettext5.out): Likewise.
15518         (LOCPATH-ENV, tst-codeset-ENV): New variables.
15519         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15520         * intl/tst-codeset.sh: Remove.
15521         * intl/tst-gettext3.sh: Likewise.
15522         * intl/tst-gettext5.sh: Likewise.
15524 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15526         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
15527         * sysdeps/unix/syscalls.list: ... here.
15529         * sysdeps/posix/getaddrinfo.c
15530         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15531         (gaiconf_init, gaiconf_reload): Use them.
15532         [!_STATBUF_ST_NSEC]
15533         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15534         Define using time_t rather than struct timespec.
15536         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15537         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15538         Macros removed.
15539         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15540         [!NO_THREADS].
15541         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15542         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15543         Likewise.
15545         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15546         __libc_cleanup_push argument.
15548         * bits/param.h: New file.
15549         * misc/sys/param.h: New file.
15550         * include/sys/param.h: New file.
15551         * misc/Makefile (headers): Add bits/param.h.
15552         * sysdeps/generic/sys/param.h: File removed.
15553         * sysdeps/unix/sysv/linux/bits/param.h: New file.
15554         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15555         * sysdeps/mach/hurd/bits/param.h: New file.
15556         * sysdeps/mach/hurd/sys/param.h: File removed.
15558         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15559         last change.
15561         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15562         [_IO_MTSAFE_IO].
15563         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15564         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15565         New macros.
15567         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15568         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15569         rather than -D_IO_MTSAFE_IO conditionally.
15570         * stdio-common/Makefile (CPPFLAGS): Likewise.
15571         * wcsmbs/Makefile (CPPFLAGS): Likewise.
15572         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15573         Use $(libio-mtsafe).
15574         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15575         of -D_IO_MTSAFE_IO.
15576         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15577         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15578         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15579         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15580         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15581         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15582         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15583         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15584         (CFLAGS-fread_u_chk.c): Likewise.
15585         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15586         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15587         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15588         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15589         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15590         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15591         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15592         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15593         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15595         * libio/Makefile: Test [$(libc-reentrant) = yes]
15596         instead of [$(filter %REENTRANT, $(defines)) nonempty].
15598         * Makeconfig
15599         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15600         * sysdeps/pthread/configure: File removed.
15601         * sysdeps/pthread/Makeconfig: New file.
15602         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15603         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15605 2012-08-16  Gary Benson  <gbenson@redhat.com>
15607         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15608         unmapping the first object in a namespace.
15610 2012-08-16  Roland McGrath  <roland@hack.frob.com>
15612         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15613         (__internal_setnetgrent): ... this.  Add internal_function to
15614         definition.  Add libc_hidden_def.
15615         (setnetgrent): Update caller.
15616         (internal_endnetgrent): Renamed to ...
15617         (__internal_endnetgrent): ... this.  Add internal_function to
15618         definition.  Add libc_hidden_def.
15619         (endnetgrent): Update caller.
15620         (internal_getnetgrent_r): Renamed to ...
15621         (__internal_getnetgrent_r): ... this.  Add internal_function to
15622         definition.  Add libc_hidden_def.
15623         (__getnetgrent_r): Update caller.
15624         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
15626 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
15628         * stdlib/longlong.h: Update from GCC.
15630 2012-08-16  Roland McGrath  <roland@hack.frob.com>
15632         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15633         on _QL, which is set by umul_ppmm but never used.
15634         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15635         variables, which are set by GMP macros but never used.
15636         * stdio-common/_itowa.c (_itowa): Likewise.
15637         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15638         * stdlib/mod_1.c (mpn_mod_1): Likewise.
15640 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
15642         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15643         struct La_sh_regs is not constant.
15644         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15645         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15646         and struct La_sparc64_regs are not constant.
15648 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
15650         * sysdeps/unix/sysv/linux/kernel-features.h
15651         (__ASSUME_POSIX_TIMERS): Remove.
15652         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15653         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15654         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15655         Make code unconditional.
15656         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15657         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15658         Make code unconditional.
15659         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15660         * sysdeps/unix/sysv/linux/clock_nanosleep.c
15661         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15662         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15663         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15664         Make code unconditional.
15665         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15666         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15667         (__libc_missing_posix_timers): Remove.
15669 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15671         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15672         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15674         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15676         * elf/dl-sym.c: Include <stdlib.h>.
15678         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15679         constants, which avoids warnings in 32-bit builds.
15681         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15682         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15684         * misc/lseek.c: File moved to ...
15685         * io/lseek.c: ... here.
15687         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15689         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15690         shifting LEN more than 31 bits at once.
15692 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15694         [BZ #14195]
15695         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15696         segmentation fault for a case of two empty input strings.
15697         * string/test-strncasecmp.c (check1): Renamed to...
15698         (bz12205): ...this.
15699         (bz14195): Add new testcase for two empty input strings and N > 0.
15700         (test_main): Call new testcase, adapt for renamed function.
15702 2012-08-15  Andreas Jaeger  <aj@suse.de>
15704         [BZ #14090]
15705         * crypt/md5test2.c: New test, based on test supplied by Serge
15706         Belyshev <belyshev@depni.sinp.msu.ru>.
15707         * crypt/Makefile (xtests): Add md5test-giant..
15708         * crypt/Makefile ($(objpfx)md5test-giant): Add.
15710 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
15712         [BZ #14090]
15713         * crypt/md5.c (md5_process_block): Don't assume the buffer
15714         length is less than 2**32.
15715         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15716         length is less than 2**64.
15718 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15720         * string/str-two-way.h: Include <sys/param.h>.
15721         (MAX): Macro removed.
15723         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15724         Move #define and #undef of memmove to just before and after
15725         including <string.h>.
15727         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15728         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15729         and after including <string.h>.  Move declarations of
15730         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15731         to before #include "string/memmove.c".
15733         * include/dirent.h: Declare __getdirentries.
15735         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15736         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15738 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
15740         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15741         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15742         * sysdeps/i386/configure: Regenerated.
15743         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15744         STABS_CURRENT_FILE, and STABS_FUN.
15745         (END): Remove call to STABS_FUN_END.
15746         (STABS_CURRENT_FILE1): Delete.
15747         (STABS_CURRENT_FILE): Likewise.
15748         (STABS_FUN): Likewise.
15749         (STABS_FUN_END): Likewise.
15750         (STABS_FUN2): Likewise.
15751         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15752         * sysdeps/x86_64/configure: Regenerated.
15754 2012-08-14  Roland McGrath  <roland@hack.frob.com>
15756         * elf/dl-open.c: Include <atomic.h>.
15757         * elf/dl-lookup.c: Likewise.
15759 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
15761         * sysdeps/unix/sysv/linux/kernel-features.h
15762         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15763         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15764         unconditionally.
15765         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15766         unconditionally.
15767         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15768         condition on __ASSUME_CLONE_THREAD_FLAGS.
15770 2012-08-14  Andreas Jaeger  <aj@suse.de>
15772         * sysdeps/i386/fpu/libm-test-ulps: Update.
15774 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
15776         * include/atomic.h (atomic_exchange_and_add): Split into ...
15777         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15778         New atomic macros.
15780 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
15782         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15784 2012-08-13  Jeff Law <law@redhat.com>
15786         * manual/stdio.texi (snprintf): Clarify handling of the trailing
15787         null byte in the output string.
15789 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
15791         * sysdeps/unix/sysv/linux/kernel-features.h
15792         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15793         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15794         (__ASSUME_ARG_MAX_STACK_BASED): Define.
15795         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15796         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15797         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
15798         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15800 2012-08-09  Jeff Law <law@redhat.com>
15802         [BZ #13939]
15803         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15804         When avoid_arena is set, don't retry in the that arena.  Pick the
15805         next one, whatever it might be.
15806         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15807         (arena_lock): Pass in new parameter to arena_get2.
15808         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15809         arena_get2.
15810         (__libc_malloc): Unify retrying after main arena failure with
15811         __libc_memalign version.
15812         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15814 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15816         [BZ #14166]
15817         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15818         to __redirect_strstr.
15819         (__strstr_sse42): Use typeof __redirect_strstr.
15820         (__strstr_ia32): Likewise.
15821         (__libc_strstr): New prototype.
15822         (strstr): Renamed to ...
15823         (__libc_strstr): This.
15824         (strstr): New strong alias of __libc_strstr.
15825         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15826         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15827         __redirect_time.
15828         Include <time.h>.
15829         (__libc_time): New prototype.
15830         (time_ifunc): Replace time with __libc_time.
15831         (time): New strong alias and hidden definition of __libc_time.
15832         (__GI_time): Remove strong alias.
15833         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15834         Include <stddef.h>.
15835         (memmove): Redefined to __redirect_memmove.
15836         (__memmove_sse2): Use typeof __redirect_memmove.
15837         (__memmove_ssse3): Likewise.
15838         (__memmove_ssse3_back): Likewise.
15839         (__libc_memmove): New prototype.
15840         (memmove): Renamed to ...
15841         (__libc_memmove): This.
15842         (memmove): New strong alias of __libc_memmove.
15844 2012-08-08  Mark Salter  <msalter@redhat.com>
15846         * elf/elf.h
15847         (R_MN10300_TLS_GD): Define.
15848         (R_MN10300_TLS_LD): Likewise.
15849         (R_MN10300_TLS_LDO): Likewise.
15850         (R_MN10300_TLS_GOTIE): Likewise.
15851         (R_MN10300_TLS_IE): Likewise.
15852         (R_MN10300_TLS_LE): Likewise.
15853         (R_MN10300_TLS_DTPMOD): Likewise.
15854         (R_MN10300_TLS_DTPOFF): Likewise.
15855         (R_MN10300_TLS_TPOFF): Likewise.
15856         (R_MN10300_SYM_DIFF): Likewise.
15857         (R_MN10300_ALIGN): Likewise.
15858         (R_MN10300_NUM): Update.
15860 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
15862         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15863         Remove.
15865 2012-08-08  Roland McGrath  <roland@hack.frob.com>
15867         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15869         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15870         sysdeps/unix -> sysdeps/posix move.
15871         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15873 2012-08-07      Allan McRae     <allan@archlinux.org>
15875         [BZ #14303]
15876         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15877         (SUNOS_CPP): Likewise.
15878         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15879         not found.
15880         (open_input): Call CPP using execvp.
15882 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15884         * sysdeps/unix/sysv/linux/kernel-features.h
15885         (__ASSUME_PROT_GROWSUPDOWN): Remove.
15886         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15887         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15888         (__ASSUME_WAITID_SYSCALL): Likewise.
15889         * sysdeps/unix/sysv/linux/dl-execstack.c
15890         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15891         code unconditional.
15892         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15893         conditional code.
15894         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15895         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15896         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15897         code.
15898         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15899         unconditional.
15900         [__ASSUME_WAITID_SYSCALL]: Likewise.
15901         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15903 2012-08-07  Roland McGrath  <roland@hack.frob.com>
15905         * sysdeps/unix/closedir.c: Renamed to ...
15906         * sysdeps/posix/closedir.c: ... here.
15907         * sysdeps/unix/dirfd.c: Renamed to ...
15908         * sysdeps/posix/dirfd.c: ... here.
15909         * sysdeps/unix/dirstream.h: Renamed to ...
15910         * sysdeps/posix/dirstream.h: ... here.
15911         * sysdeps/unix/fdopendir.c: Renamed to ...
15912         * sysdeps/posix/fdopendir.c: ... here.
15913         * sysdeps/unix/opendir.c: Renamed to ...
15914         * sysdeps/posix/opendir.c: ... here.
15915         * sysdeps/unix/readdir.c: Renamed to ...
15916         * sysdeps/posix/readdir.c: ... here.
15917         * sysdeps/unix/readdir_r.c: Renamed to ...
15918         * sysdeps/posix/readdir_r.c: ... here.
15919         * sysdeps/unix/rewinddir.c: Renamed to ...
15920         * sysdeps/posix/rewinddir.c: ... here.
15921         * sysdeps/unix/seekdir.c: Renamed to ...
15922         * sysdeps/posix/seekdir.c: ... here.
15923         * sysdeps/unix/telldir.c: Renamed to ...
15924         * sysdeps/posix/telldir.c: ... here.
15925         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15926         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15927         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15928         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15930         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15931         * bits/fcntl.h: ... here.
15933         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15934         not 0.
15935         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15936         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15937         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15938         (struct flock): Move l_start, l_len to the beginning.
15939         Use __pid_t for l_pid.
15940         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15941         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15942         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15943         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15944         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15945         [__USE_LARGEFILE64] (struct flock64): New type.
15946         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15948         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15949         * bits/dirent.h: ... here.
15951         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15952         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15954 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15956         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15957         Change from 2.6.0 to 2.6.16.
15958         * sysdeps/unix/sysv/linux/configure: Regenerated.
15959         * sysdeps/unix/sysv/linux/kernel-features.h
15960         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15961         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15962         version.
15963         (__ASSUME_UTIMES): Likewise.
15964         (__ASSUME_CLONE_STOPPED): Remove.
15965         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15966         architectures, not kernel version.
15967         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15968         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15969         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15970         (__ASSUME_WAITID_SYSCALL): Likewise.
15971         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15972         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15973         * README: State 2.6.16 as minimum Linux kernel version.  Do not
15974         refer to older versions.
15976 2012-08-06  Roland McGrath  <roland@hack.frob.com>
15978         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15979         Define alphasort64 as an alias.
15980         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15981         Define versionsort64 as an alias.
15982         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15983         Define scandir64 as an alias.
15984         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15985         Define scandirat64 as an alias.
15986         * dirent/alphasort64.c (alphasort64):
15987         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15988         * dirent/versionsort64.c: Likewise.
15989         * dirent/scandir64.c: Likewise.
15990         * dirent/scandirat64.c: Likewise.
15991         * sysdeps/wordsize-64/alphasort.c: File removed.
15992         * sysdeps/wordsize-64/alphasort64.c: File removed.
15993         * sysdeps/wordsize-64/scandir.c: File removed.
15994         * sysdeps/wordsize-64/scandir64.c: File removed.
15995         * sysdeps/wordsize-64/scandirat.c: File removed.
15996         * sysdeps/wordsize-64/scandirat64.c: File removed.
15997         * sysdeps/wordsize-64/versionsort.c: File removed.
15998         * sysdeps/wordsize-64/versionsort64.c: File removed.
15999         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16000         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16001         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16002         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16003         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16004         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16005         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16006         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16008         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16009         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16010         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16011         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16012         [defined __arch64__ || defined __sparcv9]
16013         (__INO_T_MATCHES_INO64_T): New macro.
16014         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16015         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16016         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16017         * sysdeps/unix/sysv/linux/bits/dirent.h
16018         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16019         (_DIRENT_MATCHES_DIRENT64): New macro.
16021         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16022         Define lockf64 as an alias.
16023         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16024         Define fseeko64 as an alias.
16025         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16026         Define ftello64 as an alias.
16027         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16028         Define _IO_fgetpos64 and fgetpos64 as aliases.
16029         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16030         Define _IO_fsetpos64 and fsetpos64 as aliases.
16031         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16032         Conditionalize body on this.
16033         * libio/fseeko64.c: Likewise.
16034         * libio/ftello64.c: Likewise.
16035         * libio/iofgetpos64.c: Likewise.
16036         * libio/iofsetpos64.c: Likewise.
16037         * sysdeps/wordsize-64/lockf.c: File removed.
16038         * sysdeps/wordsize-64/lockf64.c: File removed.
16039         * sysdeps/wordsize-64/fseeko.c: File removed.
16040         * sysdeps/wordsize-64/fseeko64.c: File removed.
16041         * sysdeps/wordsize-64/ftello.c: File removed.
16042         * sysdeps/wordsize-64/ftello64.c: File removed.
16043         * sysdeps/wordsize-64/iofgetpos.c: File removed.
16044         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16045         * sysdeps/wordsize-64/iofsetpos.c: File removed.
16046         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16047         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16048         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16049         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16050         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16051         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16052         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16053         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16054         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16055         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16056         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16058         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16059         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16060         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16061         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16062         [defined __arch64__ || defined __sparcv9]
16063         (__OFF_T_MATCHES_OFF64_T): New macro.
16064         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16065         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16066         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16067         (__OFF_T_MATCHES_OFF64_T): New macro.
16069 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16071         * stdlib/secure-getenv.c (__secure_getenv): Replace
16072         GLIBC_2_16 with GLIBC_2_17.
16074 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16076         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16077         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16079 2012-08-03  David S. Miller  <davem@davemloft.net>
16081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16083 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16085         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16086         Remove.
16087         (__ASSUME_CORRECT_SI_PID): Likewise.
16088         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16089         (__ASSUME_TMPFS_NAME): Likewise.
16090         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16091         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16092         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16093         (HAVE_AUX_SECURE): Make definition unconditional.
16094         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16095         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16097 2012-08-03  Roland McGrath  <roland@hack.frob.com>
16099         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16100         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16101         * sysdeps/mach/hurd/eloop-threshold.h: New file.
16102         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16103         __eloop_threshold instead of SYMLOOP_MAX.
16105         * sysdeps/generic/eloop-threshold.h: New file.
16106         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16107         of MAXSYMLINKS.
16108         * elf/chroot_canon.c (chroot_canon): Likewise.
16110 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16112         [BZ #13717]
16113         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16114         Change to 2.6.0 everywhere.
16115         * sysdeps/unix/sysv/linux/configure: Regenerated.
16116         * sysdeps/unix/sysv/linux/kernel-features.h
16117         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16118         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16119         kernel versions.
16120         (__ASSUME_POSIX_TIMERS): Define unconditionally.
16121         (__ASSUME_FUTEX_REQUEUE): Remove.
16122         (__ASSUME_STATFS64): Define unconditionally.
16123         (__ASSUME_AT_SECURE): Likewise.
16124         (__ASSUME_CORRECT_SI_PID): Likewise.
16125         (__ASSUME_TGKILL): Define without depending on kernel version for
16126         i386.
16127         (__ASSUME_UTIMES): Likewise.
16128         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16129         kernel version.
16130         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16131         (__ASSUME_TMPFS_NAME): Likewise.
16132         * README: Update reference to Linux kernel versions.
16134 2012-08-02  Marek Polacek  <polacek@redhat.com>
16136         [BZ# 14150]
16137         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
16138         libc_cv_asm_type_prefix with %.
16139         * configure: Regenerated.
16140         * include/libc-symbols.h: Remove comment about
16141         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16142         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16143         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16144         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16145         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16146         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16147         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16148         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16149         * elf/tst-unique2mod1.c: Likewise.
16150         * elf/tst-unique1mod2.c: Likewise.
16151         * elf/tst-unique1mod1.c: Likewise.
16152         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16153         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16154         Replace ASM_TYPE_DIRECTIVE with .type.
16155         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16156         * sysdeps/i386/sysdep.h: Likewise.
16157         * sysdeps/x86_64/sysdep.h: Likewise.
16158         * sysdeps/sh/sysdep.h: Likewise.
16159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16160         Do not define ASM_TYPE_DIRECTIVE.
16161         * sysdeps/powerpc/sysdep.h: Likewise.
16162         * sysdeps/powerpc/powerpc32/sysdep.h:
16163         Replace ASM_TYPE_DIRECTIVE with .type.
16164         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16165         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16166         * sysdeps/i386/fpu/e_powf.S: Likewise.
16167         * sysdeps/i386/fpu/e_expl.S: Likewise.
16168         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16169         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16170         * sysdeps/i386/fpu/e_pow.S: Likewise.
16171         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16172         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16173         * sysdeps/i386/fpu/s_expm1.S: Likewise.
16174         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16175         * sysdeps/i386/fpu/e_log2.S: Likewise.
16176         * sysdeps/i386/fpu/e_log2l.S: Likewise.
16177         * sysdeps/i386/fpu/e_scalb.S: Likewise.
16178         * sysdeps/i386/fpu/e_powl.S: Likewise.
16179         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16180         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16181         * sysdeps/i386/fpu/e_logl.S: Likewise.
16182         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16183         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16184         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16185         * sysdeps/i386/fpu/e_log2f.S: Likewise.
16186         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16187         * sysdeps/i386/fpu/e_log.S: Likewise.
16188         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16189         * sysdeps/i386/fpu/e_logf.S: Likewise.
16190         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16191         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16192         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16193         * sysdeps/i386/fpu/e_log10.S: Likewise.
16194         * sysdeps/i386/fpu/s_frexp.S: Likewise.
16195         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16196         * sysdeps/i386/fpu/s_asinh.S: Likewise.
16197         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16198         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16199         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16200         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16201         * sysdeps/i386/i686/strtok.S: Likewise.
16202         * sysdeps/i386/i386-mcount.S: Likewise.
16203         * sysdeps/i386/strtok.S: Likewise.
16204         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16205         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16206         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16207         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16208         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16209         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16210         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16211         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16212         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16213         * sysdeps/x86_64/_mcount.S: Likewise.
16214         * sysdeps/x86_64/strtok.S: Likewise.
16215         * sysdeps/sh/_mcount.S: Likewise.
16217 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16219         * libio/iofopen.c: Include <fcntl.h>.
16220         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16221         (_IO_fopen64, fopen64): Define as aliases.
16222         * libio/iofopen64.c: Include <fcntl.h>.
16223         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16224         Conditionalize body on this.
16225         * sysdeps/wordsize-64/iofopen.c: File removed.
16226         * sysdeps/wordsize-64/iofopen64.c: File removed.
16228 2012-08-01  Marek Polacek  <polacek@redhat.com>
16230         * libc/Makeconfig: Use elf in place of binfmt-subdir.
16231         Use dlfcn directly instead of a variable.
16232         (binfmt-subdir): Do not define.
16233         (dlfcn): Likewise.
16235 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
16237         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16238         Remove all definitions.
16239         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16240         <kernel-features.h>.
16241         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16242         (miss_F_GETOWN_EX): Remove all definitions.
16243         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16244         macro definition.
16245         [!__ASSUME_FCNTL64]: Remove conditional code.
16246         [__ASSUME_FCNTL64]: Make code unconditional.
16247         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16248         <kernel-features.h>.
16249         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16250         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16251         (lockf64) [__NR_fcntl64]: Make code unconditional.
16252         (lockf64) [__ASSUME_FCNTL64]: Likewise.
16254         * sysdeps/unix/sysv/linux/kernel-features.h
16255         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16256         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16257         Make code unconditional.
16258         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16259         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16261         [__NR_vfork]: Make code unconditional.
16262         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16263         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16265         [__NR_vfork]: Make code unconditional.
16266         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16267         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16269 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16271         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16272         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16274         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16275         Define mkstemp64 as an alias.
16276         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16277         Define mkstemps64 as an alias.
16278         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16279         Define mkostemp64 as an alias.
16280         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16281         Define mkostemps64 as an alias.
16282         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16283         Conditionalize body on this.
16284         * misc/mkostemp64.c: Likewise.
16285         * misc/mkostemps64.c: Likewise.
16286         * misc/mkstemps64.c: Likewise.
16287         * sysdeps/wordsize-64/mkstemp64.c: File removed.
16288         * sysdeps/wordsize-64/mkostemp64.c: File removed.
16289         * sysdeps/wordsize-64/mkostemp.c: File removed.
16290         * sysdeps/wordsize-64/mkstemp.c: File removed.
16291         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16292         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16293         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16294         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16296         [BZ #14138]
16297         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16298         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16299         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16300         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16302         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16303         compat_symbol macros from <shlib-compat.h> rather than the underlying
16304         default_symbol_version and symbol_version macros, so that DEFAULT
16305         lines in shlib-versions are respected.
16306         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16308 2012-08-01  Florian Weimer  <fweimer@redhat.com>
16310         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16311         Declare with warn_unused_result.
16312         (setgid, setregid, setegid, setresgid): Likewise.
16313         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16314         Likewise.
16315         * WUR-REPORT: Remove set*id functions.
16317 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
16319         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16321 2012-07-31  Roland McGrath  <roland@hack.frob.com>
16323         [BZ #10191]
16324         * include/sys/socket.h (__libc_accept, __libc_accept4):
16325         Add attribute_hidden.
16326         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16328         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16329         use of PTR_MANGLE.
16330         * inet/getnetgrent_r.c (setup): Likewise.
16332         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16334 2012-07-31  David S. Miller  <davem@davemloft.net>
16336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16338 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
16340         [BZ #13629]
16341         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16342         value between 1.0 and 2.0 and smaller part has absolute value less
16343         than 1.0.
16344         * math/s_clog10.c (__clog10): Likewise.
16345         * math/s_clog10f.c (__clog10f): Likewise.
16346         * math/s_clog10l.c (__clog10l): Likewise.
16347         * math/s_clogf.c (__clogf): Likewise.
16348         * math/s_clogl.c (__clogl): Likewise.
16349         * math/libm-test.inc (clog_test): Add more tests.
16350         (clog10_test): Likewise.
16351         * sysdeps/i386/fpu/libm-test-ulps: Update.
16352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16354 2012-07-31  Florian Weimer  <fweimer@redhat.com>
16356         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16357         Exit with zero in case no suitable GID is found, and write a
16358         message to standard error.
16360 2012-07-30  Roland McGrath  <roland@hack.frob.com>
16362         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16363         rather than to 1.
16364         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16365         (MAXPATHLEN): Removed.
16366         (NOGROUP, NODEV): New macros.
16367         (setbit, clrbit, isset, isclr): New macros.
16368         (howmany, roundup, powerof2): New macros.
16369         (DEV_BSIZE): New macro.
16371         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16372         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16374         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16375         definition on [!__NO_LONG_DOUBLE_MATH].
16377         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16378         PTR_MANGLE and PTR_DEMANGLE.
16380         * socket/accept4.c (accept4): Rename to __libc_accept4.
16381         Define accept4 as a weak alias.
16383         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16384         on [_DIRENT_HAVE_D_TYPE].
16385         * io/ftw.c (ftw_dir): Likewise.
16387         * io/xmknod.c (__xmknod): Don't check PATH for being null.
16389         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16391         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16392         Use the BSD numbers rather than the arbitrary ones we had.
16393         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16394         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16395         (SIGXCPU, SIGXFSZ): New macros.
16396         (_NSIG): Now 32.
16398         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16399         initializer on [_LIBC_REENTRANT].
16401         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16402         definitions inside [_POSIX_MAPPED_FILES].
16404         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16406         * dirent/opendir.c: Include <fcntl.h>.
16408         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16409         (__libc_getspecific): Likewise.
16410         (__libc_key_create): Likewise.
16412         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16413         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16414         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16415         (tmpfile64): Define as alias.
16416         * sysdeps/wordsize-64/tmpfile.c: File removed.
16417         * sysdeps/wordsize-64/tmpfile64.c: File removed.
16418         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16419         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16421         * stdio-common/vfscanf.c: Include <stdbool.h>.
16422         * nss/makedb.c: Likewise.
16423         * stdio-common/_i18n_number.h: Likewise.
16424         * argp/argp-help.c: Likewise.
16425         * posix/wordexp.c: Likewise.
16426         * sysdeps/posix/spawni.c: Likewise.
16427         * nss/nss_files/files-initgroups.c: Likewise.
16428         * stdio-common/reg-modifier.c: Include <stdlib.h>.
16429         * nss/nss_files/files-initgroups.c: Likewise.
16430         * nss/nss_db/db-netgrp.c: Likewise.
16431         * nss/nss_db/db-initgroups.c: Likewise.
16432         * io/fchmodat.c: Include <sys/stat.h>.
16434         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16435         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16437         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16438         [HAVE_MMAP].
16440         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16441         Add multiple inclusion protection.
16443 2012-07-27  David S. Miller  <davem@davemloft.net>
16445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16447 2012-07-27  Gary Benson  <gbenson@redhat.com>
16449         [BZ #14298]
16450         * elf/rtld.c: Include <stap-probe.h>.
16451         (dl_main): Added static probes "init_start" and "init_complete".
16452         * elf/dl-load.c: Include <stap-probe.h>.
16453         (lose): Take new parameter "nsid".
16454         Added static probe "map_failed".
16455         (_dl_map_object_from_fd): Pass namespace id to lose.
16456         Added static probe "map_start".
16457         (open_verify): Pass namespace id to lose.
16458         * elf/dl-open.c: Include <stap-probe.h>.
16459         (dl_open_worker) Added static probes "map_complete", "reloc_start"
16460         and "reloc_complete".
16461         * elf/dl-close.c: Include <stap-probe.h>.
16462         (_dl_close_worker): Added static probes "unmap_start" and
16463         "unmap_complete".
16464         * elf/rtld-debugger-interface.txt: New file documenting the above.
16466 2012-07-26  Roland McGrath  <roland@hack.frob.com>
16468         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16469         rather than a string variable.
16470         * sunrpc/rpc_main.c (h_output): Likewise.
16471         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16473 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
16475         * inet/check_native.c: New file.
16477 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
16479         [BZ #13629]
16480         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16481         if larger part has absolute value 1.0.
16482         * math/s_clog10.c (__clog10): Likewise.
16483         * math/s_clog10f.c (__clog10f): Likewise.
16484         * math/s_clog10l.c (__clog10l): Likewise.
16485         * math/s_clogf.c (__clogf): Likewise.
16486         * math/s_clogl.c (__clogl): Likewise.
16487         * math/libm-test.inc (clog_test): Add more tests.
16488         (clog10_test): Likewise.
16489         * sysdeps/i386/fpu/libm-test-ulps: Update.
16490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16492         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16493         (pltexit): Likewise.
16494         (La_regs): Likewise.
16495         (La_retval): Likewise.
16496         (int_retval): Likewise.
16497         Update #error for removed macros to refer only to definitions in
16498         tst-audit.h.
16499         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16500         macro.
16501         (pltexit): Likewise.
16502         (La_regs): Likewise.
16503         (La_retval): Likewise.
16504         (int_retval): Likewise.
16505         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16506         macro.
16507         (pltexit): Likewise.
16508         (La_regs): Likewise.
16509         (La_retval): Likewise.
16510         (int_retval): Likewise.
16511         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16512         macro.
16513         (pltexit): Likewise.
16514         (La_regs): Likewise.
16515         (La_retval): Likewise.
16516         (int_retval): Likewise.
16517         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16518         macro.
16519         (pltexit): Likewise.
16520         (La_regs): Likewise.
16521         (La_retval): Likewise.
16522         (int_retval): Likewise.
16523         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16524         macro.
16525         (pltexit): Likewise.
16526         (La_regs): Likewise.
16527         (La_retval): Likewise.
16528         (int_retval): Likewise.
16529         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16530         macro.
16531         (pltexit): Likewise.
16532         (La_regs): Likewise.
16533         (La_retval): Likewise.
16534         (int_retval): Likewise.
16535         * sysdeps/generic/tst-audit.h: Update comment to refer only to
16536         macro definitions in tst-audit.h.
16537         * sysdeps/i386/tst-audit.h: New file.
16538         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16539         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16540         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16541         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16542         * sysdeps/sh/tst-audit.h: Likewise.
16543         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16544         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16545         * sysdeps/x86_64/tst-audit.h: Likewise.
16547 2012-07-26  Andreas Jaeger  <aj@suse.de>
16549         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16550         ptrace.
16552         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16553         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16554         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16555         PTRACE_O_MASK.
16556         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16557         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16558         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16560         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16561         value.
16563         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16564         _sigsys.
16565         (si_call_addr, si_syscall, si_arch): Define new macro.
16566         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16567         _sigsys.
16568         (si_call_addr, si_syscall, si_arch): Define new marcro.
16569         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16570         _sigsys.
16571         (si_call_addr, si_syscall, si_arch): Define new macro.
16572         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16573         _sigsys.
16574         (si_call_addr, si_syscall, si_arch): Define new macro.
16576 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
16578         [BZ #13717]
16579         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16580         Change to 2.4.21 where previously 2.4.1.
16581         * sysdeps/unix/sysv/linux/configure: Regenerated.
16582         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16583         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16584         Linux kernel version.
16585         (__ASSUME_STD_AUXV): Remove.
16586         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16587         kernel version.
16588         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16589         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16590         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16591         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16592         (__ASSUME_NETLINK_SUPPORT): Likewise.
16593         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16594         (__no_netlink_support): Remove conditional definition.
16595         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16596         Remove.
16597         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16598         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16599         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16600         (if_nameindex_ioctl): Remove.
16601         (if_nameindex_netlink): Do not handle __no_netlink_support.
16602         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16603         code.
16604         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16605         Remove conditional code.
16606         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16607         code.
16608         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16609         unconditional.
16610         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16611         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16612         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16613         Remove.
16614         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16615         [!__ASSUME_STD_AUXV]: Remove conditional code.
16616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16617         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16618         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16620         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16621         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16622         code.
16623         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16625         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16626         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16627         conditional code.
16628         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16630         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16631         code.
16632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16633         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16634         conditional code.
16635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16636         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16637         code unconditional.
16638         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16639         conditional code.
16640         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16641         unconditional.
16642         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16643         conditional code.
16644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16645         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16646         unconditional.
16647         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16648         conditional code.
16649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16650         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16651         code unconditional.
16652         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16653         conditional code.
16654         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16655         unconditional.
16656         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16657         conditional code.
16658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16659         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16660         code unconditional.
16661         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16662         conditional code.
16663         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16664         unconditional.
16665         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16666         conditional code.
16668 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
16670         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16671         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16672         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16673         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16674         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16675         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16676         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16677         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16678         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16679         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16680         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16681         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16682         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16683         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16684         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16685         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16686         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16687         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16688         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16689         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16690         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16691         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16692         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16694 2012-07-25  Florian Weimer  <fweimer@redhat.com>
16696         * Versions.def: Add GLIBC_2.17.
16697         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16698         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16699         Introduce __libc_secure_getenv.
16700         * stdlib/Versions (2.17): Add secure_getenv
16701         (GLIBC_PRIVATE): Add __libc_secure_getenv.
16702         * stdlib/secure-getenv.c: Rename __secure_getenv to
16703         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
16704         symbol __secure_getenv for GLIBC_2.0.
16705         * stdlib/tst-secure-getenv.c: New.
16706         * stdlib/Makefile (tests): Add testcase.
16707         * manual/startup.texi (Environment Access): Document
16708         secure_getenv.
16709         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16710         __libc_secure_getenv.
16711         * inet/ruserpass.c (ruserpass): Likewise.
16712         * malloc/mtrace.c (mtrace): Likewise.
16713         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16714         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16715         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16716         * sysdeps/posix/tempname.c: Likewise.  Evaluate
16717         HAVE_SECURE_GETENV.
16718         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16719         __secure_getenv to __libc_secure_getenv.
16720         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16722         Likewise.
16723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16724         Likewise.
16725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16727         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16733 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
16735         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16736         (struct La_i86_retval): Likewise.
16737         (struct La_x86_64_regs): Likewise.
16738         (struct La_x86_64_retval): Likewise.
16739         (struct La_x32_regs): Likewise.
16740         (struct La_x32_retval): Likewise.
16741         (struct La_ppc32_regs): Likewise.
16742         (struct La_ppc32_retval): Likewise.
16743         (struct La_ppc64_regs): Likewise.
16744         (struct La_ppc64_retval): Likewise.
16745         (struct La_sh_regs): Likewise.
16746         (struct La_sh_retval): Likewise.
16747         (struct La_s390_32_regs): Likewise.
16748         (struct La_s390_32_retval): Likewise.
16749         (struct La_s390_64_regs): Likewise.
16750         (struct La_s390_64_retval): Likewise.
16751         (struct La_sparc32_regs): Likewise.
16752         (struct La_sparc32_retval): Likewise.
16753         (struct La_sparc64_regs): Likewise.
16754         (struct La_sparc64_retval): Likewise.
16755         (struct audit_ifaces): Remove architecture-specific pltenter and
16756         pltexit members.
16757         * sysdeps/i386/ldsodefs.h: New file.
16758         * sysdeps/powerpc/ldsodefs.h: Likewise.
16759         * sysdeps/s390/ldsodefs.h: Likewise.
16760         * sysdeps/sh/ldsodefs.h: Likewise.
16761         * sysdeps/sparc/ldsodefs.h: Likewise.
16762         * sysdeps/x86_64/ldsodefs.h: Likewise.
16764 2012-07-25  Marek Polacek  <polacek@redhat.com>
16766         [BZ #6808]
16767         * math/libm-test.inc (yn_test): Add another test.
16768         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16769         to ERANGE when the result is +-Inf.
16770         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16771         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16772         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16773         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16775 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
16777         * conform/data/time.h-data (NULL): Use macro-constant.  Require
16778         equal to 0.
16779         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
16780         clock_t.
16781         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
16783 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
16785         * configure.in <sysdeps resolving>: Correct printing
16786         Implies_before.
16787         * configure: Regenerate.
16789 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
16791         * math/w_ilogb.c: Include <limits.h>.
16792         * math/w_ilogbl.c: Likewise.
16794 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16796         * manual/lang.texi (__va_copy): Document primarily as ISO C99
16797         va_copy.  Document allowing for unavailable va_copy only as
16798         pre-C99 compatibility.
16799         * manual/string.texi (Copying and Concatenation): Use va_copy
16800         instead of __va_copy in concat example.
16802 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
16804         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16805         (__sendto): Use create_address_port.  Initialize APORT and deallocate
16806         it if not null.
16808         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16809         with O_NOLINK passed to __file_name_lookup.
16811         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16812         with O_NOLINK passed to __file_name_lookup.
16814         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16815         negative N or less than NGIDS.
16817         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16818         type to string_t.  Set ERANGE as errno and return it if NAME is not big
16819         enough.  Use memcpy instead of strncpy.
16821 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16823         * elf/Makefile (check-data): Remove.
16824         (localplt.data): New vpath directive.
16825         ($(objpfx)check-localplt.out): Use localplt.data from vpath
16826         instead of $(check-data).
16827         * scripts/data/localplt-generic.data: Move to ...
16828         * sysdeps/generic/localplt.data: ... here.
16829         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16830         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16831         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16833         ... here.
16834         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16836         ... here.
16837         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16839         ... here.
16840         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16842         ... here.
16843         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16845         ... here.
16846         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16848         ... here.
16850 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16852         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16853         PPC32 and PPC64 files.
16854         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16855         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16857 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16859         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16860         __makecontext_ret to ...
16861         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16862         ... here and call exit if uc_link is NULL.  New file.
16863         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16864         __makecontext_ret.S.
16865         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16866         __makecontext_ret to ...
16867         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16868         ... here and call exit if uc_link is NULL.  New file.
16869         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16870         __makecontext_ret.S.
16872 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16874         * elf/elf.h (R_390_IRELATIVE): New definition.
16875         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16876         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
16877         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16878         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16879         (elf_machine_lazy_rel): Likewise.
16880         * sysdeps/s390/dl-irel.h: New file.
16881         * sysdeps/s390/s390-64/memcpy.S: New asm code.
16882         * sysdeps/s390/s390-64/memset.S: New asm code.
16883         * sysdeps/s390/s390-64/memcmp.S: New asm code.
16884         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16885         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16886         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16887         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16888         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16889         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16890         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16891         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16892         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16893         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16894         * sysdeps/s390/s390-32/memcpy.S: New asm code.
16895         * sysdeps/s390/s390-32/memset.S: New asm code.
16896         * sysdeps/s390/s390-32/memcmp.S: New asm code.
16898 2012-07-17  Marek Polacek  <polacek@redhat.com>
16900         [BZ #14349]
16901         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16902         * sysdeps/s390/s390-64/configure.in: Likewise.
16903         * sysdeps/sparc/configure.in: Likewise.
16904         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16905         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16906         * sysdeps/i386/configure.in: Likewise.
16907         * sysdeps/x86_64/configure.in: Likewise.
16908         * sysdeps/sh/configure.in: Likewise.
16909         * sysdeps/s390/s390-32/configure: Regenerated.
16910         * sysdeps/s390/s390-64/configure: Likewise.
16911         * sysdeps/x86_64/configure: Likewise.
16912         * sysdeps/sh/configure: Likewise.
16913         * sysdeps/powerpc/powerpc64/configure: Likewise.
16914         * sysdeps/powerpc/powerpc32/configure: Likewise.
16915         * sysdeps/sparc/configure: Likwise.
16916         * sysdeps/i386/configure: Likewise.
16918         * elf/dl-open.c: Comment fixes.
16920 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
16922         * Makefile [CXX] (check-data): Remove.
16923         [CXX] (c++-types.data): New vpath directive.
16924         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16925         vpath.  Do not allow for C++ type data being missing.
16926         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16927         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16928         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16929         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16930         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16931         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16932         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16934         ... here.
16935         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16937         ... here.
16938         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16940         ... here.
16941         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16943         ... here.
16944         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16946         ... here.
16947         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16949         ... here.
16950         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16952         ... here.
16953         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16954         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16956         * elf/tls-macros.h (TLS_LE): Move architecture-specific
16957         definitions to architecture-specific files.
16958         (TLS_IE): Likewise.
16959         (TLS_LD): Likewise.
16960         (TLS_GD): Likewise.
16961         * sysdeps/i386/tls-macros.h: New file.
16962         * sysdeps/powerpc/tls-macros.h: Likewise.
16963         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16964         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16965         * sysdeps/sh/tls-macros.h: Likewise.
16966         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16967         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16968         * sysdeps/x86_64/tls-macros.h: Likewise.
16970 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16972         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16973         zero value for regular exit case.
16975         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16976         (__start_context): Preserve zero value for regular exit case.
16978 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16979             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16981         * manual/setjmp.texi (setcontext): Clarify normal process
16982         termination when uc_link is the null pointer.
16983         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16984         exit call.
16986 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
16988         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16989         preprocessor.  Test for each exception mask separately.
16991 2012-07-16  Andreas Jaeger  <aj@suse.de>
16993         * po/ru.po: Update from translation team.
16995 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
16997         * conform/data/string.h-data (NULL): Use macro-constant.  Require
16998         equal to 0.
16999         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17000         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17001         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17002         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17003         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17005 2012-07-13  Andreas Jaeger  <aj@suse.de>
17007         * po/fr.po: Update from translation team.
17009 2012-07-12  Marek Polacek  <polacek@redhat.com>
17011         [BZ #14173]
17012         * math/libm-test.inc (yn_test): Add test for BZ #14173.
17013         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17014         loop condition.
17016 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
17018         [BZ #13717]
17019         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17020         Change to 2.4.1 where previously 2.4.0.
17021         * sysdeps/unix/sysv/linux/configure: Regenerated.
17022         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17023         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17024         version.
17025         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17026         (__ASSUME_AT_CLKTCK): Remove.
17027         (__ASSUME_AT_PAGESIZE): Likewise.
17028         (__ASSUME_AT_XID): Likewise.
17029         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17030         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17031         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17032         unconditionally.
17033         (HAVE_AUX_PAGESIZE): Likewise.
17034         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17035         [__ASSUME_AT_CLKTCK]: Make code unconditional.
17036         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17038 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
17040         [BZ #14307]
17041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17042         the temporary buffer used to invoke __gethostbyname2_r,
17043         __gethostbyaddr_r and gethostbyname4_r to make room for struct
17044         host_data / struct gaih_addrtuple.
17045         * resolv/nss_dns/dns-host.c (global scope): Move definition of
17046         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17047         header file nss/nsswitch.h.
17048         * nss/nsswitch.h (global scope): Add definition of implementation
17049         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17050         resolv/nss_dns/dns-host.c).
17052 2012-07-11  Andreas Jaeger  <aj@suse.de>
17054         * po/fr.po: Update from translation team.
17056         * po/sv.po: Update from translation team
17057         * po/fr.po: Another update from translation team.
17059 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17061         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17062         for subnormals or multiply small sinh result by itself.
17063         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17066 2012-07-11  David S. Miller  <davem@davemloft.net>
17068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17070 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
17072         [BZ #14347]
17073         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17074         (INTERNAL_MARK): Shift it here.
17076 2012-07-10  Marek Polacek  <polacek@redhat.com>
17078         [BZ #14151]
17079         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
17080         libc_cv_asm_global_directive with .globl.
17081         * configure: Regenerated.
17082         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17083         with .globl.
17084         * sysdeps/i386/configure: Regenerated.
17085         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17086         with .globl.
17087         * sysdeps/x86_64/configure: Regenerated.
17088         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17089         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17090         * elf/tst-unique2mod2.c: Likewise.
17091         * elf/tst-unique2mod1.c: Likewise.
17092         * elf/tst-unique1mod2.c: Likewise.
17093         * elf/tst-unique1mod1.c: Likewise.
17094         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17095         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17096         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17097         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17098         * sysdeps/mach/sysdep.h: Likewise.
17099         * sysdeps/i386/sysdep.h: Likewise.
17100         * sysdeps/i386/i386-mcount.S: Likewise.
17101         * sysdeps/x86_64/_mcount.S: Likewise.
17102         * sysdeps/x86_64/sysdep.h: Likewise.
17103         * sysdeps/sh/_mcount.S: Likewise.
17104         * sysdeps/sh/sysdep.h: Likewise.
17105         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17106         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17107         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17108         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17109         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17110         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17111         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17112         * locale/localeinfo.h: Likewise.
17113         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17114         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17116 2012-07-09  Roland McGrath  <roland@hack.frob.com>
17118         [BZ #14336]
17119         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17120         system".
17121         * manual/message.texi (The Uniforum approach): Likewise.
17122         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17123         (glibc iconv Implementation): Likewise.
17125 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
17127         [BZ #14337]
17128         * math/s_clog.c (__clog): Avoid scaling a value down where that
17129         could result in underflow.
17130         * math/s_clog10.c (__clog10): Likewise.
17131         * math/s_clog10f.c (__clog10f): Likewise.
17132         * math/s_clog10l.c (__clog10l): Likewise.
17133         * math/s_clogf.c (__clogf): Likewise.
17134         * math/s_clogl.c (__clogl): Likewise.
17135         * math/libm-test.inc (clog_test): Add more tests.
17136         (clog10_test): Likewise.
17137         * sysdeps/i386/fpu/libm-test-ulps: Update.
17138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17140 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
17142         [BZ #14283]
17143         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17144         by 7 not 8 to examine high bit of fractional part.
17146         [BZ #14042]
17147         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17148         for call to __mcount_internal.
17149         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17150         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17151         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17153 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
17155         [BZ #14154]
17156         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17157         approximation for values within 0x1p-13f of an odd multiple of
17158         pi/4.
17159         * math/libm-test.inc (tan_test): Do not allow spurious underflow
17160         exception.  Add more tests.
17161         * sysdeps/i386/fpu/libm-test-ulps: Update.
17163         [BZ #6778]
17164         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17165         inputs and return -1 for them.  Do not check for +Inf in case not
17166         reachable for +Inf.
17167         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17168         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17169         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17170         and return -1 for them.  Do not check for +Inf in case not
17171         reachable for +Inf.
17172         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17173         define.
17174         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17175         and return -1 for them.  Do not check for +Inf in case not
17176         reachable for +Inf.
17177         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
17178         spurious underflow.
17179         * sysdeps/i386/fpu/libm-test-ulps: Update.
17180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17182 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
17184         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17186 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
17188         [BZ #14157]
17189         [BZ #14331]
17190         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17191         could result in spurious underflow.  Scale down values above
17192         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17193         * math/s_csqrtf.c (__csqrtf): Likewise.
17194         * math/s_csqrtl.c (__csqrtl): Likewise.
17195         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
17196         spurious underflow.
17197         * sysdeps/i386/fpu/libm-test-ulps: Update.
17198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17200 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17202         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17203         xopen-msg.sed.
17204         * catgets/xopen-msg.awk: New file.
17205         * catgets/xopen-msg.sed: Removed.
17207         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17208         po2text.sed.
17209         * intl/po2test.awk: New file.
17210         * intl/po2test.sed: Removed.
17212 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
17214         [BZ #14328]
17215         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17216         or multiply small sinh result by itself.
17217         * math/s_ctanf.c (__ctanf): Likewise.
17218         * math/s_ctanh.c (__ctanh): Likewise.
17219         * math/s_ctanhf.c (__ctanhf): Likewise.
17220         * math/s_ctanhl.c (__ctanhl): Likewise.
17221         * math/s_ctanl.c (__ctanl): Likewise.
17222         * math/libm-test.inc (ctan_test_tonearest): New function.
17223         (ctan_test_towardzero): Likewise.
17224         (ctan_test_downward): Likewise.
17225         (ctan_test_upward): Likewise.
17226         (ctanh_test_tonearest): Likewise.
17227         (ctanh_test_towardzero): Likewise.
17228         (ctanh_test_downward): Likewise.
17229         (ctanh_test_upward): Likewise.
17230         (main): Call these new functions.
17231         * sysdeps/i386/fpu/libm-test-ulps: Update.
17232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17234 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
17236         * .gitignore: Delete /ports entry.
17238 2012-07-03  Andreas Jaeger  <aj@suse.de>
17240         * po/bg.po: Update from translation team.
17241         * po/cs.po: Likewise.
17242         * po/de.po: Likewise.
17243         * po/hr.po: Likewise.
17244         * po/nl.pl: Likewise.
17245         * po/pl.po: Likewise.
17246         * po/vi.po: Likewise.
17248 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
17250         * Makeconfig [!+link] (+link-before-libc): New variable.
17251         [!+link] (+link-after-libc): Likewise.
17252         [!+link] (+link-tests): Likewise.
17253         [!+link] (+link): Define in terms of $(+link-before-libc) and
17254         $(+link-after-libc).
17255         [!+link-static] (+link-static-before-libc): New variable.
17256         [!+link-static] (+link-static-after-libc): Likewise.
17257         [!+link-static] (+link-static-tests): Likewise.
17258         [!+link-static] (+link-static): Define in terms of
17259         $(+link-static-before-libc) and $(+link-static-after-libc).
17260         [build-shared] (link-libc-before-gnulib): New variable.
17261         [build-shared] (link-libc-tests): Likewise.
17262         [build-shared] (link-libc): Define in terms of
17263         $(link-libc-before-gnulib).
17264         [!build-shared] (link-libc-tests): New variable.
17265         (link-libc-static-tests): New variable.
17266         [!gnulib] (gnulib-arch): New variable.
17267         [!gnulib] (gnulib-tests): Likewise.
17268         [!gnulib] (static-gnulib-arch): Likewise.
17269         [!gnulib] (static-gnulib-tests): Likewise.
17270         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
17271         Define with "=" instead of ":=".
17272         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
17273         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
17274         * Rules (binaries-all-notests): New variable.
17275         (binaries-all-tests): Likewise.
17276         (binaries-static-notests): Likewise.
17277         (binaries-static-tests): Likewise.
17278         (binaries-all): Define using $(binaries-all-notests) and
17279         $(binaries-all-tests).
17280         (binaries-static): Define using $(binaries-static-notests) and
17281         $(binaries-static-tests).
17282         (binaries-shared-tests): New variable.
17283         (binaries-shared-notests): Likewise.
17284         (binaries-shared): Remove variable.
17285         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17286         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17287         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17288         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17289         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17290         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17291         * elf/Makefile (sln-modules): New variable.
17292         (extra-objs): Add $(sln-modules:=.o).
17293         (ldconfig-modules): Add static-stubs.
17294         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17295         * elf/static-stubs.c: New file.
17297         [BZ #14283]
17298         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17299         by 7 not 8 to examine high bit of fractional part.  Use volatile
17300         variables when splitting into final array of floats if
17301         __FLT_EVAL_METHOD__ != 0.
17302         * math/libm-test.inc (cos_test): Add another test.
17303         (sin_test): Likewise.
17304         * sysdeps/i386/fpu/libm-test-ulps: Update.
17306         [BZ #14273]
17307         * math/libm-test.inc (cosh_test): Add more tests.
17309         * version.h (RELEASE): Set to "development".
17310         (VERSION): Set to "2.16.90".
17312 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
17314         * NEWS: Update copyright. Remove last-updated date.
17315         Mention math library bug fixes and timezone data changes.
17316         * README: Mention GNU/Hurd, x32, and HPPA support status.
17318 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
17320         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17322 2012-06-27  Andreas Jaeger  <aj@suse.de>
17324         * manual/contrib.texi (Contributors): Add Samuel Thibault.
17326 2012-06-25  Andreas Jaeger  <aj@suse.de>
17328         * sysdeps/s390/fpu/libm-test-ulps: Update.
17330 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
17331             Thomas Schwinge  <thomas@codesourcery.com>
17333         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17334         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17335         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17336         fanotify_mark.
17338 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
17340         * sysdeps/mach/start.c: Remove file.
17341         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17342         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17343         * sysdeps/sh/init-first.c: Likewise.
17345         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17346         registers for frame unwinding purposes, add CFI directives.
17347         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17348         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17349         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17350         Likewise.
17352         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17353         __fortify_fail returning.
17354         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17356         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17357         sysdeps/sh/____longjmp_chk.S.
17358         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17359         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17360         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17361         (gen-as-const-headers): Append sigaltstack-offsets.sym.
17363         * sysdeps/sh/abort-instr.h: New file.
17364         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17365         process in case exit returns.
17367         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17368         initialize the GOT register before use.
17370         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17371         calculation of ARGC > 4.
17373         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17374         meaningful names to some local labels.
17376 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17377             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17379         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17380         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17381         (__arch_compare_and_exchange_val_16_acq): Likewise.
17382         (__arch_compare_and_exchange_val_32_acq): Likewise.
17383         (atomic_exchange_and_add): Fix gUSA sequence.
17384         (atomic_add): Likewise.
17385         (atomic_add_negative): Likewise.
17386         (atomic_add_zero): Likewise.
17387         (atomic_bit_test_set): Likewise.
17389 2012-06-22  Andreas Schwab  <schwab@redhat.com>
17391         [BZ #13579]
17392         * include/link.h (struct link_map): Add l_free_initfini.
17393         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17394         l_initfini.
17395         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17396         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17397         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17398         set.
17400 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
17402         * configure.in: Use AC_LANG_SOURCE.
17403         * configure: Regenerate.
17405 2012-06-22  Roland McGrath  <roland@hack.frob.com>
17407         * configure.in (libc_cv_localstatedir): New substituted variable.
17408         * configure: Regenerated.
17409         * config.make.in (localstatedir): New variable, substituted from
17410         libc_cv_localstatedir.
17411         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17412         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17413         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17414         * sysdeps/gnu/configure: Regenerated.
17416 2012-06-21  Jeff Law  <law@redhat.com>
17418         [BZ #14277]
17419         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17420         free.  Simplify list management for _LIBC case.
17422 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
17424         [BZ #14273]
17425         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17426         Clear sign bit of 64-bit integer value before comparing against
17427         overflow value.
17429         * sysdeps/mach/configure: Regenerated.
17431 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
17433         [BZ #14278]
17434         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17436 2012-06-21  Jeff Law  <law@redhat.com>
17438         [BZ #13882]
17439         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
17440         uint16_t for elements in the "seen" array to avoid char overflows.
17441         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17442         * elf/dl-open.c (dl_open_worker): Likewise.
17444 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
17446         * scripts/list-sources.sh: Scan PORTS for translations.
17447         * po/libc.pot: Regenerated.
17449 2012-06-21  Andreas Jaeger  <aj@suse.de>
17451         [BZ #12194]
17452         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17453         warning.
17454         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17455         * bits/byteswap-16.h (__bswap_16): Likewise.
17456         * bits/byteswap.h (__bswap_constant_16): Likewise.
17458 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
17460         [BZ #14117]
17461         * sysdeps/i386/fpu_control.h: Removed.
17462         * sysdeps/x86_64/fpu_control.h: Moved to ...
17463         * sysdeps/x86/fpu_control.h: Here.
17465         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17466         (_FPU_SETCW): Likewise.
17468 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
17470         [BZ #14117]
17471         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17472         * sysdeps/x86/fpu/bits/mathinline.h: This.
17473         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17475         [BZ #14050]
17476         [BZ #14117]
17477         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17478         functions if __x86_64__ is defined.
17480 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
17482         * string/endian.h: Add !__ASSEMBLER__ condition for including
17483         conversion interfaces.
17485 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
17487         [BZ #14241]
17488         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17489         of ABS(x) in calculating zero to negative powers other than odd
17490         integers.
17491         * math/libm-test.inc (pow_test): Add more tests.
17493 2012-06-15  Andreas Jaeger  <aj@suse.de>
17495         * manual/contrib.texi (Contributors): Update entry of Liubov
17496         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17497         Machado Filho.
17499 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
17501         * string/string.h: Add __wur to GNU version of strerror_r.
17503 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
17505         [BZ #14229]
17506         * string/Makefile (tests): Add tst-strtok_r.
17507         * string/tst-strtok_r.c: New file.
17508         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17509         RAX_LP/RDX_LP on SAVE_PTR.
17511 2012-06-14  Roland McGrath  <roland@hack.frob.com>
17513         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17515 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
17517         * libm_test.inc (csqrt_test): Allow more spurious underflow
17518         exceptions.
17519         (j0_test): Likewise.
17520         (j1_test): Likewise.
17521         (y0_test): Likewise.
17522         (y1_test): Likewise.
17524 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
17526         * po/Makefile (libc.pot): Use UTF-8 charset.
17528 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
17530         [BZ #14210]
17531         Suppress sign-conversion warning from FD_SET.
17532         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17533         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17534         not unsigned long int.
17535         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17537 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
17539         [BZ #14050]
17540         [BZ #14117]
17541         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17542         __extern_always_inline instead of __extern_inline.
17543         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17544         (__signbit): Likewise.
17545         (__signbitl): Support C++ namespace.
17546         (lrintf): New inline function.
17547         (lrint): Likewise.
17548         (llrintf): Likewise.
17549         (llrint): Likewise.
17550         (fmaxf): Likewise.
17551         (fmax): Likewise.
17552         (fminf): Likewise.
17553         (fmin): Likewise.
17554         (rint): Likewise.
17555         (rintf): Likewise.
17556         (ceil): Likewise.
17557         (ceilf): Likewise.
17558         (floor): Likewise.
17559         (floorf): Likewise.
17560         (nearbyint): Likewise.
17561         (nearbyintf): Likewise.
17563 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
17565         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17566         non-default versions.
17568 2012-06-11  Roland McGrath  <roland@hack.frob.com>
17570         [BZ #14218]
17571         * manual/argp.texi (Argp): Reword argp_parse description slightly.
17573 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
17575         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17576         (FE_UPWARD, FE_DOWNWARD): Don't define.
17577         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17578         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17580         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17581         reading it.
17582         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17583         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17585 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17587         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17588         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17589         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17590         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17592 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
17594         [BZ #14117]
17595         * sysdeps/i386/fpu/bits/fenv.h: Removed.
17596         * sysdeps/i386/fpu/Implies: New file.
17597         * sysdeps/x86_64/fpu/Implies: Likewise.
17598         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17599         * sysdeps/x86/fpu/bits/fenv.h: This.
17601         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17602         __SSE_MATH__.
17604 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17606         [BZ #14134]
17607         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17608         character 0xffff that matches the last element of the
17609         conversion table.
17611 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17613         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17614         fmodl commit.
17616 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17618         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17619         values higher than 25.6283.
17621 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17623         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17624         subnormal exponent extraction and add some __builtin_expect.
17625         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17626         Fix for subnormal mantissa calculation.
17628 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
17630         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17631         cpu2 is -1 and errno is not ENOSYS.
17633 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
17635         [BZ #14117]
17636         * sysdeps/i386/i486/bits/string.h: Renamed to ...
17637         * sysdeps/x86/bits/string.h: This.
17638         * sysdeps/x86_64/bits/string.h: Removed.
17640         * sysdeps/i386/i486/bits/string.h: Define inline functions only
17641         if not compiling for x86-64, but compiling for >= i486.
17643         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17644         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17646         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17647         New macro from Linux kernel 3.4.0.
17648         (FP_XSTATE_MAGIC2): Likewise.
17649         (FP_XSTATE_MAGIC2_SIZE): Likewise.
17650         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17651         (struct _fpx_sw_bytes): New struct.
17652         (struct _xsave_hdr): Likewise.
17653         (struct _ymmh_state): Likewise.
17654         (struct _xstate): Likewise.
17656         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17657         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17658         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17659         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17660         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17661         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17663         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17664         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17665         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17666         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17667         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17668         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17670 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17672         [BZ #13743]
17673         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17674         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17675         (sysdep_headers): Include sys/platform/ppc.h.
17676         * sysdeps/powerpc/test-gettimebase.c: Test for
17677         __ppc_get_timebase() to catch future ISA opcode/insn changes.
17678         * manual/Makefile (appendices): Include platform.texi.
17679         * manual/contrib.texi (Contributors): Update @node pointers.
17680         * manual/maint.texi (Maintenance): Likewise.
17681         (Platform): New node.
17682         * manual/platform.texi: New file.  Document the new features.
17684 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17685             Jakub Jelinek  <jakub@redhat.com>
17687         [BZ #14188]
17688         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17689         where __builtin_expect is unavailable.
17691 2012-06-03  David S. Miller  <davem@davemloft.net>
17693         * stdlib/longlong.h: Updated from GCC.
17695 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
17697         [BZ #14042]
17698         * sysdeps/powerpc/powerpc32/mcount.c: New file.
17699         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17700         __mcount_internal.
17701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17702         (GLIBC_2.16): Likewise.
17704 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17706         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17708 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17711         (default-abi): New variable.
17712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17713         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17714         variable.
17715         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17716         Likewise.
17717         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17718         Likewise.
17719         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17720         Likewise.
17722         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17723         definition.  Document in comment.
17725 2012-06-01  David S. Miller  <davem@davemloft.net>
17727         * stdlib/longlong.h: Updated from GCC.
17729 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17731         [BZ #14117]
17732         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17733         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17734         sys/debugreg.h sys/io.h here.
17735         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17736         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17737         sys/io.h.
17738         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17739         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17740         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17741         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17742         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17743         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17745         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17746         Define only if __x86_64__ is defined.
17748 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17750         [BZ #14048]
17751         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17752         Use int64_t for variable i.
17753         * math/libm-test.inc (fmod_test): Add more tests.
17755         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17756         z computation is not scheduled after fetestexcept.
17757         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17758         Use math_force_eval instead of asm to ensure calculation scheduled
17759         before exception test.
17760         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17761         Ensure a1 + u.d computation is not scheduled after fetestexcept.
17763 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
17765         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17766         computation is not scheduled after fetestexcept.
17768 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17770         [BZ #14117]
17771         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17772         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17774 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17776         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17777         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17779 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17781         [BZ #14117]
17782         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17783         <bits/wordsize.h>.
17784         (__WCHAR_MIN): Support __WORDSIZE == 64.
17785         (__WCHAR_MAX): Likewise.
17787         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17788         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17790         [BZ #14183]
17791         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17792         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17794         [BZ #14117]
17795         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17796         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17798         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17799         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17801         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17802         Defined to 1 if __x86_64__ isn't defined.
17803         (_STAT_VER_LINUX_OLD): New.
17804         (st_atime): Remove duplicate.
17805         (st_mtime): Likewise.
17806         (st_ctime): Likewise.
17808 2012-05-31  David S. Miller  <davem@davemloft.net>
17810         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17811         entries.
17813 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
17815         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17816         gen-libm-test.pl.
17818         [BZ #14132]
17819         * elf/dl-reloc.c: Include <_itoa.h>.
17820         (_dl_reloc_bad_type): Remove use of INTUSE.
17821         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17822         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17823         * stdio-common/psiginfo.c (psiginfo): Likewise.
17824         * stdio-common/psignal.c (psignal): Likewise.
17825         * string/strsignal.c (strsignal): Likewise.
17826         * include/signal.h (_sys_siglist): Declare hidden proto.
17827         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
17828         INTVARDEF with libc_hidden_data_def.
17829         * stdio-common/itoa-udigits.c: Likewise.
17830         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17831         (_itoa_lower_digits_internal): Remove declaration.
17832         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17833         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17834         (_sys_sigabbrev_internal): Remove aliases.
17835         (_sys_siglist): Define hidden alias.
17837 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
17839         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17840         bits/sysctl.h.
17842 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17844         [BZ #14117]
17845         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17846         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17848         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17849         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17850         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17851         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17852         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17853         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17855         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17856         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17857         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17859         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17860         with __addr.
17861         (insw): Likewise.
17862         (insl): Likewise.
17863         (outsb): Likewise.
17864         (outsw): Likewise.
17865         (outsl): Likewise.
17867         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17868         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17869         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17871         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17872         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17873         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17874         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17875         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17876         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17878         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17879         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17881         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17882         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17884         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17885         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17886         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17888         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17889         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17890         to ...
17891         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17893         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17894         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17895         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17897         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17898         for x86-64.
17899         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17901 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
17903         * math/math.h (M_El): Use two more decimal places.
17904         (M_LOG2El): Likewise.
17905         (M_LOG10El): Likewise.
17906         (M_LN2l): Likewise.
17907         (M_LN10l): Likewise.
17908         (M_PIl): Likewise.
17909         (M_PI_2l): Likewise.
17910         (M_PI_4l): Likewise.
17911         (M_1_PIl): Likewise.
17912         (M_2_PIl): Likewise.
17913         (M_2_SQRTPIl): Likewise.
17914         (M_SQRT2l): Likewise.
17915         (M_SQRT1_2l): Likewise.
17917 2012-05-31  David S. Miller  <davem@davemloft.net>
17919         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17920         values between float registers.
17921         * sysdeps/sparc/sparc64/memset.S: Likewise.
17922         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17924 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
17926         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17927         -D_FORTIFY_SOURCE=1.
17928         (CPPFLAGS-tst-longjmp_chk.c): Define.
17929         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17930         (CPPFLAGS-tst-longjmp_chk2.c): Define.
17931         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17932         CFLAGS-tst-wchar-h.c.
17934 2012-05-31  Marek Polacek  <polacek@redhat.com>
17936         [BZ #14132]
17937         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17938         __endmntent_internal): Remove declaration.
17939         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17940         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17941         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17943 2012-05-30  David S. Miller  <davem@davemloft.net>
17945         * sysdeps/sparc/sparc32/soft-fp/q_util.c
17946         (___Q_simulate_exceptions): Use real FP ops rather than writing
17947         into the %fsr.
17948         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17949         Likewise.
17951 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17953         [BZ #14117]
17954         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17955         * sysdeps/x86/bits/xtitypes.h: This.
17957         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17958         * sysdeps/x86/bits/wordsize.h: This.
17960         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17961         * sysdeps/x86/bits/huge_vall.h: This.
17963         * sysdeps/i386/bits/select.h: Removed.
17964         * sysdeps/x86_64/bits/select.h: Renamed to ...
17965         * sysdeps/x86/bits/select.h: This.
17967         * sysdeps/i386/bits/setjmp.h: Removed.
17968         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17969         * sysdeps/x86/bits/setjmp.h: This.
17971         * sysdeps/i386/bits/mathdef.h: Removed.
17972         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17973         * sysdeps/x86/bits/mathdef.h: This.
17975 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
17977         [BZ #14132]
17978         * include/sys/socket.h (__connect_internal)
17979         (__libc_sa_len_internal): Remove declaration.
17980         (__connect, __libc_sa_len): Declare hidden_proto.
17981         (SA_LEN): Remove use of INTUSE.
17982         * socket/connect.c: Add libc_hidden_def.
17983         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17984         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17985         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17986         alias.
17987         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17988         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17989         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17990         of adding _internal alias.
17992 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17994         [BZ #14117]
17995         * sysdeps/i386/bits/link.h: Removed.
17996         * sysdeps/i386/bits/linkmap.h: Likewise.
17997         * sysdeps/x86_64/bits/link.h: Renamed to ...
17998         * sysdeps/x86/bits/link.h: This.
17999         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18000         * sysdeps/x86/bits/linkmap.h: This.
18002         * sysdeps/i386/bits/endian.h: Removed.
18003         * sysdeps/x86_64/bits/endian.h: Renamed to ...
18004         * sysdeps/x86/bits/endian.h: This.
18006         * sysdeps/i386/bits/byteswap.h: Removed.
18007         * sysdeps/i386/bits/byteswap-16.h: Likewise.
18008         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18009         * sysdeps/x86/bits/byteswap.h: This.
18010         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18011         * sysdeps/x86/bits/byteswap-16.h: This.
18012         * sysdeps/i386/Implies: Add x86.
18013         * sysdeps/x86_64/Implies: Likewise.
18015 2012-05-30  David S. Miller  <davem@davemloft.net>
18017         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18018         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18019         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18020         (FP_TRAPPING_EXCEPTIONS): Define.
18021         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18022         (FP_TRAPPING_EXCEPTIONS): Define.
18023         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18024         subnormals only when inexact has been signalled or underflow
18025         exceptions are enabled.
18026         (_FP_PACK_CANONICAL): Likewise.
18028 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18030         [BZ #14183]
18031         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18032         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18034 2012-05-30  Richard Henderson  <rth@twiddle.net>
18036         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18037         with #ifndef NOT_IN_libc.
18039         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
18040         marked to avoid plt entry.
18042 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18044         [BZ #14112]
18045         * Makeconfig (default-abi): New macro.
18046         (abi-includes): Likewise.
18047         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
18048         $(abi-$(default-abi)-lib-soname) for soname if defined.
18049         ($(common-objpfx)gnu/lib-names.stmp): Generate from
18050         abi-variants.
18051         * Makefile (installed-stubs): Likewise.
18052         * include/stubs-biarch.h: Removed.
18053         * scripts/lib-names.awk: Only handle one library at a time.
18054         * scripts/soversions.awk: Remove WORDSIZE support.
18055         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18056         entries.
18057         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18058         Removed.
18059         (syscall-list-default-condition): Likewise.
18060         (syscall-list-default-condition): Likewise.
18061         (syscall-list-includes): Likewise.
18062         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18063         syscall-list-* with abi-*.  Handle undefined abi-variants.
18064         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18065         * sysdeps/unix/sysv/linux/i386/Implies: New file.
18066         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18067         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18068         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18069         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18070         Removed.
18071         (syscall-list-32-options): Likewise.
18072         (syscall-list-32-condition): Likewise.
18073         (syscall-list-64-options): Likewise.
18074         (syscall-list-64-condition): Likewise.
18075         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18076         macro.
18077         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18078         Renamed to ...
18079         (abi-*): This.
18080         (abi-64-ld-soname): New macro.
18081         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18082         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18083         Renamed to ...
18084         (abi-*): This.
18085         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18086         * sysdeps/x86_64/x32/shlib-versions: Likewise.
18088 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
18090         * sysdeps/unix/sysv/linux/kernel-features.h
18091         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18092         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18093         include <kernel-features.h>.
18094         [!__NR_ftruncate64]: Remove conditional code.
18095         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18096         [__NR_ftruncate64]: Make code unconditional.
18097         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18098         * sysdeps/unix/sysv/linux/truncate64.c: Do not
18099         include <kernel-features.h>.
18100         [!__NR_ftruncate64]: Remove conditional code.
18101         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18102         [__NR_ftruncate64]: Make code unconditional.
18103         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18105         include <kernel-features.h>.
18106         [!__NR_ftruncate64]: Remove conditional code.
18107         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18108         [__NR_ftruncate64]: Make code unconditional.
18109         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18111         include <kernel-features.h>.
18112         [!__NR_ftruncate64]: Remove conditional code.
18113         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18114         [__NR_ftruncate64]: Make code unconditional.
18115         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18117         * configure.in (libc_cv_fpie): Weaken to a compile test using
18118         LIBC_TRY_CC_OPTION.
18119         * configure: Regenerated.
18121 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18127         Refreshed.
18128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18134         Refreshed.
18136 2012-05-27  David S. Miller  <davem@davemloft.net>
18138         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18139         (___Q_zero): New.
18140         (__Q_simulate_exceptions): Return void.  Change to simulate
18141         exceptions by writing into the %fsr.
18142         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18143         (__Qp_handle_exceptions): Likewise.
18144         (numbers): Delete.
18145         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18146         __Qp_handle_exceptions.
18147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18148         __Qp_handle_exceptions.
18149         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18150         as unused and give dummy FP_RND_NEAREST initializer.
18151         (FP_INHIBIT_RESULTS): Define.
18152         (___Q_simulate_exceptions): Update declaration.
18153         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18154         formatting.
18155         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18156         as unused and give dummy FP_RND_NEAREST initializer.
18157         (__Qp_handle_exceptions): Update declaration.
18158         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18159         formatting.
18161 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
18163         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18164         the temporary FPU control word.
18165         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18166         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18167         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18168         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18169         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18170         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18171         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18172         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18173         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18174         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18175         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18177 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18179         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18180         fields.
18182 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
18184         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18185         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18186         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18187         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18188         Likewise.
18189         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18190         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18191         Likewise.
18193 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
18195         * po/h.po: Update from translation team.
18197 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
18199         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18201         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18202         handling of denormals.
18203         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18204         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18205         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18206         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18207         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18208         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18209         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18210         Likewise.
18212 2012-05-26  Marek Polacek  <polacek@redhat.com>
18214         [BZ #14152]
18215         * math/libm-test.inc (fma_test): Don't always expect underflow
18216         exception.
18218 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18220         [BZ #12416]
18221         * elf/tst-execstack.c: Include stackinfo.h.
18222         (do_test): Adjust test case to ensure that pthread_getattr_np
18223         behaviour remains the same after marking stack executable.
18225 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
18227         * sysdeps/unix/sysv/linux/kernel-features.h
18228         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18229         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18230         kernel-features.h.
18231         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18232         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18233         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18234         kernel-features.h.
18235         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18236         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18238 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
18240         * configure.in: Define the default includes to being none.
18241         * configure: Regenerated.
18243 2012-05-25  Roland McGrath  <roland@hack.frob.com>
18245         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18246         * sysdeps/x86_64/setjmp.S: Likewise.
18247         * sysdeps/i386/bsd-setjmp.S: Likewise.
18248         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18249         * sysdeps/i386/setjmp.S: Likewise.
18250         * sysdeps/i386/__longjmp.S: Likewise.
18251         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18252         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18254         * include/stap-probe.h: New file.
18255         * configure.in: Handle --enable-systemtap.
18256         * configure: Regenerated.
18257         * config.h.in (USE_STAP_PROBE): New #undef.
18258         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18259         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18260         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18262 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
18264         [BZ #13717]
18265         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18266         to 2.4.0 where earlier.
18267         * sysdeps/unix/sysv/linux/configure: Regenerated.
18268         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18269         <kernel-features.h>.
18270         [__ASSUME_32BITUIDS]: Make code unconditional.
18271         [!__ASSUME_32BITUIDS]: Remove conditional code.
18272         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18273         <kernel-features.h>.
18274         [__ASSUME_32BITUIDS]: Make code unconditional.
18275         [!__ASSUME_32BITUIDS]: Remove conditional code.
18276         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18277         [__ASSUME_32BITUIDS]: Make code unconditional.
18278         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18279         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18280         <kernel-features.h>.
18281         [__ASSUME_32BITUIDS]: Make code unconditional.
18282         [!__ASSUME_32BITUIDS]: Remove conditional code.
18283         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18284         <kernel-features.h>.
18285         [__ASSUME_32BITUIDS]: Make code unconditional.
18286         [!__ASSUME_32BITUIDS]: Remove conditional code.
18287         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18288         <kernel-features.h>.
18289         [__ASSUME_32BITUIDS]: Make code unconditional.
18290         [!__ASSUME_32BITUIDS]: Remove conditional code.
18291         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18292         <kernel-features.h>.
18293         [__ASSUME_32BITUIDS]: Make code unconditional.
18294         [!__ASSUME_32BITUIDS]: Remove conditional code.
18295         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18296         <kernel-features.h>.
18297         [__ASSUME_32BITUIDS]: Make code unconditional.
18298         [!__ASSUME_32BITUIDS]: Remove conditional code.
18299         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18300         <kernel-features.h>.
18301         [__ASSUME_32BITUIDS]: Make code unconditional.
18302         [!__ASSUME_32BITUIDS]: Remove conditional code.
18303         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18304         <kernel-features.h>.
18305         [__ASSUME_32BITUIDS]: Make code unconditional.
18306         [!__ASSUME_32BITUIDS]: Remove conditional code.
18307         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18308         <kernel-features.h>.
18309         [__ASSUME_32BITUIDS]: Make code unconditional.
18310         [!__ASSUME_32BITUIDS]: Remove conditional code.
18311         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18312         <kernel-features.h>.
18313         [__ASSUME_32BITUIDS]: Make code unconditional.
18314         [!__ASSUME_32BITUIDS]: Remove conditional code.
18315         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18316         <kernel-features.h>.
18317         [__ASSUME_32BITUIDS]: Make code unconditional.
18318         [!__ASSUME_32BITUIDS]: Remove conditional code.
18319         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18320         <kernel-features.h>.
18321         [__NR_setresgid] (__setresgid): Do not declare.
18322         [__ASSUME_32BITUIDS]: Make code unconditional.
18323         [!__ASSUME_32BITUIDS]: Remove conditional code.
18324         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18325         <kernel-features.h>.
18326         [__NR_setresuid] (__setresuid): Do not declare.
18327         [__ASSUME_32BITUIDS]: Make code unconditional.
18328         [!__ASSUME_32BITUIDS]: Remove conditional code.
18329         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18330         <kernel-features.h>.
18331         [__ASSUME_32BITUIDS]: Make code unconditional.
18332         [!__ASSUME_32BITUIDS]: Remove conditional code.
18333         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18334         <kernel-features.h>.
18335         [__ASSUME_32BITUIDS]: Make code unconditional.
18336         [!__ASSUME_32BITUIDS]: Remove conditional code.
18337         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18338         <kernel-features.h>.
18339         [__ASSUME_32BITUIDS]: Make code unconditional.
18340         [!__ASSUME_32BITUIDS]: Remove conditional code.
18341         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18342         <kernel-features.h>.
18343         [__ASSUME_32BITUIDS]: Make code unconditional.
18344         [!__ASSUME_32BITUIDS]: Remove conditional code.
18345         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18346         <kernel-features.h>.
18347         [__ASSUME_32BITUIDS]: Make code unconditional.
18348         [!__ASSUME_32BITUIDS]: Remove conditional code.
18349         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18350         <kernel-features.h>.
18351         [__ASSUME_32BITUIDS]: Make code unconditional.
18352         [!__ASSUME_32BITUIDS]: Remove conditional code.
18353         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18354         <kernel-features.h>.
18355         [__ASSUME_32BITUIDS]: Make code unconditional.
18356         [!__ASSUME_32BITUIDS]: Remove conditional code.
18357         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18358         <kernel-features.h>.
18359         [__ASSUME_32BITUIDS]: Make code unconditional.
18360         [!__ASSUME_32BITUIDS]: Remove conditional code.
18361         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18362         <kernel-features.h>.
18363         [__ASSUME_32BITUIDS]: Make code unconditional.
18364         [!__ASSUME_32BITUIDS]: Remove conditional code.
18365         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18366         <kernel-features.h>.
18367         [__ASSUME_32BITUIDS]: Make code unconditional.
18368         [!__ASSUME_32BITUIDS]: Remove conditional code.
18369         * sysdeps/unix/sysv/linux/kernel-features.h
18370         (__ASSUME_SETRESUID_SYSCALL): Remove.
18371         (__ASSUME_SETRESGID_SYSCALL): Likewise.
18372         (__ASSUME_32BITUIDS): Likewise.
18373         (__ASSUME_LDT_WORKS): Likewise.
18374         (__ASSUME_O_DIRECTORY): Likewise.
18375         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18376         architecture but not kernel version.
18377         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18378         (__ASSUME_MMAP2_SYSCALL): Likewise.
18379         (__ASSUME_STAT64_SYSCALL): Likewise.
18380         (__ASSUME_IPC64): Likewise.
18381         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18382         <kernel-features.h>.
18383         [__ASSUME_32BITUIDS]: Make code unconditional.
18384         [!__ASSUME_32BITUIDS]: Remove conditional code.
18385         * sysdeps/unix/sysv/linux/opendir.c: Do not include
18386         <kernel-features.h>.
18387         [__ASSUME_O_DIRECTORY]: Make code unconditional.
18388         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18389         132096]: Remove conditional code.
18390         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18391         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18392         <kernel-features.h>.
18393         [__ASSUME_32BITUIDS]: Make code unconditional.
18394         [!__ASSUME_32BITUIDS]: Remove conditional code.
18395         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18396         <kernel-features.h>.
18397         [__ASSUME_32BITUIDS]: Make code unconditional.
18398         [!__ASSUME_32BITUIDS]: Remove conditional code.
18399         * sysdeps/unix/sysv/linux/setegid.c: Do not include
18400         <kernel-features.h>.
18401         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18402         unconditional.
18403         (__setresgid): Do not declare.
18404         [__ASSUME_32BITUIDS]: Make code unconditional.
18405         [!__ASSUME_32BITUIDS]: Remove conditional code.
18406         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18407         <kernel-features.h>.
18408         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18409         unconditional.
18410         (__setresuid): Do not declare.
18411         [__ASSUME_32BITUIDS]: Make code unconditional.
18412         [!__ASSUME_32BITUIDS]: Remove conditional code.
18413         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18414         <kernel-features.h>.
18415         [__ASSUME_32BITUIDS]: Make code unconditional.
18416         [!__ASSUME_32BITUIDS]: Remove conditional code.
18417         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18418         <kernel-features.h>.
18419         [__ASSUME_32BITUIDS]: Make code unconditional.
18420         [!__ASSUME_32BITUIDS]: Remove conditional code.
18422 2012-05-25  Richard Henderson  <rth@twiddle.net>
18424         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18425         dl_hwcap to ifunc resolver.
18426         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18427         elf_ifunc_invoke.
18428         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18429         dl_hwcap to ifunc resolver.
18430         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18432 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18434         [BZ #14153]
18435         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18436         for |x| <= 2**-26, not 2**-57.
18437         * math/libm-test.inc (acos_test): Do not allow spurious underflow
18438         exception.
18440 2012-05-24  Jeff Law  <law@redhat.com>
18442         * stdio-common/Makefile (tests): Add bug25.
18443         * stdio-common/bug25.c: New test.
18445 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18447         [BZ #13576]
18448         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18449         multiple of MALLOC_ALIGNMENT in size.
18450         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18452 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18454         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18455         Require >= 256.
18456         (FILENAME_MAX): Use macro-int-constant.
18457         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
18458         (_IOFBF): Use macro-int-constant.
18459         (_IOLBF): Likewise.
18460         (_IONBF): Likewise.
18461         (SEEK_CUR): Likewise.
18462         (SEEK_END): Likewise.
18463         (SEEK_SET): Likewise.
18464         (TMP_MAX): Likewise.
18465         (EOF): Use macro-int-constant.  Require < 0.
18466         (NULL): Use macro-constant.  Require == 0.
18467         (stdin): Require type to be FILE *.
18468         (stdout): Likewise.
18469         (stderr): Likewise.
18470         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18471         macro-int-constant.
18472         (EXIT_SUCCESS): Likewise.
18473         (NULL): Use macro-constant.  Require == 0.
18474         (RAND_MAX): Use macro-int-constant.
18475         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18476         [C99-based standards] (strtof): Require function.
18477         [C99-based standards] (strtold): Likewise.
18478         [C99-based standards] (strtoll): Likewise.
18479         [C99-based standards] (strtoull): Likewise.
18480         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18481         [ISO || ISO99 || ISO11] (limits.h): Likewise.
18482         [ISO || ISO99 || ISO11] (math.h): Likewise.
18483         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18484         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18485         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18487 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
18489         [BZ #14132]
18490         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18491         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18492         * intl/dgettext.c (DCGETTEXT): Likewise.
18493         * intl/gettext.c (DCGETTEXT): Likewise.
18494         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18495         * posix/regex_internal.h (gettext): Likewise.
18496         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18497         Remove declaration.
18498         * include/argz.h (__argz_count_internal)
18499         (__argz_stringify_internal): Remove declaration.
18500         (__argz_count, __argz_stringify): Declare hidden proto.
18501         * intl/dcgettext.c: Remove use of INTDEF.
18502         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18503         * string/argz-stringify.c: Likewise.
18504         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18505         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18506         Declare hidden proto.
18507         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18508         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18509         Declare hidden proto.
18510         * include/stdio.h (__asprintf_internal): Don't declare.
18511         (__asprintf): Don't define as macro.  Declare hidden proto.
18512         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18513         (__fsetlocking): Declare hidden proto.
18514         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18515         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18516         hidden proto.
18517         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18518         (_IO_setlinebuf): Remove use of INTUSE.
18519         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18520         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18521         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18522         Remove declaration.
18523         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18524         (_IO_do_flush): Remove use of INTUSE.
18525         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18526         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18527         (_IO_adjust_column, _IO_least_wmarker)
18528         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18529         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18530         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18531         (_IO_default_doallocate, _IO_wdefault_doallocate)
18532         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18533         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18534         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18535         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18536         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18537         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18538         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18539         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18540         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18541         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18542         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18543         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18544         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18545         proto.
18546         (_IO_flush_all_internal, _IO_adjust_column_internal)
18547         (_IO_default_uflow_internal, _IO_default_finish_internal)
18548         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18549         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18550         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18551         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18552         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18553         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18554         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18555         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18556         (_IO_file_close_internal, _IO_file_close_it_internal)
18557         (_IO_file_underflow_internal, _IO_file_overflow_internal)
18558         (_IO_file_init_internal, _IO_file_attach_internal)
18559         (_IO_file_fopen_internal, _IO_file_read_internal)
18560         (_IO_file_sync_internal, _IO_file_seek_internal)
18561         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18562         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18563         (_IO_str_underflow_internal, _IO_str_overflow_internal)
18564         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18565         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18566         (_IO_list_all_internal, _IO_link_in_internal)
18567         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18568         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18569         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18570         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18571         (_IO_do_write_internal, _IO_padn_internal)
18572         (_IO_getline_info_internal, _IO_getline_internal)
18573         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18574         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18575         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18576         (_IO_vfscanf_internal, _IO_vfprintf_internal)
18577         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18578         (_IO_init_internal, _IO_un_link_internal): Don't declare.
18579         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18580         with libc_hidden_ver, remove use of INTUSE.
18581         * libio/genops.c: Likewise.
18582         * libio/freopen.c: Likewise.
18583         * libio/freopen64.c: Likewise.
18584         * libio/iofclose.c: Likewise.
18585         * libio/iofdopen.c: Likewise.
18586         * libio/iofflush.c: Likewise.
18587         * libio/iofflush_u.c: Likewise.
18588         * libio/iofgets.c: Likewise.
18589         * libio/iofgets_u.c: Likewise.
18590         * libio/iofopen.c: Likewise.
18591         * libio/iofopncook.c: Likewise.
18592         * libio/iofread.c: Likewise.
18593         * libio/iofread_u.c: Likewise.
18594         * libio/ioftell.c: Likewise.
18595         * libio/iofwrite.c: Likewise.
18596         * libio/iogetline.c: Likewise.
18597         * libio/iogets.c: Likewise.
18598         * libio/iogetwline.c: Likewise.
18599         * libio/iopadn.c: Likewise.
18600         * libio/iopopen.c: Likewise.
18601         * libio/ioseekoff.c: Likewise.
18602         * libio/ioseekpos.c: Likewise.
18603         * libio/iosetbuffer.c: Likewise.
18604         * libio/iosetvbuf.c: Likewise.
18605         * libio/ioungetc.c: Likewise.
18606         * libio/ioungetwc.c: Likewise.
18607         * libio/iovdprintf.c: Likewise.
18608         * libio/iovsprintf.c: Likewise.
18609         * libio/iovsscanf.c: Likewise.
18610         * libio/memstream.c: Likewise.
18611         * libio/obprintf.c: Likewise.
18612         * libio/oldfileops.c: Likewise.
18613         * libio/oldiofclose.c: Likewise.
18614         * libio/oldiofdopen.c: Likewise.
18615         * libio/oldiofopen.c: Likewise.
18616         * libio/oldiopopen.c: Likewise.
18617         * libio/oldstdfiles.c: Likewise.
18618         * libio/putc.c: Likewise.
18619         * libio/setbuf.c: Likewise.
18620         * libio/setlinebuf.c: Likewise.
18621         * libio/stdfiles.c: Likewise.
18622         * libio/strops.c: Likewise.
18623         * libio/vasprintf.c: Likewise.
18624         * libio/vscanf.c: Likewise.
18625         * libio/vsnprintf.c: Likewise.
18626         * libio/vswprintf.c: Likewise.
18627         * libio/wfiledoalloc.c: Likewise.
18628         * libio/wfileops.c: Likewise.
18629         * libio/wgenops.c: Likewise.
18630         * libio/wmemstream.c: Likewise.
18631         * libio/wstrops.c: Likewise.
18632         * libio/__fpurge.c: Likewise.
18633         * libio/__fsetlocking.c: Likewise.
18634         * assert/assert.c: Likewise.
18635         * debug/fgets_chk.c: Likewise.
18636         * debug/fgets_u_chk.c: Likewise.
18637         * debug/fread_chk.c: Likewise.
18638         * debug/fread_u_chk.c: Likewise.
18639         * debug/gets_chk.c: Likewise.
18640         * debug/obprintf_chk.c: Likewise.
18641         * debug/vasprintf_chk.c: Likewise.
18642         * debug/vdprintf_chk.c: Likewise.
18643         * debug/vsnprintf_chk.c: Likewise.
18644         * debug/vsprintf_chk.c: Likewise.
18645         * malloc/mtrace.c: Likewise.
18646         * misc/error.c: Likewise.
18647         * misc/syslog.c: Likewise.
18648         * stdio-common/asprintf.c: Likewise.
18649         * stdio-common/fxprintf.c: Likewise.
18650         * stdio-common/getw.c: Likewise.
18651         * stdio-common/isoc99_fscanf.c: Likewise.
18652         * stdio-common/isoc99_scanf.c: Likewise.
18653         * stdio-common/isoc99_vfscanf.c: Likewise.
18654         * stdio-common/isoc99_vscanf.c: Likewise.
18655         * stdio-common/isoc99_vsscanf.c: Likewise.
18656         * stdio-common/printf-prs.c: Likewise.
18657         * stdio-common/printf_fp.c: Likewise.
18658         * stdio-common/printf_fphex.c: Likewise.
18659         * stdio-common/printf_size.c: Likewise.
18660         * stdio-common/putw.c: Likewise.
18661         * stdio-common/scanf.c: Likewise.
18662         * stdio-common/sprintf.c: Likewise.
18663         * stdio-common/tmpfile.c: Likewise.
18664         * stdio-common/vfprintf.c: Likewise.
18665         * stdio-common/vfscanf.c: Likewise.
18666         * stdlib/strfmon_l.c: Likewise.
18667         * sunrpc/openchild.c: Likewise.
18668         * sunrpc/xdr_stdio.c: Likewise.
18669         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18670         * sysdeps/mach/hurd/tmpfile.c: Likewise.
18672 2012-05-24  Roland McGrath  <roland@hack.frob.com>
18674         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18676         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18677         in the third column, to generate for the shared library an IFUNC
18678         that uses _dl_vdso_vsym.
18679         * Makerules (COMPILE.c, compile-stdin.c): New variables.
18680         * Makeconfig (object-suffixes-noshared): New variable.
18682         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18683         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18684         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18685         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18687         [BZ #14132]
18688         * include/sys/time.h (__gettimeofday): Remove macro.
18689         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18690         * time/gettimeofday.c (__gettimeofday): Remove #undef.
18691         Remove INTDEF.
18692         (__gettimeofday): Add libc_hidden_def.
18693         (gettimeofday): Add libc_hidden_weak.
18694         * sysdeps/mach/gettimeofday.c: Likewise.
18695         * sysdeps/posix/gettimeofday.c: Likewise.
18696         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18697         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18698         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18699         (__gettimeofday_internal): Remove strong_alias.
18700         (__gettimeofday): Add libc_hidden_def.
18701         (gettimeofday): Add libc_hidden_weak.
18702         * sysdeps/unix/syscalls.list (gettimeofday):
18703         Remove __gettimeofday_internal alias.
18705 2012-05-24  Daniel Jacobowitz  <drow@false.org>
18706             H.J. Lu  <hongjiu.lu@intel.com>
18708         [BZ #12495]
18709         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18710         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18711         (largebin_index_32_big): New.
18712         (largebin_index): Use it for 16-byte alignment.
18713         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
18714         correction with front_misalign.
18716 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18720         Likewise.
18721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18722         Likewise.
18723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18724         Likewise.
18725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18726         Likewise.
18727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18728         Likewise.
18729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18730         Likewise.
18731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18732         Likewise.
18733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18734         Likewise.
18735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18736         Likewise.
18737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18738         Likewise.
18739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18740         Likewise.
18741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18742         Likewise.
18744         * scripts/data/c++-types-x32-linux-gnu.data: New file.
18745         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18747 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18749         [BZ #10846]
18750         [BZ #14036]
18751         * math/libm-test.inc (exp_test): Add test from bug 14036.
18752         (pow_test): Add test from bug 10846.
18754         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18755         and other flags.
18756         (special_function): Do not include flags in test name.
18757         (parse_args): Likewise.
18758         * sysdeps/i386/fpu/libm-test-ulps: Update.
18759         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18760         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18761         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18764         * math/gen-libm-test.pl (%beautify): Add entries for underflow
18765         exceptions.
18766         * math/libm-test.inc ("Philosophy"): Update comment about
18767         exception testing.
18768         (UNDERFLOW_EXCEPTION): New macro.
18769         (UNDERFLOW_EXCEPTION_OK): Likewise.
18770         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18771         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18772         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18773         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18774         (INVALID_EXCEPTION_OK): Update value.
18775         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18776         (OVERFLOW_EXCEPTION_OK): Likewise.
18777         (IGNORE_ZERO_INF_SIGN): Likewise.
18778         (test_exceptions): Handle underflow exceptions.
18779         (acos_test): Update for underflow exception expectations.
18780         (cexp_test): Likewise.
18781         (clog_test): Likewise.
18782         (clog10_test): Likewise.
18783         (csqrt_test): Likewise.
18784         (ctan_test): Likewise.
18785         (ctanh_test): Likewise.
18786         (exp_test): Likewise.
18787         (exp10_test): Likewise.
18788         (exp2_test): Likewise.
18789         (expm1_test): Likewise.
18790         (fma_test): Likewise.
18791         (j0_test): Likewise.
18792         (jn_test): Likewise.
18793         (nexttoward_test): Likewise.
18794         (pow_test): Likewise.
18795         (scalbn_test): Likewise.
18796         (scalbln_test): Likewise.
18797         (tan_test): Likewise.
18798         (y1_test): Likewise.
18799         * sysdeps/i386/fpu/libm-test-ulps: Update.
18800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18802 2012-05-23  David S. Miller  <davem@davemloft.net>
18804         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18805         (__libc_sigaction): Remove unused local variables.
18807 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18809         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18811 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
18813         mktime: avoid signed integer overflow
18814         * time/mktime.c (__mktime_internal): Do not mishandle the case
18815         where diff == INT_MIN.
18817         mktime: simplify computation of average
18818         * time/mktime.c (ranged_convert): Use new time_t_avg function
18819         instead of rolling our own (probably-slower) code.
18821         mktime: do not assume signed right shift propagates sign bit
18822         * time/mktime.c (isdst_differ): New static function.
18823         (__mktime_internal): No need to normalize tm_isdst now.
18824         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18825         tm_isdst values.
18827         mktime: merge another wrapv change from gnulib
18828         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18829         from some compilers.
18831         mktime: remove incorrect attempt at unusual arithmetics
18832         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18833         The code didn't really work on such machines anyway.
18834         (TYPE_MINIMUM): Assume two's complement.
18835         (twos_complement_arithmetic): Verify that long_int and time_t
18836         are two's complement (or unsigned, in the latter case).
18838         mktime: check signed shifts on long_int and time_t, too
18839         * time/mktime.c (SHR): Check that shifts work as desired
18840         on the types long_int and time_t too, as SHR is used on
18841         such types.
18843         mktime: do not assume 'long' is wide enough
18844         * time/mktime.c (verify): Move decl up.
18845         (long_int): New type.
18846         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18847         to remove assumption in the code that 'long' is wide enough to
18848         store year values.  This assumption is not true on x32 and on
18849         some non-glibc platforms.
18851         mktime: merge wrapv change from gnulib
18852         * time/mktime.c (WRAPV): New macro.
18853         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18854         (guess_time_tm, __mktime_internal): Do not assume that signed
18855         integer overflow wraps around; modern compilers generate code
18856         where this assumption is no longer valid.
18858 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18860         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18861         Replace "jmp L(pseudo_end)" with "ret".
18862         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18863         Likewise.
18865 2012-05-23  Andreas Jaeger  <aj@suse.de>
18867         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18868         * sysdeps/unix/sysv/linux/poll.c: Remove file.
18870 2012-05-23  Andreas Jaeger  <aj@suse.de>
18871             Maximilian Attems  <max@stro.at>
18873         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18874         New macros.
18876 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18878         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18879         code so that pseudo_end is just ret and the stack pointer is
18880         correct also for static library in error case.
18882 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
18884         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18885         move to syscalls.list.
18886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18891         * manual/install.texi (Running make install): Do not mention Linux
18892         kernel version for which pt_chown is not needed.
18893         (Linux): Do not mention problems with nscd with 2.0 kernels.
18894         * INSTALL: Regenerated.
18896 2012-05-23  Andreas Jaeger  <aj@suse.de>
18898         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18899         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18900         macro.
18901         * sysdeps/unix/sysv/linux/s390/bits/mman.h
18902         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18903         * sysdeps/unix/sysv/linux/sh/bits/mman.h
18904         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18905         * sysdeps/unix/sysv/linux/i386/bits/mman.h
18906         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18907         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18908         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18909         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18910         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18911         * sysdeps/unix/sysv/linux/bits/in.h
18912         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18914 2012-05-22  Roland McGrath  <roland@hack.frob.com>
18916         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18917         (PREPARE_VERSION): Just use assert instead, it will be elided
18918         under [NDEBUG] anyway.
18920 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18922         * sysdeps/unix/sysv/linux/Makefile: Include
18923         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18924         (sysdep_routines): Remove sysctl.
18925         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18926         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18927         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18928         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18929         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18931 2012-05-22  Andreas Jaeger  <aj@suse.de>
18933         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18934         that pseudo_end is just ret and the stack pointer is correct also
18935         for static library in error case.
18937 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18939         [BZ #14122]
18940         * nss/nsswitch.c (defconfig_entries): New variable.
18941         (__nss_database_lookup): Don't leak defconfig entries.
18942         (nss_parse_service_list): Don't leak on error paths.
18943         (free_database_entries): New function.
18944         (free_defconfig): New function.
18945         (free_mem): Move common code to free_database_entries.
18947 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18949         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18950         Add arch_prctl.
18951         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18953         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18954         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18955         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18956         New macro.
18957         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18958         (INTERNAL_SYSCALL_TYPES): Likewise.
18959         (LOAD_ARGS_TYPES_[1-6]): Likewise.
18960         (LOAD_REGS_TYPES_[1-6]): Likewise.
18961         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18962         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18964 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18966         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18967         copysignl for GLIBC_2_0.
18968         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18969         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18970         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18971         logbl for GLIBC_2_0.
18972         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18973         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18975 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18977         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18978         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18980         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18981         Use "neg %eax".
18983         * time/mktime.c: Update copyright years.
18985 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18987         mktime: merge comment-quoting-style change from gnulib
18988         * time/mktime.c: Quote 'like this' in comments.
18989         The GNU coding standards suggest that we no longer quote `like this',
18990         as "`" and "'" are typically rendered asymmetrically nowadays.
18991         The typical gnulib style is to quote 'like this' when quoting
18992         code, and "like this" when quoting English.
18994         * time/mktime.c (compile-command): Add "-I.".
18996         mktime: merge mktime-internal.h change from gnulib
18997         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18999         mktime: merge time_r change from gnulib
19000         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19002         mktime: merge DEBUG change from gnulib
19003         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19004         case system <time.h> has a #define.
19006         mktime: merge <sys/types.h> change from gnulib
19007         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19008         since <time.t> is now guaranteed to define time_t.
19010         mktime: merge HAVE_CONFIG_H change from gnulib
19011         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19013 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19015         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19016         Use "neg %eax".
19018         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19019         __rlim_t cast.
19020         (struct rusage): Use anonymous union to pad each field to
19021         __syscall_slong_t.
19023 2012-05-21  David S. Miller  <davem@davemloft.net>
19025         * Makefules (o-iterator): Remove .s cases.
19026         (compile-command.s): Delete.
19027         (COMPILE.s): Delete.
19028         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19030 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
19032         * configure.in (libc_cv_predef_stack_protector): Only consider
19033         "foobar" and "__stack_chk_fail" lines in libc_undefs.
19034         * configure: Regenerated.
19036 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19038         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19039         New macro.  Use R*LP on int and pointer.
19040         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19041         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19042         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19043         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19045         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19046         [__WORDSIZE_TIME64_COMPAT32] instead of
19047         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19048         (struct utmp): Likewise.
19049         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19050         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19051         Renamed to ...
19052         (__WORDSIZE_TIME64_COMPAT32): This.
19053         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19054         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19055         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19056         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19057         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19058         (__WORDSIZE_TIME64_COMPAT32): New macro.
19060 2012-05-21  Andreas Jaeger  <aj@suse.de>
19062         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19063         only if [SHARED]. Add prototype for __wcschr_ia32.
19065 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19067         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19068         of %rbp unmolested in the jmp_buf while mangling the low bits.
19069         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19070         unmolested high bits of %rbp while demangling the low bits.
19071         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19073 2012-05-21  Andreas Jaeger  <aj@suse.de>
19075         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19076         * sunrpc/svc_simple.c: Use it for registerrpc.
19077         * sunrpc/xcrypt.c: Use it for passwd2des.
19079         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19081 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19083         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19084         Don't define if [__SYSCALL_WORDSIZE != 32].
19085         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19086         New macro.
19088 2012-05-21  Bruno Haible  <bruno@clisp.org>
19089             Andreas Jaeger  <aj@suse.de>
19091         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19092         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19093         inptr and inend for must_buffer_ch.
19094         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19095         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19096         * stdio-common/Makefile (tests): Remove bug15.
19097         (bug15-ENV): Remove macro.
19098         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19099         anymore.
19101 2012-05-19  Andreas Jaeger  <aj@suse.de>
19102             Roland McGrath  <roland@hack.frob.com>
19104         * manual/contrib.texi: Completely rewritten. It contains now an
19105         alphabetical list of contributors and their contributions.
19107 2012-05-21  Richard Henderson  <rth@twiddle.net>
19109         * misc/getauxval.c (__getauxval): Use unsigned long int.
19110         * misc/sys/auxv.h: Include <sys/cdefs.h>.
19111         (getauxval): Use unsigned long int.
19113 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19115         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19117 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19119         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19120         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19121         __alignof__ (long double).
19123 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19127 2012-05-20  Richard Henderson  <rth@twiddle.net>
19129         * misc/getauxval.c: New file.
19130         * misc/sys/auxv.h: New file.
19131         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19132         (routines): Add getauxval.
19133         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19134         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19135         * elf/dl-sysdep.c (_dl_auxv): Remove.
19136         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19137         * elf/dl-support.c (_dl_auxv): New variable.
19138         (_dl_aux_init): Initialize it.
19139         * manual/startup.texi (Auxiliary Vector): New node.
19140         * sysdeps/generic/bits/hwcap.h: New file.
19141         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19142         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
19143         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19144         * sysdeps/sparc/sysdep.h: ... here.  Include it.
19145         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19146         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19148         Update.
19149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19152         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19158 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19162 2012-05-19  David S. Miller  <davem@davemloft.net>
19164         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19166 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
19168         [BZ #14123]
19169         * math/s_ccosh.c: Include <float.h>
19170         (__ccosh): Avoid internal overflow calculating sinh and cosh
19171         values before multiplying by sin and cos values.
19172         * math/s_ccoshf.c: Likewise.
19173         * math/s_ccoshl.c: Likewise.
19174         * math/s_csin.c: Likewise.
19175         * math/s_csinf.c: Likewise.
19176         * math/s_csinl.c: Likewise.
19177         * math/s_csinh.c: Likewise.
19178         * math/s_csinhf.c: Likewise.
19179         * math/s_csinhl.c: Likewise.
19180         * math/libm-test.inc (ccos_test): Add more tests.
19181         (ccosh_test): Likewise.
19182         (csin_test): Likewise.
19183         (csinh_test): Likewise.
19184         * sysdeps/i386/fpu/libm-test-ulps: Update.
19185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19187 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19189         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19190         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19192         * sysdeps/x86_64/x32/_itoa.h: Add comment.
19194 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
19196         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19197         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19198         * sysdeps/powerpc/soft-fp/Versions: Likewise.
19199         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19200         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19201         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19202         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19203         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19204         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19205         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19206         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19207         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19208         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19209         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19210         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19211         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19212         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19213         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19214         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19215         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19216         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19217         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19218         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19219         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19220         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19221         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19222         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19223         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19224         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19225         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19226         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19228 2012-05-18  Andreas Jaeger  <aj@suse.de>
19230         * csu/.gitignore: Delete.
19232 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19234         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19235         (timex): Use __syscall_slong_t.
19237 2012-05-18  Andreas Jaeger  <aj@suse.de>
19238             Carlos O'Donell  <carlos_odonell@mentor.com>
19240         * manual/install.texi (Configuring and compiling): Update
19241         description about files modified in the source directory.
19242         * INSTALL: Regenerated.
19244 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19246         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19247         value.  Use "or" to set return value to -1.
19248         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19249         negate return value.
19251 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19253         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19254         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19255         failure if the compiler has Graphite support disabled.
19256         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19257         Likewise.
19258         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19259         CFLAGS-memmove.c): Likewise.
19260         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19261         Likewise.
19263 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19265         * sysdeps/x86_64/x32/_itoa.h: New file.
19267         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19268         getdents system call only if kernel and user dirents have the
19269         same d_ino and d_off.
19271         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19272         LLONG_MAX != LONG_MAX.
19273         (_itoa_word): Use _ITOA_WORD_TYPE on value.
19274         (_fitoa_word): Likewise.
19276         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19277         years.
19278         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19279         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19280         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19282         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19283         include <bits/wordsize.h>.  Check __x86_64__ instead of
19284         __WORDSIZE.
19285         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19286         if __x86_64__ is defined.  Use anonymous union on fpstate.
19288         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19289         anonymous union.
19291 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
19293         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19294         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19295         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19296         Refer to _rtld_local_ro instead of _rtld_global_ro.
19297         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19298         Likewise.
19299         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19300         Likewise.
19301         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19302         Likewise.
19303         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19304         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19305         of _rtld_global, and rtld_progname instead of _dl_argv[0].
19307         * sysdeps/powerpc/powerpc32/dl-machine.c
19308         (__elf_machine_runtime_setup) [PROF]: Don't reference
19309         _dl_prof_resolve.
19311 2012-05-18  Andreas Jaeger  <aj@suse.de>
19313         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19314         function only available for GCCs before 3.4 since GCC 3.4
19315         introduced a builtin.
19316         (lrint): Likewise.
19317         (llrintf): Likewise.
19318         (llrint): Likewise.
19319         (fmaxf): Likewise.
19320         (fmax): Likewise.
19321         (fminf): Likewise.
19322         (fmin): Likewise.
19323         (rint): Likewise.
19324         (rintf): Likewise.
19325         (nearbyint): Likewise.
19326         (nearbyintf): Likewise.
19327         (ceil): Likewise.
19328         (ceilf): Likewise.
19329         (floor): Likewise.
19330         (floorf): Likewise.
19332 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19334         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19335         on both fields and cast pointer to __syscall_ulong_t.
19337         * bits/types.h (__fsword_t): New type.
19338         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19339         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19340         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19341         (__FSWORD_T_TYPE): Likewise.
19342         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19343         (__FSWORD_T_TYPE): Likewise.
19344         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19345         (__FSWORD_T_TYPE): Likewise.
19346         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19347         (__FSWORD_T_TYPE): Likewise.
19348         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19349         __SWORD_TYPE with __fsword_t.
19350         (statfs64): Likewise.
19352 2012-05-17  David S. Miller  <davem@davemloft.net>
19354         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19356 2012-05-17  Andreas Jaeger  <aj@suse.de>
19358         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19359         warning.
19361 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19363         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19365 2012-05-17  Andreas Jaeger  <aj@suse.de>
19367         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19368         when it is used.
19370 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
19372         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19374 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19376         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19377         * sysdeps/x86_64/tst-mallocalign1.c: New file.
19379 2012-05-17  Andreas Jaeger  <aj@suse.de>
19380             Carlos O'Donell  <carlos_odonell@mentor.com>
19382         [BZ #14059]
19383         * sysdeps/x86_64/multiarch/init-arch.h
19384         (bit_YMM_Usable): Rename to...
19385         (bit_AVX_Usable): ... this.
19386         (bit_FMA4_Usable): New macro.
19387         (bit_XMM_state): New macro.
19388         (bit_YMM_state): New macro.
19389         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19390         [__ASSEMBLER__] (index_AVX_Usable): ... this.
19391         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19392         (CPUID_OSXSAVE): New macro.
19393         (CPUID_AVX): New macro.
19394         (CPUID_FMA4): New macro.
19395         (index_YMM_Usable): Rename to...
19396         (index_AVX_Usable): ... this.
19397         (HAS_AVX): Use HAS_ARCH_FEATURE.
19398         (HAS_FMA4): Likewise.
19399         (HAS_YMM_USABLE): Remove.
19400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19401         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19402         are present.
19403         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19404         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19405         * sysdeps/x86_64/multiarch/Makefile: Likewise.
19406         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19407         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19409 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
19411         * math/libm-test.c: Support platforms without multiple rounding modes.
19412         * math/bug-nextafter.c: Support platforms without FP exceptions.
19413         * math/bug-nexttoward.c: Likewise.
19414         * math/test-fenv.c: Likewise.
19415         * math/test-misc.c: Likewise.
19416         * stdlib/bug-getcontext.c: Likewise.
19418 2012-05-17  Andreas Jaeger  <aj@suse.de>
19420         * manual/examples/search.c (critter_cmp): Change signature to
19421         avoid warnings.
19422         * manual/string.texi (Collation Functions): Likewise.
19424 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19426         * bits/types.h: Fold copyright years.
19427         * bits/typesizes.h: Likewise.
19428         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19429         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19430         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19431         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19432         * time/time.h: Likewise.
19434 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
19436         [BZ #208]
19437         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19438         in instead of returning them.  Return void.
19439         (__libc_mallinfo): Accumulate over all arenas.
19440         (__malloc_stats): Adjust for change in int_mallinfo interface.
19442 2012-05-16  Roland McGrath  <roland@hack.frob.com>
19444         [BZ #10375]
19445         * configure.in (NM): Add AC_CHECK_TOOL for it.
19446         (libc_extra_cflags): New substituted variable.
19447         Check for -fstack-protector being used implicitly.
19448         * configure: Regenerated.
19449         * config.make.in (config-extra-cflags): New variable,
19450         gets @libc_extra_cflags@.
19451         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19453         [BZ #10375]
19454         * configure.in: Check for _FORTIFY_SOURCE being predefined.
19455         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19456         * configure: Regenerated.
19457         * config.make.in (CPPUNDEFS): New substituted variable.
19458         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19459         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19460         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19462 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19464         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19465         (mq_attr): Use __syscall_slong_t.
19467 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19469         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19470         Check __x86_64__ instead of __WORDSIZE.
19471         (_STAT_VER_LINUX): Likewise.
19472         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
19473         __syscall_ulong_t and __syscall_slong_t.
19474         (stat64): Likewise.
19476 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19478         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19480 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19482         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19484 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19486         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19487         __syscall_ulong_t.
19489         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19490         include <bits/wordsize.h>.  Check __x86_64__ instead of
19491         __WORDSIZE.
19492         (greg_t): Use "__extension__ long long int" if __x86_64__ is
19493         defined.
19494         (mcontext_t): Replace "unsigned long" with "unsigned long long".
19496         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19497         include <bits/wordsize.h>.  Check __x86_64__ instead of
19498         __WORDSIZE.
19499         (user_regs_struct): Use "__extension__ unsigned long long"
19500         instead of "unsigned long" if __x86_64__ is defined.
19501         (user): Likewise.  Pad after pointer field if __ILP32__ is
19502         defined.
19504 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
19506         * configure.in (makeinfo): Require version 4.5 or later.  Allow
19507         versions 5 to 9.
19508         * configure: Regenerated.
19509         * manual/install.texi (texinfo): Increase version requirement to
19510         4.5 or later.
19511         * INSTALL: Regenerated.
19513         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19515 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19517         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19519         * sysdeps/x86_64/x32/ffs.c: New file.
19521         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19522         __syscall_ulong_t.
19523         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19524         defined.  Use __syscall_ulong_t.
19525         (shminfo): Use __syscall_ulong_t.
19526         (shm_info): Likewise.
19528         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19529         __syscall_ulong_t.
19531         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19532         <bits/wordsize.h>.
19533         (msgqnum_t): Use __syscall_ulong_t.
19534         (msglen_t): Likewise.
19535         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
19536         __syscall_ulong_t.
19538         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19539         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19541         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19543         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19544         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19546         * sysvipc/sys/msg.h (msgbuf): Replace long int with
19547         __syscall_slong_t.
19549         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19550         include <bits/wordsize.h>.  Check __x86_64__ instead of
19551         __WORDSIZE.
19553         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19554         "unsigned long long int" if __x86_64__ is defined.
19555         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19557         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19558         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19559         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19561         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19562         <stdint.h>.
19563         (GET_PC): Cast to uintptr_t first.
19564         (GET_FRAME): Likewise.
19565         (GET_STACK): Likewise.
19567         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19568         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19569         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19570         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19571         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19572         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19573         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19574         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19575         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19576         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19577         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19578         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19579         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19580         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19581         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19582         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19583         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19584         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19585         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19586         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19587         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19588         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19589         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19590         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19591         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19592         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19593         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19594         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19595         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19597 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
19599         * Makerules (+depfiles): Also collect depfiles from .oS in
19600         $(extra-objs).
19601         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19602         .oS, $(libnldbl-routines)).
19604         * Makerules (native-compile-mkdep-flags): Define.
19605         * sunrpc/Makefile (extra-objs): Add $(addprefix
19606         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19607         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19608         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
19609         calling $(make-target-directory).
19611 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19613         * bits/types.h (__snseconds_t): Removed.
19614         * time/time.h (struct timespec): Replace __snseconds_t with
19615         __syscall_slong_t.
19616         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19617         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19618         Likewise.
19619         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19620         (__SNSECONDS_T_TYPE): Likewise.
19621         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19622         (__SNSECONDS_T_TYPE): Likewise.
19623         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19624         (__SNSECONDS_T_TYPE): Likewise.
19626 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19628         * sysdeps/mach/hurd/bits/typesizes.h
19629         (__SYSCALL_SLONG_TYPE): New macro.
19630         (__SYSCALL_ULONG_TYPE): Likewise.
19632 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19634         * bits/types.h (__syscall_slong_t): New type.
19635         (__syscall_ulong_t): Likewise.
19637         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19638         (__SYSCALL_ULONG_TYPE): Likewise.
19639         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19640         (__SYSCALL_SLONG_TYPE): Likewise.
19641         (__SYSCALL_ULONG_TYPE): Likewise.
19642         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19643         (__SYSCALL_SLONG_TYPE): Likewise.
19644         (__SYSCALL_ULONG_TYPE): Likewise.
19645         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19646         (__SYSCALL_SLONG_TYPE): Likewise.
19647         (__SYSCALL_ULONG_TYPE): Likewise.
19649 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19651         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19652         Add sigaltstack-offsets.sym.
19653         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19654         <sigaltstack-offsets.h>.
19655         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
19656         longjmp_msg pointer.
19657         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
19658         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19659         signal stack.
19660         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19662 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19664         * elf/stackguard-macros.h: Remove file.
19665         * sysdeps/generic/stackguard-macros.h: New file.
19666         * sysdeps/i386/stackguard-macros.h: Likewise.
19667         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19668         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19669         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19670         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19671         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19672         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19673         * sysdeps/x86_64/stackguard-macros.h: Likewise.
19674         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19675         <elf/stackguard-macros.h>.
19677         [BZ #14109]
19678         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19679         __aligned__ in attribute.
19680         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19681         (gregset_t): Likewise.
19683 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19685         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19686         * sysdeps/x86_64/64/Implies-after: Here.  New file.
19687         * sysdeps/x86_64/x32/Implies-after: New file.
19689 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19691         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19692         and access return value for _dl_profile_fixup.  Use R10_LP to
19693         load frame size.
19695 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19697         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19701         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19702         * sysdeps/x86_64/x32/sysdep.h: New file.
19704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19706         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19707         * sysdeps/x86_64/setjmp.S: Likewise.
19709 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19711         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19712         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19713         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19714         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19715         remove unused global constant.
19717 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
19719         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19720         include of <not-cancel.h>.
19722 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19724         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19726 2012-05-15  Jeff Law  <law@redhat.com>
19727             Andreas Jaeger  <aj@suse.de>
19729         [BZ #13594]
19730         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19731         out from...
19732         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19733         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19734         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19735         code changing __hst_map_handle.map.
19737 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19739         * configure.in (sysnames): Look for Implies-before and Implies-after
19740         files.
19741         * configure: Regenerated.
19743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19745         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19746         8-byte data alignment with LP_SIZE alignment.
19748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19750         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19751         into R10_LP.
19753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19755         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19759         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19760         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19761         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19762         Likewise.
19763         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19767         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19768         (stackinfo_sub_sp): Likewise.
19770 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19772         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19773         RAX_LP.
19775 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19777         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19778         into R*_LP.
19780 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19782         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19783         sizes into R*_LP.
19785 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19787         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19789 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19791         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19792         into R11_LP and load __x86_64_shared_cache_size_half into
19793         R8_LP.
19795 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19797         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19798         R8_LP.
19800 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19802         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19803         logb for POWER7.
19804         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19805         logbf for POWER7.
19806         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19807         logbl for POWER7.
19808         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19809         powerpc32/power7/fpu/s_logb.c via #include.
19810         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19811         powerpc32/power7/fpu/s_logbf.c via #include.
19812         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19813         powerpc32/power7/fpu/s_logbl.c via #include.
19815 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19817         * README.libm: Remove file.
19819 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19821         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19822         count for x32.  Use R*_LP and omit operand-size suffix.
19824 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19826         * shlib-versions: Move x86_64-.*-linux.* entries to ...
19827         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
19828         * sysdeps/x86_64/x32/shlib-versions: New file.
19830 2012-05-14  Roland McGrath  <roland@hack.frob.com>
19832         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19833         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19834         Use _dl_fatal_printf instead.
19836 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19838         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19839         set if not set by the user.  Do not allow for being unset.
19840         * sysdeps/unix/sysv/linux/configure: Regenerated.
19842 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19844         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19845         the `q' suffix from lea and replace .quad with ASM_ADDR.
19847 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19849         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19850         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
19851         instead of $17.
19852         (PTR_DEMANGLE): Likewise.
19854 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19856         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19857         (LP_OP): Likewise.
19858         (ASM_ADDR): Likewise.
19859         (RAX_LP): Likewise.
19860         (RBP_LP): Likewise.
19861         (RBX_LP): Likewise.
19862         (RCX_LP): Likewise.
19863         (RDI_LP): Likewise.
19864         (RSI_LP): Likewise.
19865         (RSP_LP): Likewise.
19866         (R8_LP): Likewise.
19867         (R9_LP): Likewise.
19868         (R10_LP): Likewise.
19869         (R10_LP): Likewise.
19870         (R11_LP): Likewise.
19871         (R12_LP): Likewise.
19872         (R13_LP): Likewise.
19873         (R14_LP): Likewise.
19874         (R15_LP): Likewise.
19876 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19878         * sysdeps/x86_64/x32/dl-machine.h: New file.
19880 2012-05-14  Andreas Jaeger  <aj@suse.de>
19882         * manual/Makefile (subdir): Remove export of subdir.
19883         (all): Remove target.
19884         (.PHONY): Remove all from list.
19885         (mkinstalldirs): Remove.
19886         (.PHONY): Remove installdirs from list.
19887         ($(inst_infodir)/libc.info): Use make-target-directory.
19888         (installdirs): Remove.
19889         (subdir_%): Remove.
19890         (glibc-targets): Remove.
19891         (lib): Remove.
19892         (stubs): Remove.
19893         ($(objpfx)stubs ../po/manual.pot): Remove.
19894         ($(objpfx)stamp%): Remove.
19895         (make-target-directory): Remove.
19896         (subdir_install): Remove.
19897         (routines): Remove.
19898         (aux): Remove.
19899         (sources): Remove.
19900         (objects): Remove.
19901         (headers): Remove.
19903         [BZ #13750]
19904         * manual/.gitignore: Remove, it's not needed anymore.
19905         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19906         all files in it.
19907         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19908         directory.
19909         (texis): Renamed to $(objpfx)texis.
19910         (texis-path): New, contains path to generated files.
19911         (chapters.%): Use texis-path for complete path, add extra argument
19912         libc-texinfo.sh.
19913         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19914         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19915         (summary,texi, stamp-summary): Use complete path of
19916         files. Generate files in build dir.
19917         (dir-add.texi): Build in build dir.
19918         (libm-err.texi,stamp-libm-err): Likewise.
19919         (version.texi, stamp-version): Likewise.
19920         (.%c.texi): Likewise.
19921         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19922         (mostlyclean): Remove target.
19923         (realclean): Remove target.
19924         (generated): Add new variable with contents from mostlyclean and
19925         realclean, remove entries duplicated in common-mostlyclean, add
19926         stamp-libm-err and stamp-version.
19927         (generated-dirs): Add libc directory.
19928         ($(inst_infodir)/libc.info): Install files from build dir.
19930         * manual/install.texi (Configuring and compiling): Adjust since
19931         the info files are not part of the tar ball anymore.
19933 2012-05-14  Andreas Jaeger  <aj@suse.de>
19935         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19936         variable.
19938 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19940         [BZ #13717]
19941         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19942         to 2.2.0 where earlier.
19943         * sysdeps/unix/sysv/linux/configure: Regenerated.
19944         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19945         Remove conditional code.
19946         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19947         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19948         Remove conditional code.
19949         [!__NR_lchown]: Likewise.
19950         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19951         [__NR_lchown]: Likewise.
19952         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19953         comment referencing __ASSUME_LCHOWN_SYSCALL.
19954         * sysdeps/unix/sysv/linux/i386/sigaction.c
19955         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19956         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19957         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19958         Remove conditional code.
19959         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19960         (__protocol_available): Remove #if 0 code.
19961         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19962         conditional code.
19963         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19964         * sysdeps/unix/sysv/linux/kernel-features.h
19965         (__ASSUME_GETCWD_SYSCALL): Don't define.
19966         (__ASSUME_REALTIME_SIGNALS): Likewise.
19967         (__ASSUME_PREAD_SYSCALL): Likewise.
19968         (__ASSUME_PWRITE_SYSCALL): Likewise.
19969         (__ASSUME_POLL_SYSCALL): Likewise.
19970         (__ASSUME_LCHOWN_SYSCALL): Likewise.
19971         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19972         non-SPARC.
19973         (__ASSUME_SIOCGIFNAME): Don't define.
19974         (__ASSUME_MSG_NOSIGNAL): Likewise.
19975         (__ASSUME_SENDFILE): Define unconditionally.
19976         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19977         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19978         conditional code.
19979         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19980         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19981         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19982         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19983         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19984         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19985         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19987         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19988         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19990         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19991         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19993         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19994         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19996         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19997         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19999         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20000         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20002         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20003         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20005         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20006         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20008         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20009         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20010         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20011         Remove conditional code.
20012         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20013         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20014         Remove conditional code.
20015         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20016         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20017         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20018         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20019         Remove conditional code.
20020         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20021         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20022         Remove conditional code.
20023         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20024         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20025         Remove conditional code.
20026         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20027         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20028         Remove conditional code.
20029         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20030         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20031         Remove conditional code.
20032         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20033         * sysdeps/unix/sysv/linux/sh/pwrite64.c
20034         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20035         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20036         * sysdeps/unix/sysv/linux/sigaction.c
20037         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20038         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20039         * sysdeps/unix/sysv/linux/sigpending.c
20040         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20041         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20042         * sysdeps/unix/sysv/linux/sigprocmask.c
20043         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20044         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20045         * sysdeps/unix/sysv/linux/sigsuspend.c
20046         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20047         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20048         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20049         (__libc_missing_rt_sigs): Remove.
20050         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20051         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20052         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20053         Remove conditional code.
20054         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20055         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20056         return 1.
20057         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20058         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20059         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20060         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20062 2012-05-14  Andreas Jaeger  <aj@suse.de>
20064         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20065         it's not used in glibc.
20066         (__coshm1): Likewise.
20067         (__acosh1p): Likewise.
20068         (__sgn): Likewise.
20070         * manual/string.texi (Copying and Concatenation): Add missing
20071         variable in concat example.
20072         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20074 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20076         [BZ #14103]
20077         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20078         __builtin_clzl with __builtin_clzll.
20080 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20082         [BZ #14104]
20083         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20084         libc_freeres_ptr.
20086 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20088         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20089         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20090         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20091         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20093 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
20095         * NEWS: Update ia64 info.
20097 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
20099         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20100         used as bcopy.
20102 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
20104         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20105         * sysdeps/unix/syscalls.list (dup3): Likewise.
20106         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20107         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20109 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20111         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20112         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20114 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20116         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20117         thread pointer.
20118         (TLS_IE): Use mov/add instead of movq/addq to load thread
20119         pointer.
20120         (TLS_GD_PREFIX): New.
20121         (TLS_GD): Use it.
20123 2012-05-11  David S. Miller  <davem@davemloft.net>
20125         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20126         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20127         (_FPU_SETCW): Likewise.
20129 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20131         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20132         is 32-byte aligned.
20134 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
20136         [BZ #11837]
20137         * iconvdata/gb18030.c: Update tables.
20138         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
20139         characters specially.
20140         (BODY for TO_LOOP): Add encoding of missing ranges.
20142 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
20144         [BZ #13673]
20145         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20146         * sysdeps/mach/hurd/dup3.c: Likewise.
20147         * sysdeps/mach/hurd/readlinkat.c: Likewise.
20148         * sysdeps/powerpc/memmove.c:: Likewise.
20150 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20152         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20153         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20155 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20157         * elf/elf.h (R_X86_64_RELATIVE64): New.
20158         (R_X86_64_NUM): Updated.
20159         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20160         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
20161         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20162         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20163         tst-quad1pie tst-quad2pie
20164         (modules-names): Add tst-quadmod1 tst-quadmod2.
20165         ($(objpfx)tst-quad1): New dependency.
20166         ($(objpfx)tst-quad2): Likewise.
20167         ($(objpfx)tst-quad1pie): Likewise.
20168         ($(objpfx)tst-quad2pie): Likewise.
20169         * sysdeps/x86_64/tst-quad1.c: New file.
20170         * sysdeps/x86_64/tst-quad1pie.c: New file.
20171         * sysdeps/x86_64/tst-quad2.c: Likewise.
20172         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20173         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20174         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20175         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20176         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20178 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20180         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20181         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20182         * streams/stropts.h (t_scalar_t): Define type.
20184         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20185         (_PATH_PRESERVE): Set to "/var/lib".
20186         (_PATH_RWHODIR): Set to "/var/spool/rwho".
20188         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20189         instead of int.
20191         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20192         if __dir_mkfile succeeded.
20194         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20195         checking for _hurd_dtablesize.  Unlock it right after having
20196         finished _hurd_dtable allocation.
20198 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20200         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20201         * sysdeps/mach/hurd/configure: Regenerated.
20202         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20203         special-casing to...
20204         * sysdeps/gnu/configure.in: ... this new file.
20205         * sysdeps/unix/sysv/linux/configure: Regenerated.
20206         * sysdeps/gnu/configure: New generated file.
20208         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20209         for Linux: use nsec instead of usec, as well as:
20210         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20211         members of type struct timespec.
20212         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20213         New macros.
20214         (struct stat64): Likewise.
20215         (_STATBUF_ST_NSEC): New macro.
20216         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20218         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20219         __strtoul_internal rather than strtoul.
20221 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20223         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20224         and reject them.
20226 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20228         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20229         which preserves existing values.
20230         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20232 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20234         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20235         TIMEOUT values.  Return EINVAL for NFDS values either negative or
20236         greater than FD_SETSIZE.
20238 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20240         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20241         allocated, call __vm_protect to finish enabling the existing space, and
20242         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20243         allocate the remainder.
20245 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20247         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20248         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
20250 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20252         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20253         sysdeps/mach/hurd/readlink.c.
20255         * posix/tst-sysconf.c (posix_options): Only use
20256         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20257         _POSIX_SYNCHRONIZED_IO when they are defined
20258         * sysdeps/mach/hurd/bits/posix_opt.h:
20259         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20260         (_XOPEN_REALTIME): Undefine macro.
20261         (_XOPEN_REALTIME_THREADS): Undefine macro.
20262         (_XOPEN_SHM): Undefine macro.
20263         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20264         macro to -1.
20265         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20266         macro to -1.
20267         (_POSIX_ASYNC_IO): Undefine macro.
20268         (_POSIX_PRIORITIZED_IO): Undefine macro.
20269         (_POSIX_SPIN_LOCKS): Define macro to -1.
20271         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20272         SA_NODEFER, SA_RESETHAND.
20273         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20274         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20275         F_DUPFD_CLOEXEC.
20277 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20279         * elf/Makefile (pldd-modules): Define unconditionally.
20281 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20283         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20285 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20287         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20288         Return ENOENT when name is empty.
20289         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20291 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20293         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20295         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20297 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20299         Fix mlock in all cases except non-readable pages.
20300         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20301         instead of VM_PROT_ALL as parameter to __vm_wire function.
20303         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20304         (__mkdir): When path is `/', just fail with EEXIST.
20305         * sysdeps/mach/hurd/mkdirat.c: Likewise.
20307 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20309         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20310         <sys/uio.h> (for writev).
20311         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20312         and <sys/param.h> (for MIN).
20314 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20316         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20317         REQUESTED_TIME.  Properly set the remaining time and return EINTR
20318         if interrupted.
20320 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20322         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20323         Depend on against $(link-rpcuserlibs).
20325 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20327         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20328         (__libc_stack_end): Do not use attribute_relro.
20329         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20330         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20331         to libthread-provided value.
20332         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20333         attribute_relro.
20335 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20337         [BZ #3748]
20338         * bits/libc-lock.h (__libc_once_get): New macro.
20339         * sysdeps/mach/bits/libc-lock.h: Likewise.
20340         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20341         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20342         instead of using implementation details.
20344         * libio/fileops.c: Unconditionally include <kernel-features.h>.
20345         * libio/freopen.c: Likewise.
20346         * libio/freopen64.c: Likewise.
20347         * misc/syslog.c: Likewise.
20348         * nscd/connections.c: Likewise.
20349         * nscd/netgroupcache.c: Likewise.
20350         * sysdeps/posix/getcwd.c: Likewise.
20352 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20354         * math/w_ilogbf.c: Add #include <limits.h>.
20356 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20358         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20359         path instead of returning without unlocking.
20361         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20362         immediate-write ioctls.
20363         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20365 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20367         * sysdeps/mach/hurd/i386/init-first.c (init): Use
20368         __builtin_frame_address instead of making assumptions about the
20369         location of the return address relative to DATA.  Force early load of
20370         the return address.
20371         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20372         __builtin_frame_address.
20374         dup3 for GNU Hurd.
20375         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20376         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
20377         implement dup3 and do some further code clean-ups.
20378         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20379         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20381 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20383         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20385         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20386         HURD_CRITICAL_END around holding _hurd_dtable_lock.
20387         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20388         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20389         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20390         d->port.lock.
20392         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20393         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
20394         when handler == SIG_ERR, not when handler != SIG_ERR.
20396 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20398         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20399         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20400         definitions.
20402         accept4 for GNU Hurd.
20403         * include/sys/socket.h (__libc_accept4): New prototype.
20404         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
20405         to implement __libc_accept4.
20406         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20407         __libc_accept4.
20408         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20410         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20411         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20412         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20413         signal-defines.sym.
20415 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20417         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20419 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20421         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20422         assertion on O_CLOEXEC flag.
20423         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20424         * hurd/intern-fd.c: Likewise.
20425         * hurd/port2fd.c: Likewise.
20427 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20429         [BZ #3906]
20430         * bits/in.h (IPV6_PKTINFO): Define new macro.
20431         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20433 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20435         [BZ #13954]
20436         [BZ #13955]
20437         [BZ #13956]
20438         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20439         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20440         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20441         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20442         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20443         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20444         * math/libm-test.inc (logb_test) : Additional logb tests.
20446 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
20447             Andreas Jaeger  <aj@suse.de>
20449         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20450         * configure: Regenerated.
20451         * config.h.in (LINK_OBSOLETE_RPC): New macro.
20452         * config.make.in (link-obsolete-rpc): New substituted variable.
20453         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20454         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20455         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20456         (shared-only-routines): Don't set it under [link-obsolete-rpc],
20457         so that libc.a contains the symbols.
20458         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20459         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20460         * sunrpc/auth_none.c: Likewise.
20461         * sunrpc/auth_unix.c: Likewise.
20462         * sunrpc/authdes_prot.c: Likewise.
20463         * sunrpc/authuxprot.c: Likewise.
20464         * sunrpc/clnt_gen.c: Likewise.
20465         * sunrpc/clnt_perr.c: Likewise.
20466         * sunrpc/clnt_raw.c: Likewise.
20467         * sunrpc/clnt_simp.c: Likewise.
20468         * sunrpc/clnt_tcp.c: Likewise.
20469         * sunrpc/clnt_udp.c: Likewise.
20470         * sunrpc/clnt_unix.c: Likewise.
20471         * sunrpc/des_crypt.c: Likewise.
20472         * sunrpc/des_soft.c: Likewise.
20473         * sunrpc/get_myaddr.c: Likewise.
20474         * sunrpc/key_call.c: Likewise.
20475         * sunrpc/key_prot.c: Likewise.
20476         * sunrpc/netname.c: Likewise.
20477         * sunrpc/pm_getmaps.c: Likewise.
20478         * sunrpc/pm_getport.c: Likewise.
20479         * sunrpc/pmap_clnt.c: Likewise.
20480         * sunrpc/pmap_prot.c: Likewise.
20481         * sunrpc/pmap_prot2.c: Likewise.
20482         * sunrpc/pmap_rmt.c: Likewise.
20483         * sunrpc/publickey.c: Likewise.
20484         * sunrpc/rpc_cmsg.c: Likewise.
20485         * sunrpc/rpc_common.c: Likewise.
20486         * sunrpc/rpc_dtable.c: Likewise.
20487         * sunrpc/rpc_prot.c: Likewise.
20488         * sunrpc/rpc_thread.c: Likewise.
20489         * sunrpc/rtime.c: Likewise.
20490         * sunrpc/svc.c: Likewise.
20491         * sunrpc/svc_auth.c: Likewise.
20492         * sunrpc/svc_raw.c: Likewise.
20493         * sunrpc/svc_run.c: Likewise.
20494         * sunrpc/svc_tcp.c: Likewise.
20495         * sunrpc/svc_udp.c: Likewise.
20496         * sunrpc/svc_unix.c: Likewise.
20497         * sunrpc/svcauth_des.c: Likewise.
20498         * sunrpc/xcrypt.c: Likewise.
20499         * sunrpc/xdr.c: Likewise.
20500         * sunrpc/xdr_array.c: Likewise.
20501         * sunrpc/xdr_float.c: Likewise.
20502         * sunrpc/xdr_intXX_t.c: Likewise.
20503         * sunrpc/xdr_mem.c: Likewise.
20504         * sunrpc/xdr_rec.c: Likewise.
20505         * sunrpc/xdr_ref.c: Likewise.
20506         * sunrpc/xdr_sizeof.c: Likewise.
20507         * sunrpc/xdr_stdio.c: Likewise.
20509 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20511         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20512         change.  Update copyright years.
20514 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
20516         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20518 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
20519             Joseph Myers  <joseph@codesourcery.com>
20520             Paul Pluzhnikov  <ppluzhnikov@google.com>
20522         [BZ #14012]
20523         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20524         requiring rpcgen.
20525         [cross-compiling] (extra-libs): Likewise.
20526         [cross-compiling] (extra-libs-others): Likewise.
20527         [cross-compiling] (librpcsvc-routines): Likewise.
20528         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20529         [cross-compiling] (omit-deps): Likewise.
20530         (sunrpc-CPPFLAGS): New variable.
20531         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20532         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20533         (cross-rpcgen-objs): New variable.
20534         (extra-objs): Append $(cross-rpcgen-objs).
20535         ($(cross-rpcgen-objs)): New rule.
20536         ($(objpfx)cross-rpcgen): Likewise.
20537         (rpcgen-cmd): Define to use $(built-program-file).  Expand
20538         comment.
20539         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20540         ($(objpfx)x%.stmp): Likewise.
20541         * sunrpc/proto.h [IS_IN_build] (_): Define.
20542         [IS_IN_build] (_libc_intl_domainname): Likewise.
20544 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20546         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20547         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20548         and R_X86_64_TPOFF64.
20550 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
20552         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20553         sysdeps/unix/sysv/syscalls.list.
20554         (stime): Likewise.
20555         (utime): Likewise.
20556         * sysdeps/unix/sysv/syscalls.list: Remove file.
20558 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
20560         [BZ #3440]
20561         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20562         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20563         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20564         (__LC_IDENTIFICATION): Make these macros useful in #if
20565         expressions, as required by C99.
20567 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
20569         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20570         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
20571         after this.
20573 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
20575         * stdlib/longlong.h: Updated from GCC.
20577 2012-05-09  Andreas Jaeger  <aj@suse.de>
20579         * nscd/nscd.c (run_modes): Make named enum, reorder so that
20580         default is first entry.
20581         (run_mode): Set type.
20582         (main): Remove informal message about syslog.
20583         (options): Fix typo.
20585         [BZ #14053]
20586         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20587         to asm.
20588         (lrint): Likewise.
20589         (llrintf): Likewise.
20590         (llrint): Likewise.
20591         (rint): Likewise.
20592         (rintf): Likewise.
20593         (nearbyint): Likewise.
20594         (nearbyintf): Likewise.
20596 2012-05-09  Andreas Jaeger  <aj@suse.de>
20597             Pedro Alves  <palves@redhat.com>
20599         * nscd/nscd.c (run_mode): Use enum.
20600         (main): Cleanup coding style issue.
20602 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
20603             Andreas Jaeger  <aj@suse.de>
20605         * nscd/nscd.c (go_background): Replaced with...
20606         (run_mode): ... this.
20607         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20608         (options): Add -F --foreground.
20609         (main): Implement it.
20610         (parse_opt): Parse it.
20612 2012-05-09  Andreas Jaeger  <aj@suse.de>
20614         [BZ #14083]
20615         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20616         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20617         -Wconversion warning.
20618         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20619         Likewise.
20621 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
20623         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
20624         == 0.
20625         (LC_ALL): Use macro-int-constant.
20626         (LC_COLLATE): Likewise.
20627         (LC_CTYPE): Likewise.
20628         (LC_MESSAGES): Likewise.
20629         (LC_MONETARY): Likewise.
20630         (LC_NUMERIC): Likewise.
20631         (LC_TIME): Likewise.
20632         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20633         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20634         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20635         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20636         Specify type.
20637         [C99-based standards] (float_t): Expect type.
20638         [C99-based standards] (double_t): Expect type.
20639         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
20640         type.
20641         [C99-based standards] (HUGE_VALL): Likewise.
20642         [C99-based standards] (INFINITY): Likewise.
20643         [C99-based standards] (NAN): Likewise.
20644         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20645         [C99-based standards] (FP_NAN): Likewise.
20646         [C99-based standards] (FP_NORMAL): Likewise.
20647         [C99-based standards] (FP_SUBNORMAL): Likewise.
20648         [C99-based standards] (FP_ZERO): Likewise.
20649         [C99-based standards] (FP_FAST_FMA): Use
20650         optional-macro-int-constant.  Specify type.  Require == 1.
20651         [C99-based standards] (FP_FAST_FMAF): Likewise.
20652         [C99-based standards] (FP_FAST_FMAL): Likewise.
20653         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20654         [C99-based standards] (FP_ILOGBNAN): Likewise.
20655         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20656         Specify type.
20657         [C99-based standards] (MATH_ERREXCEPT): Likewise.
20658         [C99-based standards] (math_errhandling): Specify type.
20659         [ISO99 || ISO11] (signgam): Do not allow.
20660         [non-C99-based standards] (copysignf): Do not allow.
20661         [non-C99-based standards] (exp2f): Likewise.
20662         [non-C99-based standards] (log2f): Likewise.
20663         [non-C99-based standards] (modff): Allow.
20664         [non-C99-based standards] (erff): Do not allow.
20665         [non-C99-based standards] (erfcf): Likewise.
20666         [non-C99-based standards] (gammaf): Likewise.
20667         [non-C99-based standards] (hypotf): Likewise.
20668         [non-C99-based standards] (j0f): Likewise.
20669         [non-C99-based standards] (j1f): Likewise.
20670         [non-C99-based standards] (jnf): Likewise.
20671         [non-C99-based standards] (lgammaf): Likewise.
20672         [non-C99-based standards] (tgammaf): Likewise.
20673         [non-C99-based standards] (y0f): Likewise.
20674         [non-C99-based standards] (y1f): Likewise.
20675         [non-C99-based standards] (ynf): Likewise.
20676         [non-C99-based standards] (isnanf): Likewise.
20677         [non-C99-based standards] (acoshf): Likewise.
20678         [non-C99-based standards] (asinhf): Likewise.
20679         [non-C99-based standards] (atanhf): Likewise.
20680         [non-C99-based standards] (cbrtf): Likewise.
20681         [non-C99-based standards] (expm1f): Likewise.
20682         [non-C99-based standards] (ilogbf): Likewise.
20683         [non-C99-based standards] (log1pf): Likewise.
20684         [non-C99-based standards] (logbf): Likewise.
20685         [non-C99-based standards] (nextafterf): Likewise.
20686         [non-C99-based standards] (remainderf): Likewise.
20687         [non-C99-based standards] (rintf): Likewise.
20688         [non-C99-based standards] (scalbf): Likewise.
20689         [non-C99-based standards] (copysignl): Likewise.
20690         [non-C99-based standards] (exp2l): Likewise.
20691         [non-C99-based standards] (log2l): Likewise.
20692         [non-C99-based standards] (modfl): Allow.
20693         [non-C99-based standards] (erfl): Do not allow.
20694         [non-C99-based standards] (erfcl): Likewise.
20695         [non-C99-based standards] (gammal): Likewise.
20696         [non-C99-based standards] (hypotl): Likewise.
20697         [non-C99-based standards] (j0l): Likewise.
20698         [non-C99-based standards] (j1l): Likewise.
20699         [non-C99-based standards] (jnl): Likewise.
20700         [non-C99-based standards] (lgammal): Likewise.
20701         [non-C99-based standards] (tgammal): Likewise.
20702         [non-C99-based standards] (y0l): Likewise.
20703         [non-C99-based standards] (y1l): Likewise.
20704         [non-C99-based standards] (ynl): Likewise.
20705         [non-C99-based standards] (isnanl): Likewise.
20706         [non-C99-based standards] (acoshl): Likewise.
20707         [non-C99-based standards] (asinhl): Likewise.
20708         [non-C99-based standards] (atanhl): Likewise.
20709         [non-C99-based standards] (cbrtl): Likewise.
20710         [non-C99-based standards] (expm1l): Likewise.
20711         [non-C99-based standards] (ilogbl): Likewise.
20712         [non-C99-based standards] (log1pl): Likewise.
20713         [non-C99-based standards] (logbl): Likewise.
20714         [non-C99-based standards] (nextafterl): Likewise.
20715         [non-C99-based standards] (remainderl): Likewise.
20716         [non-C99-based standards] (rintl): Likewise.
20717         [non-C99-based standards] (scalbl): Likewise.
20718         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20719         [non-C99-based standards] (FP_*): Do not allow.
20720         [C99-based standards] (FP_*): Change to
20721         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20722         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20723         allow.
20724         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20725         (SIG_ERR): Likewise.
20726         [X/Open-based standards] (SIG_HOLD): Likewise.
20727         (SIG_IGN): Likewise.
20728         (SIGABRT): Use macro-int-constant.  Specify type.  Require
20729         positive value.
20730         (SIGFPE): Likewise.
20731         (SIGILL): Likewise.
20732         (SIGINT): Likewise.
20733         (SIGSEGV): Likewise.
20734         (SIGTER): Likewise.
20735         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20736         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20737         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20738         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20739         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20740         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20741         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20742         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20743         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20744         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20745         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20746         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20747         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20748         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20749         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20750         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20751         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20752         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20753         [X/Open-based standards] (SIGTRAP): Likewise.
20754         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20755         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20756         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20757         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20758         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20759         allow.
20761 2012-05-08  Ian Wienand  <ianw@vmware.com>
20763         [BZ #14080]
20764         * time/tzset.c (__tzset_parse_tz): Update default rules for
20765         daylight time changes in the Energy Policy Act of 2005.
20767 2012-05-09  Andreas Jaeger  <aj@suse.de>
20769         [BZ #13983]
20770         * elf/ldconfig.c (parse_conf): Change string to make clear that
20771         ldconfig only issued a warning if ld.so.conf does not exist.
20773 2012-05-08  David S. Miller  <davem@davemloft.net>
20775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20776         movxtod instead of popping the value on the stack.
20778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20780 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
20782         * config.h.in: Add HAVE_ARM_PCS_VFP.
20784 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
20786         [BZ #13979]
20787         * include/features.h: Warn if user requests __FORTIFY_SOURCE
20788         checking but the checks are disabled for any reason.
20790 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20792         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20793         and ELF64_R_TYPE with ELFW(R_TYPE).
20795 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
20797         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20798         (ulimit): Likewise.
20800         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20801         (settimeofday): Likewise.
20803 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
20805         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
20806         a struct th_u2 inside the union, and move tu_block/tu_code into
20807         a new th_u3 union of tu_block/tu_code inside of that.  Move
20808         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
20809         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
20810         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20811         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20812         (th_stuff): Change to th_u1.tu_stuff.
20813         (th_data): Define.
20814         (th_msg): Change to th_u1.th_u2.tu_data.
20816 2012-05-07  David S. Miller  <davem@davemloft.net>
20818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20820         [BZ #14074]
20821         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20822         (SETUP_PIC_REG): Use it.
20823         (SETUP_PIC_REG_LEAF): Use it.
20825 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
20827         [BZ #13885]
20828         [BZ #13923]
20829         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20830         USE_AS_EXPM1L.
20831         (EXPL_FINITE): Likewise.
20832         (FLDLOG): Likewise.
20833         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20834         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20835         e_expl.S.
20836         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20837         USE_AS_EXPM1L.
20838         (EXPL_FINITE): Likewise.
20839         (FLDLOG): Likewise.
20840         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20841         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20842         e_expl.S.
20843         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
20844         test of -max_value argument for long double.
20845         * sysdeps/i386/fpu/libm-test-ulps: Update.
20846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20848 2012-05-06  David S. Miller  <davem@davemloft.net>
20850         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20851         quad soft-float symbols whose references which are compiler
20852         generated.
20853         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20855 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
20857         [BZ #13884]
20858         [BZ #13914]
20859         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20860         USE_AS_EXP10L.
20861         (EXPL_FINITE): Likewise.
20862         (FLDLOG): Likewise.
20863         (c0): Likewise.
20864         (c1): Likewise.
20865         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20866         Adjust comments for base varying.
20867         (__expl_finite): Change alias to EXPL_FINITE.
20868         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20869         e_expl.S.
20870         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20871         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20872         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20873         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20874         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20875         USE_AS_EXP10L.
20876         (EXPL_FINITE): Likewise.
20877         (FLDLOG): Likewise.
20878         (c0): Likewise.
20879         (c1): Likewise.
20880         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20881         Adjust comments for base varying.
20882         (__expl_finite): Change alias to EXPL_FINITE.
20883         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
20884         tests for bugs.
20885         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20887         [BZ #14064]
20888         * math/libm-test.inc (check_float_internal): Correct ulp
20889         calculation for subnormal expected results.
20891 2012-05-06  Andreas Jaeger  <aj@suse.de>
20893         * Makeconfig (+math-flags): New, set to -frounding-math.
20894         (+cflags): Add +math-flags so that all of glibc gets compiled with
20895         it.
20897         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20899 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
20901         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20902         Disable one test.
20904         [BZ #13787]
20905         [BZ #13922]
20906         [BZ #14036]
20907         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20908         (__ieee754_expl): Allow for and saturate large arguments.
20909         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20910         (u_threshold): Likewise.
20911         (__exp): Call __ieee754_exp before checking for overflow and
20912         underflow.
20913         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20914         (u_threshold): Likewise.
20915         (__expf): Call __ieee754_expf before checking for overflow and
20916         underflow.
20917         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20918         (u_threshold): Likewise.
20919         (__expl): Call __ieee754_expl before checking for overflow and
20920         underflow.
20921         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20922         (__ieee754_expl): Allow for and saturate large arguments.
20923         * math/libm-test.inc (exp_test): Add another test.  Do not allow
20924         missing overflow exception on overflow.
20925         (expm1_test): Do not allow missing overflow exception on overflow.
20927         * sysdeps/i386/fpu/e_expl.c: Move to ...
20928         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
20929         rather than using inline asm.
20930         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20931         * sysdeps/x86_64/fpu/e_expl.S: Copy from
20932         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20934         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20935         (nice): Likewise.
20936         (poll): Likewise.
20937         (signal): Likewise.
20938         (time): Likewise.
20939         (times): Likewise.
20941 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20943         * sysdeps/unix/syscalls.list (adjtime): Add entry from
20944         sysdeps/unix/common/syscalls.list.
20945         (fchmod): Likewise.
20946         (fchown): Likewise.
20947         (ftruncate): Likewise.
20948         (getrusage): Likewise.
20949         (gettimeofday): Likewise.
20950         (setpgid): Likewise.
20951         (setregid): Likewise.
20952         (setreuid): Likewise.
20953         (sigaction): Likewise.
20954         (truncate): Likewise.
20955         (vhangup): Likewise.
20956         * sysdeps/unix/common/syscalls.list: Remove file.
20957         * sysdeps/unix/bsd/Implies: Don't include unix/common.
20958         * sysdeps/unix/sysv/linux/Implies: Likewise.
20960 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
20962         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20964         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20965         Moved to ...
20966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20967         Here.
20968         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20969         to ...
20970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20971         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20972         to ...
20973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20974         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20975         to ...
20976         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20977         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20978         to ...
20979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20980         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20981         to ...
20982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20983         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20984         to ...
20985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20986         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20987         to ...
20988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20989         Here.
20990         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20991         to ...
20992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20993         Here.
20994         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20995         to ...
20996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20997         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20998         Moved to ...
20999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21000         Here.
21001         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21002         to ...
21003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21005 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21007         * sysdeps/unix/common/bits/dirent.h: Remove file.
21008         * sysdeps/unix/common/bits/fcntl.h: Likewise.
21010         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21011         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21012         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21013         * sysdeps/unix/bsd/isatty.c: Likewise.
21014         * sysdeps/unix/bsd/tcdrain.c: Likewise.
21015         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21016         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21018 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21020         [BZ #13563]
21021         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21022         long double comparison inaccuracies.
21023         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21026 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
21028         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21029         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21031 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21033         [BZ #14049]
21034         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21035         nonzero digits before rounding a hex value.
21036         * stdlib/tst-strtod.c (tests): Add another test.
21038 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21040         * sysdeps/s390/fpu/libm-test-ulps: Update.
21042 2012-05-03  Andreas Jaeger  <aj@suse.de>
21044         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21045         does not get optimized out.
21046         (malloc_opt_barrier): New.
21048 2012-05-03  Andreas Jaeger  <aj@suse.de>
21049             Roland McGrath  <roland@hack.frob.com>
21051         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21052         intermediate file deletion.
21053         (generated): Add .symlist files.
21055 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
21057         [BZ #13775]
21058         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21059         Redirect under this condition.
21060         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21061         [__USE_GNU] (__dprintf_chk): Not under this condition.
21062         [__USE_GNU] (__vdprintf_chk): Likewise.
21063         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21064         under this condition.
21065         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21066         [__USE_XOPEN2K8] (dprintf): Define under this condition.
21067         [__USE_XOPEN2K8] (vdprintf): Likewise.
21068         [__USE_GNU] (__dprintf_chk): Not under this condition.
21069         [__USE_GNU] (__vdprintf_chk): Likewise.
21070         [__USE_GNU] (dprintf): Likewise.
21071         [__USE_GNU] (vdprintf): Likewise.
21073 2012-05-03  Roland McGrath  <roland@hack.frob.com>
21075         * elf/Makefile (common-generated): Set this instead of generated for
21076         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
21077         $(all-built-dso)-derived lists.
21079 2012-05-03  Andreas Jaeger  <aj@suse.de>
21081         * sysdeps/i386/fpu/libm-test-ulps: Update.
21083         * FAQ: Removed.
21084         * FAQ.in: Likewise.
21085         * scripts/gen-FAQ.pl: Likewise.
21086         * manual/install.texi (Installation): Point to online location of
21087         FAQ.
21088         * Makefile (files-for-dist): Remove FAQ.
21089         (FAQ): Remove.
21091 2012-05-02  Allan McRae  <allan@archlinux.org>
21093         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21094         (LDFLAGS-reldepmod5.so): Likewise.
21095         (LDFLAGS-reldep6mod1.so): Likewise.
21096         (LDFLAGS-reldep6mod4.so): Likewise.
21097         (LDFLAGS-reldep8mod3.so): Likewise.
21098         (LDFLAGS-unload4mod1.so): Likewise.
21099         (LDFLAGS-unload4mod2.so): Likewise.
21100         (LDFLAGS-tst-initorder): Likewise.
21101         (LDFLAGS-tst-initordera2.so): Likewise.
21102         (LDFLAGS-tst-initordera3.so): Likewise.
21103         (LDFLAGS-tst-initordera4.so): Likewise.
21104         (LDFLAGS-tst-initorderb2.so): Likewise.
21105         (LDFLAGS-noload): Likewise.
21106         (LDFLAGS-next): Likewise.
21107         (LDFLAGS-order2mod1.so): Likewise.
21108         (LDFLAGS-order2mod2.so): Likewise.
21109         (LDFLAGS-tst-initorder2): Likewise.
21110         (LDFLAGS-tst-initorder2a.so): Likewise.
21111         (LDFLAGS-tst-initorder2b.so): Likewise.
21112         (LDFLAGS-tst-initorder2c.so): Likewise.
21113         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21115 2012-05-02  David S. Miller  <davem@davemloft.net>
21117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21119 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21121         [BZ #14055]
21122         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21124 2012-05-02  Andreas Jaeger  <aj@suse.de>
21126         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21127         since we manipulate rounding mode.
21128         (CPPFLAGS-test-idouble.c): Likewise.
21129         (CPPFLAGS-test-ifloat.c): Likewise.
21130         (CFLAGS-test-ldouble.c): Likewise.
21131         (CFLAGS-test-double.c): Likewise.
21132         (CFLAGS-test-float.c): Likewise.
21133         (CFLAGS-test-misc.c): Likewise.
21134         (CFLAGS-test-test-fenv.c): Likewise.
21136 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21138         [BZ #2550]
21139         [BZ #2570]
21140         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21141         comparisons to determine direction to adjust input.
21143 2012-05-01  Roland McGrath  <roland@hack.frob.com>
21145         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21146         output to the target.
21148         * scripts/localplt.awk: New file.
21149         * elf/Makefile ($(objpfx)check-localplt): Target removed.
21150         (check-localplt-CFLAGS): Variable removed.
21151         ($(all-built-dso:=.jmprel)): New static pattern rule.
21152         (generated): Add those targets.
21153         (localplt-built-dso): New variable.
21154         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21156         * elf/check-localplt.c: File removed.
21158         * scripts/check-execstack.awk: New file.
21159         * elf/Makefile ($(objpfx)check-execstack): Target removed.
21160         (check-execstack-CFLAGS): Variable removed.
21161         ($(objpfx)check-execstack.h): Target removed.
21162         ($(objpfx)execstack-default): New target.
21163         (generated): Add that instead of check-execstack.h.
21164         ($(all-built-dso:=.phdr)): New static pattern rule.
21165         (generated): Add those targets.
21166         * elf/check-execstack.c: File removed.
21168         * scripts/check-textrel.awk: New file.
21169         * elf/Makefile ($(objpfx)check-textrel): Target removed.
21170         (check-textrel-CFLAGS): Variable removed.
21171         (all-built-dso): Use := to define.o
21172         ($(all-built-dso:=.dyn)): New static pattern rule.
21173         (generated): Add those targets.
21174         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21175         * config.make.in (READELF): New substituted variable.
21176         * elf/check-textrel.c: File removed.
21178 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
21180         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21181         allow.
21182         * conform/data/ctype.h-data [C99-based standards] (isblank):
21183         Expect function.
21184         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21185         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21186         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21187         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21188         Specify type.  Require positive value.
21189         (EILSEQ): Likewise.
21190         (ERANGE): Likewise.
21191         [ISO || POSIX] (EILSEQ): Do not expect.
21192         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21193         Specify type.  Require positive value.
21194         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21195         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21196         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21197         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21198         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21199         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21200         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21201         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21202         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21203         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21204         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21205         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21206         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21207         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21208         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21209         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21210         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21211         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21212         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21213         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21214         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21215         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21216         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21217         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21218         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21219         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21220         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21221         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21222         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21223         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21224         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21225         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21226         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21227         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21228         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21229         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21230         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21231         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21232         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21233         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21234         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21235         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21236         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21237         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21238         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21239         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21240         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21241         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21242         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21243         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21244         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21245         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21246         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21247         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21248         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21249         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21250         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21251         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21252         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21253         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21254         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21255         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21256         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21257         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21258         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21259         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21260         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21261         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21262         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21263         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21264         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21265         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21266         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21267         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21268         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21269         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21270         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21271         Require >= 2.
21272         (FLT_ROUNDS): Expect as macro, not constant.
21273         (FLT_MANT_DIG): Use macro-int-constant.
21274         (DBL_MANT_DIG): Likewise.
21275         (LDBL_MANT_DIG): Likewise.
21276         (FLT_DIG): Likewise.
21277         (DBL_DIG): Likewise.
21278         (LDBL_DIG): Likewise.
21279         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
21280         (DBL_MIN_EXP): Likewise.
21281         (LDBL_MIN_EXP): Likewise.
21282         (FLT_MAX_EXP): Use macro-int-constant.
21283         (DBL_MAX_EXP): Likewise.
21284         (LDBL_MAX_EXP): Likewise.
21285         (FLT_MAX_10_EXP): Likewise.
21286         (DBL_MAX_10_EXP): Likewise.
21287         (LDBL_MAX_10_EXP): Likewise.
21288         (FLT_MAX): Use macro-constant.
21289         (DBL_MAX): Likewise.
21290         (LDBL_MAX): Likewise.
21291         (FLT_EPSILON): Use macro-constant.  Give upper bound.
21292         (DBL_EPSILON): Likewise.
21293         (LDBL_EPSILON): Likewise.
21294         (FLT_MIN): Likewise.
21295         (DBL_MIN): Likewise.
21296         (LDBL_MIN): Likewise.
21297         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21298         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21299         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21300         [ISO11] (FLT_HAS_SUBNORM): Likewise.
21301         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21302         [ISO11] (DBL_DECIMAL_DIG): Likewise.
21303         [ISO11] (FLT_DECIMAL_DIG): Likewise.
21304         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21305         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21306         [ISO11] (FLT_TRUE_MIN): Likewise.
21307         [ISO11] (LDBL_TRUE_MIN): Likewise.
21308         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21309         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21310         (SCHAR_MIN): Use macro-int-constant.  Specify type.
21311         (SCHAR_MAX): Likewise.
21312         (UCHAR_MAX): Likewise.
21313         (CHAR_MIN): Likewise.
21314         (CHAR_MAX): Likewise.
21315         (MB_LEN_MAX): Use macro-int-constant.
21316         (SHRT_MIN): Use macro-int-constant.  Specify type.
21317         (SHRT_MAX): Likewise.
21318         (USHRT_MAX): Likewise.
21319         (INT_MAX): Likewise.
21320         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
21321         bound negative.
21322         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21323         bound with "U".
21324         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21325         bound with "L".
21326         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
21327         bound negative.  Suffix upper bound with "L".
21328         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21329         bound with "UL".
21330         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21331         Specify type.
21332         [C99-based standards] (LLONG_MAX): Likewise.
21333         [C99-based standards] (ULLONG_MAX): Likewise.
21334         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
21335         == 0.
21336         [ISO11] (max_align_t): Require type.
21337         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21339         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21340         from $CFLAGS, without defining away __attribute__ calls.
21341         (checknamespace): Use $CFLAGS_namespace.
21343         * conform/conformtest.pl (@keywords): Only include C99 keywords
21344         for standards based on C99 or C11.
21346         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21347         Disable tests.
21348         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21349         UNIX98]: Likewise.
21351         * conform/conformtest.pl: Handle "macro-int-constant" and test for
21352         usability of symbols in #if.
21354         * conform/conformtest.pl: If macro or constant types start
21355         "promoted:", expect the symbol to be of the following type
21356         promoted by the integer promotions.
21358         * conform/conformtest.pl: Parse all "constant" and "macro" lines
21359         in one place.  Also handle "macro-constant".
21361         * conform/conformtest.pl: Only accept expected macro values with
21362         "==".  Parse all "macro" lines in one place.
21363         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21365         * conform/conformtest.pl: Handle braced types on "constant" lines
21366         instead of handling "typed-constant".
21367         * conform/data/signal.h-data: Use "constant" instead of
21368         "typed-constant".
21370         * conform/conformtest.pl: Handle "optional-" at start of lines in
21371         one place rather than duplicating several cases.  Handle each
21372         format of "macro" line with initial "optional-".
21374         * conform/conformtest.pl: Only accept expected constant or
21375         optional-constant values with "==".  Parse all "constant" lines in
21376         one place.  Parse all "optional-constant" lines in one place.
21377         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21378         * conform/data/fmtmsg.h-data: Likewise.
21379         * conform/data/netinet/in.h-data: Likewise.
21380         * conform/data/tar.h-data: Likewise.
21381         * conform/data/limits.h-data: Use "==" form on "constant" and
21382         "optional-constant" lines.
21384         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21385         Use -std=c99 for XOPEN2K.
21386         (@knownproblems): Remove.
21387         (newtoken): Don't check %isknown.
21389         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21390         Do not expect macro.
21391         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21392         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21393         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21394         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21395         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21396         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21397         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21398         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21399         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21400         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21401         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21402         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21403         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21404         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21405         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21406         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21407         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21408         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21409         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21410         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21411         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21412         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21413         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21414         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21415         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21416         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21417         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21418         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21419         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21420         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21421         [XPG3] (acosh): Likewise.
21422         [XPG3] (asinh): Likewise.
21423         [XPG3] (atanh): Likewise.
21424         [XPG3] (cbrt): Likewise.
21425         [XPG3] (expm1): Likewise.
21426         [XPG3] (ilogb): Likewise.
21427         [XPG3] (log1p): Likewise.
21428         [XPG3] (logb): Likewise.
21429         [XPG3] (nextafter): Likewise.
21430         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21431         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21432         [XPG3] (remainder): Likewise.
21433         [XPG3] (rint): Likewise.
21434         [XPG3 || XPG4 || UNIX98] (round): Likewise.
21435         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21436         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21437         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21438         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21439         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21440         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21441         [UNIX98 || XOPEN2K] (scalb): Expect.
21442         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21443         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21444         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21445         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21446         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21447         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21448         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21449         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21450         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21451         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21452         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21453         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21454         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21455         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21456         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21457         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21458         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21459         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21460         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21461         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21462         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21463         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21464         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21465         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21466         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21467         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21468         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21469         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21470         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21471         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21472         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21473         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21474         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21475         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21476         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21477         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21478         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21479         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21480         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21481         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21482         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21483         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21484         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21485         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21486         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21487         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21488         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21489         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21490         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21491         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21492         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21493         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21494         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21495         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21496         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21497         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21498         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21499         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21500         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21501         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21502         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21503         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21504         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21505         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21506         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21507         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21508         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21509         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21510         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21511         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21512         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21513         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21514         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21515         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21516         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21517         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21518         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21519         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21520         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21521         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21522         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21523         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21524         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21525         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21526         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21527         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21528         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21529         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21530         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21531         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21532         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21533         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21534         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21535         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21536         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21537         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21538         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21539         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21540         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21541         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21542         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21543         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21544         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21545         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21546         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21547         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21548         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21549         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21550         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21551         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21552         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21553         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21554         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21555         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21556         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21557         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21558         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21559         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21560         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21561         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21562         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21563         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21564         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21565         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21566         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21567         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21568         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21569         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21570         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21571         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21572         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21573         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21574         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21575         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21576         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21577         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21578         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21580         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21581         _XOPEN_SOURCE_EXTENDED for XPG4.
21583         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21585         * Makeconfig (localtime): Remove variable.
21586         (inst_localtime-file): Likewise.
21588 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21591         Update.
21592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21593         Update.
21594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21595         Update.
21596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21597         Update.
21598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21599         Update.
21600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21601         Update.
21602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21603         Update.
21604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21605         Update.
21606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21607         Update.
21609 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
21611         [BZ #2550]
21612         [BZ #2570]
21613         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21614         comparisons to determine direction to adjust input.
21615         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21616         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21617         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21618         Likewise.
21619         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21620         Likewise.
21621         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21622         Likewise.
21623         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21624         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21625         Likewise.
21626         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21627         Likewise.
21628         * math/libm-test.inc (nexttoward_test): Add more tests.
21630 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21632         [BZ #14040]
21633         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21634         in version GLIBC_2.1, not GLIBC_2.0.
21635         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21636         Likewise.
21638 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
21640         [BZ #13942]
21641         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21642         (1 - x) * (1 + x).
21643         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21644         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21645         * math/libm-test.inc (acos_test): Add more tests.
21646         (asin_test): Likewise.
21647         * sysdeps/i386/fpu/libm-test-ulps: Update.
21648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21650         [BZ #14034]
21651         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21652         of square root.
21653         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21654         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21655         * math/libm-test.inc (acos_test_tonearest): New function.
21656         (acos_test_towardzero): Likewise.
21657         (acos_test_downward): Likewise.
21658         (acos_test_upward): Likewise.
21659         (asin_test_tonearest): Likewise.
21660         (asin_test_towardzero): Likewise.
21661         (asin_test_downward): Likewise.
21662         (asin_test_upward): Likewise.
21663         (main): Call the new functions.
21664         * sysdeps/i386/fpu/libm-test-ulps: Update.
21665         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21667         [BZ #13884]
21668         [BZ #13924]
21669         * math/e_exp10.c: Include <float.h>.
21670         (__ieee754_exp10): Handle underflow here rather than multiplying
21671         large negative argument by M_LN10.
21672         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21673         of __ieee754_expf.
21674         * math/e_exp10l.c: Include <float.h>.
21675         (__ieee754_exp10l): Handle underflow here rather than multiplying
21676         large negative argument by M_LN10l.
21677         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
21678         spurious overflow exception on underflow.
21680 2012-04-29  Marek Polacek  <polacek@redhat.com>
21682         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21683         (__fortify_function): New macro.
21684         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21685         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21686         __extern_always_inline.
21687         * libio/bits/stdio2.h: Likewise.
21688         * libio/bits/stdio.h: Likewise.
21689         * string/string.h: Likewise.
21690         * string/bits/string3.h: Likewise.
21691         * include/stdio.h: Likewise.
21692         * stdlib/bits/stdlib.h: Likewise.
21693         * stdlib/stdlib.h: Likewise.
21694         * rt/bits/mqueue2.h: Likewise.
21695         * rt/mqueue.h: Likewise.
21696         * posix/bits/unistd.h: Likewise.
21697         * posix/unistd.h: Likewise.
21698         * io/bits/poll2.h: Likewise.
21699         * io/bits/fcntl2.h: Likewise.
21700         * io/fcntl.h: Likewise.
21701         * io/sys/poll.h: Likewise.
21702         * misc/bits/syslog.h: Likewise.
21703         * misc/bits/syslog-ldbl.h: Likewise.
21704         * misc/sys/syslog.h: Likewise.
21705         * socket/bits/socket2.h: Likewise.
21706         * socket/sys/socket.h: Likewise.
21707         * debug/tst-chk1.c: Likewise.
21708         * wcsmbs/bits/wchar2.h: Likewise.
21709         * wcsmbs/bits/wchar-ldbl.h: Likewise.
21710         * wcsmbs/wchar.h: Likewise.
21712 2012-04-29  Andreas Jaeger  <aj@suse.de>
21714         * Makerules (tests): Remove enable-check-abi protection.
21715         (check-abi-warn): Remove.
21716         (check-abi-%): Remove check-abi-warn usage.
21718         * configure.in: Remove check-abi configure option.
21719         * configure: Regenerated.
21720         * config.make.in (enable-check-abi): Remove.
21722 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
21724         [BZ #14033]
21725         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21726         double functions to double *_finite functions.
21728         [BZ #13941]
21729         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21730         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21731         LDBL_MIN_EXP.
21732         * stdio-common/Makefile (tests): Add tst-sprintf3.
21733         * stdio-common/tst-sprintf3.c: New file.
21735         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21736         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21738 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21740         * conform/conformtest.pl: Remove duplicate typed-constant
21741         handling.
21743 2012-04-28  David S. Miller  <davem@davemloft.net>
21745         * Makerules (%.abilist): Add vpath on sysdep_dirs.
21746         (check-abi-%): Remove AWK script prerequisite and explicit
21747         abilist directory.
21748         (check-abi): Rewrite to just diff the symlist with the abilist.
21749         (config-tls, config-abi-config): Delete, no longer used.
21750         (update-abi-%): Remove AWK script and explicit abilist directory.
21751         (update-abi): Rewrite to simply compare and conditionally copy the
21752         symlist and the sysdep abilist file.  Remove update-abi-config
21753         checks.
21754         * abilist/ld.abilist: Remove.
21755         * abilist/libBrokenLocale.abilist: Remove.
21756         * abilist/libanl.abilist: Remove.
21757         * abilist/libcrypt.abilist: Remove.
21758         * abilist/libdl.abilist: Remove.
21759         * abilist/librt.abilist: Remove.
21760         * abilist/libthread_db.abilist: Remove.
21761         * abilist/libutil.abilist: Remove.
21762         * scripts/extract-abilist.awk: Remove.
21763         * scripts/merge-abilist.awk: Remove.
21764         * sysdeps/generic/libcidn.abilist: New file.
21765         * sysdeps/generic/libnss_compat.abilist: New file.
21766         * sysdeps/generic/libnss_db.abilist: New file.
21767         * sysdeps/generic/libnss_dns.abilist: New file.
21768         * sysdeps/generic/libnss_files.abilist: New file.
21769         * sysdeps/generic/libnss_hesiod.abilist: New file.
21770         * sysdeps/generic/libnss_nis.abilist: New file.
21771         * sysdeps/generic/libnss_nisplus.abilist: New file.
21772         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21773         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21774         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21775         file.
21776         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21777         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21778         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21779         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21780         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21781         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21782         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21783         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21784         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21785         file.
21786         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21787         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21788         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21789         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21790         file.
21791         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21792         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21793         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21794         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21795         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21796         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21797         file.
21798         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21799         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21800         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21801         file.
21802         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21803         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21804         New file.
21805         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21806         New file.
21807         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21808         New file.
21809         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21810         New file.
21811         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21812         New file.
21813         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21814         New file.
21815         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21816         New file.
21817         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21818         New file.
21819         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21820         New file.
21821         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21822         New file.
21823         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21824         New file.
21825         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21826         New file.
21827         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21828         New file.
21829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21830         file.
21831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21832         New file.
21833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21834         New file.
21835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21836         file.
21837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21838         New file.
21839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21840         New file.
21841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21842         file.
21843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21844         New file.
21845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21846         New file.
21847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21848         New file.
21849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21850         New file.
21851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21852         New file.
21853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21854         New file.
21855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21857         file.
21858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21859         New file.
21860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21861         file.
21862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21863         file.
21864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21865         file.
21866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21867         file.
21868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21869         file.
21870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21871         New file.
21872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21873         file.
21874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21875         file.
21876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21877         New file.
21878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21879         file.
21880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21882         file.
21883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21884         New file.
21885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21886         file.
21887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21888         file.
21889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21890         file.
21891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21892         file.
21893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21894         file.
21895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21896         New file.
21897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21898         file.
21899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21900         file.
21901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21902         New file.
21903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21904         file.
21905         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21906         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21907         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21908         file.
21909         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21910         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21911         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21912         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21913         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21914         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21915         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21916         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21917         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21918         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21921         file.
21922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21923         New file.
21924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21925         file.
21926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21927         file.
21928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21929         file.
21930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21931         file.
21932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21933         file.
21934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21935         New file.
21936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21937         New file.
21938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21939         file.
21940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21941         New file.
21942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21943         file.
21944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21946         file.
21947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21948         New file.
21949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21950         file.
21951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21952         file.
21953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21954         file.
21955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21956         file.
21957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21958         file.
21959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21960         New file.
21961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21962         New file.
21963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21964         file.
21965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21966         New file.
21967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21968         file.
21970 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21972         * conform/conformtest.pl: Fix typo in handling typed-constant from
21973         allow-header.
21975 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21977         * README: Cut down references to pre-2.6 Linux kernels and
21978         Linuxthreads.  Update lists of configurations in libc and ports
21979         and sort alphabetically.  Say "or newer" with Linux kernel version
21980         requirements.
21982         * config.h.in [IS_IN_build]: Allow compiling without optimization.
21984 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21986         [BZ #887]
21987         * math/libm-test.inc (logb_test_downward): New test to expose
21988         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21989         rounding mode.
21991 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21993         [BZ #14027]
21994         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21995         to be done.
21996         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21997         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21999 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
22001         * sysdeps/unix/i386/brk.S: Remove file.
22002         * sysdeps/unix/i386/dl-brk.S: Likewise.
22003         * sysdeps/unix/i386/pipe.S: Likewise.
22004         * sysdeps/unix/i386/sigreturn.S: Likewise.
22005         * sysdeps/unix/i386/syscall.S: Likewise.
22006         * sysdeps/unix/i386/vfork.S: Likewise.
22007         * sysdeps/unix/i386/wait.S: Likewise.
22009         * sysdeps/unix/common/tcsendbrk.c: Move to ...
22010         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22012         * configure.in (arm*-none*): Do not allow without
22013         --enable-hacker-mode.
22014         (netbsd*): Remove case setting base_os.
22015         (386bsd*): Likewise.
22016         (freebsd*): Likewise.
22017         (bsdi*): Likewise.
22018         (osf*): Likewise.
22019         (sunos*): Likewise.
22020         (ultrix*): Likewise.
22021         (newsos*): Likewise.
22022         (dynix*): Likewise.
22023         (*bsd*): Likewise.
22024         (sysv*): Likewise.
22025         (isc*): Likewise.
22026         (esix*): Likewise.
22027         (sco*): Likewise.
22028         (minix*): Likewise.
22029         (irix4*): Likewise.
22030         (irix6*): Likewise.
22031         (solaris[2-9]*): Likewise.
22032         (none): Likewise.
22033         * configure: Regenerated.
22035 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22037         [BZ #11521]
22038         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22039         overflow or cancellation in calculating denominator.
22040         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22041         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22042         down expression to avoid unexpected rounding in newer GCCs.
22043         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22045 2012-04-26  David S. Miller  <davem@davemloft.net>
22047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22048         long-double compat symbols.
22049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22063 2012-04-25  David S. Miller  <davem@davemloft.net>
22065         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22066         HWCAP_* values only after the memory barriers have been defined.
22067         (atomic_full_barrier): Define.
22068         (atomic_read_barrier): Define.
22069         (atomic_write_barrier): Define.
22071 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22073         * shlib-versions: Add libgcc_s version information.
22074         * sysdeps/generic/libgcc_s.h: Remove.
22075         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22076         libgcc_s.h.
22077         * sysdeps/gnu/unwind-resume.c: Likewise.
22078         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22080 2012-04-25  David S. Miller  <davem@davemloft.net>
22082         * sysdeps/unix/sparc/brk.S: Delete.
22083         * sysdeps/unix/sparc/dl-brk.S: Delete.
22084         * sysdeps/unix/sparc/pipe.S: Delete.
22085         * sysdeps/unix/sparc/sysdep.S: Delete.
22086         * sysdeps/unix/sparc/sysdep.h: Delete.
22087         * sysdeps/unix/sparc/vfork.S: Delete.
22088         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22089         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22090         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22091         ret_ERRVAL, r0, r1, MOVE): Define.
22092         (JUMPTARGET): Remove.
22093         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22094         sysdeps/unix/sparc/sysdep.h
22095         (ENTRY, END): Remove.
22096         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22098 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
22100         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22101         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22102         -DIS_IN_build.
22104         * timezone/README: Update upstream location and email address for
22105         tzcode and tzdata.
22106         * timezone/zdump.c: Update from tzcode 2012b.
22107         * timezone/zic.c: Likewise.
22109         * configure.in (libc_cv_as_needed): Remove test.
22110         * configure: Regenerated.
22111         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22112         conditional definition.
22113         [$(have-as-needed) != yes] (no-as-needed): Likewise.
22114         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22115         * config.make.in (have-as-needed): Remove variable.
22117 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22118             Paul Pluzhnikov  <ppluzhnikov@google.com>
22120         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22121         strings correctly.
22123 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22125         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22126         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22127         * sysdeps/sh/strlen.S: Likewise.
22129 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22131         * sysdeps/unix/fork.S: Remove file.
22132         * sysdeps/unix/i386/fork.S: Likewise.
22133         * sysdeps/unix/sparc/fork.S: Likewise.
22135         * sysdeps/unix/system.c: Remove file.
22136         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22138         * sysdeps/unix/getegid.S: Remove file.
22139         * sysdeps/unix/geteuid.S: Likewise.
22141 2012-04-24  Roland McGrath  <roland@hack.frob.com>
22143         * scripts/check-localplt.awk: New file.
22144         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22145         of diff.
22146         * scripts/data/localplt-generic.data: Add a comment.
22148         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22149         NODE when __dir_mkfile failed.
22150         * sysdeps/mach/hurd/symlinkat.c: Likewise.
22151         Reported by Ludovic Courtès <ludo@gnu.org>.
22153 2012-04-24  Andreas Jaeger  <aj@suse.de>
22155         * Makerules (common-clean): Also remove gen-as-const-headers
22156         files.
22158 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22160         * Makerules (native-compile): Do not change working directory for
22161         build.  Use $(OUTPUT_OPTION) in command.
22162         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22164 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22166         [BZ #13886]
22167         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22168         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22169         * math/libm-test.inc (floor_test): Add more tests.
22170         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22172 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22174         * sysdeps/unix/getdents.c: Remove file.
22175         * sysdeps/unix/sysv/getdents.c: Likewise.
22176         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22178         * sysdeps/unix/syscalls.list (madvise): Add syscall from
22179         sysdeps/unix/mman/syscalls.list.
22180         (mmap): Likewise.
22181         (mprotect): Likewise.
22182         (msync): Likewise.
22183         (munmap): Likewise.
22184         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22185         * sysdeps/unix/mman/syscalls.list: Remove.
22186         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22188         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22189         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22190         * configure: Regenerated.
22191         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22192         $(libgcc_s_suffix).
22193         * config.make.in (libgcc_s_suffix): Remove variable.
22195 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
22197         * sysdeps/unix/sysv/gethostname.c: Move to ...
22198         * sysdeps/posix/gethostname.c: ... here.
22200         * sysdeps/unix/execve.S: Remove file.
22202         * sysdeps/unix/_exit.S: Remove file.
22204 2012-04-23  Andreas Jaeger  <aj@suse.de>
22206         [BZ #13739]
22207         * manual/Makefile: Remove make dist support, there's no
22208         need for a stand-alone documentation tar ball.
22209         (TEXI2DVI): Define always, it's not in Makeconfig.
22210         (dist): Removed.
22211         (tar-it): Removed.
22212         (edition): Removed.
22213         (glibc-doc-$(edition).tar): Removed
22214         (%.Z): Removed.
22215         (%.gz): Removed.
22216         (%.uu): Removed.
22217         (ETAGS): Remove, it's in Makeconfig.
22218         (move-if-change): Remove, it's in Makeconfig.
22220 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
22222         [BZ #13970]
22223         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22224         (strtod, strtof, strtold, strtol, strtoul, strtoq)
22225         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22226         (strtod_l, strtof_l, strtold_l): Remove __wur.
22227         It is not necessarily an error to ignore strtol's return value.
22228         One can reliably look at the stored endptr to decide whether
22229         the number had valid syntax.
22231 2012-04-21  Andreas Jaeger  <aj@suse.de>
22233         [BZ #13739]
22234         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22236 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
22238         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22239         * sysdeps/unix/sysv/Versions: Remove file.
22241 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
22243         [BZ #13927]
22244         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22246 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
22248         [BZ #7064]
22249         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22250         version from __vm86.
22252 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
22254         * sysdeps/unix/common/lxstat.c: Remove file.
22255         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22257         * sysdeps/unix/sysv/Makefile: Remove file.
22259         * sysdeps/unix/sysv/direct.h: Remove file.
22261         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22262         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22263         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22264         * sysdeps/unix/sysv/bits/signum.h: Likewise.
22265         * sysdeps/unix/sysv/bits/stat.h: Likewise.
22266         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22267         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22269         * sysdeps/unix/sysv/setrlimit.c: Remove file.
22271         * sysdeps/unix/xmknod.c: Remove file.
22272         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22274         * sysdeps/unix/sysv/settimeofday.c: Remove file.
22276         * sysdeps/unix/sysv/i386/time.S: Remove file.
22278         * sysdeps/unix/fxstat.c: Remove file.
22279         * sysdeps/unix/xstat.c: Likewise.
22280         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22282         * sysdeps/unix/sysv/sigaction.c: Remove file.
22284         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22285         (sysdep_headers): Remove variable.
22286         [termio.h not in sysdep_headers] (generated): Likewise.
22287         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22288         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22289         * sysdeps/unix/sysv/tcdrain.c: Likewise.
22290         * sysdeps/unix/sysv/tcflow.c: Likewise.
22291         * sysdeps/unix/sysv/tcflush.c: Likewise.
22292         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22293         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22294         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22295         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22296         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22298         * sysdeps/unix/siglist.c: Remove file.
22300         * sysdeps/unix/getppid.S: Remove file.
22302         * sysdeps/unix/mkdir.c: Remove file.
22303         * sysdeps/unix/rmdir.c: Likewise.
22305 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
22307         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22308         ERR_MAX value.
22309         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22310         errlist-compat value.
22312 2012-04-18  David S. Miller  <davem@davemloft.net>
22314         * sysdeps/generic/memcopy.h (reg_char): Delete.
22315         * debug/strcat_chk.c: Use char, not reg_char.
22316         * debug/strcpy_chk.c: Likewise.
22317         * debug/strncat_chk.c: Likewise.
22318         * debug/strncpy_chk.c: Likewise.
22319         * string/memchr.c: Likewise.
22320         * string/memrchr.c: Likewise.
22321         * string/rawmemchr.c: Likewise.
22322         * string/strcat.c: Likewise.
22323         * string/strchr.c: Likewise.
22324         * string/strchrnul.c: Likewise.
22325         * string/strcmp.c: Likewise.
22326         * string/strcpy.c: Likewise.
22327         * string/strncat.c: Likewise.
22328         * string/strncmp.c: Likewise.
22329         * string/strncpy.c: Likewise.
22331 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22333         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22334         __builtin_memcopy is called when src and dest ranges are known to not
22335         overlap.
22337 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22339         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22340         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22341         fwd_align_merge macro call.
22342         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22343         bwd_align_merge macro call.
22344         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22346 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22348         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22349         bwd_align_merge macros.
22350         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22351         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22352         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22354 2012-04-18  David S. Miller  <davem@davemloft.net>
22356         * sysdeps/sparc/sparc64/memcopy.h: Delete.
22358 2012-04-18  Andreas Jaeger  <aj@suse.de>
22360         [BZ# 6794]
22361         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22362         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22363         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22365         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22366         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22367         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22369         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22370         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22371         Adjust for changed ldbl-128 files.
22373         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22374         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22375         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22377 2012-04-17  David S. Miller  <davem@davemloft.net>
22379         * sysdeps/sparc/sparc32/memcopy.h: Delete.
22381 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
22383         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22384         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22385         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22386         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22387         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22388         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22390 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22392         [BZ #6794]
22393         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22394         * math/libm-test.inc: Add ilogb errno and exception tests.
22395         * math/w_ilogb.c: New file: ilogb wrapper.
22396         * math/w_ilogbf.c: New file: ilogbf wrapper.
22397         * math/w_ilogbl.c: New file: ilogbl wrapper.
22398         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22399         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22400         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22401         exception being thrown with 0.0 as argument.
22402         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22403         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22404         exception being thrown with 0.0 as argument.
22405         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22406         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22407         exception being thrown with 0.0 as argument.
22408         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22409         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22410         exception being thrown with 0.0 as argument.
22411         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22412         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22413         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22414         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22415         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22416         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22417         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22418         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22419         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22421 2012-04-17  Petr Baudis  <pasky@ucw.cz>
22423         * include/sys/uio.h: Change __vector to __iovec to avoid clash
22424         with altivec.
22426 2012-04-16  Marek Polacek  <polacek@redhat.com>
22428         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22430 2012-04-16  Marek Polacek  <polacek@redhat.com>
22432         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22433         operands of fdivp instruction.
22435 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
22437         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22438         * elf/tst-auditmod3b.c: Likewise.
22439         * elf/tst-auditmod4b.c: Likewise.
22440         * elf/tst-auditmod5b.c: Likewise.
22441         * elf/tst-auditmod6b.c: Likewise.
22442         * elf/tst-auditmod6c.c: Likewise.
22443         * elf/tst-auditmod7b.c: Likewise.
22444         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22445         * sysdeps/x86_64/preconfigure.in: Likewise.
22446         * sysdeps/x86_64/preconfigure: Regenerated.
22448 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
22450         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22451         __ILP32__.
22453 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
22455         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22456         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22458 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
22460         [BZ #13973]
22461         * locale/iso-639.def: Fix gl language name. Spotted by
22462         Yaron Shahrabani.
22464 2012-04-12  Roland McGrath  <roland@hack.frob.com>
22466         [BZ #2074]
22467         * libio/libio.h (__io_write_fn): Update comment.
22469 2012-04-12  Petr Baudis  <pasky@ucw.cz>
22471         [BZ #2074]
22472         * stdio.texi (Hook Functions): The user provided writer function
22473         is not allowed to return -1.
22475 2012-04-11  David S. Miller  <davem@davemloft.net>
22477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22479 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
22481         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22482         Add a leading slash to rtkaio.
22484 2012-04-11  Jim Meyering  <meyering@redhat.com>
22486         [BZ #11959]
22487         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22488         It is not necessarily an error to ignore fwrite's return
22489         value.  One can reliably use ferror to test for errors after
22490         the fact.
22492 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
22494         * bits/types.h (__snseconds_t): New type.
22495         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22497         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22498         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22499         (__SNSECONDS_T_TYPE): Likewise.
22500         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22501         (__SNSECONDS_T_TYPE): Likewise.
22502         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22503         (__SNSECONDS_T_TYPE): Likewise.
22505 2012-04-10  Andreas Jaeger  <aj@suse.de>
22507         [BZ #2636]
22508         * manual/time.texi (Processor Time): Return type of times is
22509         elapsed real time since an arbitrary point in the past.
22510         (CPU Time): Move CLK_TCK from here...
22511         (Processor Time): ...to here.  Correct description.
22512         * manual/conf.texi (Constants for Sysconf): Correct description of
22513         _SC_CLK_TCK.
22515 2012-04-10  David S. Miller  <davem@davemloft.net>
22517         [BZ #13967]
22518         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22519         where the is a gap between DT_REL(A) and DT_JMPREL.
22521 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
22523         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22524         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22525         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22527 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22529         * elf/dl-support.c (_dl_inhibit_cache): New variable.
22530         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22531         (dl_main): Handle --inhibit-cache.
22532         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22533         _dl_inhibit_cache.
22534         * elf/dl-load.c (_dl_map_object): Use it.
22535         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22537 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
22539         [BZ #13872]
22540         * sysdeps/i386/fpu/e_powl.S (p78): New object.
22541         (__ieee754_powl): Saturate large exponents rather than testing for
22542         overflow of y*log2(x).
22543         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22544         * math/libm-test.inc (pow_test): Do not permit spurious overflow
22545         exceptions.
22547         [BZ #11521]
22548         * math/s_ctan.c: Include <float.h>.
22549         (__ctan): Avoid internal overflow or cancellation in calculating
22550         denominator.
22551         * math/s_ctanf.c: Likewise.
22552         * math/s_ctanl.c: Likewise.
22553         * math/s_ctanh.c: Likewise.
22554         * math/s_ctanhf.c: Likewise.
22555         * math/s_ctanhl.c: Likewise.
22556         * math/libm-test.inc (ctan_test): Add more tests.
22557         (ctanh_test): Likewise.
22558         * sysdeps/i386/fpu/libm-test-ulps: Update.
22559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22561 2012-04-09  Andreas Jaeger  <aj@suse.de>
22563         [BZ #6894]
22564         * manual/filesys.texi (Directory Entries): Mention that d_namlen
22565         is an optional BSD extension.
22567         [BZ #10254]
22568         * manual/stdio.texi (Opening Streams): Document additional fopen
22569         parameters.
22571 2012-04-09  Roland McGrath  <roland@hack.frob.com>
22573         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22574         %eax without telling the compiler.
22576 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
22578         [BZ # 13963]
22579         * manual/install.texi: Use sourceware.org.
22581 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
22583         [BZ #13873]
22584         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22585         (__ieee754_pow): Generate overflow and underflow using huge*huge
22586         and tiny*tiny rather than just returning constant infinity or zero
22587         for large exponents.
22588         * math/libm-test.inc (pow_test): Require overflow exceptions for
22589         applicable cases of large exponents.
22591         [BZ #706]
22592         * sysdeps/i386/fpu/e_pow.S (p10): New object.
22593         (__ieee754_pow): Use iterative multiplication algorithm only for
22594         integer exponents with absolute value below 1024.  Check for odd
22595         integer exponents when using algorithm for real exponents.
22596         * math/libm-test.inc (pow_test): Add more tests.
22597         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22599 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
22601         [BZ #13705]
22602         * math/libm-test.inc (exp_test): Do not allow overflow exception
22603         on underflow test.
22605 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
22607         [BZ #13705]
22608         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22609         instead of __kernel_standard_f.
22611 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
22613         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22614         * sysdeps/x86_64/memset_chk.S: Likewise.
22616 2012-04-08  Andreas Jaeger  <aj@suse.de>
22618         [BZ #10153]
22619         * manual/startup.texi (Environment Access): Describe return value
22620         for putenv and setenv.
22622         [BZ #6895]
22623         * manual/filesys.texi (Directory Entries): Add description for
22624         DT_LNK.
22626         [BZ #6890]
22627         * manual/filesys.texi (Directory Entries): Clarify that it's file
22628         system not operating system in the description of DT_UNKNOWN.
22630         [BZ #6578]
22631         * manual/syslog.texi (closelog): Fix reference, it's openlog.
22633 2012-04-08  Stephen Compall  <s11@member.fsf.org>
22635         [BZ #6649]
22636         * manual/llio.texi (Opening and Closing Files): Add cross
22637         reference to explain mode argument.
22639 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
22641         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22642         * sysdeps/x86_64/memset_chk.S: Likewise.
22644 2012-04-07  David S. Miller  <davem@davemloft.net>
22646         * elf/elf.h (R_SPARC_WDISP10): Define.
22647         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22648         R_SPARC_SIZE32.
22649         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22650         R_SPARC_SIZE64 and R_SPARC_H34.
22652 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
22654         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22655         conditions and remove no longer applicable assertion.
22657 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22659         * bits/byteswap.h: Include <features.h>.
22660         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22661         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22663 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22665         * bits/byteswap.h (__bswap_16): Removed.
22666         Include <bits/byteswap-16.h> to get __bswap_16.
22667         * sysdeps/i386/bits/byteswap.h: Likewise.
22668         * sysdeps/s390/bits/byteswap.h: Likewise.
22669         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22670         * bits/byteswap-16.h: New file.
22671         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22672         * sysdeps/s390/bits/byteswap-16.h: Likewise.
22673         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22674         * string/Makefile (headers): Add bits/byteswap-16.h.
22676 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22678         [BZ #13895]
22679         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22680         extra indirection.
22681         * nss/Makefile (tests-static, tests): Add tst-nss-static.
22682         * nss/tst-nss-static.c: New.
22684 2012-04-06  Robert Millan  <rmh@gnu.org>
22686         [BZ #6486]
22687         * manual/llio.texi (File Position Primitive): lseek
22688         refers to WHENCE when it really means OFFSET.
22690 2012-04-06  Andreas Jaeger  <aj@suse.de>
22692         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22693         strncmp declarations.
22695         * abilist/libc.abilist: Add __poll and __ppoll.
22697 2012-04-05  David S. Miller  <davem@davemloft.net>
22699         * scripts/check-local-headers.sh: Accept a host triplet in the
22700         path matched by the exclude regexp.
22702         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22703         definition.
22704         * sysdeps/powerpc/powerpc32/dl-machine.h
22705         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22706         * sysdeps/s390/s390-32/dl-machine.h
22707         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22708         * sysdeps/sparc/sparc32/dl-machine.h
22709         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22710         * sysdeps/sparc/sparc64/dl-machine.h
22711         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22713         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22714         lazy binding.
22715         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22716         undefined symbol errors.
22718         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22719         DT_NEEDED entries.
22721 2012-04-05  Michael Matz  <matz@suse.de>
22723         [BZ #13592]
22724         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22726 2012-04-05  Andreas Jaeger  <aj@suse.de>
22728         [BZ #13908]
22729         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22730         comment.
22732 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22734         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22735         which ROUND is no valid rounding mode.
22737 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22739         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22740         read again.
22741         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22743 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22745         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22746         an exception using FPU order intentionally.
22748 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22750         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22751         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22752         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22753         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22755 2012-04-05  Simon Josefsson  <simon@josefsson.org>
22757         [BZ #12340]
22758         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22759         EINVAL when BUFLEN is too smal.
22761 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22763         [BZ #13553]
22764         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22765         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22767 2012-04-03  Andreas Jaeger  <aj@suse.de>
22769         [BZ #13938]
22770         * manual/setjmp.texi (System V contexts): Fix sentence.
22772         [BZ #13926]
22773         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22774         New macro for this case.
22775         [!__GNUC__] (__bswap_64): New inline function for this case.
22776         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22777         * bits/byteswap.h: Likewise.
22778         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22779         ull, guard with __GLIBC_HAVE_LONG_LONG.
22781         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22782         __GLIBC_HAVE_LONG_LONG.
22784         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22785         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22787 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22789         [BZ #13691]
22790         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22791         inptr and inend, rather than using last_ch.
22793 2012-04-02  David S. Miller  <davem@davemloft.net>
22795         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22796         * stdio-common/printf-parse.h (read_int): Change return type to
22797         'int', return -1 on INT_MAX overflow.
22798         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22799         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
22800         overflows INT_MAX.  Check for overflow of in-format-string precision
22801         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
22802         SIZE_MAX not INT_MAX for integer overflow test.
22803         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22804         skip the construct in the format string but do not record anything.
22805         * stdio-common/bug22.c: Adjust to test both width/prevision
22806         INT_MAX overflow as well as total length INT_MAX overflow.  Check
22807         explicitly for proper errno values.
22809 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22811         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22812         CHAR_MAX.
22813         * string/test-strcmp.c [! WIDE]: Likewise.
22814         * time/tst-mktime2.c: Likewise for INT_MAX.
22815         * string/test-string.h: #include <sys/param.h> for MIN.
22817         * csu/init-first.c (__libc_init_first): Call __ctype_init.
22818         * sysdeps/i386/init-first.c (init): Likewise.
22819         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22820         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22821         * sysdeps/sh/init-first.c (init): Likewise.
22823 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
22825         * po/ru.po: Update from translation team.
22826         * po/vi.po: Likewise.
22828 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22830         * resolv/nss_dns/dns-host.c: Merge copyright years.
22832 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22834         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22835         Optimize memcpy with prefetch if
22836         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
22837         src, dst pointers have unequal 16 byte alignments.
22839 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22841         [BZ #13928]
22842         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22843         from a CNAME entry and return the minimum ttl for the query.
22844         (gaih_getanswer_slice): Likewise.
22846 2012-03-30  Jeff Law  <law@redhat.com>
22848         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22849         due to long keys.
22850         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22851         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22853         * resolv/nss_dns/dns-host.c: Update copyright year.
22855 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
22857         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22858         requests to save a system call.  Fix check that all bytes are sent.
22860         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22861         comments for sendmmsg.
22863 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22865         [BZ #13691]
22866         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22867         with only 1 character between 0x0041 and 0x01b0.
22868         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22869         * wcsmbs/tst-mbsnrtowcs.c: New file.
22871 2012-03-29  David S. Miller  <davem@davemloft.net>
22873         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22874         small copies by hand.
22876 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22878         [BZ #13761]
22879         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22880         _nss_compat_initgroups_dyn): Fall back to malloc/free
22881         for large group memberships.
22883 2012-03-28  David S. Miller  <davem@davemloft.net>
22885         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22886         that branches into memcpy.
22887         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22888         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22889         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22890         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22891         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22892         bits.
22893         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22894         implementation too.
22895         * sysdeps/sparc/mempcpy.S: New file.
22897         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22898         the IFUNC routine in the libc case.
22899         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22901         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22902         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22903         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22904         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22905         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22906         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22907         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22908         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22910         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22911         loop to 256 bytes instead of 64 bytes and fix test signedness.
22913         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22914         * sysdeps/sparc/sparc32/Makefile: rather than here...
22915         * sysdeps/sparc/sparc64/Makefile: and here.
22917 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
22919         * malloc/mallocbug.c: Avoid warnings about unused variables.
22921 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22923         [BZ #13760]
22924         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22925         in the right place. Discard and retry query if response is
22926         larger than input buffer size.
22928 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
22930         [BZ #369]
22931         [BZ #2678]
22932         [BZ #3866]
22933         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22934         x for large integer exponent.
22935         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22936         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
22937         sign of result as needed afterwards.
22938         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22939         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22940         result for underflowing pow the same as for overflow.
22941         (__kernel_standard_l): Handle powl overflow and underflow here
22942         rather than calling __kernel_standard.
22943         * math/libm-test.inc (pow_test): Add more tests.
22945         [BZ #3868]
22946         [BZ #13879]
22947         [BZ #13910]
22948         [BZ #13911]
22949         [BZ #13912]
22950         [BZ #13913]
22951         [BZ #13915]
22952         [BZ #13916]
22953         [BZ #13917]
22954         [BZ #13918]
22955         [BZ #13919]
22956         [BZ #13920]
22957         [BZ #13921]
22958         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22959         * sysdeps/ieee754/k_standard.c: Include <float.h>.
22960         (__kernel_standard_l): New function.
22961         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22962         __kernel_standard.
22963         * math/w_acosl.c (__acosl): Likewise.
22964         * math/w_asinl.c (__asinl): Likewise.
22965         * math/w_atan2l.c (__atan2l): Likewise.
22966         * math/w_atanhl.c (__atanhl): Likewise.
22967         * math/w_coshl.c (__coshl): Likewise.
22968         * math/w_exp10l.c (__exp10l): Likewise.
22969         * math/w_exp2l.c (__exp2l): Likewise.
22970         * math/w_fmodl.c (__fmodl): Likewise.
22971         * math/w_hypotl.c (__hypotl): Likewise.
22972         * math/w_j0l.c (__j0l, __y0l): Likewise.
22973         * math/w_j1l.c (__j1l, __y1l): Likewise.
22974         * math/w_jnl.c (__jnl, __ynl): Likewise.
22975         * math/w_lgammal.c (__lgammal): Likewise.
22976         * math/w_log10l.c (__log10l): Likewise.
22977         * math/w_log2l.c (__log2l): Likewise.
22978         * math/w_logl.c (__logl): Likewise.
22979         * math/w_powl.c (__powl): Likewise.
22980         * math/w_remainderl.c (__remainderl): Likewise.
22981         * math/w_scalbl.c (sysv_scalbl): Likewise.
22982         * math/w_sinhl.c (__sinhl): Likewise.
22983         * math/w_sqrtl.c (__sqrtl): Likewise.
22984         * math/w_tgammal.c (__tgammal): Likewise.
22985         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22986         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22987         * math/libm-test.inc (acos_test): Add more tests.
22988         (acosh_test): Likewise.
22989         (asin_test): Likewise.
22990         (atanh_test): Likewise.
22991         (exp_test): Likewise.
22992         (exp10_test): Likewise.
22993         (exp2_test): Likewise.
22994         (expm1_test): Likewise.
22995         (lgamma_test): Likewise.
22996         (log_test): Likewise.
22997         (log10_test): Likewise.
22998         (log1p_test): Likewise.
22999         (log2_test): Likewise.
23000         (pow_test): Do not allow some spurious overflow exceptions.
23001         (sqrt_test): Add more tests.
23002         (tgamma_test): Likewise.
23003         (y0_test): Likewise.
23004         (y1_test): Likewise.
23005         (yn_test): Likewise.
23007 2012-03-27  Anton Blanchard  <anton@samba.org>
23009         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23010         MAP_HUGETLB.
23011         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23012         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23013         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23015 2012-03-27  David S. Miller  <davem@davemloft.net>
23017         * conform/Makefile: Run run-conformtest.sh using $(BASH).
23019         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23020         have-as-vis3 check.
23022 2012-03-27  Andreas Jaeger  <aj@suse.de>
23024         * sysdeps/x86_64/elf/configure.in: Moved to ...
23025         * sysdeps/x86_64/configure.in: ... here.
23026         * sysdeps/x86_64/elf/start.S: Moved to ...
23027         * sysdeps/x86_64/start.S: ... here.
23028         * sysdeps/x86_64/elf/configure: Delete.
23030         * sysdeps/x86_64/configure.in: Merge contents from
23031         sysdeps/i386/configure.in (without i686 check).
23033         * sysdeps/i386/elf/Versions: Merge into ...
23034         * sysdeps/i386/Versions: ... this.
23035         * sysdeps/i386/elf/Versions: Delete file.
23036         * sysdeps/i386/elf/start.S: Moved to ...
23037         * sysdeps/i386/start.S: ...here.
23038         * sysdeps/i386/elf/configure.in: Merge into...
23039         * sysdeps/i386/configure.in: ...here.
23040         * sysdeps/i386/elf/configure.in: Delete file.
23041         * sysdeps/i386/elf/configure: Delete file.
23043         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23044         * debug/backtracesyms.c: ... here.
23045         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23046         * debug/backtracesymsfd.c: ... here.
23047         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23048         * sysdeps/generic/ifunc-sel.h: ... here.
23050         * sysdeps/unix/i386/start.c: Delete file.
23051         * sysdeps/unix/sparc/start.c: Delete file.
23052         * sysdeps/unix/start.c: Delete file.
23054         * sysdeps/sh/elf/configure.in: Moved to ...
23055         * sysdeps/sh/configure.in: ... here.
23056         * sysdeps/sh/elf/start.S: Moved to ...
23057         * sysdeps/sh/start.S: ... here.
23058         * sysdeps/sh/elf/configure: Delete file.
23060         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23061         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23062         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23063         * sysdeps/powerpc/powerpc64/entry.h: ... here.
23064         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23065         * sysdeps/powerpc/powerpc64/start.S: here.
23066         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23067         * sysdeps/powerpc/powerpc64/Makefile: ... this.
23068         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23069         * sysdeps/powerpc/powerpc64/configure.in: ... this.
23070         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23072         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23073         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23074         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23075         * sysdeps/powerpc/powerpc32/start.S: ... here.
23076         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23077         * sysdeps/powerpc/powerpc32/configure.in: ... this.
23078         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23080         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23081         * sysdeps/powerpc/ifunc-sel.h: ... here.
23082         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23083         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23085         * sysdeps/sparc/elf/configure.in: Moved to ...
23086         * sysdeps/sparc/configure.in: ... here.
23087         * sysdeps/sparc/elf/configure: Delete file.
23088         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23089         * sysdeps/sparc/sparc32/start.S: ... here.
23090         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23091         * sysdeps/sparc/sparc64/start.S: ... here.
23092         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23093         * sysdeps/sparc/sparc32/Makefile: ... this.
23094         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23095         * sysdeps/sparc/sparc64/Makefile: ... this.
23097         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23098         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23099         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23100         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23101         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23102         * sysdeps/s390/s390-32/setjmp.S: ... here.
23103         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23104         * sysdeps/s390/s390-32/configure.in: ... here.
23105         * sysdeps/s390/s390-32/elf/configure: Delete file.
23106         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23107         * sysdeps/s390/s390-32/start.S: ... here.
23109         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23110         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23111         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23112         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23113         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23114         * sysdeps/s390/s390-64/setjmp.S: ... here.
23115         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23116         * sysdeps/s390/s390-64/configure.in: ... here
23117         * sysdeps/s390/s390-64/elf/configure: Delete file.
23118         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23119         * sysdeps/s390/s390-64/start.S: ... here.
23120         * sysdeps/s390/s390-64/elf/configure: Delete.
23122         * configure.in: Remove support for elf directories in sysdeps.
23124         * configure: Regenerated.
23125         * sysdeps/i386/configure: Regenerated.
23126         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23127         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23128         * sysdeps/s390/s390-32/configure: Regenerated.
23129         * sysdeps/s390/s390-64/configure: Regenerated.
23130         * sysdeps/sh/configure: Regenerated.
23131         * sysdeps/sparc/configure: Regenerated.
23132         * sysdeps/x86_64/configure: Regenerated.
23134 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
23136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23138         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23139         denormal result into account.
23141 2012-03-25  Roland McGrath  <roland@hack.frob.com>
23143         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23144         Reported by Allan McRae <allan@archlinux.org>.
23146 2012-03-23  Jeff Law  <law@redhat.com>
23148         * nss/getnssent.c (__nss_getent): Fix typo.
23150 2012-03-23  David S. Miller  <davem@davemloft.net>
23152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23154 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
23156         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23157         to pad to uint64_t for each field.
23158         (dl_tls_index): Replace unsigned long with uint64_t.
23160 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
23161         Paul Pluzhnikov  <ppluzhnikov@google.com>
23163         [BZ #6528]
23164         * grp/Makefile (otherlibs): Don't set it.
23165         * inet/Makefile (otherlibs): Likewise.
23166         * login/Makefile (otherlibs): Likewise.
23167         * nscd/Makefile (otherlibs): Likewise.
23168         * posix/Makefile (otherlibs): Likewise.
23169         * pwd/Makefile (otherlibs): Likewise.
23170         * rt/Makefile (otherlibs): Likewise.
23171         * sunrpc/Makefile (otherlibs): Likewise.
23172         * nss/Makefile (otherlibs): Likewise.
23173         Add libnss_files to routines and static-only-routines.
23174         ($(objpfx)getent): Remove rule.
23175         * resolv/Makefile: Add libnss_dns and libresolv to routines and
23176         static-only-routines.
23178 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
23180         [BZ #13892]
23181         * math/s_cexp.c: Include <float.h>.
23182         (__cexp): Handle exp result overflowing not necessarily
23183         overflowing both real and imaginary parts of result.
23184         * math/s_cexpf.c: Likewise.
23185         * math/s_cexpl.c: Likewise.
23186         * math/libm-test.inc (cexp_test): Add more tests.
23187         * sysdeps/i386/fpu/libm-test-ulps: Update.
23188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23190 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23192         * include/link.h (ELFW): New macro.
23193         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23194         Replace ELF64_R_TYPE with ELFW(R_TYPE).
23196 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23198         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23199         with uint64_t.
23201 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23203         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23204         declaration.
23205         (struct La_x32_retval): Likewise.
23207 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23209         * sysdeps/x86_64/preconfigure.in: New file.
23210         * sysdeps/x86_64/preconfigure: New generated file.
23212 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
23214         [BZ #13824]
23215         * math/e_exp2l.c: Include <float.h>.
23216         (__ieee754_exp2l): Handle overflow and underflow cases
23217         separately.  Only pass fractional part of argument to
23218         __ieee754_expl.
23219         * math/libm-test.inc (exp2_test): Add more tests.
23221         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23222         negating x to take absolute value.
23223         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23224         Likewise.
23225         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23226         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23227         Likewise.
23228         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23229         computing low part if x was negated.
23230         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23232 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23234         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23235         la_x32_gnu_pltexit.
23236         (pltexit): Cast int_retval to ptrdiff_t.
23237         * elf/tst-auditmod3b.c: Likewise.
23238         * elf/tst-auditmod4b.c: Likewise.
23239         * elf/tst-auditmod5b.c: Likewise.
23240         * elf/tst-auditmod6b.c: Likewise.
23241         * elf/tst-auditmod6c.c: Likewise.
23242         * elf/tst-auditmod7b.c: Likewise.
23244         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23245         and x32_gnu_pltexit.
23247         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23248         __ELF_NATIVE_CLASS.
23249         (La_x32_regs): New macro.
23250         (La_x32_retval): Likewise.
23251         (la_x32_gnu_pltenter): New function prototype.
23252         (la_x32_gnu_pltexit): Likewise.
23254 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
23256         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23257         exponent.
23259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23261         * configure.in (libc_cv_cc_nofma): Check for option to disable
23262         generation of FMA instructions.
23263         * configure: Regenerate.
23264         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23265         * sysdeps/ieee754/dbl-64/Makefile: New file.
23266         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23267         Remove brandred-fma4.
23268         (CFLAGS-brandred-fma4.c): Remove.
23269         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23270         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23271         define.
23272         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23273         define.
23275 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23277         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23278         LLONG_MAX != LONG_MAX.
23279         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23280         (_fitoa_word): Likewise.
23281         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23282         LLONG_MAX != LONG_MAX.
23283         * stdio-common/_itowa.h: Include <_itoa.h>.
23284         (_itowa_word): Use _ITOA_WORD_TYPE on value.
23285         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
23286         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
23287         only if not defined.
23288         (_ITOA_WORD_TYPE): Likewise.
23289         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23290         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23292 2012-03-21  David S. Miller  <davem@davemloft.net>
23294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23296 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23298         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23299         of x86_64 when setting libc_cv_slibdir, libdir and
23300         libc_cv_localedir.
23301         * sysdeps/unix/sysv/linux/configure: Regenerated.
23303 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23305         * manual/lang.texi (Old Varargs): Remove section.
23306         (How Variadic): Update menu.
23307         (va_start): Do not mention varargs.h.
23309 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23310             Joseph Myers  <joseph@codesourcery.com>
23312         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23313         link test.
23314         * configure: Regenerated.
23316 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23318         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23319         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23320         conformtest.pl
23322 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23324         * NOTES: Remove.
23325         * Makefile (files-for-dist): Remove NOTES.
23326         (NOTES): Remove rule.
23327         * README: Don't refer to NOTES.
23328         * manual/creature.texi: Don't include macros.texi.
23329         * manual/intro.texi (creature.texi): Remove comment referring to
23330         NOTES.
23332         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23333         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23334         * configure: Regenerated.
23335         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23336         LIBC_TRY_CC_OPTION.
23337         (libc_cv_as_i686): Likewise.
23338         (libc_cv_cc_avx): Likewise.
23339         (libc_cv_cc_sse2avx): Likewise.
23340         (libc_cv_cc_fma4): Likewise.
23341         (libc_cv_cc_novzeroupper): Likewise.
23342         * sysdeps/i386/configure: Regenerated.
23344         [BZ #13883]
23345         * sysdeps/i386/fpu/s_cexp.S: Remove.
23346         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23347         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23348         * math/libm-test.inc (cexp_test): Add more tests.
23349         * sysdeps/i386/fpu/libm-test-ulps: Update.
23350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23352 2012-03-21  Allan McRae  <allan@archlinux.org>
23354         * timezone/Makefile: Do not install iso3166.tab and zone.tab
23356 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23358         [BZ #13871]
23359         * math/w_exp2.c: Do not include <float.h>.
23360         (o_threshold, u_threshold): Remove.
23361         (__exp2): Calculate result before checking finiteness and calling
23362         __kernel_standard.
23363         * math/w_exp2f.c: Likewise.
23364         * math/w_exp2l.c: Likewise.
23365         * math/libm-test.inc (exp2_test): Require overflow exception for
23366         1e6 input.
23368         [BZ #3866]
23369         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23370         range of signed 64-bit integers before using fistpll.  Remove
23371         checks for whether integers fit in mantissa bits.
23372         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23373         the range of signed 32-bit integers before using fistpl.  Remove
23374         checks for whether integers fit in mantissa bits.
23375         * sysdeps/i386/fpu/e_powl.S (p64): New object.
23376         (__ieee754_powl): Test for y outside the range of signed 64-bit
23377         integers before using fistpll.  Reduce 64-bit values to 63-bit
23378         ones as needed.
23379         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23380         divide-by-zero is raised for zero to large negative powers.
23381         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23382         (__ieee754_powl): Test for y outside the range of signed 64-bit
23383         integers before using fistpll.  Reduce 64-bit values to 63-bit
23384         ones as needed.
23385         * math/libm-test.inc (pow_test): Add more tests.
23387 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23389         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23390         <stdio-common/_itoa.h>.
23391         * debug/segfault.c: Likewise.
23392         * elf/dl-cache.c: Likewise.
23393         * elf/dl-minimal.c: Likewise.
23394         * elf/dl-misc.c: Likewise.
23395         * elf/dl-sysdep.c: Likewise.
23396         * elf/dl-version.c: Likewise.
23397         * elf/rtld.c: Likewise.
23398         * hurd/hurdsock.c: Likewise.
23399         * hurd/lookup-retry.c: Likewise.
23400         * malloc/malloc.c: Likewise.
23401         * malloc/mtrace.c: Likewise.
23402         * nscd/nscd_getgr_r.c: Likewise.
23403         * nscd/nscd_getpw_r.c: Likewise.
23404         * nscd/nscd_getserv_r.c: Likewise.
23405         * posix/getopt_init.c: Likewise.
23406         * posix/wordexp.c: Likewise.
23407         * stdio-common/_itoa.c: Likewise.
23408         * stdio-common/printf_fphex.c: Likewise.
23409         * stdio-common/vfprintf.c: Likewise.
23410         * string/_strerror.c: Likewise.
23411         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23412         * sysdeps/i386/i686/hp-timing.h: Likewise.
23413         * sysdeps/mach/_strerror.c: Likewise.
23414         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23415         * sysdeps/mach/hurd/sethostid.c: Likewise.
23416         * sysdeps/mach/hurd/xmknodat.c: Likewise.
23417         * sysdeps/mach/xpg-strerror.c: Likewise.
23418         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23419         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23420         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23421         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23422         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23423         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23424         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23425         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23426         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23427         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23428         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23429         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23430         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23431         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23432         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23433         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23434         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23435         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23436         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23437         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23438         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23440         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23442         * stdio-common/_itoa.h: Moved to ...
23443         * sysdeps/generic/_itoa.h: Here.
23445         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23447         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23448         instead of "_itoa.h" and "_itowa.h".
23449         * stdio-common/vfprintf.: Likewise.
23451 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23453         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23454         <bits/wordsize.h>.
23455         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23456         (__signbit): Likwise.
23457         (llrintf): Likwise.
23458         (llrint): Likwise.
23460 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23462         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23463         __WORDSIZE != 64.
23465 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
23467         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23468         OVERFLOW_EXCEPTION_OK.
23469         * math/libm-test.inc ("Philosophy"): Update comment about
23470         exception testing.
23471         (OVERFLOW_EXCEPTION): Define.
23472         (OVERFLOW_EXCEPTION_OK): Likewise.
23473         (INVALID_EXCEPTION_OK): Renumber.
23474         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23475         (IGNORE_ZERO_INF_SIGN): Likewise.
23476         (test_exceptions): Handle FE_OVERFLOW.
23477         (exp10_test): Expect overflow exceptions.
23478         (exp2_test): Likewise.
23479         (expm1_test): Likewise.
23480         (nextafter_test): Likewise.
23481         (pow_test): Likewise.
23482         (scalbn_test): Likewise.
23483         (scalbln_test): Likewise.
23485 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23487         * sysdeps/x86_64/bits/atomic.h
23488         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23489         64bit integer.
23490         (atomic_exchange_acq): Likewise.
23491         (__arch_exchange_and_add_body): Likewise.
23492         (__arch_add_body): Likewise.
23493         (atomic_add_negative): Likewise.
23494         (atomic_add_zero): Likewise.
23496 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23498         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23499         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23501 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23503         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23504         Check __x86_64__ instead of __WORDSIZE.
23506 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23508         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23510 2012-03-19  David S. Miller  <davem@davemloft.net>
23512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23514         * sysdeps/sparc/fpu/fenv_private.h: New file.
23515         * sysdeps/sparc/fpu/math_private.h: Use it.
23516         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23517         Remove.
23518         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23519         (libc_feholdexcept_setroundl): Remove.
23520         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23521         Remove.
23522         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23523         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23525 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23527         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23528         int64_t instead of long int.
23529         (INSERT_WORDS64): Likwise.
23531 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23533         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23534         _Unwind_GetCFA return to _Unwind_Ptr first.
23536 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
23538         [BZ #13629]
23539         * math/s_clog.c: Include <float.h>.
23540         (__clog): Scale large or subnormal inputs.
23541         * math/s_clogf.c: Likewise.
23542         * math/s_clogl.c: Likewise.
23543         * math/s_clog10.c: Include <float.h>.
23544         (M_LOG10_2): Define.
23545         (__clog10): Scale large or subnormal inputs.
23546         * math/s_clog10f.c: Likewise.
23547         * math/s_clog10l.c: Likewise.
23548         * math/libm-test.inc (clog_test): Add more tests.
23549         (clog10_test): Likewise.
23550         * sysdeps/i386/fpu/libm-test-ulps: Update.
23551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23553         [BZ #11451]
23554         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23555         x and y.
23556         * math/libm-test.inc (atan2_test): Add another test.
23558         * Makerules (common-objdir-compile): Remove.
23559         * sysdeps/unix/Makefile (config-generated): Do not add
23560         $(unix-generated) to variable.
23561         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23562         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23563         Remove rule.
23564         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23565         Likewise.
23566         [generic bits/local_lim.h] (before-compile): Do not append to
23567         variable.
23568         [generic bits/local_lim.h] (common-generated): Likewise.
23569         [generic sys/param.h] (before-compile): Do not append to variable.
23570         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23571         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23572         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23573         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23574         include.
23575         [generic sys/param.h] (sys/param.h-includes): Remove variable.
23576         [generic sys/param.h] (sys/param.h-includes): Remove rule.
23577         [generic sys/param.h] ($(addprefix
23578         $(common-objpfx),$(sys/param.h-includes))): Likewise.
23579         [generic sys/param.h] (common-generated): Do not append to
23580         variable.
23581         [generic sys/param.h] (sysdep_headers): Likewise.
23582         [generic bits/errno.h] (before-compile): Do not append to
23583         variable.
23584         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23585         rule.
23586         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23587         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23588         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23589         [generic bits/errno.h] (common-generated): Do not append to
23590         variable.
23591         [generic bits/ioctls.h] (before-compile): Do not append to
23592         variable.
23593         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23594         rule.
23595         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23596         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23597         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23598         rule.
23599         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23600         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23601         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23602         [generic bits/ioctls.h] (common-generated): Do not append to
23603         variable.
23604         [generic sys/syscall.h] (syscall.h): Remove variable.
23605         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23606         rule.
23607         [generic sys/syscall.h] (before-compile): Do not append to
23608         variable.
23609         [generic sys/syscall.h] (common-generated): Likewise.
23610         * sysdeps/unix/errnos-tmpl.c: Remove file.
23611         * sysdeps/unix/errnos.awk: Likewise.
23612         * sysdeps/unix/ioctls-tmpl.c: Likewise.
23613         * sysdeps/unix/ioctls.awk: Likewise.
23614         * sysdeps/unix/mk-local_lim.c: Likewise.
23615         * sysdeps/unix/snarf-ioctls: Likewise.
23617 2012-03-19  Richard Henderson  <rth@twiddle.net>
23619         * sysdeps/i386/fpu/fenv_private.h: New file.
23620         * sysdeps/i386/fpu/math_private.h: Use it.
23621         (math_opt_barrier, math_force_eval): Remove.
23622         (libc_feholdexcept_setround_53bit): Remove.
23623         (libc_feupdateenv_53bit): Remove.
23624         * sysdeps/x86_64/fpu/math_private.h: Likewise.
23625         (math_opt_barrier, math_force_eval): Remove.
23626         (libc_feholdexcept): Remove.
23627         (libc_feholdexcept_setround): Remove.
23628         (libc_fetestexcept, libc_fesetenv): Remove.
23629         (libc_feupdateenv_test): Remove.
23630         (libc_feupdateenv, libc_feholdsetround): Remove.
23631         (libc_feresetround): Remove.
23633         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23634         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23636         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23637         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23638         (libc_feupdateenv_testl): New.
23639         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23640         (libc_feupdateenv_testf): New.
23641         (libc_feupdateenv): Use libc_feupdateenv_test.
23642         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23643         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23645         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23646         (libc_feholdsetroundf, libc_feholdsetroundl): New.
23647         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23648         (libc_feresetround_noex): New.
23649         (libc_feresetround_noexf): New.
23650         (libc_feresetround_noexl): New.
23651         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23652         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23653         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23654         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23655         SET_RESTORE_ROUND.
23656         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23657         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23658         (__cos): Likewise.
23659         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23660         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23661         SET_RESTORE_ROUND_NOEX.
23662         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23663         SET_RESTORE_ROUND_NOEXF.
23664         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23665         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23666         (libc_feholdsetroundf): New.
23667         (libc_feresetround, libc_feresetroundf): New.
23669         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23670         (libc_feholdexcept_setround_53bit): Convert from macro to function.
23671         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
23673         * sysdeps/generic/math_private.h: Include <fenv.h>.
23674         (default_libc_feholdexcept): New.
23675         (default_libc_feholdexcept_setround): New.
23676         (default_libc_fesetenv, default_libc_feupdateenv): New.
23677         (libc_feholdexcept): Only define if undefined.
23678         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23679         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23680         (libc_feholdexcept_setroundl): Likewise.
23681         (libc_feholdexcept_setround_53bit): Likewise.
23682         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23683         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23684         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23685         (libc_feupdateenv_53bit): Likewise.
23686         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23687         (libc_feholdexcept): Convert from macro to inline function.
23688         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23689         (libc_fesetenv, libc_feupdateenv): Likewise.
23691         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23692         not previously defined.
23693         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23694         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23695         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23696         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23697         * sysdeps/ieee754/flt-32/math_private.h: New file.
23698         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23699         math_private.h below SET_FLOAT_WORD.
23700         (__isnan, __isinf_ns, __finite): Remove.
23701         (__isnanf, __isinf_nsf, __finitef): Remove.
23703 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
23705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23707 2012-03-17  David S. Miller  <davem@davemloft.net>
23709         [BZ #6471]
23710         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23711         for 2.16.
23713 2012-03-16  David S. Miller  <davem@davemloft.net>
23715         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23716         warnings.
23718         [BZ #6471]
23719         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23720         properly.
23721         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23722         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23723         sysdep_routines when subdir is sysvipc.
23724         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23725         __getshmlba helper.
23727         * sysdeps/sparc/fpu/libm-test/ulps: Update.
23729 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23731         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23732         [__LP64__].
23734 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23736         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23737         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23738         (__lround): Renamed to ...
23739         (__llround): This.  Replace long int with long long int.
23740         Define lround functions as aliases of llround functions.
23741         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23743 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23745         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23746         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
23747         adresses to uintptr_t.  Replace "long int" and "unsigned long
23748         int" with "greg_t" on va_arg.
23750 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23752         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23753         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23755         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23756         Move e_machine check before EI_CLASS check.  Handle x32
23757         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23758         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23759         SKIP_EM_IA_64 and include
23760         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23762         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23763         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23764         (add_system_dir): New macro.
23766         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23767         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23769 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23771         [BZ #2551]
23772         [BZ #2552]
23773         [BZ #2553]
23774         [BZ #2554]
23775         [BZ #2562]
23776         [BZ #2563]
23777         [BZ #2565]
23778         [BZ #2566]
23779         [BZ #2576]
23780         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23781         (y0): Likewise.
23782         * math/w_j0f.c (j0f): Likewise.
23783         (y0f): Likewise.
23784         * math/w_j0l.c (__j0l): Likewise.
23785         (__y0l): Likewise.
23786         * math/w_j1.c (j1): Likewise.
23787         (y1): Likewise.
23788         * math/w_j1f.c (j1f): Likewise.
23789         (y1f): Likewise.
23790         * math/w_j1l.c (__j1l): Likewise.
23791         (__y1l): Likewise.
23792         * math/w_jn.c (jn): Likewise.
23793         (yn): Likewise.
23794         * math/w_jnf.c (jnf): Likewise.
23795         (ynf): Likewise.
23796         * math/w_jnl.c (__jnl): Likewise.
23797         (__ynl): Likewise.
23798         * math/libm-test.inc (j0_test): Add more tests.
23799         (j1_test): Likewise.
23800         (jn_test): Likewise.  Add trailing semicolon to existing test.
23801         (y0_test): Likewise.
23802         (y1_test): Likewise.
23803         * sysdeps/i386/fpu/libm-test-ulps: Update.
23804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23806         [BZ #13851]
23807         [BZ #13854]
23808         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23809         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23810         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23811         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23812         (__tanl): Set errno for infinite argument.
23813         * sysdeps/i386/fpu/mptan.c: Remove.
23814         * sysdeps/i386/fpu/s_tan.S: Likewise.
23815         * sysdeps/i386/fpu/s_tanl.S: Likewise.
23816         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23817         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23818         * math/libm-test.inc (tan_test): Add more tests and enable more
23819         tests for double and long double.
23820         * sysdeps/i386/fpu/libm-test-ulps: Update.
23821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23823 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
23825         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23826         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23828 2012-03-16  Roland McGrath  <roland@hack.frob.com>
23830         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23831         * configure.in: Use it for both main tree and add-ons.
23832         * configure: Regenerated.
23834 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23836         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23838 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23840         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23841         in comment.
23843         [BZ #13851]
23844         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23845         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23846         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23847         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23848         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23849         infinite argument.
23850         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23851         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23852         != 0 for prec == 2.
23853         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23854         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23855         * sysdeps/i386/fpu/s_cosl.S: Likewise.
23856         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23857         * sysdeps/i386/fpu/s_sinl.S: Likewise.
23858         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23859         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23860         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23861         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23862         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23863         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23864         * math/libm-test.inc (cos_test): Add more tests and enable more
23865         tests for long double.
23866         (sin_test): Likewise.
23867         (sincos_test): Likewise.
23868         * sysdeps/i386/fpu/libm-test-ulps: Update.
23869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23871 2012-03-16  David S. Miller  <davem@davemloft.net>
23873         * sysdeps/sparc/fpu/math_private.h: New file.
23875 2012-03-15  David S. Miller  <davem@davemloft.net>
23877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23878         file.
23879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23881         file.
23882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23883         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23884         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23885         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23887         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23888         sysdep routines.
23889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23891         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23892         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23894         * sysdeps/sparc/sparc-ifunc.h: New file.
23895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23896         sparc-ifunc.h
23897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23899         Likewise.
23900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23901         Likewise.
23902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23906         Likewise.
23907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23912         Likewise.
23913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23914         Likewise.
23915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23919         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23920         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23921         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23922         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23923         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23924         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23925         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23926         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23927         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23928         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23929         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23930         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23931         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23932         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23933         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23934         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23935         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23936         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23937         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23938         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23940 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
23942         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23943         scaling.
23944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23946 2012-03-15  Andreas Jaeger  <aj@suse.de>
23948         [BZ #13852]
23949         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23950         ieee754/flt-32 implementation for sin, cos and sincos.
23951         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23952         * sysdeps/i386/fpu/s_cosf.S: Likewise.
23953         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23954         * sysdeps/i386/fpu/s_sinf.S: Likewise.
23955         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23956         ieee754/flt-32 implementation for tan.
23958         * math/libm-test.inc (cos_test): Enable some large input tests for
23959         float as well
23960         (sin_test): Likewise.
23961         (sincos_test): Likewise.
23962         (tan_test): Add tests for large input.
23964         * sysdeps/i386/fpu/libm-test-ulps: Update.
23966 2012-03-15  Andreas Jaeger  <aj@suse.de>
23968         [BZ #13658]
23969         * math/libm-test.inc (cos_test): Add more test cases.
23970         (sin_test): Likewise.
23971         (sincos_test): Likewise.
23973 2012-03-15  Andreas Jaeger  <aj@suse.de>
23975         [BZ #13837]
23976         * math/libm-test.inc (cos_test): Add a test case for large input
23977         value.
23978         (sin_test): Likewise.
23979         (sincos_test): Likewise.
23981 2012-03-15  Andreas Jaeger  <aj@suse.de>,
23982         Joseph Myers  <joseph@codesourcery.com>
23984         [BZ #13658]
23985         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23986         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23987         * sysdeps/i386/fpu/branred.c: Likewise.
23988         * sysdeps/i386/fpu/dosincos.c: Likewise.
23989         * sysdeps/i386/fpu/mpa.c: Likewise.
23990         * sysdeps/i386/fpu/s_cos.S: Likewise.
23991         * sysdeps/i386/fpu/s_sin.S: Likewise.
23992         * sysdeps/i386/fpu/s_sincos.S: Likewise.
23993         * sysdeps/i386/fpu/sincos32.c: Likewise.
23995         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23996         Define.
23997         (libc_feupdateenv_53bit): Define.
23998         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23999         Define.
24000         (libc_feupdateenv_53bit): Define.
24002         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24003         53 bit (without extend i386 double precision).
24005         * math/libm-test.inc (sincos_test): Add tests for large input.
24006         (sin): Likewise.
24007         (cos): Likewise.
24009         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24011 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24015 2012-03-15  David S. Miller  <davem@davemloft.net>
24017         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24018         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24019         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24020         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24025         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24026         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24027         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24028         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24029         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24030         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24031         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24033         file.
24034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24036         file.
24037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24039         file.
24040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24042         file.
24043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24044         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24045         fmin/fmax sysdep routines.
24046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24048 2012-03-14  David S. Miller  <davem@davemloft.net>
24050         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24051         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24052         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24053         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24054         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24055         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24056         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24057         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24058         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24059         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24060         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24061         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24062         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24063         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24064         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24065         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24066         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24067         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24068         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24069         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24070         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24071         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24072         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24073         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24074         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24075         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24076         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24077         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24078         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24079         routines.
24080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24081         file.
24082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24084         file.
24085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24087         file.
24088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24090         file.
24091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24093         file.
24094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24096         file.
24097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24098         file.
24099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24100         file.
24101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24102         file.
24103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24104         New file.
24105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24106         file.
24107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24108         file.
24109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24111         file.
24112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24114         file.
24115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24117         file.
24118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24120         VIS3 routines.
24122         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24123         New file.
24125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24127         * sysdeps/sparc/configure.in: New file.
24128         * sysdeps/sparc/configure: Generate.
24129         * configure.in (libc_cv_sparc_as_vis3): Substitute.
24130         * configure: Regenerate.
24131         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24132         * config.make.in (have-as-vis3): New.
24133         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24134         available use -Av9d instead of -Av9a.
24135         * sysdeps/sparc/sparc64/Makefile: Likewise.
24136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24138         New file.
24139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24140         file.
24141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24142         New file.
24143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24144         file.
24145         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24146         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24147         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24148         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24149         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24151         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24152         fzeros/fnegs to load 0x80000000 into a float register instead of
24153         using the stack.
24154         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24156 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
24158         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24159         bits/syscall.h.
24160         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24161         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24162         ($(inst_includedir)/bits/syscall.h): Remove rule.
24163         ($(objpfx)bits/syscall.d): Include instead of
24164         $(objpfx)syscall-list.d.
24165         (generated): Change syscall-list.h and syscall-list.d to
24166         bits/syscall.h and bits/syscall.d.
24168 2012-03-14  Roland McGrath  <roland@hack.frob.com>
24170         [BZ #13846]
24171         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24173 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
24175         [BZ #13841]
24176         * math/s_csqrt.c: Include <float.h>.
24177         (__csqrt): Scale large or subnormal inputs.
24178         * math/s_csqrtf.c: Likewise.
24179         * math/s_csqrtl.c: Likewise.
24180         * math/libm-test.inc (csqrt_test): Add more tests.
24181         * sysdeps/i386/fpu/libm-test-ulps: Update.
24182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24184         [BZ #13840]
24185         * math/libm-test.inc (hypot_test): Add more tests.
24187 2012-03-13  David S. Miller  <davem@davemloft.net>
24189         [BZ #13840]
24190         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24191         double-precision for the calculation instead of scaling.
24193 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
24195         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24196         manipulate bits before adding and subtracting TWO52[sx].
24197         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24198         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24199         Likewise.
24200         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24202 2012-03-13  David S. Miller  <davem@davemloft.net>
24204         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24205         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24206         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24207         rtld-global-offsets.h
24208         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24210         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24211         large parameters.
24213         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24215         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24216         'err' in the ifdef scope in which it is actually used.
24218         * nss/nss_db/db-init.c: Include string.h
24220 2012-03-12  David S. Miller  <davem@davemloft.net>
24222         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24223         masking out of the most significant byte of random value used.
24224         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24225         Fix coding style in previous change.
24227         * sysdeps/unix/sysv/linux/kernel-features.h
24228         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24229         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24230         expression.
24231         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24232         later.
24234 2012-03-11  David S. Miller  <davem@davemloft.net>
24236         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24237         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24238         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24239         for 'resultvar' otherwise things get truncated on 64-bit.
24241         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24242         Fix masking out of the most significant byte of random value used.
24244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24246 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
24248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24250 2012-03-09  David S. Miller  <davem@davemloft.net>
24252         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24253         variables with appropriate CPP guards.
24254         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24255         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
24256         on resulting framesize and the management of the outregs buffer for pltexit.
24257         Preserve floating point return values across _dl_call_pltexit call.
24258         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24259         framesize and the management of the outregs buffer for pltexit.
24260         Preserve floating point return values across _dl_call_pltexit
24261         call.
24262         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24263         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24264         (print_exit): Fix format string for return register value.
24266 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
24268         * sunrpc/Makefile (others): Add rpcgen.
24269         ($(objpfx)rpcgen): Remove special build rule and dependency on
24270         libc.
24271         * sunrpc/rpcgen.c: New file.
24273 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
24275         [BZ #13673]
24276         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24277         * stdio-common/bug-vfprintf-nargs.c: Likewise.
24278         * sysdeps/i386/crti.S: Likewise.
24279         * sysdeps/i386/crtn.S: Likewise.
24280         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24281         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24282         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24283         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24284         * sysdeps/sh/crti.S: Likewise.
24285         * sysdeps/sh/crtn.S: Likewise.
24286         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24288         [BZ #13673]
24289         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24290         with URL.
24291         * locale/programs/locfile-kw.gperf: Likewise.
24292         * locale/programs/charmap-kw.h: Regenerated.
24293         * locale/programs/locfile-kw.h: Likewise.
24295         [BZ #13673]
24296         * intl/plural.y: Replace FSF snail mail address with URL.
24297         * intl/plural.c: Regenerated.
24299 2012-03-09  Richard Henderson  <rth@twiddle.net>
24301         * include/math_private.h: Remove file.
24302         * math/math_private.h: Move file ...
24303         * sysdeps/generic/math_private.h: ... here.
24305         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24306         * sysdeps/powerpc/fpu/math_private.h: Likewise.
24307         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24309         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24310         and <math_private.h>.
24311         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24312         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24313         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24314         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24315         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24316         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24317         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24318         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24319         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24320         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24321         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24322         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24323         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24324         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24325         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24326         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24327         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24328         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24329         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24330         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24331         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24332         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24333         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24334         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24335         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24336         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24337         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24338         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24339         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24340         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24341         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24342         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24343         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24344         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24345         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24346         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24347         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24348         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24349         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24350         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24351         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24352         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24353         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24354         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24355         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24356         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24357         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24358         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24359         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24360         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24361         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24362         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24363         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24364         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24365         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24366         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24367         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24368         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24369         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24370         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24371         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24372         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24373         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24374         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24375         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24376         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24377         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24378         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24379         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24380         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24381         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24382         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24383         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24384         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24385         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24386         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24387         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24388         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24389         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24390         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24391         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24392         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24393         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24394         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24395         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24396         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24397         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24398         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24399         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24400         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24401         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24402         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24403         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24404         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24405         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24406         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24407         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24408         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24409         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24410         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24411         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24412         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24413         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24414         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24415         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24416         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24417         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24418         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24419         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24420         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24421         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24422         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24423         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24424         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24425         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24426         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24427         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24428         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24429         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24430         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24431         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24432         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24433         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24434         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24435         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24436         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24437         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24438         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24439         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24440         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24441         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24442         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24443         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24444         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24445         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24446         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24447         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24448         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24449         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24450         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24451         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24452         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24453         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24454         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24455         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24456         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24457         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24458         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24459         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24460         * sysdeps/ieee754/k_standard.c: Likewise.
24461         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24462         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24463         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24464         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24465         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24466         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24467         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24468         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24469         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24470         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24471         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24472         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24473         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24474         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24475         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24476         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24477         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24478         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24479         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24480         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24481         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24482         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24483         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24484         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24485         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24486         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24487         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24488         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24489         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24490         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24491         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24492         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24493         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24494         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24495         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24496         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24497         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24498         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24499         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24500         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24501         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24502         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24503         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24504         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24505         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24506         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24507         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24508         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24509         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24510         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24511         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24512         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24513         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24514         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24515         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24516         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24517         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24518         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24519         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24520         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24521         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24522         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24523         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24524         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24525         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24526         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24527         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24528         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24529         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24530         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24531         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24532         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24533         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24534         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24535         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24536         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24537         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24538         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24539         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24540         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24541         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24542         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24543         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24544         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24545         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24546         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24547         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24548         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24549         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24550         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24551         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24552         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24553         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24554         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24555         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24556         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24557         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24558         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24559         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24560         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24561         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24562         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24563         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24564         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24565         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24566         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24567         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24568         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24569         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24570         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24571         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24572         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24573         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24574         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24575         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24576         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24577         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24578         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24579         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24580         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24581         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24582         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24583         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24584         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24585         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24586         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24587         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24588         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24589         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24590         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24591         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24592         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24593         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24594         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24595         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24596         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24597         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24598         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24599         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24600         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24601         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24602         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24603         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24604         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24605         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24606         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24607         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24608         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24609         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24610         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24611         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24612         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24613         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24614         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24615         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24616         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24617         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24618         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24619         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24620         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24621         * sysdeps/ieee754/s_lib_version.c: Likewise.
24622         * sysdeps/ieee754/s_matherr.c: Likewise.
24623         * sysdeps/ieee754/s_signgam.c: Likewise.
24624         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24625         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24626         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24627         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24628         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24629         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24630         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24631         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24632         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24633         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24634         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24635         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24636         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24637         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24638         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24639         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24640         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24641         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24642         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24643         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24644         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24646 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24648         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24649         * sunrpc/rpc_main.c: Likewise.
24650         * sunrpc/rpc_svcout.c: Likewise.
24652 2012-03-09  David S. Miller  <davem@davemloft.net>
24654         * include/math_private.h: New file.
24656 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24658         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24659         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24660         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24661         from <bits/socket_type.h>.
24662         (enum __socket_type): Don't define here.
24663         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24664         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24665         bits/socket_type.h.
24667         [BZ #13566]
24668         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24669         checking __USE_GNU.
24671         * Makerules ($(inst_includedir)/%.h): New rule.
24672         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24673         (install-others): Remove variable setting.
24674         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24676 2012-03-08  Richard Henderson  <rth@twiddle.net>
24678         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24679         from macro to inline function; merge with the
24680         !__LIBC_INTERNAL_MATH_INLINES version.
24681         (__ieee754_sqrtf): Likewise.
24683         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24684         to inline function.
24685         (__rintf, __floor, __floorf): Likewise.
24687         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24688         macro to inline function.
24689         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24691         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24692         not <math/math_private.h>.
24694 2012-03-08  David S. Miller  <davem@davemloft.net>
24696         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24697         copyright year.
24698         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24700 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
24702         * resolv/gai_misc.c (handle_requests): Fix struct timespec
24703         normalization.
24704         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24705         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24707 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
24709         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
24710         be defined individually, they must be defined as a block.  Define
24711         S for printing a string instead of hidint the different by using a
24712         macro for adding the 'l'.
24713         * stdio-common/tst-fphex-wide.c: Adjust.
24715 2012-03-07  Marek Polacek  <polacek@redhat.com>
24717         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24719 2012-03-08  Marek Polacek  <polacek@redhat.com>
24721         [BZ #13806]
24722         * stdio-common/Makefile (tests): Add tst-fphex-wide.
24723         * stdio-common/tst-fphex.c: Define a few macros to make the
24724         test reusable.  Use them.
24725         * stdio-common/tst-fphex-wide.c: New file.
24727 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
24729         [BZ #6911]
24730         * manual/macros.texi (gnusystems): New macro.
24731         (nongnusystems): Likewise.
24732         (gnulinuxhurdsystems): Likewise.
24733         (gnuhurdsystems): Likewise..
24734         (gnulinuxsystems): Likewise.
24735         * manual/charset.texi: Use new macros or @theglibc{} to refer to
24736         variants of the GNU system, not "GNU system".
24737         * manual/conf.texi: Likewise.
24738         * manual/errno.texi: Likewise.  Update example of errno macro
24739         expansion.
24740         * manual/filesys.texi: Likewise.
24741         (getumask): Document as specific to GNU/Hurd.
24742         * manual/install.texi: Likewise.  Reword some references to
24743         GNU/Linux.
24744         * manual/intro.texi: Likewise.
24745         * manual/io.texi: Likewise.
24746         (File Name Portability): Detail which constraints are inapplicable
24747         to all GNU systems and which are only inapplicable to GNU/Hurd.
24748         * manual/job.texi: Likewise.
24749         * manual/llio.texi: Likewise.
24750         (O_NOCTTY): Document as present on GNU/Linux.
24751         * manual/maint.texi: Likewise.
24752         * manual/memory.texi: Likewise.
24753         * manual/pattern.texi: Likewise.
24754         * manual/pipe.texi: Likewise.
24755         * manual/process.texi: Likewise.
24756         * manual/resource.texi: Likewise.
24757         (RUSAGE_CHILDREN): Remove statement about specifying a particular
24758         child on GNU/Hurd.
24759         * manual/setjmp.texi: Likewise.
24760         * manual/signal.texi: Likewise.
24761         * manual/startup.texi: Likewise.
24762         * manual/stdio.texi: Likewise.
24763         * manual/terminal.texi: Likewise.
24764         (ONLCR): Document as POSIX.
24765         (OXTABS): Document availability on GNU/Linux as XTABS.
24766         (ONOEOT): Document availability separately from other bits.
24767         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24768         * manual/time.texi: Likewise.
24769         * manual/users.texi: Likewise.
24770         * INSTALL: Regenerated.
24771         * sysdeps/gnu/errlist.c: Regenerated.
24773         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24774         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24775         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
24776         puts.
24777         * configure: Regenerated.
24779 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
24781         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24782         default includes instead of AC_HEADER_CHECK.
24783         * sysdeps/i386/configure: Regenerated.
24785         [BZ #10716]
24786         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24787         * math/s_cacoshf.c (__cacoshf): Likewise.
24788         * math/s_cacoshl.c (__cacoshl): Likewise.
24789         * math/s_casinh.c (__casinh): Set signs of result from argument.
24790         * math/s_casinhf.c (__casinhf): Likewise.
24791         * math/s_casinhl.c (__casinhl): Likewise.
24792         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24793         (casinh_test): Add more tests.
24794         * sysdeps/i386/fpu/libm-test-ulps: Update.
24795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24797 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
24799         * po/zh_TW.po: Update from translation team.
24801         * login/Makefile (distribute): Remove variable.
24802         * catgets/Makefile: Likewise.
24803         * mach/Makefile: Likewise.
24804         * malloc/Makefile: Likewise.
24805         * misc/Makefile: Likewise.
24806         * iconv/Makefile: Likewise.
24807         * nscd/Makefile: Likewise.
24808         * hurd/Makefile: Likewise.
24809         * manual/Makefile: Likewise.
24810         * locale/Makefile: Likewise.
24811         * intl/Makefile: Likewise.
24812         * conform/Makefile: Likewise.
24813         * nss/Makefile: Likewise.
24814         * time/Makefile: Likewise.
24815         * soft-fp/Makefile: Likewise.
24816         * dirent/Makefile: Likewise.
24817         * gmon/Makefile: Likewise.
24818         * po/Makefile: Likewise.
24819         * rt/Makefile: Likewise.
24820         * socket/Makefile: Likewise.
24821         * math/Makefile: Likewise.
24822         * signal/Makefile: Likewise.
24823         * debug/Makefile: Likewise.
24824         * elf/Makefile: Likewise.
24825         * timezone/Makefile: Likewise.
24826         * stdlib/Makefile: Likewise.
24827         * iconvdata/Makefile: Likewise.
24828         * sunrpc/Makefile: Likewise.
24829         * io/Makefile: Likewise.
24830         * argp/Makefile: Likewise.
24831         * inet/Makefile: Likewise.
24832         * hesiod/Makefile: Likewise.
24833         * grp/Makefile: Likewise.
24834         * csu/Makefile: Likewise.
24835         * wctype/Makefile: Likewise.
24836         * crypt/Makefile: Likewise.
24837         * libio/Makefile: Likewise.
24838         * string/Makefile: Likewise.
24839         * nis/Makefile: Likewise.
24840         * resolv/Makefile: Likewise.
24841         * stdio-common/Makefile: Likewise.
24842         * wcsmbs/Makefile: Likewise.
24843         * dlfcn/Makefile: Likewise.
24844         * posix/Makefile: Likewise.
24846         [BZ #6959]
24847         * timezone/Makefile: Don't install timezone files, just the programs
24848         and scripts.
24850 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
24852         * nss/databases.def: Add missing gshadow entry.
24854         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
24856 2012-03-06  Marek Polacek  <polacek@redhat.com>
24858         [BZ #13726]
24859         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24860         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24861         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24862         * stdio-common/tst-long-dbl-fphex.c: New file.
24864 2012-03-06  David S. Miller  <davem@davemloft.net>
24866         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24867         (set_obp_int): New function.
24868         (get_obp_int): New function.
24869         (__get_clockfreq_via_dev_openprom): Likewise.
24870         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24871         Avoid unused variable warnings on 'val' and use builtin_expect.
24872         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24873         __builtin_expect.
24874         (INLINE_CLONE_SYSCALL): Likewise.
24876 2012-03-05  David S. Miller  <davem@davemloft.net>
24878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24880 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
24882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24884         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24885         only for |x| >= 40.
24886         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24888 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24890         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24891         Replace gettimeofday with __vdso_gettimeofday.
24893         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24894         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24895         __vdso_clock_gettime and __vdso_getcpu.
24897         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24898         time with __vdso_time.
24900 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
24902         * manual/lang.texi (size_t): Note types to which size_t may be
24903         equivalent with the GNU C Library, but do not describe when
24904         differences between them are significant.
24906 2012-03-05  Andreas Jaeger  <aj@suse.de>
24908         * sysdeps/i386/fpu/libm-test-ulps: Update.
24910 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
24912         [BZ #3976]
24913         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24914         (__ieee754_pow): Save and restore rounding mode and use
24915         round-to-nearest for main computations.
24916         * math/libm-test.inc (pow_test_tonearest): New function.
24917         (pow_test_towardzero): Likewise.
24918         (pow_test_downward): Likewise.
24919         (pow_test_upward): Likewise.
24920         (main): Call the new functions.
24921         * sysdeps/i386/fpu/libm-test-ulps: Update.
24922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24924         [BZ #3976]
24925         * math/libm-test.inc (cosh_test_tonearest): New function.
24926         (cosh_test_towardzero): Likewise.
24927         (cosh_test_downward): Likewise.
24928         (cosh_test_upward): Likewise.
24929         (sinh_test_tonearest): Likewise.
24930         (sinh_test_towardzero): Likewise.
24931         (sinh_test_downward): Likewise.
24932         (sinh_test_upward): Likewise.
24933         (main): Call the new functions.
24934         * sysdeps/i386/fpu/libm-test-ulps: Update.
24935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24937 2012-03-05  Tom de Vries  <tom@codesourcery.com>
24939         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24940         default stack guard is set in last bytes.
24941         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24943 2012-03-05  Kees Cook  <keescook@chromium.org>
24945         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24947         [BZ #13656]
24948         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24949         possibly allocate from heap instead of stack.
24950         * stdio-common/bug-vfprintf-nargs.c: New file.
24951         * stdio-common/Makefile (tests): Add nargs overflow test.
24953 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
24955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24957 2012-03-03  Marek Polacek  <polacek@redhat.com>
24959         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24960         * math/math_private.h: Likewise.
24961         * stdlib/tst-strtod.c: Likewise.
24962         * sysdeps/i386/i486/bits/atomic.h: Likewise.
24963         * sysdeps/x86_64/bits/atomic.h: Likewise.
24965 2012-03-02  David S. Miller  <davem@davemloft.net>
24967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24971         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24972         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24973         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24974         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24976 2012-03-02  Roland McGrath  <roland@hack.frob.com>
24978         [BZ #13792]
24979         * manual/examples/README: New file, says the example source files
24980         can be used under GPL>=2.
24981         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24982         line containing just "*/".
24983         * manual/examples/add.c: Add copyright header (GPL>=2).
24984         * manual/examples/argp-ex1.c: Likewise.
24985         * manual/examples/argp-ex2.c: Likewise.
24986         * manual/examples/argp-ex3.c: Likewise.
24987         * manual/examples/argp-ex4.c: Likewise.
24988         * manual/examples/atexit.c: Likewise.
24989         * manual/examples/db.c: Likewise.
24990         * manual/examples/dir.c: Likewise.
24991         * manual/examples/dir2.c: Likewise.
24992         * manual/examples/execinfo.c: Likewise.
24993         * manual/examples/filecli.c: Likewise.
24994         * manual/examples/filesrv.c: Likewise.
24995         * manual/examples/fmtmsgexpl.c: Likewise.
24996         * manual/examples/genpass.c: Likewise.
24997         * manual/examples/inetcli.c: Likewise.
24998         * manual/examples/inetsrv.c: Likewise.
24999         * manual/examples/isockad.c: Likewise.
25000         * manual/examples/longopt.c: Likewise.
25001         * manual/examples/memopen.c: Likewise.
25002         * manual/examples/memstrm.c: Likewise.
25003         * manual/examples/mkfsock.c: Likewise.
25004         * manual/examples/mkisock.c: Likewise.
25005         * manual/examples/mygetpass.c: Likewise.
25006         * manual/examples/pipe.c: Likewise.
25007         * manual/examples/popen.c: Likewise.
25008         * manual/examples/rprintf.c: Likewise.
25009         * manual/examples/search.c: Likewise.
25010         * manual/examples/select.c: Likewise.
25011         * manual/examples/setjmp.c: Likewise.
25012         * manual/examples/sigh1.c: Likewise.
25013         * manual/examples/sigusr.c: Likewise.
25014         * manual/examples/stpcpy.c: Likewise.
25015         * manual/examples/strdupa.c: Likewise.
25016         * manual/examples/strftim.c: Likewise.
25017         * manual/examples/strncat.c: Likewise.
25018         * manual/examples/subopt.c: Likewise.
25019         * manual/examples/swapcontext.c: Likewise.
25020         * manual/examples/termios.c: Likewise.
25021         * manual/examples/testopt.c: Likewise.
25022         * manual/examples/testpass.c: Likewise.
25023         * manual/examples/timeval_subtract.c: Likewise.
25025         [BZ #13792]
25026         * manual/time.texi (Elapsed Time): Move timeval_subtract example
25027         function to ...
25028         * manual/timeval_subtract.c.texi: ... here, new file.
25030 2012-03-02  David S. Miller  <davem@davemloft.net>
25032         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25034 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
25036         [BZ #3976]
25037         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25038         (__sin): Save and restore rounding mode and use round-to-nearest
25039         for all computations.
25040         (__cos): Save and restore rounding mode and use round-to-nearest
25041         for all computations.
25042         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25043         <fenv.h>.
25044         (tan): Save and restore rounding mode and use round-to-nearest for
25045         all computations.
25046         * math/libm-test.inc (cos_test_tonearest): New function.
25047         (cos_test_towardzero): Likewise.
25048         (cos_test_downward): Likewise.
25049         (cos_test_upward): Likewise.
25050         (sin_test_tonearest): Likewise.
25051         (sin_test_towardzero): Likewise.
25052         (sin_test_downward): Likewise.
25053         (sin_test_upward): Likewise.
25054         (tan_test_tonearest): Likewise.
25055         (tan_test_towardzero): Likewise.
25056         (tan_test_downward): Likewise.
25057         (tan_test_upward): Likewise.
25058         (main): Call the new functions.
25059         * sysdeps/i386/fpu/libm-test-ulps: Update.
25060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25062         [BZ #10135]
25063         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25064         small n, then large n, before computing and testing k+n.
25065         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25066         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25067         Likewise.
25068         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25069         Likewise.
25070         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25071         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25072         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25073         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25074         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25075         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25076         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25077         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25078         * math/libm-test.inc (scalbn_test): Add more tests.
25079         (scalbln_test): Likewise.
25081         * manual/filesys.texi (mode_t): Describe constraints on size and
25082         signedness, not exact equivalence to a particular type.
25083         (ino_t): Likewise.
25084         (ino64_t): Likewise.
25085         (dev_t): Likewise.
25086         (nlink_t): Likewise.
25087         (blkcnt_t): Likewise.
25088         (blkcnt64_t): Likewise.
25089         * manual/llio.texi (off_t): Likewise.
25091         [BZ #3976]
25092         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25093         (__ieee754_exp): Save and restore rounding mode and use
25094         round-to-nearest for all computations.
25095         * math/libm-test.inc (exp_test_tonearest): New function.
25096         (exp_test_towardzero): Likewise.
25097         (exp_test_downward): Likewise.
25098         (exp_test_upward): Likewise.
25099         (main): Call the new functions.
25100         * sysdeps/i386/fpu/libm-test-ulps: Update.
25101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25103 2012-03-01  Chris Demetriou  <cgd@google.com>
25105         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25106         have predictable order.
25108 2012-03-01  David S. Miller  <davem@davemloft.net>
25110         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25112         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25113         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25114         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25115         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25117         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25118         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25119         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25121         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25122         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25123         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25124         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25125         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25129         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25130         * sysdeps/sparc/fpu/libm-test-ulps: to here.
25131         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25133         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25134         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25135         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25136         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25137         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25138         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25139         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25140         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25141         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25142         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25143         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25144         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25145         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25146         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25147         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25148         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25149         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25150         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25151         * sysdeps/sparc/elf/configure: Regenerated.
25153 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
25155         * configure.in (AS, LD): Require binutils 2.20 or later.
25156         * configure: Regenerated.
25157         * manual/install.texi (Tools for Compilation): Give binutils 2.20
25158         as required minimum version.
25159         * INSTALL: Regenerated.
25161         [BZ #2541]
25162         [BZ #4108]
25163         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25164         before squaring exponent.
25165         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25166         bottom long double and 27 bits of top long double before squaring
25167         exponent.
25168         * math/libm-test.inc (erfc_test): Add more tests.
25169         * sysdeps/i386/fpu/libm-test-ulps: Update.
25170         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25173 2012-03-01  Kai Tietz  <ktietz@redhat.com>
25175         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25176         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25177         containing bit-fields.
25178         * soft-fp/extended.h (_FP_UNION_E): Likewise.
25179         * soft-fp/single.h (_FP_UNION_S): Likewise.
25180         * soft-fp/double.h (_FP_UNION_D): Likewise.
25182 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
25184         [BZ #13786]
25185         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25186         not include ../strcmp.S.
25187         [USE_AS_STRNCASECMP_L]: Likewise.
25188         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25189         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25190         * sysdeps/i386/i686/multiarch/strncase_l-c.c
25191         (__strncasecmp_l_ia32): Define as alias to
25192         __strncasecmp_l_nonascii.
25194         [BZ #5794]
25195         * math/libm-test.inc (expm1_test): Add test for bug 5794.
25196         * sysdeps/i386/fpu/libm-test-ulps: Update.
25197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25199         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25202 2012-02-29  Jeff Law  <law@redhat.com>
25204         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25205         out of bounds read.
25207 2012-02-29  Marek Polacek  <polacek@redhat.com>
25209         [BZ #13706]
25210         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25211         * elf/Makefile: Add rules to run tst-unused-dep.out.
25213 2012-02-28  David S. Miller  <davem@davemloft.net>
25215         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25216         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25217         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25218         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25219         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25220         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25222 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
25224         * math/libm-test.inc (llround_test): Move one test from
25225         lround_test.  Use TEST_f_L in moved test.
25226         (lround_test): Move misplaced test to llround_test.  Add testcase
25227         from bug 2561.
25229 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
25231         * sysdeps/x86_64/fpu/e_expf.S: New file.
25232         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25234 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
25236         [BZ #13637]
25237         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25238         of remain_len that may cause incomplete multi-byte character and
25239         false match.
25240         * posix/bug-regex33.c: New file.
25241         * posix/Makefile (tests): Add bug-regex33.
25243 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
25245         * manual/macros.texi: New file.
25246         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25247         * manual/libc.texinfo: Include macros.texi.
25248         * manual/creatute.texi: Likewise.
25249         * manual/install.texi: Likewise.
25250         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25251         @glibcadj{} in references to the GNU C Library.
25252         * manual/charset.texi: Likewise.
25253         * manual/conf.texi: Likewise.
25254         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
25255         when not using those macros.
25256         * manual/creature.texi: Likewise.
25257         * manual/crypt.texi: Likewise.
25258         * manual/errno.texi: Likewise.
25259         * manual/filesys.texi: Likewise.
25260         * manual/header.texi: Likewise.
25261         * manual/install.texi: Likewise.
25262         * manual/intro.texi: Likewise.
25263         * manual/io.texi: Likewise.
25264         * manual/job.texi: Likewise.
25265         * manual/lang.texi: Likewise.
25266         * manual/libc.texiinfo: Likewise.
25267         * manual/llio.texi: Likewise.
25268         * manual/locale.texi: Likewise.
25269         * manual/maint.texi: Likewise.
25270         * manual/math.texi: Likewise.
25271         * manual/memory.texi: Likewise.
25272         * manual/message.texi: Likewise.
25273         * manual/nss.texi: Likewise.
25274         * manual/pattern.texi: Likewise.
25275         * manual/process.texi: Likewise.
25276         * manual/resource.texi: Likewise.
25277         * manual/search.texi: Likewise.
25278         * manual/setjmp.texi: Likewise.
25279         * manual/signal.texi: Likewise.
25280         * manual/socket.texi: Likewise.
25281         * manual/startup.texi: Likewise.
25282         * manual/stdio.texi: Likewise.
25283         * manual/string.texi: Likewise.
25284         * manual/sysinfo.texi: Likewise.
25285         * manual/syslog.texi: Likewise.
25286         * manual/terminal.texi: Likewise.
25287         * manual/time.texi: Likewise.
25288         * manual/users.texi: Likewise.
25289         * INSTALL: Regenerated.
25290         * NOTES: Regenerated.
25291         * sysdeps/gnu/errlist.c: Regenerated.
25293 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
25295         * include/dirent.h: Include <dirstream.h> before
25296         <dirent/dirent.h>.
25298 2012-02-28  David S. Miller  <davem@davemloft.net>
25300         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25301         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25302         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25303         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25305 2012-02-27  David S. Miller  <davem@davemloft.net>
25307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25309         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25310         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25313         frame pointer instead of stack pointer relative arg slot.
25314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25315         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25316         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25318 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
25320         [BZ #3992]
25321         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25323 2012-02-27  David S. Miller  <davem@davemloft.net>
25325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25329         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25330         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25331         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25332         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25334 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
25336         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25337         later.  Allow versions 5-9.
25338         * configure: Regenerated.
25339         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25340         required minimum version and 4.6 as recommended version.  Do not
25341         mention bugs in GCC 2.7 and 2.8.
25342         * INSTALL: Regenerated.
25344 2012-02-27  David S. Miller  <davem@davemloft.net>
25346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25350         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25351         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25352         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25353         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25355         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25356         manipulate bits before adding and subtracting TWO112[sx].
25357         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25359 2012-02-27  Roland McGrath  <roland@hack.frob.com>
25361         [BZ #13775]
25362         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25363         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25364         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25365         being in POSIX, because they are in 1003.1-2008.
25367         * rt/tst-aio.c: Include <fcntl.h>.
25368         * rt/tst-aio7.c: Likewise.
25369         * rt/tst-aio64.c: Likewise.
25371         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25373 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
25375         * manual/install.texi (--with-headers): Describe headers as
25376         interface headers, not private headers.
25377         (Specific advice for GNU/Linux systems): Describe use of headers
25378         from "make headers_install", not private headers from older
25379         kernels.
25380         * INSTALL: Regenerated.
25381         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25382         Change to 2.6.19.
25383         * sysdeps/unix/sysv/linux/configure: Regenerated.
25385         * manual/llio.texi (fclean): Remove documentation.
25387         * manual/Makefile (libc-texi-generated): New variable.  Include
25388         version.texi.
25389         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25390         $(libc-texi-generated), not duplicated list of files.
25391         (version.texi, stamp-version): New rules.
25392         (realclean): Remove $(libc-texi-generated), not individual files
25393         from that list.  Do not remove dir-add.texinfo.
25394         * manual/libc.texinfo: Comment out uses of edition numbers and
25395         references to printed manual.  Remove last-updated dates.
25396         (EDITION): Comment out.
25397         (ISBN): Likewise.
25398         (VERSION, UPDATED): Remove.
25399         (version.texi): Include.
25401 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
25403         * sysdeps/posix/spawni.c: Include <signal.h>.
25404         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25405         * sysdeps/pthread/aio_fsync.c: Likewise.
25407 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
25409         * conform/Makefile (tests): Run only when not cross-compiling and
25410         when fast-check is not defined.
25412         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25413         * conform/data/limits.h-data: Fixes for POSIX2008.
25414         * conform/run-conformtest.sh: Run all tests.
25415         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25416         headers.
25417         * include/bits/dlfcn.h: Likewise.
25418         * include/langinfo.h: Likewise.
25419         * include/monetary.h: Likewise.
25420         * include/sys/poll.h: Likewise.
25422         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25423         for __USE_GNU.
25424         * posix/spawn.h: Define __need_sigset_t.
25425         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25426         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25427         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
25428         to get sigevent_t only.
25429         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25430         only for __USE_GNU.
25431         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25432         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25433         process_vm_writev only for __USE_GNU.
25434         * termios/termios.h: Declare tcgetsid also for POSIX2008.
25436         * conform/Makefile: For now ignore errors from run-conformtest.
25437         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
25438         POSIX to avoid namespace pollution.  Don't prepend headers.
25439         * conform/data/aio.h-data: Fixes for POSIX testing.
25440         * conform/data/fcntl.h-data: Likewise.
25441         * conform/data/glob.h-data: Likewise.
25442         * conform/data/grp.h-data: Likewise.
25443         * conform/data/pthread.h-data: Likewise.
25444         * conform/data/pwd.h-data: Likewise.
25445         * conform/data/signal.h-data: Likewise.
25446         * conform/data/spawn.h-data: Likewise.
25447         * conform/data/stdio.h-data: Likewise.
25448         * conform/data/stdlib.h-data: Likewise.
25449         * conform/data/stropts.h-data: Likewise.
25450         * conform/data/sys/mman.h-data: Likewise.
25451         * conform/data/sys/stat.h-data: Likewise.
25452         * conform/data/sys/types.h-data: Likewise.
25453         * conform/data/sys/wait.h-data: Likewise.
25454         * conform/data/time.h-data: Likewise.
25455         * conform/data/unistd.h-data: Likewise.
25456         * conform/data/utime.h-data: Likewise.
25458         * io/sys/stat.h: fchmod was always in POSIX.
25459         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25460         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25461         * rt/aio.h: Define __need_timespec before including <time.h>.
25462         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25463         struct.  Add forward declaration of pthread_attr_t and use it in
25464         sigevent.
25465         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25466         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25467         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25468         always remove CLK_TCK definition.
25470 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
25472         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25474 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
25476         * conform/run-conformtest.sh: New file.
25477         * conform/Makefile: Run run-conformtest for tests.
25478         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
25479         support.
25481         * conform/data/uchar.h-data: New file.
25482         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25483         * conform/data/arpa/inet.h-data: Likewise.
25484         * conform/data/assert.h-data: Likewise.
25485         * conform/data/complex.h-data: Likewise.
25486         * conform/data/cpio.h-data: Likewise.
25487         * conform/data/ctype.h-data: Likewise.
25488         * conform/data/dirent.h-data: Likewise.
25489         * conform/data/dlfcn.h-data: Likewise.
25490         * conform/data/errno.h-data: Likewise.
25491         * conform/data/fcntl.h-data: Likewise.
25492         * conform/data/float.h-data: Likewise.
25493         * conform/data/fmtmsg.h-data: Likewise.
25494         * conform/data/fnmatch.h-data: Likewise.
25495         * conform/data/ftw.h-data: Likewise.
25496         * conform/data/glob.h-data: Likewise.
25497         * conform/data/grp.h-data: Likewise.
25498         * conform/data/iconv.h-data: Likewise.
25499         * conform/data/inttypes.h-data: Likewise.
25500         * conform/data/langinfo.h-data: Likewise.
25501         * conform/data/libgen.h-data: Likewise.
25502         * conform/data/limits.h-data: Likewise.
25503         * conform/data/locale.h-data: Likewise.
25504         * conform/data/math.h-data: Likewise.
25505         * conform/data/monetary.h-data: Likewise.
25506         * conform/data/mqueue.h-data: Likewise.
25507         * conform/data/ndbm.h-data: Likewise.
25508         * conform/data/net/if.h-data: Likewise.
25509         * conform/data/netdb.h-data: Likewise.
25510         * conform/data/netinet/in.h-data: Likewise.
25511         * conform/data/nl_types.h-data: Likewise.
25512         * conform/data/poll.h-data: Likewise.
25513         * conform/data/pthread.h-data: Likewise.
25514         * conform/data/pwd.h-data: Likewise.
25515         * conform/data/regex.h-data: Likewise.
25516         * conform/data/sched.h-data: Likewise.
25517         * conform/data/search.h-data: Likewise.
25518         * conform/data/semaphore.h-data: Likewise.
25519         * conform/data/setjmp.h-data: Likewise.
25520         * conform/data/signal.h-data: Likewise.
25521         * conform/data/spawn.h-data: Likewise.
25522         * conform/data/stdarg.h-data: Likewise.
25523         * conform/data/stdio.h-data: Likewise.
25524         * conform/data/stdlib.h-data: Likewise.
25525         * conform/data/string.h-data: Likewise.
25526         * conform/data/strings.h-data: Likewise.
25527         * conform/data/stropts.h-data: Likewise.
25528         * conform/data/sys/ipc.h-data: Likewise.
25529         * conform/data/sys/mman.h-data: Likewise.
25530         * conform/data/sys/msg.h-data: Likewise.
25531         * conform/data/sys/resource.h-data: Likewise.
25532         * conform/data/sys/select.h-data: Likewise.
25533         * conform/data/sys/sem.h-data: Likewise.
25534         * conform/data/sys/shm.h-data: Likewise.
25535         * conform/data/sys/socket.h-data: Likewise.
25536         * conform/data/sys/stat.h-data: Likewise.
25537         * conform/data/sys/statvfs.h-data: Likewise.
25538         * conform/data/sys/time.h-data: Likewise.
25539         * conform/data/sys/timeb.h-data: Likewise.
25540         * conform/data/sys/times.h-data: Likewise.
25541         * conform/data/sys/types.h-data: Likewise.
25542         * conform/data/sys/uio.h-data: Likewise.
25543         * conform/data/sys/un.h-data: Likewise.
25544         * conform/data/sys/utsname.h-data: Likewise.
25545         * conform/data/sys/wait.h-data: Likewise.
25546         * conform/data/syslog.h-data: Likewise.
25547         * conform/data/tar.h-data: Likewise.
25548         * conform/data/termios.h-data: Likewise.
25549         * conform/data/utime.h-data: Likewise.
25550         * conform/data/utmpx.h-data: Likewise.
25551         * conform/data/varargs.h-data: Likewise.
25552         * conform/data/wchar.h-data: Likewise.
25553         * conform/data/wctype.h-data: Likewise.
25554         * conform/data/wordexp.h-data: Likewise.
25556         * include/stropts.h: New file.
25557         * include/uchar.h: New file.
25558         * include/aio.h: Changes to allow conformtest.pl to use the headers.
25559         * include/assert.h: Likewise.
25560         * include/ctype.h: Likewise.
25561         * include/dirent.h: Likewise.
25562         * include/dlfcn.h: Likewise.
25563         * include/fcntl.h: Likewise.
25564         * include/fnmatch.h: Likewise.
25565         * include/glob.h: Likewise.
25566         * include/grp.h: Likewise.
25567         * include/libio.h: Likewise.
25568         * include/locale.h: Likewise.
25569         * include/math.h: Likewise.
25570         * include/net/if.h: Likewise.
25571         * include/netdb.h: Likewise.
25572         * include/netinet/in.h: Likewise.
25573         * include/pthread.h: Likewise.
25574         * include/pwd.h: Likewise.
25575         * include/regex.h: Likewise.
25576         * include/sched.h: Likewise.
25577         * include/search.h: Likewise.
25578         * include/setjmp.h: Likewise.
25579         * include/signal.h: Likewise.
25580         * include/stdio.h: Likewise.
25581         * include/stdlib.h: Likewise.
25582         * include/string.h: Likewise.
25583         * include/sys/cdefs.h: Likewise.
25584         * include/sys/mman.h: Likewise.
25585         * include/sys/msg.h: Likewise.
25586         * include/sys/resource.h: Likewise.
25587         * include/sys/select.h: Likewise.
25588         * include/sys/socket.h: Likewise.
25589         * include/sys/stat.h: Likewise.
25590         * include/sys/statvfs.h: Likewise.
25591         * include/sys/time.h: Likewise.
25592         * include/sys/times.h: Likewise.
25593         * include/sys/uio.h: Likewise.
25594         * include/sys/utsname.h: Likewise.
25595         * include/sys/wait.h: Likewise.
25596         * include/termios.h: Likewise.
25597         * include/time.h: Likewise.
25598         * include/ulimit.h: Likewise.
25599         * include/unistd.h: Likewise.
25600         * include/utime.h: Likewise.
25601         * include/wchar.h: Likewise.
25602         * include/wctype.h: Likewise.
25603         * include/wordexp.h: Likewise.
25605         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25607         * time/time.h: TIME_UTC must be a macro.
25608         Make timespec_get available for ISO C11 only as well.
25610 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
25612         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25613         Reported by Peng Haitao <penght@cn.fujitsu.com>.
25615 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25617         * configure.in: Use -o not -a in test for unsupported multi-arch.
25619 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25621         * manual/texinfo.tex: Update to version 2012-01-19.16.
25623 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25625         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25627 2012-02-24  Roland McGrath  <roland@hack.frob.com>
25629         [BZ #13738]
25630         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25631         * manual/fdl-1.3.texi: New file.
25632         * manual/fdl-1.1.texi: File removed.
25634         [BZ #13738]
25635         * manual/libc.texinfo (FDL_VERSION): New @set.
25636         Use it for mention of FDL in cover text.
25637         (Documentation License): Use it in @include file name.
25639 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25640             Roland McGrath  <roland@hack.frob.com>
25642         [BZ #5461]
25643         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25644         not LONG_LONG_MAX and LONG_LONG_MIN.
25645         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25646         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
25647         name.
25648         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25650 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25652         [BZ #2547]
25653         [BZ #11365]
25654         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25655         manipulate bits before adding and subtracting TWO23[sx].
25656         * math/libm-test.inc (nearbyint_test): Add more tests.
25658 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25660         [BZ #2548]
25661         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25662         bits before adding and subtracting TWO23[sx].
25663         * math/libm-test.inc (rint_test): Add more tests.
25664         (rint_test_tonearest): Likewise.
25665         (rint_test_towardzero): Likewise.
25666         (rint_test_downward): Likewise.
25667         (rint_test_upward: Likewise.
25669 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25671         [BZ #10110]
25672         * include/stdc-predef.h: New file.  Extracted from features.h.
25673         * include/features.h: Include stdc-predef.h.
25674         * Makefile (headers): Add stdc-predef.h.
25675         * CONFORMANCE (Compiler limitations): Update.
25677 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25679         * manual/libc.texinfo (VERSION, UPDATED): Revert.
25681 2012-02-21  David S. Miller  <davem@davemloft.net>
25683         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25684         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25686 2012-02-20  David S. Miller  <davem@davemloft.net>
25688         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25689         using a normal save/restore sequence, rather than allocating a
25690         dummy stack frame just to store a frame pointer and restore.
25691         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25693 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25695         * manual/install.texi: Fix stray word in line-wrapped comment.
25697 2012-02-20  David S. Miller  <davem@davemloft.net>
25699         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25700         both binutils and gcc support GOTDATA.
25702         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25703         "rd %pc" in the PIC register setup sequences.
25705         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25706         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25707         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25708         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25709         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25710         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25711         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25712         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25713         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25714         (SYSCALL_ERROR_HANDLER): Likewise.
25715         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25716         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25717         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25718         (SYSCALL_ERROR_HANDLER): Likewise.
25720         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25721         (HAVE_GCC_GOTDATA): New.
25722         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25723         relocation support in both binutils and gcc.
25724         * sysdeps/sparc/elf/configure: Regenerate.
25726         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25727         * sysdeps/sparc/sparc32/elf/configure: Delete.
25728         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25729         * sysdeps/sparc/sparc64/elf/configure: Delete.
25730         * sysdeps/sparc/elf/configure.in: New file.
25731         * sysdeps/sparc/elf/configure: Generate.
25733         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25734         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25735         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25736         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25737         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25739 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25741         * manual/install.texi: Do not mention specific glibc version
25742         numbers.
25743         * manual/libc.texinfo (VERSION, UPDATED): Update.
25744         (@copying): Use @copyright{} and range of years.
25746 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25748         [BZ #13695]
25749         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25750         [crti.S not in sysdirs] (generated): Do not append.
25751         [crti.S not in sysdirs] (omit-deps): Likewise.
25752         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25753         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25754         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25755         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25756         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25757         Likewise.
25758         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25759         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25760         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25761         * csu/defs.awk: Remove file.
25762         * sysdeps/generic/initfini.c: Likewise.
25763         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25764         variable.
25765         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25766         Likewise.
25768 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25770         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25771         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25772         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25773         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25774         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25775         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25776         <bits/epoll.h>.
25777         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25778         (__EPOLL_PACKED): Define to empty if not defined by
25779         <bits/epoll.h>.
25780         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25781         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25782         bits/epoll.h.
25784 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25786         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25787         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25788         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25789         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25790         <bits/timerfd.h>.
25791         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25792         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25793         bits/timerfd.h.
25795 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25797         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25798         in C locale.
25799         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25800         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25801         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25804 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
25806         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25807         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25809 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
25811         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25812         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25813         defined.
25814         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25815         Likewise.
25816         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25817         entry for 2.16.
25819 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
25821         * math/w_acos.c: Use non-signaling floating-point comparisons.
25822         * math/w_acosf.c: Likewise.
25823         * math/w_acosh.c: Likewise.
25824         * math/w_acoshf.c: Likewise.
25825         * math/w_acoshl.c: Likewise.
25826         * math/w_acosl.c: Likewise.
25827         * math/w_asin.c: Likewise.
25828         * math/w_asinf.c: Likewise.
25829         * math/w_asinl.c: Likewise.
25830         * math/w_atanh.c: Likewise.
25831         * math/w_atanhf.c: Likewise.
25832         * math/w_atanhl.c: Likewise.
25833         * math/w_exp2.c: Likewise.
25834         * math/w_exp2f.c: Likewise.
25835         * math/w_exp2l.c: Likewise.
25836         * math/w_j0.c: Likewise.
25837         * math/w_j0f.c: Likewise.
25838         * math/w_j0l.c: Likewise.
25839         * math/w_j1.c: Likewise.
25840         * math/w_j1f.c: Likewise.
25841         * math/w_j1l.c: Likewise.
25842         * math/w_jn.c: Likewise.
25843         * math/w_jnf.c: Likewise.
25844         * math/w_log.c: Likewise.
25845         * math/w_log10.c: Likewise.
25846         * math/w_log10f.c: Likewise.
25847         * math/w_log10l.c: Likewise.
25848         * math/w_log2.c: Likewise.
25849         * math/w_log2f.c: Likewise.
25850         * math/w_log2l.c: Likewise.
25851         * math/w_logf.c: Likewise.
25852         * math/w_logl.c: Likewise.
25853         * math/w_sqrt.c: Likewise.
25854         * math/w_sqrtf.c: Likewise.
25855         * math/w_sqrtl.c: Likewise.
25856         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25857         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25858         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25859         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25860         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25862 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25864         [BZ #9739]
25865         * manual/string.texi (strnlen): Use correct parameter name in
25866         equivalent expression.
25868 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25870         [BZ #11174]
25871         * manual/users.texi (seteuid): Consistently use neweuid for
25872         argument name.
25874 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25876         [BZ #13704]
25877         * manual/nss.texi (Services in the NSS configuration): Correct
25878         list of services in example configuration file.
25880 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
25882         [BZ #11322]
25883         * manual/arith.texi: Remove statements about negative zero
25884         behaving identically to zero.
25886 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25888         [BZ #5993]
25889         * manual/install.texi: Do not document upgrading from libc5.
25891 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25893         [BZ #4596]
25894         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25896 2012-02-18  David S. Miller  <davem@davemloft.net>
25898         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25899         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25900         %o7 across the call.
25901         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25902         instead.
25903         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25904         SETUP_PIC_REG_LEAF.
25905         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25906         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25907         * sysdeps/sparc/crtn.S: Likewise.
25909 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
25911         * aout/Makefile: Remove.
25913 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
25915         [BZ #13058]
25916         * manual/examples/argp-ex1.c (main): Format definition in GNU
25917         style.
25918         * manual/examples/argp-ex2.c (main): Likewise.
25919         * manual/examples/argp-ex3.c (main): Likewise.
25920         * manual/examples/argp-ex4.c (main): Likewise.
25921         * manual/examples/longopt.c (main): Use new-style prototype
25922         definition.
25923         * manual/examples/strncat.c (main): Specify return type and use
25924         (void) for arguments.
25925         * manual/examples/subopt.c (main): Use char **argv argument.
25927 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25929         [BZ #5077]
25930         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25931         rounding modes.
25933 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
25935         [BZ #6907]
25936         * manual/string.texi (strchr): Change when strchrnul is
25937         recommended.
25939 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
25941         [BZ #174]
25942         * manual/locale.texi (setlocale): Document LOCPATH.
25944 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25946         [BZ #10210]
25947         * manual/process.texi (execle): Move @dots{} before last argument.
25949 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
25951         [BZ #12047]
25952         * manual/charset.texi (Generic Charset Conversion): Fix typo
25953         (LC_TYPE -> LC_CTYPE).
25955 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
25957         [BZ #5805]
25958         * manual/arith.texi (scalbn): Use @var{} on parameter names.
25959         (scalbnf): Likewise.
25960         (scalbnl): Likewise.
25961         (scalbln): Likewise.
25962         (scalblnf): Likewise.
25963         (scalblnl): Likewise.
25964         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25965         (vwarnx): Likewise.
25966         (verr): Likewise.
25967         (verrx): Likewise.
25968         * manual/filesys.texi (telldir): Use braces around return type.
25969         * manual/llio.texi (mmap): Add space after comma.
25970         (mmap64): Likewise.
25971         * manual/math.texi (jn): Use @var{} on parameter names.
25972         (jnf): Likewise.
25973         (jnl): Likewise.
25974         (yn): Likewise.
25975         (ynf): Likewise.
25976         (ynl): Likewise.
25977         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25978         line.
25979         * manual/resource.texi (ulimit): Use @dots{} instead of literal
25980         "...".
25981         (sched_get_priority_min): Remove semicolon on @deftypefun line.
25982         (sched_get_priority_max): Likewise.
25983         * manual/signal.texi (sigvec): Add space after comma.
25984         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25985         names.
25986         (if_indextoname): Likewise.
25987         (if_freenameindex): Likewise.
25988         (sendto): Use ',' instead of '.' in prototype.
25989         * manual/startup.texi (syscall): Use @dots{} instead of literal
25990         "...".
25991         * manual/stdio.texi (__fpending): Separate initial words of
25992         paragraph from @deftypefun line.
25993         * manual/syslog.texi (syslog): Use @dots{} instead of literal
25994         "...".
25995         (vsyslog): Use @var{} on parameter names.
25996         * manual/terminal.texi (stty): Use @var{} on parameter names.
25997         * manual/users.texi (getutmp): Use @var{} on parameter names.
25998         (getutmpx): Likewise.
26000 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26002         [BZ #6884]
26003         * manual/stdio.texi (fopen): Fix typos in description of
26004         ",ccs=STRING".
26006 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
26008         [BZ #4026]
26009         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26010         get clock_id definition.
26012 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
26014         [BZ #4822]
26015         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26016         (madvise): Cast every argument to void on its own.
26018 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26020         [BZ #9902]
26021         * manual/startup.texi (Exit Status): Fix typo.
26023 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26025         [BZ #10140]
26026         * manual/examples/argp-ex1.c: Include <stdlib.h>.
26027         * manual/examples/argp-ex2.c: Likewise.
26028         * manual/examples/argp-ex3.c: Likewise.
26030 2012-02-16  Richard Henderson  <rth@redhat.com>
26032         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26033         * sysdeps/s390/s390-32/initfini.c: Remove.
26034         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26035         * sysdeps/s390/s390-64/initfini.c: Remove.
26037 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26039         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26040         compiler output for sysdeps/generic/initfini.c.
26041         * sysdeps/sh/elf/initfini.c: Remove file.
26043 2012-02-16  David S. Miller  <davem@davemloft.net>
26045         [BZ #11494]
26046         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26048         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26049         * sysdeps/sparc/crti.S: New file.
26050         * sysdeps/sparc/crtn.S: New file.
26051         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26052         * sysdeps/sparc/sparc64/Makefile: Likewise.
26054 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
26056         [BZ #3335]
26057         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26059 2012-02-15  Roland McGrath  <roland@hack.frob.com>
26061         [BZ #4822]
26062         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26064         * mach/devstream.c (cookie_io_functions_t): Macro removed.
26065         (write, read, close): Likewise.
26066         Patch by Aurelien Jarno <aurelien@aurel32.net>.
26068 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
26070         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26071         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26072         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26073         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26074         <bits/signalfd.h>.
26075         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26076         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26077         bits/signalfd.h.
26079 2012-02-14  Marek Polacek  <polacek@redhat.com>
26081         * sysdeps/x86_64/crti.S: New file.
26082         * sysdeps/x86_64/crtn.S: New file.
26083         * sysdeps/x86_64/elf/initfini.c: Remove file.
26085 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26087         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26088         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26089         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26090         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26091         <bits/inotify.h>.
26092         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26093         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26094         bits/inotify.h.
26096 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26098         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26099         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26100         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26101         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26102         <bits/eventfd.h>.
26103         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26104         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26105         bits/eventfd.h.
26107 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
26109         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26110         __feraiseexcept instead of feraiseexcept.
26112         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26113         nanosleep invocations.
26114         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26115         strings, and add error checking for a nanosleep invocations.
26117 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
26119         Replace FSF snail mail address with URLs, as per GNU coding standards.
26120         Most of the snail mail addresses were wrong anyway, and omitting
26121         them makes the source code easier to maintain.  Almost all of the
26122         changes are to license notices and to locale LC_IDENTIFICATION
26123         addresses, except for this one:
26124         * manual/libc.texinfo: In "Published by", give the FSF's URL,
26125         not its snail mail address.
26127 2012-02-09  Richard Henderson  <rth@twiddle.net>
26129         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26130         of kernel-features.h.
26132         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26134 2012-02-08  Marek Polacek  <polacek@redhat.com>
26136         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26137         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26138         * sysdeps/gnu/_G_config.h: Likewise.
26139         * sysdeps/generic/_G_config.h: Likewise.
26141 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
26143         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26144         tests.
26145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26147         * sysdeps/powerpc/powerpc32/crti.S: New file.
26148         * sysdeps/powerpc/powerpc32/crtn.S: New file.
26149         * sysdeps/powerpc/powerpc64/crti.S: New file.
26150         * sysdeps/powerpc/powerpc64/crtn.S: New file.
26152         * Makeconfig (have-initfini): Don't set.
26153         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26154         * configure.in (nopic_initfini): Don't substitute.
26155         * config.h.in (HAVE_INITFINI): Don't #undef.
26156         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26157         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26159 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
26161         Support crti.S and crtn.S provided directly by architectures.
26162         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26163         [crti.S in sysdirs] (omit-deps): Likewise.
26164         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26165         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26166         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26167         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26168         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26169         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26170         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26171         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26172         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26173         compiler output for sysdeps/generic/initfini.c.
26174         * sysdeps/i386/elf/Makefile: Remove file.
26175         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26177 2012-02-07  Marek Polacek  <polacek@redhat.com>
26179         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26180         * sysdeps/gnu/_G_config.h: Likewise.
26181         * sysdeps/mach/hurd/_G_config.h: Likewise.
26183 2012-02-07  Marek Polacek  <polacek@redhat.com>
26185         * math/Makefile (tests): Add tst-CMPLX2.
26186         * math/tst-CMPLX2.c: New file.
26188 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
26190         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26192         * math/libm-test.inc (jn_test): Add missing L suffix.
26194 2012-02-06  Marek Polacek  <polacek@redhat.com>
26196         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26197         * sysdeps/i386/fpu/e_powf.S: Likewise.
26198         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26199         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26200         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26201         * sysdeps/i386/fpu/e_pow.S: Likewise.
26202         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26203         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26204         * sysdeps/i386/fpu/s_expm1.S: Likewise.
26205         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26206         * sysdeps/i386/fpu/e_log2.S: Likewise.
26207         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26208         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26209         * sysdeps/i386/fpu/e_powl.S: Likewise.
26210         * sysdeps/i386/fpu/s_log1p.S: Likewise.
26211         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26212         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26213         * sysdeps/i386/fpu/e_logl.S: Likewise.
26214         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26215         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26216         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26217         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26218         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26219         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26220         * sysdeps/i386/fpu/e_log.S: Likewise.
26221         * sysdeps/i386/fpu/s_cexp.S: Likewise.
26222         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26223         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26224         * sysdeps/i386/fpu/e_logf.S: Likewise.
26225         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26226         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26227         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26228         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26229         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26230         * sysdeps/i386/fpu/e_log10.S: Likewise.
26231         * sysdeps/i386/fpu/s_frexp.S: Likewise.
26232         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26233         * sysdeps/i386/fpu/s_asinh.S: Likewise.
26234         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26235         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26236         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26237         * sysdeps/i386/asm-syntax.h: Likewise.
26238         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26239         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26240         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26241         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26242         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26243         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26244         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26245         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26246         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26247         * sysdeps/powerpc/sysdep.h: Likewise.
26248         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26249         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26251 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26253         [BZ #411]
26254         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26256 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26258         * sysdeps/i386/sysdep.h: Include <features.h>.
26259         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26260         version.
26262 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
26264         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26265         Define.
26266         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26267         LOAD_PIC_REG_STR.
26269 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26271         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26272         (SETUP_PIC_REG): Use GET_PC_THUNK.
26273         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26274         macro.
26276 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26278         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26279         for non-PIC compilation.
26280         (SETUP_PIC_REG): Add .p2align directive.
26281         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26282         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26283         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26284         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26285         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26286         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26287         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26288         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26289         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26290         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26291         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26292         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26293         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26294         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26295         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26296         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26297         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26298         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26299         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26300         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26301         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26302         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26303         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26304         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26305         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26306         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26307         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26308         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26309         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26310         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26311         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26312         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26313         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26314         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26315         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26316         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26317         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26318         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26319         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26320         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26321         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26323 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26325         * math/tst-CMPLX.c: Include <stdio.h>.
26327 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
26329         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26330         float.
26331         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26332         * sysdeps/sparc/bits/mathdef.h: Likewise.
26334 2012-01-31  Marek Polacek  <polacek@redhat.com>
26336         * libio/libio.h: Don't define _PARAMS.
26337         * locale/programs/config.h: Don't define PARAMS.
26338         * stdlib/strtol_l.c: Likewise.
26339         (__strtol_l): Remove PARAMS from the prototype.
26341 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
26343         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
26344         names.  Just use the correct names.  Remove unnecessary wrapper
26345         functions.
26346         * malloc/arena.c: Likewise.
26347         * malloc/hooks.c: Likewise.
26349         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26350         ARENA_TEST says not to.  Simplify test for creation of a new arena.
26351         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26353 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
26355         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26356         into tail calls.
26357         (update_get_addr): New function.
26358         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26359         GET_ADDR_MODULE parameter.
26361 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
26363         * crypt/cert.c: Remove __STDC__ conditionals.
26364         * crypt/crypt-entry.c: Likewise.
26365         * crypt/crypt_util.c: Likewise.
26366         * libio/filedoalloc.c: Likewise.
26367         * libio/fileops.c: Likewise.
26368         * libio/genops.c: Likewise.
26369         * libio/iofclose.c: Likewise.
26370         * libio/iofdopen.c: Likewise.
26371         * libio/iofopen.c: Likewise.
26372         * libio/iofopen64.c: Likewise.
26373         * libio/iogetdelim.c: Likewise.
26374         * libio/iopopen.c: Likewise.
26375         * libio/obprintf.c: Likewise.
26376         * libio/oldfileops.c: Likewise.
26377         * libio/oldiofclose.c: Likewise.
26378         * libio/oldiofdopen.c: Likewise.
26379         * libio/oldiofopen.c: Likewise.
26380         * libio/oldiopopen.c: Likewise.
26381         * libio/wfiledoalloc.c: Likewise.
26382         * libio/wgenops.c: Likewise.
26383         * locale/programs/xmalloc.c: Likewise.
26384         * misc/syslog.c: Likewise.
26385         * stdio-common/xbug.c: Likewise.
26386         * string/memchr.c: Likewise.
26387         * string/memcmp.c: Likewise.
26388         * string/memrchr.c: Likewise.
26389         * string/rawmemchr.c: Likewise.
26390         * sysdeps/posix/getcwd.c: Likewise.
26391         * time/strftime_l.c: Likewise.
26393 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
26395         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26396         * config.make.in (config-cflags-sse2avx): Define.
26397         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26398         Fix typo.
26400 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
26402         * scripts/config.guess: Update from upstream config git repository.
26403         * scripts/config.sub: Likewise.
26405 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
26407         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26408         (EM_NUM): Update.
26409         (R_TILEPRO_*, R_TILEGX_*): New macros.
26411         * scripts/firstversions.awk: Fix bug in version range handling.
26413         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26415         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26417         * include/sys/epoll.h: New file.
26418         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26419         libc_hidden_def.
26421 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
26423         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26424         Avoid unnecessary __WORDSIZE == 64 test.
26425         (fmaxf): Use VEX format if possible.
26426         (fmax): Likewise.
26427         (fminf): Likewise.
26428         (fmin): Likewise.
26430         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26431         * math/math_private.h: Remove libc_fegetround* and
26432         libc_fesetround*.
26433         * sysdeps/i386/configure.in: Check for -msse2avx.
26434         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26435         also if SSE2AVX is defined.
26436         Remove libc_fegetround* and libc_fesetround*.
26437         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26438         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
26439         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26440         of HAS_YMM_USABLE.
26441         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26442         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26443         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26444         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26445         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26447         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26449 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26451         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26452         size is not set.
26453         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26455 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
26457         [BZ #13618]
26458         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26459         relocation.
26460         * Makeconfig (libm): Define.
26461         * elf/Makefile: Add rules to build and run tst-relsort1.
26462         * elf/tst-relsort1.c: New file.
26463         * elf/tst-relsort1mod1.c: New file.
26464         * elf/tst-relsort1mod2.c: New file.
26466 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
26468         * math/s_ldexp.c: Remove __STDC__ conditionals.
26469         * math/s_ldexpf.c: Likewise.
26470         * math/s_ldexpl.c: Likewise.
26471         * math/s_nextafter.c: Likewise.
26472         * math/s_nexttowardf.c: Likewise.
26473         * math/s_significand.c: Likewise.
26474         * math/s_significandf.c: Likewise.
26475         * math/s_significandl.c: Likewise.
26476         * math/w_jnl.c: Likewise.
26477         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26478         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26479         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26480         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26481         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26482         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26483         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26484         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26485         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26486         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26487         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26488         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26489         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26490         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26491         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26492         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26493         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26494         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26495         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26496         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26497         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26498         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26499         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26500         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26501         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26502         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26503         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26504         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26505         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26506         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26507         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26508         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26509         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26510         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26511         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26512         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26513         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26514         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26515         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26516         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26517         * sysdeps/ieee754/k_standard.c: Likewise.
26518         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26519         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26520         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26521         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26522         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26523         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26524         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26525         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26526         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26527         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26528         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26529         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26530         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26531         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26532         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26533         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26534         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26535         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26536         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26537         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26538         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26539         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26540         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26541         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26542         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26543         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26544         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26545         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26546         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26547         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26548         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26549         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26550         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26551         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26552         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26553         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26554         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26555         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26556         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26557         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26558         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26559         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26560         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26561         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26562         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26563         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26564         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26565         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26566         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26567         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26568         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26569         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26570         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26571         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26572         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26573         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26574         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26575         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26576         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26577         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26578         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26579         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26580         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26581         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26582         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26583         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26584         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26585         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26586         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26587         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26588         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26589         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26590         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26591         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26592         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26593         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26594         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26595         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26596         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26597         * sysdeps/ieee754/s_matherr.c: Likewise.
26598         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26599         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26600         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26601         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26603 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
26605         * crypt/md5.h: Remove __STDC__ conditionals.
26606         * libio/libioP.h: Likewise.
26607         * locale/programs/config.h: Likewise.
26608         * sysdeps/generic/sysdep.h: Likewise.
26609         * sysdeps/i386/asm-syntax.h: Likewise.
26610         * sysdeps/s390/asm-syntax.h: Likewise.
26611         * sysdeps/unix/sysdep.h: Likewise.
26612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26615 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
26617         * libio/libio.h: Remove __STDC__ conditionals.
26618         * malloc/obstack.h: Likewise.
26619         * math/complex.h: Likewise.
26620         * math/math.h: Likewise.
26621         * sysdeps/generic/_G_config.h: Likewise.
26622         * sysdeps/gnu/_G_config.h: Likewise.
26623         * sysdeps/mach/hurd/_G_config.h: Likewise.
26624         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26625         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26626         * sysdeps/sparc/bits/mathdef.h: Likewise.
26628 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
26630         [BZ #13583]
26631         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26632         Clean up HAS_* macros.
26633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26634         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26635         possible.
26636         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26637         HAS_AVX.
26638         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26639         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26640         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26641         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26642         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26644 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
26646         * elf/tst-unique3.cc (gets): Remove declaration.
26647         * elf/tst-unique3lib.cc (gets): Likewise.
26648         * elf/tst-unique3lib2.cc (gets): Likewise.
26649         * elf/tst-unique4.cc (gets): Likewise.
26651 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
26653         * include/stdio.h: Add C++ protection.  Add gets declarations and
26654         definitions.
26655         * debug/tst-chk1.c: Don't declare gets here.
26656         * stdio-common/tst-gets.c: Likewise.
26658 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26660         * posix/glob: Remove directory.
26662 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26664         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26666 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
26668         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26669         of the non-standard EPFNOSUPPORT.
26671 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26673         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26674         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26675         ANYWHERE set to 1 only on KERN_NO_SPACE error.
26677 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
26679         * wcsmbs/uchar.h: Test __STDC_VERSION__.
26681 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
26683         * nscd/aicache.c (addhstaiX): Do not cache negative results of
26684         transient errors.
26685         * nscd/grpcache.c (cache_addgr): Likewise.
26686         * nscd/hstcache.c (cache_addhst): Likewise.
26687         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26688         * nscd/pwdcache.c (cache_addpw): Likewise.
26689         * nscd/servicescache.c (cache_addserv): Likewise.
26691 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
26693         * malloc/malloc.c: Various cleanups.
26694         * malloc/hooks.c: Likewise.
26696         * stdlib/Makefile (tests): Add bug-fmtmsg1.
26697         * stdlib/bug-fmtmsg1.c: New file.
26699         * stdlib/fmtmsg.c (init): Add missing unlock.
26700         Patch by Peng Haitao <penght@cn.fujitsu.com>.
26702 2012-01-12  Marek Polacek  <polacek@redhat.com>
26704         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26705         and _GNU_SOURCE.
26707 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
26709         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26710         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26711         macro to ensure uniqueness of label name.
26712         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26713         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26715 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
26717         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26719         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26720         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26721         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26722         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26724 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
26726         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26728         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26729         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26730         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26732         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26734         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26735         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26736         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26737         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26739         * math/bits/math-finite.h: Add ldexp support.
26741 2012-01-10  Marek Polacek  <polacek@redhat.com>
26743         * locale/programs/localedef.h (show_archive_content): Add noreturn
26744         attribute.
26746 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
26748         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26750 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26752         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26754         * io/Makefile (headers): Add bits/poll2.h.
26756 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
26758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26759         typo #include statement.
26761 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26763         * include/sys/cdefs.h: Define __attribute_alloc_size.
26764         * catgets/gencat.c: Add alloc_size attribute and apply consistently
26765         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26766         * elf/pldd.c: Likewise.
26767         * iconv/iconv_charmap.c: Likewise.
26768         * iconv/iconvconfig.c: Likewise.
26769         * iconv/strtab.c: Likewise.
26770         * locale/programs/locale.c: Likewise.
26771         * locale/programs/localedef.h: Likewise.
26772         * locale/programs/simple-hash.c: Likewise.
26773         * nscd/nscd.h: Likewise.
26774         * nss/makedb.c: Likewise.
26775         * sysdeps/generic/ldconfig.h: Likewise.
26776         * locale/programs/localedef.c: Remove xmalloc prototype.
26777         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26779 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26781         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26782         appropriate.
26784 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26786         * math/Makefile (tests): Add tst-CMPLX.
26787         * math/tst-CMPLX.c: New file.
26789         * math/complex.h (CMPLXL): Fix typo.
26791         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26792         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26793         GLIBC_2.16.
26794         * debug/tst-chk1.c: Add poll and ppoll tests.
26795         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26796         * include/sys/poll.h: Add hidden proto for ppoll.
26797         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26798         * sysdeps/mach/hurd/ppoll.c: Likewise.
26799         * io/ppoll.c: Likewise.
26800         * debug/poll_chk.c: New file.
26801         * debug/ppoll_chk.c: New file.
26802         * include/bits/poll2.h: New file.
26803         * io/bits/poll2.h: New file.
26805         [BZ #1350]
26806         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26808         * configure.in: static is always set to yes.  Remove.
26809         * config.make.in: Don't set build-static.
26810         * Makeconfig: Remove use of build-static.
26811         * dlfcn/Makefile: Likewise.
26812         * elf/Makefile: Likewise.
26813         * math/Makefile: Likewise.
26814         * misc/Makefile: Likewise.
26815         * nptl/Makefile: Likewise.
26816         * sysdeps/mach/hurd/Makefile: Likewise.
26818         * configure.in: PWD_P is not used anymore.
26819         * config.make.in: Remove PWD_P entry.
26821         * configure.in: Remove last remnants of RANLIB.
26822         No need to check for signed size_t anymore.
26823         Don't set libc_commonpagesize and libc_relro_required here for Alpha
26824         and IA-64.
26825         Remove __builtin_expect test because we require at least gcc 3.4.
26826         * aclocal.m4: Likewise.
26828         * wcsmbs/mbrtoc16.c: Implement using towc function.
26829         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26830         * wcsmbs/wcsmbsload.c: Likewise.
26831         * iconv/gconv_simple.c: Likewise.
26832         * iconv/gconv_int.h: Likewise.
26833         * iconv/gconv_builtin.h: Likewise.
26834         * iconv/iconv_prog.c: Remove CHAR16 handling.
26836         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26838         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26840         * configure.in: Remove --with-elf and --enable-bounded options.
26841         Dont set base_machine for ia64.  More non-ELF conditions removed.
26842         Remove testing and setting of leading underscore information.
26843         * config.make.in (build-bounded): Set to no.
26844         * config.h.in: Remove NO_UNDERSCORES entry.
26845         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
26846         them.
26847         * csu/start.c: Remove !NO_UNDERSCORE code.
26848         * locale/localeinfo.h: Likewise.
26849         * sysdeps/generic/machine-gmon.h: Likewise.
26850         * sysdeps/generic/sysdep.h: Likewise.
26851         * sysdeps/i386/sysdep.h: Likewise.
26852         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26853         * sysdeps/mach/sysdep.h: Likewise.
26854         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26855         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26856         * sysdeps/sh/sysdep.h: Likewise.
26857         * sysdeps/sparc/sparc32/alloca.S: Likewise.
26858         * sysdeps/unix/i386/sysdep.S: Likewise.
26859         * sysdeps/unix/sparc/start.c: Likewise.
26860         * sysdeps/unix/sparc/sysdep.S: Likewise.
26861         * sysdeps/unix/sparc/sysdep.h: Likewise.
26862         * sysdeps/unix/start.c: Likewise.
26863         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26864         * sysdeps/x86_64/sysdep.h: Likewise.
26866 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
26868         [BZ #13553]
26869         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26870         for non-gcc.
26871         * argp/argp-fmtstream.h: Use const instead __const.
26872         * argp/argp.h: Likewise.
26873         * assert/assert.h: Likewise.
26874         * bits/fenv.h: Likewise.
26875         * bits/sched.h: Likewise.
26876         * bits/sigset.h: Likewise.
26877         * bits/sigthread.h: Likewise.
26878         * catgets/nl_types.h: Likewise.
26879         * conform/data/pthread.h-data: Likewise.
26880         * crypt/crypt-private.h: Likewise.
26881         * crypt/crypt.h: Likewise.
26882         * crypt/crypt_util.c: Likewise.
26883         * ctype/ctype.h: Likewise.
26884         * debug/execinfo.h: Likewise.
26885         * debug/mbsnrtowcs_chk.c: Likewise.
26886         * debug/mbsrtowcs_chk.c: Likewise.
26887         * debug/wcsnrtombs_chk.c: Likewise.
26888         * debug/wcsrtombs_chk.c: Likewise.
26889         * debug/wcstombs_chk.c: Likewise.
26890         * dirent/dirent.h: Likewise.
26891         * dlfcn/dlfcn.h: Likewise.
26892         * elf/neededtest4.c: Likewise.
26893         * grp/grp.h: Likewise.
26894         * gshadow/gshadow.h: Likewise.
26895         * iconv/gconv.h: Likewise.
26896         * iconv/gconv_int.h: Likewise.
26897         * iconv/gconv_simple.c: Likewise.
26898         * iconv/iconv.h: Likewise.
26899         * iconv/loop.c: Likewise.
26900         * iconv/skeleton.c: Likewise.
26901         * include/aio.h: Likewise.
26902         * include/aliases.h: Likewise.
26903         * include/argz.h: Likewise.
26904         * include/arpa/inet.h: Likewise.
26905         * include/assert.h: Likewise.
26906         * include/dirent.h: Likewise.
26907         * include/dlfcn.h: Likewise.
26908         * include/execinfo.h: Likewise.
26909         * include/fcntl.h: Likewise.
26910         * include/fenv.h: Likewise.
26911         * include/glob.h: Likewise.
26912         * include/grp.h: Likewise.
26913         * include/libintl.h: Likewise.
26914         * include/mntent.h: Likewise.
26915         * include/netdb.h: Likewise.
26916         * include/pwd.h: Likewise.
26917         * include/rpc/netdb.h: Likewise.
26918         * include/sched.h: Likewise.
26919         * include/search.h: Likewise.
26920         * include/shadow.h: Likewise.
26921         * include/signal.h: Likewise.
26922         * include/stdio.h: Likewise.
26923         * include/stdlib.h: Likewise.
26924         * include/string.h: Likewise.
26925         * include/sys/socket.h: Likewise.
26926         * include/sys/stat.h: Likewise.
26927         * include/sys/statfs.h: Likewise.
26928         * include/sys/statvfs.h: Likewise.
26929         * include/sys/syslog.h: Likewise.
26930         * include/sys/time.h: Likewise.
26931         * include/sys/uio.h: Likewise.
26932         * include/time.h: Likewise.
26933         * include/unistd.h: Likewise.
26934         * include/utmp.h: Likewise.
26935         * include/wchar.h: Likewise.
26936         * include/wctype.h: Likewise.
26937         * inet/aliases.h: Likewise.
26938         * inet/arpa/inet.h: Likewise.
26939         * inet/netinet/ether.h: Likewise.
26940         * inet/netinet/in.h: Likewise.
26941         * intl/libintl.h: Likewise.
26942         * io/bits/fcntl2.h: Likewise.
26943         * io/fcntl.h: Likewise.
26944         * io/ftw.h: Likewise.
26945         * io/sys/poll.h: Likewise.
26946         * io/sys/stat.h: Likewise.
26947         * io/sys/statfs.h: Likewise.
26948         * io/sys/statvfs.h: Likewise.
26949         * io/utime.h: Likewise.
26950         * libio/bits/stdio.h: Likewise.
26951         * libio/bits/stdio2.h: Likewise.
26952         * libio/libio.h: Likewise.
26953         * libio/libioP.h: Likewise.
26954         * libio/stdio.h: Likewise.
26955         * locale/lc-ctype.c: Likewise.
26956         * locale/locale.h: Likewise.
26957         * login/utmp.h: Likewise.
26958         * malloc/arena.c: Likewise.
26959         * malloc/malloc.c: Likewise.
26960         * malloc/malloc.h: Likewise.
26961         * malloc/mcheck.c: Likewise.
26962         * malloc/mtrace.c: Likewise.
26963         * math/bits/mathcalls.h: Likewise.
26964         * math/fenv.h: Likewise.
26965         * math/math_private.h: Likewise.
26966         * misc/bits/error.h: Likewise.
26967         * misc/bits/syslog.h: Likewise.
26968         * misc/err.h: Likewise.
26969         * misc/error.h: Likewise.
26970         * misc/fstab.h: Likewise.
26971         * misc/mntent.h: Likewise.
26972         * misc/regexp.h: Likewise.
26973         * misc/search.h: Likewise.
26974         * misc/sgtty.h: Likewise.
26975         * misc/sys/mman.h: Likewise.
26976         * misc/sys/syslog.h: Likewise.
26977         * misc/sys/uio.h: Likewise.
26978         * misc/sys/xattr.h: Likewise.
26979         * misc/ttyent.h: Likewise.
26980         * nis/rpcsvc/ypclnt.h: Likewise.
26981         * nss/nss.h: Likewise.
26982         * posix/bits/unistd.h: Likewise.
26983         * posix/fnmatch.h: Likewise.
26984         * posix/glob.h: Likewise.
26985         * posix/sched.h: Likewise.
26986         * posix/spawn.h: Likewise.
26987         * posix/sys/wait.h: Likewise.
26988         * posix/unistd.h: Likewise.
26989         * posix/wordexp.h: Likewise.
26990         * pwd/pwd.h: Likewise.
26991         * resolv/netdb.h: Likewise.
26992         * resource/sys/resource.h: Likewise.
26993         * rt/aio.h: Likewise.
26994         * rt/bits/mqueue2.h: Likewise.
26995         * rt/mqueue.h: Likewise.
26996         * shadow/shadow.h: Likewise.
26997         * signal/signal.h: Likewise.
26998         * socket/send.c: Likewise.
26999         * socket/sendto.c: Likewise.
27000         * socket/sys/socket.h: Likewise.
27001         * stdio-common/printf.h: Likewise.
27002         * stdlib/bits/stdlib.h: Likewise.
27003         * stdlib/fmtmsg.h: Likewise.
27004         * stdlib/monetary.h: Likewise.
27005         * stdlib/stdlib.h: Likewise.
27006         * stdlib/ucontext.h: Likewise.
27007         * streams/stropts.h: Likewise.
27008         * string/argz.h: Likewise.
27009         * string/bits/string2.h: Likewise.
27010         * string/string.h: Likewise.
27011         * string/strings.h: Likewise.
27012         * sunrpc/rpc/auth.h: Likewise.
27013         * sunrpc/rpc/auth_des.h: Likewise.
27014         * sunrpc/rpc/clnt.h: Likewise.
27015         * sunrpc/rpc/netdb.h: Likewise.
27016         * sunrpc/rpc/pmap_clnt.h: Likewise.
27017         * sunrpc/rpc/xdr.h: Likewise.
27018         * sysdeps/generic/inttypes.h: Likewise.
27019         * sysdeps/generic/net/if.h: Likewise.
27020         * sysdeps/generic/sys/swap.h: Likewise.
27021         * sysdeps/gnu/net/if.h: Likewise.
27022         * sysdeps/gnu/utmpx.h: Likewise.
27023         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27024         * sysdeps/i386/i486/bits/string.h: Likewise.
27025         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27026         * sysdeps/s390/bits/string.h: Likewise.
27027         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27028         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27029         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27030         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27031         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27032         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27033         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27034         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27035         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27036         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27037         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27038         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27039         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27040         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27041         * sysdeps/unix/sysv/linux/readv.c: Likewise.
27042         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27043         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27044         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27045         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27046         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27047         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27048         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27049         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27050         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27051         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27052         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27053         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27054         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27055         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27056         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27057         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27058         * sysvipc/sys/ipc.h: Likewise.
27059         * sysvipc/sys/msg.h: Likewise.
27060         * sysvipc/sys/sem.h: Likewise.
27061         * sysvipc/sys/shm.h: Likewise.
27062         * termios/termios.h: Likewise.
27063         * time/sys/time.h: Likewise.
27064         * time/time.h: Likewise.
27065         * wcsmbs/bits/wchar2.h: Likewise.
27066         * wcsmbs/uchar.h: Likewise.
27067         * wcsmbs/wchar.h: Likewise.
27068         * wctype/wctype.h: Likewise.
27070         [BZ #13551]
27071         * Makeconfig: Remove all but ELF support including AIX support.
27072         * Makerules: Likewise.
27073         * config.h.in: Likewise.
27074         * config.make.in: Likewise.
27075         * configure: Likewise.
27076         * configure.in: Likewise.
27077         * csu/Makefile: Likewise.
27078         * csu/version.c: Likewise.
27079         * debug/Makefile: Likewise.
27080         * dlfcn/Makefile: Likewise.
27081         * elf/Makefile: Likewise.
27082         * extra-lib.mk: Likewise.
27083         * iconv/Makefile: Likewise.
27084         * include/libc-symbols.h: Likewise.
27085         * include/shlib-compat.h: Likewise.
27086         * resolv/Makefile: Likewise.
27087         * resolv/res_libc.c: Likewise.
27088         * rt/Makefile: Likewise.
27089         * sysdeps/i386/asm-syntax.h: Likewise.
27090         * sysdeps/i386/sysdep.h: Likewise.
27091         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27092         * sysdeps/mach/sysdep.h: Likewise.
27093         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27094         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27095         * sysdeps/s390/asm-syntax.h: Likewise.
27096         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27097         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27098         * sysdeps/sh/sysdep.h: Likewise.
27099         * sysdeps/unix/sparc/sysdep.h: Likewise.
27100         * sysdeps/wordsize-32/divdi3.c: Likewise.
27101         * sysdeps/x86_64/sysdep.h: Likewise.
27103         * argp/Versions: Remove _argp_unlock_xxx.
27105         [BZ #13559]
27106         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
27107         * abilist/libBrokenLocale.abilist: Likewise.
27108         * abilist/libanl.abilist: Likewise.
27109         * abilist/libc.abilist: Likewise.
27110         * abilist/libcrypt.abilist: Likewise.
27111         * abilist/libdl.abilist: Likewise.
27112         * abilist/libm.abilist: Likewise.
27113         * abilist/libnsl.abilist: Likewise.
27114         * abilist/libpthread.abilist: Likewise.
27115         * abilist/libresolv.abilist: Likewise.
27116         * abilist/librt.abilist: Likewise.
27117         * abilist/libthread_db.abilist: Likewise.
27118         * abilist/libutil.abilist: Likewise.
27119         * abilist/libnss_db.abilist: New file.
27121         * scripts/abilist.awk: Add support for indirect functions.
27123         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27125         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27127         * shlib-versions: Remove entries for ports architectures.
27129         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
27130         files in ports.
27131         * elf/stackguard-macros.h: Remove support for IA-64.
27132         * elf/tst-auditmod1.c: Likewise.
27133         * sysdeps/generic/ldsodefs.h: Likewise.
27135         * sysdeps/unix/sysv/linux/configure.in: Ports should define
27136         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27137         configure files.
27139         [BZ #13552]
27140         * configure.in: Remove --enable-omitfp support.
27141         * FAQ.in: Adjust.
27142         * config.make.in: Likewise.
27143         * Makeconfig: Likewise.
27144         * manual/install.texi: Likewise.
27146         In case anyone cares, the IA-64 architecture could move to ports.
27147         * sysdeps/ia64/*: Removed.
27148         * sysdeps/unix/sysv/linux/ia64/*: Removed.
27149         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27151         [BZ #13555]
27152         * configure.in: Remove entries for unsupported architectures.
27154         [BZ #13533]
27155         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27156         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
27157         routines.
27158         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27159         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27160         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
27161         fall back to using wcrtomb.
27162         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27163         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
27164         renaming.
27165         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27166         * wcsmbs/tst-c16c32-1.c: New file.
27168         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27169         local variable.
27171         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27173         * elf/tst-unique3.cc: Add explicit declaration of gets.
27174         * elf/tst-unique3lib.cc: Likewise.
27175         * elf/tst-unique3lib2.cc: Likewise.
27176         * elf/tst-unique4.cc: Likewise.
27178         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27180 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
27182         [BZ #13566]
27183         * assert/assert.h (static_assert): Don't define for C++.
27184         * libio/stdio.h (gets): Do declare for C++ <= C++11.
27185         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27187 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
27189         * iconv/loop.c (single loop): Fix assertion in storing of
27190         remaining bytes.
27192         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27194 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
27196         * posix/getconf.c: Update copyright year.
27197         * nss/getent.c: Likewise.
27198         * nss/makedb.c: Likewise.
27199         * iconv/iconvconfig.c: Likewise.
27200         * iconv/iconv_prog.c: Likewise.
27201         * elf/ldconfig.c: Likewise.
27202         * elf/pldd.c: Likewise.
27203         * elf/sotruss.ksh: Likewise.
27204         * catgets/gencat.c: Likewise.
27205         * csu/version.c: Likewise.
27206         * elf/ldd.bash.in: Likewise.
27207         * elf/sprof.c (print_version): Likewise.
27208         * locale/programs/locale.c: Likewise.
27209         * locale/programs/localedef.c: Likewise.
27210         * login/programs/pt_chown.c: Likewise.
27211         * nscd/nscd.c (print_version): Likewise.
27212         * debug/xtrace.sh: Likewise.
27213         * malloc/memusage.sh: Likewise.
27214         * malloc/mtrace.pl: Likewise.
27215         * debug/catchsegv.sh: Likewise.
27217 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
27219         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27220         pure attribute.
27222 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
27224         [BZ #13533]
27225         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27226         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27227         transformations.
27228         * iconv/gconv_int.h: Likewise.
27229         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27230         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27231         from libc for GLIBC_2.16.
27232         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27233         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27234         * wcsmbs/uchar.h: Really define mbstate_t.
27235         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27236         * wcsmbs/c16rtomb.c: New file.
27237         * wcsmbs/mbrtoc16.c: New file.
27238         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27239         for C/POSIX locale.
27240         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27241         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27243         * wcsmbs/wchar.h: Add missing __restrict.
27245 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27247         [BZ #13532]
27248         * time/Makefile (routines): Add timespec_get.
27249         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27250         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
27251         timespec for ISO C11.
27252         * time/timespec_get.c: New file.
27253         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27254         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27256         [BZ #13531]
27257         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27258         * stdlib/stdlib.h: Declare aligned_alloc.
27259         * Versions.def: Add GLIBC_2.16 for libc.
27260         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27262         [BZ 13527]
27263         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27264         ISO C11.
27266         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27267         code.
27269         [BZ #13528]
27270         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27272         [BZ #13529]
27273         * assert/assert.h (static_assert): Define.
27275         * version.h: Update for 2.16 development version.
27277         [BZ #13526]
27278         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27279         _ISOC11_SOURCE.
27281         * version.h (RELEASE): Bump for 2.15 release.
27282         * include/features.h (__GLIBC_MINOR__): Bump to 15.
27284         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27285         Patch by Marek Polacek <mpolacek@redhat.com>.
27287         * bits/byteswap.h: Protect long long constants with __extension__.
27288         * sysdeps/i386/bits/byteswap.h: Likewise.
27289         * sysdeps/ia64/bits/byteswap.h: Likewise.
27290         * sysdeps/s390/bits/byteswap.h: Likewise.
27291         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27293 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27295         [BZ #13540]
27296         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27297         destination buffer.
27298         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27300 2011-12-23  Marek Polacek  <polacek@redhat.com>
27302         * elf/dl-addr.c (determine_info): Add inline keyword.
27303         * elf/tst-auditmod4b.c (check_avx): Likewise.
27304         * elf/tst-auditmod6b.c (check_avx): Likewise.
27305         * elf/tst-auditmod6c.c (check_avx): Likewise.
27306         * elf/tst-auditmod7b.c (check_avx): Likewise.
27308 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27310         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27311         !__SSE_MATH__.
27313 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27315         [BZ #13540]
27316         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27317         processing for last bytes.
27319 2011-08-06  Bruno Haible  <bruno@clisp.org>
27321         [BZ #13061]
27322         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27323         U+0385, not to U+1FEE.
27325         [BZ #13062]
27326         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27327         entry for U+00A5 U+0301.
27329 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27331         [BZ #13166]
27332         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27333         buffer for the output is too small.
27335         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27336         optimization.
27338         [BZ #13185]
27339         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27340         SSE flags if possible.
27342 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27344         [BZ #13540]
27345         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27346         processing for last bytes.
27348 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
27350         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27351         (syscall-list-default-options, syscall-list-default-condition)
27352         (syscall-list-includes): Define.
27353         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27354         list of ABIs and options and #if conditions for each ABI.  Do not
27355         handle common syscalls between ABIs specially.
27356         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27357         Remove.
27358         (syscall-list-variants, syscall-list-32bit-options)
27359         (syscall-list-32bit-condition, syscall-list-64bit-options)
27360         (syscall-list-64bit-condition): Define.
27361         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27362         (syscall-list-variants, syscall-list-32bit-options)
27363         (syscall-list-32bit-condition, syscall-list-64bit-options)
27364         (syscall-list-64bit-condition): Define.
27365         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27366         Remove.
27367         (syscall-list-variants, syscall-list-32bit-options)
27368         (syscall-list-32bit-condition, syscall-list-64bit-options)
27369         (syscall-list-64bit-condition): Define.
27370         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27371         Remove.
27372         (syscall-list-variants, syscall-list-32bit-options)
27373         (syscall-list-32bit-condition, syscall-list-64bit-options)
27374         (syscall-list-64bit-condition): Define.
27376 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27378         * locale/iso-639.def: Add brx entry.
27380         [BZ #13328]
27381         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27382         Proposed by Mariusz_Cukr <marcukr@op.pl>.
27384         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27385         __feraiseexcept_renamed.
27387 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
27389         [BZ #13538]
27390         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27391         EPOLLET with unsigned values.
27392         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27393         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27395         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27396         to large cancellation.
27397         * math/s_cacoshf.c: Likewise.
27398         * math/s_cacoshl.c: Likewise.
27400 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
27402         [BZ #13305]
27403         [BZ #12786]
27404         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27405         * math/s_cacoshf.c: Likewise.
27406         * math/s_cacoshl.c: Likewise.
27408 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
27410         [BZ #13439]
27411         * iconv/gconv.h: Define __GCONV_SWAP.
27412         * iconvdata/unicode.c: The swap bit must be stored in __flags.
27413         * iconvdata/utf-16.c: Likewise.
27414         * iconvdata/utf-32.c: Likewise.
27416 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27418         [BZ #13524]
27419         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27420         numerator after shifting it by one limb.
27422 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
27424         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27425         under [__USE_EXTERN_INLINES].
27427 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
27429         [BZ #13446]
27430         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27432 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27434         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27435         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27436         optimized code.
27437         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27438         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27439         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27440         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27441         for strncasecmp/strncasecmp_l compilation.
27442         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27443         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27445 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
27447         [BZ #13484]
27448         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27449         of __asm__.
27451 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
27453         [BZ #13506]
27454         * time/tzfile.c (__tzfile_read): Check values from file header.
27456 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27458         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27459         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27460         * powerpc/powerpc32/dl-start.S: Likewise.
27461         * powerpc/powerpc32/elf/start.S: Likewise.
27462         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27463         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27464         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27465         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27466         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27467         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27468         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27469         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27470         * powerpc/powerpc32/fpu/s_round.S: Likewise.
27471         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27472         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27473         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27474         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27475         * powerpc/powerpc32/memset.S: Likewise.
27476         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27477         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27478         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27479         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27480         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27481         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27482         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27483         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27484         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27485         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27486         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27487         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27488         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27490 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27492         * math/libm-test.inc: Added more nearbyint tests.
27493         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27494         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27495         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27496         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27498 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
27500         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27501         FD_CLOEXEC.
27503 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27505         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27506         Add wcscpy-ssse3 wcscpy-c.
27507         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27508         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27509         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27510         * sysdeps/x86_64/wcschr.S: New file.
27511         * sysdeps/x86_64/wcsrchr.S: New file.
27512         * string/test-strcmp.c: Remove checking of wcscmp function for
27513         wrong alignments.
27514         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27515         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27516         wcsrchr-sse2 wcsrchr-c.
27517         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27518         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27519         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27520         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27521         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27522         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27523         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27524         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27525         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27526         * wcsmbc/wcschr.c (WCSCHR): New macro.
27528 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27530         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27531         * wcsmbs/test-wcsrchr.c: New file.
27532         * string/test-strrchr.c: Add wcsrchr support.
27533         (WIDE): New macro.
27534         * wcsmbs/test-wcscpy.c: New file.
27535         * string/test-strcpy.c: Add wcscpy support.
27536         (WIDE): New macro.
27538 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
27540         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27541         the inner loop.
27543 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
27545         [BZ #13472]
27546         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27548 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
27550         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27551         Minor optimizations.
27553         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27554         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27555         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27557 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
27559         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27560         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27561         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27562         for gcc to avoid warnings.
27563         * inet/Makefile (tests): Add tst-checks.
27564         * inet/tst-checks.c: New file.
27566         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27567         warning.
27569         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27570         __wmemcmp_sse2.
27572         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27573         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27575         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27577 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
27579         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27580         problem.
27582         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27584 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
27586         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27587         conditional on GCC version.
27588         (__arch_compare_and_exchange_val_8_acq)
27589         (__arch_compare_and_exchange_val_16_acq)
27590         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27591         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27592         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27594 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
27596         * sysdeps/sh/backtrace.c: New file.
27598 2011-12-02  Andreas Schwab  <schwab@redhat.com>
27600         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
27601         parenthesis.
27603 2011-12-01  Andreas Schwab  <schwab@redhat.com>
27605         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27606         falling back to utime.
27608 2011-11-30  Andreas Schwab  <schwab@redhat.com>
27610         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27611         expectations for float.
27613 2011-11-29  Andreas Schwab  <schwab@redhat.com>
27615         * locale/weight.h (findidx): Add parameter len.
27616         * locale/weightwc.h (findidx): Likewise.
27617         * posix/fnmatch_loop.c (FCT): Adjust caller.
27618         * posix/regcomp.c (build_equiv_class): Likewise.
27619         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27620         * posix/regexec.c (check_node_accept_bytes): Likewise.
27621         * string/strcoll_l.c (STRCOLL): Likewise.
27622         * string/strxfrm_l.c (STRXFRM): Likewise.
27624 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
27626         * Makefile.in: Remove CVSOPT handling.
27627         * configure.in: Remove use of AC_REVISION.
27628         * iconvdata/Makefile (distribute): No need to filter out CVS.
27629         * scripts/list-sources.sh: Remove CVS, subversion and monotone
27630         handling.
27632 2011-11-16  Andreas Schwab  <schwab@redhat.com>
27634         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27635         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27636         [USE_AS_STRNCASECMP_L]: Likewise.
27637         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27638         NO_TLS_DIRECT_SEG_REFS.
27639         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27640         Fix argument offsets for non-PIC.
27641         [USE_AS_STRNCASECMP_L]: Likewise.
27642         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27643         NO_TLS_DIRECT_SEG_REFS.
27645 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27647         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27648         O_CLOEXEC.
27649         * locale/loadlocale.c (_nl_load_locale): Likewise.
27651 2011-11-15  Andreas Schwab  <schwab@redhat.com>
27653         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27654         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27655         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27656         (SYSCALL_GETTIME): Set errno on error.
27658         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27659         count references to noai6ai_cached.
27661 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27663         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27665         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27666         FD_CLOEXEC for /proc/self/maps.
27668         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27669         FD_CLOEXEC for /proc/meminfo.
27671         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27672         gai.conf.
27674         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
27675         FD_CLOEXEC for given file.
27677         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27679         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27680         FD_CLOEXEC for /etc/hosts.
27681         (_gethtent): Likewise.
27683         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27685         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27686         cancellation and set FD_CLOEXEC for /etc/netgroup.
27688         * nss/nss_files/files-key.c (search): Don't allow cancellation when
27689         reading /etc/publickey.
27691         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27692         allow cancellation when reading /etc/group.
27694         * nss/nss_files/files-alias.c (internal_setent): Don't allow
27695         cancellation.
27696         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
27698         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27699         when using data file.
27701         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27703         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27704         (write_nis_obj): Use "c" and "e" in fopen.
27706         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27708         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27710         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27712         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27714         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27715         locale.alias.
27717         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27719         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27721         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27723         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27724         file parsing and set FD_CLOEXEC.
27726 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27728         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27730 2011-11-14  Andreas Schwab  <schwab@redhat.com>
27732         * malloc/arena.c (arena_get2): Don't call reused_arena when
27733         _int_new_arena failed.
27735 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27737         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27738         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27739         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27740         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27741         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27742         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27743         to compile strcasecmp and strncasecmp.
27744         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27745         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27747         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27749 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
27751         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27752         locale-defines.sym to gen-as-const-headers.
27753         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27754         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27755         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27756         to compile strcasecmp and strncasecmp.
27757         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27758         strcasecmp_l and strncasecmp_l.
27759         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27760         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27761         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27762         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27763         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27764         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27765         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27766         * sysdeps/i386/i686/multiarch/strncase.S: New file.
27767         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27768         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27769         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27771 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
27773         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27774         result of SYSDEP_GETTIME_CPU to retval.
27775         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27776         parameter list to macro.  Remove trailing semicolon.  Adjust users.
27778         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27779         variable.
27781         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27782         mantissa words.
27783         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27785         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27786         from unused variable.
27788         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27789         DWARF definitions.
27790         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27791         for assembling.
27793         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27794         over namespaces.
27796         * sunrpc/rpc_prot.c (rejected): Fix case value.
27798         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27799         unsigned long long int to avoid warnings in shift.
27801         * posix/regex_internal.c (re_string_reconstruct): Actually use result
27802         of use of trans.
27803         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27804         variable tmp.
27806         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27807         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27808         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27810         * nis/nis_table.c (nis_list): Use variable of correct type for
27811         result of __follow_path call.
27813 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27815         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27816         of math functions ceil, trunc, floor, round, and sqrt, when
27817         avaliable on the platform.
27818         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27819         name clash.
27820         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27821         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27822         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27824 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
27826         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27827         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27829 2011-11-11  Roland McGrath  <roland@hack.frob.com>
27831         * include/unistd.h: Fix __readlink return type.
27832         Reported by Chris Metcalf <cmetcalf@tilera.com>.
27834 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
27836         * stdlib/ucontext.h: Undo last change for makecontext.
27838 2011-11-11  Andreas Schwab  <schwab@redhat.com>
27840         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27842         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27843         * setjmp/setjmp.h: Mark functions as non-leaf.
27844         * setjmp/bits/setjmp2.h: Likewise.
27845         * stdlib/ucontext.h: Likewise.
27847 2011-11-10  Andreas Schwab  <schwab@redhat.com>
27849         * malloc/arena.c (_int_new_arena): Don't increment narenas.
27850         (reused_arena): Don't check arena limit.
27851         (arena_get2): Atomically check arena limit.
27853 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
27855         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27856         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27858         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27859         instructions.
27861 2011-11-07  Andreas Schwab  <schwab@redhat.com>
27863         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27864         handler when locking.
27866         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27867         Fix size of allocated buffer.
27869 2011-11-04  Andreas Schwab  <schwab@redhat.com>
27871         [BZ #10103]
27872         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27873         declarations for long double functions.
27874         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27876         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27878 2011-11-03  Andreas Schwab  <schwab@redhat.com>
27880         * nscd/nscd.c (main): Don't start AVC thread until credentials are
27881         installed.
27883         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27884         is disabled.
27886 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27888         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27890 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27892         * include/alloca.h (stackinfo_alloca_round): Define.
27893         (extend_alloca): Use it.
27894         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27895         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27896         here.
27898         * scripts/check-local-headers.sh: Ignore libaudit.h.
27900         * nscd/Makefile (extra-objs): Make recursively expanded.
27902 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
27904         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27905         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27907         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27908         * posix/tst-rfc3484-2.c: Likewise.
27909         * posix/tst-rfc3484-3.c: Likewise.
27911         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27912         process_vm_writev.
27913         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27914         process_vm_writev.
27915         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27916         process_vm_writev from libc using GLIBC_2.15 version.
27918         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27920 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
27922         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27923         stack usage.
27925 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
27927         [BZ #13367]
27928         * nss/getent.c (initgroups_keys): Show error message in case no group
27929         names are given.
27931         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27932         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27933         __bump_nl_timestamp.
27934         * nscd/connections (nscd_init): When host database is served open
27935         netlink socket and request notification about configuration changes.
27936         (main_loop_poll): Track netlink file descriptor and bump timestamp
27937         in case data becomes available.
27938         (main_loop_epoll): Likewise.
27939         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27940         (database_pers_head): Add extra_data fileds.
27941         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27942         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27943         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27944         Adjust caller.
27945         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27946         in6ai data, call __free_in6ai.
27947         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27948         Add -DHAVE_NETLINK.
27949         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
27950         interface information.  Reuse previous data if netlink timestamp
27951         is not changed.
27952         (__bump_nl_timestamp): New function.
27953         (__free_in6ai): New function.
27955 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
27957         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27958         close_not_cancel_no_status here.
27959         (__check_pf): Reorganize code a bit to not call close twice if OOM.
27961 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27963         [BZ #13276]
27964         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27965         return value.
27967         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27968         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27969         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27971 2011-07-03  Andreas Jaeger  <aj@suse.de>
27973         [BZ #10709]
27974         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27975         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27976         * math/libm-test.inc (sin_test): Add test case.
27978 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27980         [BZ #13337]
27981         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27982         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27984         * elf/chroot_canon.c (chroot_canon): Cleanups.
27986         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27988         [BZ #13335]
27989         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27990         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27992         * string/test-strchr.c: Make usable for strchrnul testing.
27993         * string/test-strchrnul.c: New file.
27994         * string/Makefile (strop-tests): Add strchrnul.
27996         * po/it.po: Update from translation team.
27997         * po/es.po: Likewise.
27999 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
28001         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28002         the three constants needed as parameters.  Drop the others.
28003         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28004         __m128i_strloadu_tolower.
28005         Create and initialize variable zero and use it in all the places
28006         where _mm_setzero_si128 was used.
28008         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28009         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28010         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28011         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28012         anymore.
28013         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28014         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28015         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28016         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28017         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28018         __mpranred, __mptan.
28019         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28020         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28021         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28022         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28023         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28024         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28025         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28026         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28027         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28029 2011-10-28  Andreas Schwab  <schwab@redhat.com>
28031         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28032         redefine if SHARED.
28033         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28035         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28036         wide char related routines to wcsmbs subdir.
28038 2011-10-27  Andreas Schwab  <schwab@redhat.com>
28040         [BZ #13344]
28041         * misc/sys/cdefs.h (__THROWNL): Define.
28042         * posix/unistd.h: Use __THREADNL instead of __THREAD
28043         for memory synchronization functions.
28045 2011-10-26  Roland McGrath  <roland@hack.frob.com>
28047         [BZ #13349]
28048         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28049         doesn't exist.
28050         * manual/stdio.texi (Obstack Streams): Node removed.
28052 2011-10-26  Andreas Schwab  <schwab@redhat.com>
28054         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28055         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28056         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28058         * math/math_private.h (math_force_eval): Allow non-addressable
28059         arguments.
28060         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28062 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28064         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28065         file is not needed.
28067         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28068         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28069         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28070         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28071         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28072         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28073         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28074         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28075         Add AVX variants.
28076         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28077         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28078         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28079         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28080         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28081         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28082         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28083         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28084         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28085         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28086         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28087         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28088         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28089         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28090         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28091         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28092         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28093         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28094         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28096         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28097         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
28099         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28100         place.  Use VEX encoding when compiling for AVX.
28102 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28104         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28105         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28107         * string/test-strchr.c (do_test): Don't generate NUL bytes.
28109 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28111         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28112         useless if() expression.
28113         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28114         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28115         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28116         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28117         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28118         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28119         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28120         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28121         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28122         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28123         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28124         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28125         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28126         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28127         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28128         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28129         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28130         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28131         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28133         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28135 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28137         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28138         condition.
28139         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28141 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28143         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28144         .text section.  Avoid duplicate constants.
28145         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28146         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28147         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28148         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28149         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28150         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28151         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28152         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28153         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28154         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28155         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28156         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28157         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28158         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28159         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28160         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28161         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28162         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28163         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28164         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28165         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28166         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28167         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28168         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28169         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28170         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28171         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28172         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28173         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28174         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28175         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28176         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28177         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28178         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28179         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28180         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28181         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28182         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28183         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28184         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28185         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28186         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28187         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28188         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28189         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28191 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
28193         * sysdeps/x86_64/dla.h: Move to ...
28194         * sysdeps/x86_64/fpu/dla.h: ...here.
28195         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28196         situations.  Use __builtin_fma only for gcc 4.6 and up.
28198         * config.make.in: Add have-mfma4 entry.
28199         * configure.in: Substitute libc_cv_cc_fma4.
28200         * math/Makefile (dbl-only-routines): Add sincostab.
28201         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28202         Use __sincostab not sincos.
28203         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28204         name is a macro.
28205         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28206         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28207         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28208         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
28209         using __copysign.
28210         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
28211         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
28212         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28213         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28214         and __inv.
28215         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28216         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28217         __copysign.
28218         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
28219         define aliases when function name is a macro.
28220         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28221         sysdeps/ieee754/dbl-64/sincos.tbl.
28222         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28223         fma4-enabled routines.
28224         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28225         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28226         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28227         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28228         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28229         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28230         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28231         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28232         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28233         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28234         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28235         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28236         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28237         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28238         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28239         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28240         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28241         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28242         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28243         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28244         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28245         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28246         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28247         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28248         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28249         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28250         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28251         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28252         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28253         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28255         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28256         rename.
28257         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28258         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28259         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28260         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28261         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28262         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28263         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28264         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28266 2011-10-24  Andreas Schwab  <schwab@redhat.com>
28268         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28270 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28272         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28274         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28275         prediction.
28276         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28278         * string/strnlen.c: Don't define STRNLEN, reverse logic.
28279         Remove unused variable magic_bits.
28280         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28282         * string/strnlen.c: Define and use STRNLEN macro.
28283         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28284         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28285         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28286         * wcsmbs/wcslen.c: Define and use WCSLEN.
28287         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28288         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28289         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28290         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28291         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28292         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28293         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28295 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28297         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28298         strnlen-sse2-no-bsf.
28299         Rename strlen-no-bsf to strlen-sse2-no-bsf.
28300         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28301         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28302         Add strnlen support.
28303         (USE_AS_STRNLEN): New macro.
28304         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28305         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28306         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28307         * sysdeps/x86_64/wcslen.S: New file.
28309 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
28311         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28312         XMM-moves are used for copying on small sizes.
28314 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28316         * wcsmbs/Makefile (strop-tests): Add wcschr.
28317         * wcsmbs/test-wcschr.c: New file.
28318         * string/test-strchr.c: Update.
28319         Add wcschr support.
28320         (WIDE): New macro.
28322 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28324         * wcsmbs/Makefile (strop-tests): Add wcslen.
28325         * wcsmbs/test-wcslen.c: New file.
28326         * string/test-strlen.c: Update.
28327         Add wcslen support.
28328         (WIDE): New macro.
28330 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28332         * po/it.po: Update from translation team.
28334 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28336         * sysdeps/x86_64/wcscmp.S: Update.
28337         Fix wrong comparison semantics.
28338         wcscmp shall use signed comparison not unsigned.
28339         Don't use substraction to avoid overflow bug.
28340         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28341         * wcsmbc/wcscmp.c: Likewise.
28342         * string/test-strcmp.c: Likewise.
28343         Add new tests to check cases with negative values.
28345 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28347         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28348         * sysdeps/x86_64/dla.h: ...here.  New file.
28349         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28350         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28351         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28352         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28353         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28354         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28355         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28356         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28357         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28359 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
28361         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28362         __ynl_finite aliases.
28364 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
28366         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28368         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28369         define DLA_FMA.
28370         [DLA_FMA] (EMULV): Use DLA_FMA.
28371         [DLA_FMA] (MUL12): Use EMULV.
28372         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28373         that are not needed.
28374         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28375         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28376         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28377         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28378         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28379         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28380         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28382 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
28384         * math/s_nan.c: Undef __nan.
28385         * math/s_nanf.c: Undef __nanf.
28386         * math/s_nanl.c: Undef __nanl.
28387         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28388         "math_private.h".
28390 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
28392         * math/s_catan.c: Add branch predictions.
28393         * math/s_catanf.c: Likewise.
28394         * math/s_catanh.c: Likewise.
28395         * math/s_catanhf.c: Likewise.
28396         * math/s_catanhl.c: Likewise.
28397         * math/s_catanl.c: Likewise.
28398         * math/s_cexp.c: Likewise.
28399         * math/s_cexpf.c: Likewise.
28400         * math/s_cexpl.c: Likewise.
28401         * math/s_clog.c: Likewise.
28402         * math/s_clog10.c: Likewise.
28403         * math/s_clog10f.c: Likewise.
28404         * math/s_clog10l.c: Likewise.
28405         * math/s_clogf.c: Likewise.
28406         * math/s_clogl.c: Likewise.
28407         * math/s_csqrt.c: Likewise.
28408         * math/s_csqrtf.c: Likewise.
28409         * math/s_csqrtl.c: Likewise.
28410         * math/s_ctanf.c: Likewise.
28411         * math/s_ctanh.c: Likewise.
28412         * math/s_ctanhf.c: Likewise.
28413         * math/s_ctanhl.c: Likewise.
28414         * math/s_ctanl.c: Likewise.
28416         * math/math_private.h: Define __nan, __nanf, __nanl.
28417         * math/s_cacosh.c: Include <math_private.h>.
28418         * math/s_cacoshl.c: Likewise.
28419         * math/s_casinh.c: Likewise.
28420         * math/s_casinhf.c: Likewise.
28421         * math/s_casinhl.c: Likewise.
28422         * math/s_ccos.c: Rely entire on ccosh.
28423         * math/s_ccosf.c: Rely entire on ccoshf.
28424         * math/s_ccosl.c: Rely entirely on ccoshl.
28425         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
28426         Remove tests for FE_INVALID.
28427         * math/s_ccoshf.c: Likewise.
28428         * math/s_ccoshl.c: Likewise.
28429         * math/s_csin.c: Likewise.
28430         * math/s_csinf.c: Likewise.
28431         * math/s_csinh.c Likewise.
28432         * math/s_csinhf.c: Likewise.
28433         * math/s_csinhl.c: Likewise.
28434         * math/s_csinl.c: Likewise.
28435         * math/s_ctan.c: Likewise.
28436         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28437         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28438         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28440 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
28442         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28443         compilation problems.
28445         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28446         __builtin_expect.
28448 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
28450         * sysdeps/i386/configure.in: Test for -mfma4 option.
28451         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28452         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28453         COMMON_CPUID_INDEX_80000001.
28454         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28455         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28456         use it if FMA3 is not supported.
28457         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28459         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28460         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28462 2011-10-20  Andreas Schwab  <schwab@redhat.com>
28464         [BZ #12892]
28465         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28466         it would create a cycle with a link time dependency.
28468 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
28470         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28471         instruction.
28472         * string/Makefile (strop-tests): Add rawmemchr.
28473         * string/test-rawmemchr.c: New file.
28475         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28476         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
28477         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
28478         when compiling str{,n}casecmp and when AVX is available.  Hook up
28479         new optimized code in initializers.
28481 2011-10-19  Andreas Schwab  <schwab@redhat.com>
28483         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28484         __feraiseexcept instead of feraiseexcept.
28486 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
28488         * math/math_private.h: Define defaults for libc_fetestexcept and
28489         libc_feupdateenv.
28490         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28491         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28492         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28493         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28494         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28495         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28496         libc_fetestexcept and libc_feupdateenv.
28498         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28499         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28500         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28501         * sysdeps/x86_64/fpu/math_private.h: Define special version of
28502         libc_feholdexcept_setround.
28504         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28505         Add s_nearbyint-c and s_nearbyintf-c.
28506         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28507         nearbyintf inlines.
28508         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28509         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28510         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28511         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28513         * math/math_private.h: Define defaults for libc_fegetround,
28514         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28515         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28516         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28517         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28518         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28519         standard functions.
28520         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28521         Remove comments and hacks for old compiler versions.
28522         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28523         libc_fegetround, libc_fesetround, libc_feholdexcept, and
28524         libc_feholdexceptl.
28526 2011-10-18  Andreas Schwab  <schwab@redhat.com>
28528         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28529         (__feraiseexcept_renamed): Add __NTH.
28530         (feraiseexcept): Add __NTH.  Rename local variables to fix
28531         namespace violations.
28533 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
28535         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28537         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28539         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28540         recently added interfaces.
28541         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28543         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28544         about macro parameter expansion.
28546         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28547         __NO_MATH_INLINES is defined.  Cleanups.
28549         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28550         and __floorf is target has SSE4.1.
28551         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28552         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28553         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28554         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28556         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28557         name.
28558         (floorf): Likewise.
28560         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28562 2011-10-17  Andreas Schwab  <schwab@redhat.com>
28564         * misc/sys/cdefs.h: Fix last change.
28566         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28567         database lookup.
28569 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
28571         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28573         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28574         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28575         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28576         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28577         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28578         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28579         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28580         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28581         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28582         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28583         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28584         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28585         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28586         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28587         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28588         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28589         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28590         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28591         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28592         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28593         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28594         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28596         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28597         ceil, ceilf, floor, floorf.
28599         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28600         Perform IRELATIVE relocations last.
28602         * elf/do-rel.h: Add another parameter nrelative, replacing the
28603         local variable with the same name.  Change name of the function
28604         to end in Rel or Rela (uppercase).
28605         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28606         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
28607         elf_dynamic_do_##reloc function.
28609 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
28611         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28612         is sufficient, at least on modern CPUs.
28614         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28616         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28617         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28619         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28620         __expl_finite.
28621         * math/bits/math-finite.h: Add entries for exp.
28622         * math/e_expl.c: Add __*_finite alias.
28623         * sysdeps/i386/fpu/e_exp.S: Likewise.
28624         * sysdeps/i386/fpu/e_expf.S: Likewise.
28625         * sysdeps/i386/fpu/e_expl.c: Likewise.
28626         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28627         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28628         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28629         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28630         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28631         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28632         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28634         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28635         is sufficient, at least on modern CPUs.
28637         * ctype/ctype-info.c (__ctype_init): Define.
28638         * include/ctype.h (__ctype_init): Declare.
28639         (__ctype_b_loc): The variable is always initialized.
28640         (__ctype_toupper_loc): Likewise.
28641         (__ctype_tolower_loc): Likewise.
28642         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28643         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28645 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
28647         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28649         * configure.in: Also look in $cxxmachine/include for C++ system
28650         headers.
28652 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28654         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28655         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28656         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28657         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
28658         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28659         (USE_AS_WMEMCMP): New macro.
28660         Fixing indents.
28661         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28662         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28663         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28664         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28665         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28666         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28667         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28668         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28669         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28670         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28671         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28672         (USE_AS_WMEMCMP): New macro.
28673         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28674         * sysdeps/string/test-memcmp.c: Update.
28675         Fix simple_wmemcmp.
28676         Add new tests.
28677         * wcsmbs/wmemcmp.c: Update.
28678         (WMEMCMP): New macro.
28679         Fix overflow bug.
28681 2011-10-12  Andreas Jaeger  <aj@suse.de>
28683         [BZ #13268]
28684         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28686 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
28688         * libio/iofwide.c (do_length): Avoid warning.
28690         * ctype/ctype.h (__isctype_f): Add missing __THROW.
28692 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
28694         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28696         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28697         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28698         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28699         * sysdeps/i386/i686/fpu/e_log.S: New file.
28700         * sysdeps/i386/i686/fpu/e_logf.S: New file.
28701         * sysdeps/i386/i686/fpu/e_logl.S: New file.
28703         * ctype/ctype.h: Add support for inlined isXXX functions when
28704         compiling C++ code.
28706 2011-10-14  Andreas Schwab  <schwab@redhat.com>
28708         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28710         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28712 2011-10-13  Roland McGrath  <roland@hack.frob.com>
28714         [BZ #13291]
28715         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28717 2011-10-13  Andreas Schwab  <schwab@redhat.com>
28719         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28720         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28721         feraiseexcept.
28723         * sysdeps/x86_64/memrchr.S: Check for zero size.
28725         * string/stratcliff.c: Add memrchr tests.
28727 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28729         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28730         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28731         rawmemchr-sse2 rawmemchr-sse2-bsf.
28732         * sysdeps/i386/i686/multiarch/memchr.S: New file.
28733         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28734         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28735         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28736         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28737         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28738         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28739         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28740         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28741         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28742         * string/memrchr.c (MEMRCHR): New macro.
28744 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
28746         Add integration with gcc's -ffinite-math-only and optimize wrapper
28747         functions in libm.
28748         * Versions.def: Define GLIBC_2.15 version for libm.
28749         * math/Makefile (headers): Add bits/math-finite.h.
28750         * math/bits/math-finite.h: New file.
28751         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28752         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28753         * math/e_acoshl.c: Add __*_finite alias.
28754         * math/e_acosl.c: Likewise.
28755         * math/e_asinl.c: Likewise.
28756         * math/e_atan2l.c: Likewise.
28757         * math/e_atanhl.c: Likewise.
28758         * math/e_coshl.c: Likewise.
28759         * math/e_exp10.c: Likewise.
28760         * math/e_exp10f.c: Likewise.
28761         * math/e_exp10l.c: Likewise.
28762         * math/e_exp2l.c: Likewise.
28763         * math/e_fmodl.c: Likewise.
28764         * math/e_gammal_r.c: Likewise.
28765         * math/e_hypotl.c: Likewise.
28766         * math/e_j0l.c: Likewise.
28767         * math/e_j1l.c: Likewise.
28768         * math/e_jnl.c: Likewise.
28769         * math/e_lgammal_r.c: Likewise.
28770         * math/e_log10l.c: Likewise.
28771         * math/e_log2l.c: Likewise.
28772         * math/e_logl.c: Likewise.
28773         * math/e_powl.c: Likewise.
28774         * math/e_sinhl.c: Likewise.
28775         * math/e_sqrtl.c: Likewise.
28776         * math/e_scalb.c: Completely rewritten and optimized.
28777         * math/e_scalbf.c: Likewise.
28778         * math/e_scalbl.c: Likewise.
28779         * math/w_acos.c: Likewise.
28780         * math/w_acosf.c: Likewise.
28781         * math/w_acosl.c: Likewise.
28782         * math/w_acosh.c: Likewise.
28783         * math/w_acoshf.c: Likewise.
28784         * math/w_acoshl.c: Likewise.
28785         * math/w_asin.c: Likewise.
28786         * math/w_asinf.c: Likewise.
28787         * math/w_asinl.c: Likewise.
28788         * math/w_atan2.c: Likewise.
28789         * math/w_atan2f.c: Likewise.
28790         * math/w_atan2l.c: Likewise.
28791         * math/w_atanh.c: Likewise.
28792         * math/w_atanhf.c: Likewise.
28793         * math/w_atanhl.c: Likewise.
28794         * math/w_exp10.c: Likewise.
28795         * math/w_exp10f.c: Likewise.
28796         * math/w_exp10l.c: Likewise.
28797         * math/w_fmod.c: Likewise.
28798         * math/w_fmodf.c: Likewise.
28799         * math/w_fmodl.c: Likewise.
28800         * math/w_j0.c: Likewise.
28801         * math/w_j0f.c: Likewise.
28802         * math/w_j0l.c: Likewise.
28803         * math/w_j1.c: Likewise.
28804         * math/w_j1f.c: Likewise.
28805         * math/w_j1l.c: Likewise.
28806         * math/w_jn.c: Likewise.
28807         * math/w_jnf.c: Likewise.
28808         * math/w_log.c: Likewise.
28809         * math/w_logf.c: Likewise.
28810         * math/w_logl.c: Likewise.
28811         * math/w_log10.c: Likewise.
28812         * math/w_log10f.c: Likewise.
28813         * math/w_log10l.c: Likewise.
28814         * math/w_log2.c: Likewise.
28815         * math/w_log2f.c: Likewise.
28816         * math/w_log2l.c: Likewise.
28817         * math/w_pow.c: Likewise.
28818         * math/w_powf.c: Likewise.
28819         * math/w_powl.c: Likewise.
28820         * math/w_remainder.c: Likewise.
28821         * math/w_remainderf.c: Likewise.
28822         * math/w_remainderl.c: Likewise.
28823         * math/w_scalb.c: Likewise.
28824         * math/w_scalbf.c: Likewise.
28825         * math/w_scalbl.c: Likewise.
28826         * math/w_sqrt.c: Likewise.
28827         * math/w_sqrtf.c: Likewise.
28828         * math/w_sqrtl.c: Likewise.
28829         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28830         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
28831         used.
28832         * math/math_private.h: Declare __kernel_standard_f.
28833         * math/w_cosh.c: Remove cruft and optimize a bit.
28834         * math/w_coshf.c: Likewise.
28835         * math/w_coshl.c: Likewise.
28836         * math/w_exp2.c: Likewise.
28837         * math/w_exp2f.c: Likewise.
28838         * math/w_exp2l.c: Likewise.
28839         * math/w_hypot.c: Likewise.
28840         * math/w_hypotf.c: Likewise.
28841         * math/w_hypotl.c: Likewise.
28842         * math/w_lgamma.c: Likewise.
28843         * math/w_lgamma_r.c: Likewise.
28844         * math/w_lgammaf.c: Likewise.
28845         * math/w_lgammaf_r.c: Likewise.
28846         * math/w_lgammal.c: Likewise.
28847         * math/w_lgammal_r.c: Likewise.
28848         * math/w_sinh.c: Likewise.
28849         * math/w_sinhf.c: Likewise.
28850         * math/w_sinhl.c: Likewise.
28851         * math/w_tgamma.c: Likewise.
28852         * math/w_tgammaf.c: Likewise.
28853         * math/w_tgammal.c: Likewise.
28854         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28855         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28856         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28857         Minor optimizations.  Pretty printing.  Remove cruft.
28858         * sysdeps/i386/fpu/e_acosf.S: Likewise.
28859         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28860         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28861         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28862         * sysdeps/i386/fpu/e_acosl.c: Likewise.
28863         * sysdeps/i386/fpu/e_asin.S: Likewise.
28864         * sysdeps/i386/fpu/e_asinf.S: Likewise.
28865         * sysdeps/i386/fpu/e_atan2.S: Likewise.
28866         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28867         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28868         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28869         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28870         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28871         * sysdeps/i386/fpu/e_exp10.S: Likewise.
28872         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28873         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28874         * sysdeps/i386/fpu/e_exp2.S: Likewise.
28875         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28876         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28877         * sysdeps/i386/fpu/e_fmod.S: Likewise.
28878         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28879         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28880         * sysdeps/i386/fpu/e_hypot.S: Likewise.
28881         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28882         * sysdeps/i386/fpu/e_log.S: Likewise.
28883         * sysdeps/i386/fpu/e_log10.S: Likewise.
28884         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28885         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28886         * sysdeps/i386/fpu/e_log2.S: Likewise.
28887         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28888         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28889         * sysdeps/i386/fpu/e_logf.S: Likewise.
28890         * sysdeps/i386/fpu/e_logl.S: Likewise.
28891         * sysdeps/i386/fpu/e_pow.S: Likewise.
28892         * sysdeps/i386/fpu/e_powf.S: Likewise.
28893         * sysdeps/i386/fpu/e_powl.S: Likewise.
28894         * sysdeps/i386/fpu/e_remainder.S: Likewise.
28895         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28896         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28897         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28898         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28899         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28900         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28901         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28902         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28903         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28904         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28905         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28906         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28907         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28908         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28909         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28910         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28911         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28912         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28913         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28914         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28915         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28916         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28917         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28918         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28919         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28920         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28921         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28922         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28923         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28924         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28925         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28926         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28927         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28928         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28929         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28930         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28931         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28932         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28933         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28934         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28935         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28936         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28937         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28938         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28939         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28940         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28941         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28942         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28943         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28944         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28945         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28946         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28947         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28948         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28949         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28950         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28951         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28952         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28953         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28954         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28955         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28956         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28957         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28958         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28959         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28960         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28961         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28962         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28963         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28964         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28965         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28966         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28967         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28968         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28969         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28970         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28971         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28972         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28973         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28974         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28975         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28976         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28977         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28978         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28979         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28980         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28981         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28982         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28983         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28984         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28985         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28986         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28987         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28988         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28989         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28990         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28991         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28992         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28993         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28994         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28995         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28996         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28997         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28998         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28999         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29000         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29001         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29002         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29003         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29004         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29005         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29006         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29007         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29008         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29009         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29010         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29011         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29012         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29013         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
29014         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29015         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29016         (__isnanf): Likewise.
29017         (__isinf_ns): Likewise.
29018         (__isinf_nsf): Likewise.
29019         (__finite): Likewise.
29020         (__finitef): Likewise.
29021         (__ieee754_sqrt): Define as macro.
29022         (__ieee754_sqrtf): Define as macro.
29023         (__ieee754_sqrtl): Define as macro.
29024         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29025         inlined copy.
29026         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29027         __FINITE_MATH_ONLY__ consistent.
29028         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29030 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
29032         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29033         of rawmemchr.
29035         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29037 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
29039         * po/ja.po: Update from translation team.
29041 2011-10-08  Roland McGrath  <roland@hack.frob.com>
29043         * locale/programs/locarchive.c (prepare_address_space): New function.
29044         (create_archive, enlarge_archive, open_archive): Use it.
29046         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29047         inside [SHARED], where it is used.
29049         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29051         * nss/getent.c (netgroup_keys): Remove unused variable.
29052         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29054 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
29056         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29057         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29058         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29059         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29060         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29061         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29062         * math/Makefile (libm-calls): Add s_isinf_ns.
29063         * math/divtc3.c: Use __isinf_nsl instead of isinf.
29064         * math/multc3.c: Likewise.
29065         * math/s_casin.c: Likewise.
29066         * math/s_casinf.c: Likewise.
29067         * math/s_casinl.c: Likewise.
29068         * math/s_ccos.c: Likewise.
29069         * math/s_ccosf.c: Likewise.
29070         * math/s_ccosl.c: Likewise.
29071         * math/s_ctan.c: Likewise.
29072         * math/s_ctanf.c: Likewise.
29073         * math/s_ctanh.c: Likewise.
29074         * math/s_ctanhf.c: Likewise.
29075         * math/s_ctanhl.c: Likewise.
29076         * math/s_ctanl.c: Likewise.
29077         * math/w_fmod.c: Likewise.
29078         * math/w_fmodf.c: Likewise.
29079         * math/w_fmodl.c: Likewise.
29080         * math/w_remainder.c: Likewise.
29081         * math/w_remainderf.c: Likewise.
29082         * math/w_remainderl.c: Likewise.
29083         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29084         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29085         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29086         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29087         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29088         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29089         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29090         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29092         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29093         of the number.
29094         * stdio-common/printf_fphex.c: Likewise.
29095         * stdio-common/printf_size.c: Likewise.
29097         * math/e_exp10.c: Include math_private.h using <...> not "...".
29098         * math/e_exp10f.c: Likewise.
29099         * math/e_exp10l.c: Likewise.
29100         * math/e_exp2l.c: Likewise.
29101         * math/e_j0l.c: Likewise.
29102         * math/e_j1l.c: Likewise.
29103         * math/e_jnl.c: Likewise.
29104         * math/e_lgammal_r.c: Likewise.
29105         * math/e_rem_pio2l.c: Likewise.
29106         * math/e_scalb.c: Likewise.
29107         * math/e_scalbf.c: Likewise.
29108         * math/e_scalbl.c: Likewise.
29109         * math/k_cosl.c: Likewise.
29110         * math/k_sinl.c: Likewise.
29111         * math/k_tanl.c: Likewise.
29112         * math/s_cacoshf.c: Likewise.
29113         * math/s_catan.c: Likewise.
29114         * math/s_catanf.c: Likewise.
29115         * math/s_catanh.c: Likewise.
29116         * math/s_catanhf.c: Likewise.
29117         * math/s_catanhl.c: Likewise.
29118         * math/s_catanl.c: Likewise.
29119         * math/s_ccosh.c: Likewise.
29120         * math/s_ccoshf.c: Likewise.
29121         * math/s_ccoshl.c: Likewise.
29122         * math/s_cexp.c: Likewise.
29123         * math/s_cexpf.c: Likewise.
29124         * math/s_cexpl.c: Likewise.
29125         * math/s_clog.c: Likewise.
29126         * math/s_clog10.c: Likewise.
29127         * math/s_clog10f.c: Likewise.
29128         * math/s_clog10l.c: Likewise.
29129         * math/s_clogf.c: Likewise.
29130         * math/s_clogl.c: Likewise.
29131         * math/s_csin.c: Likewise.
29132         * math/s_csinf.c: Likewise.
29133         * math/s_csinh.c: Likewise.
29134         * math/s_csinhf.c: Likewise.
29135         * math/s_csinhl.c: Likewise.
29136         * math/s_csinl.c: Likewise.
29137         * math/s_csqrt.c: Likewise.
29138         * math/s_csqrtf.c: Likewise.
29139         * math/s_csqrtl.c: Likewise.
29140         * math/s_ctan.c: Likewise.
29141         * math/s_ctanf.c: Likewise.
29142         * math/s_ctanh.c: Likewise.
29143         * math/s_ctanhf.c: Likewise.
29144         * math/s_ctanhl.c: Likewise.
29145         * math/s_ctanl.c: Likewise.
29146         * math/s_ldexp.c: Likewise.
29147         * math/s_ldexpf.c: Likewise.
29148         * math/s_ldexpl.c: Likewise.
29149         * math/s_significand.c: Likewise.
29150         * math/s_significandf.c: Likewise.
29151         * math/s_significandl.c: Likewise.
29152         * math/w_acos.c: Likewise.
29153         * math/w_acosf.c: Likewise.
29154         * math/w_acosh.c: Likewise.
29155         * math/w_acoshf.c: Likewise.
29156         * math/w_acoshl.c: Likewise.
29157         * math/w_acosl.c: Likewise.
29158         * math/w_asin.c: Likewise.
29159         * math/w_asinf.c: Likewise.
29160         * math/w_asinl.c: Likewise.
29161         * math/w_atan2.c: Likewise.
29162         * math/w_atan2f.c: Likewise.
29163         * math/w_atan2l.c: Likewise.
29164         * math/w_atanh.c: Likewise.
29165         * math/w_atanhf.c: Likewise.
29166         * math/w_atanhl.c: Likewise.
29167         * math/w_cosh.c: Likewise.
29168         * math/w_coshf.c: Likewise.
29169         * math/w_coshl.c: Likewise.
29170         * math/w_dremf.c: Likewise.
29171         * math/w_exp10.c: Likewise.
29172         * math/w_exp10f.c: Likewise.
29173         * math/w_exp10l.c: Likewise.
29174         * math/w_exp2.c: Likewise.
29175         * math/w_exp2f.c: Likewise.
29176         * math/w_fmod.c: Likewise.
29177         * math/w_fmodf.c: Likewise.
29178         * math/w_fmodl.c: Likewise.
29179         * math/w_hypot.c: Likewise.
29180         * math/w_hypotf.c: Likewise.
29181         * math/w_hypotl.c: Likewise.
29182         * math/w_j0.c: Likewise.
29183         * math/w_j0f.c: Likewise.
29184         * math/w_j0l.c: Likewise.
29185         * math/w_j1.c: Likewise.
29186         * math/w_j1f.c: Likewise.
29187         * math/w_j1l.c: Likewise.
29188         * math/w_jn.c: Likewise.
29189         * math/w_jnf.c: Likewise.
29190         * math/w_jnl.c: Likewise.
29191         * math/w_lgamma.c: Likewise.
29192         * math/w_lgamma_r.c: Likewise.
29193         * math/w_lgammaf.c: Likewise.
29194         * math/w_lgammaf_r.c: Likewise.
29195         * math/w_lgammal.c: Likewise.
29196         * math/w_lgammal_r.c: Likewise.
29197         * math/w_log.c: Likewise.
29198         * math/w_log10.c: Likewise.
29199         * math/w_log10f.c: Likewise.
29200         * math/w_log10l.c: Likewise.
29201         * math/w_log2.c: Likewise.
29202         * math/w_log2f.c: Likewise.
29203         * math/w_log2l.c: Likewise.
29204         * math/w_logf.c: Likewise.
29205         * math/w_logl.c: Likewise.
29206         * math/w_pow.c: Likewise.
29207         * math/w_powf.c: Likewise.
29208         * math/w_powl.c: Likewise.
29209         * math/w_remainder.c: Likewise.
29210         * math/w_remainderf.c: Likewise.
29211         * math/w_remainderl.c: Likewise.
29212         * math/w_scalb.c: Likewise.
29213         * math/w_scalbf.c: Likewise.
29214         * math/w_scalbl.c: Likewise.
29215         * math/w_sinh.c: Likewise.
29216         * math/w_sinhf.c: Likewise.
29217         * math/w_sinhl.c: Likewise.
29218         * math/w_sqrt.c: Likewise.
29219         * math/w_sqrtf.c: Likewise.
29220         * math/w_sqrtl.c: Likewise.
29221         * math/w_tgamma.c: Likewise.
29222         * math/w_tgammaf.c: Likewise.
29223         * math/w_tgammal.c: Likewise.
29225         * po/ja.po: Update from translation team.
29227 2011-09-29  Andreas Jaeger  <aj@suse.de>
29229         [BZ #13179]
29230         * sunrpc/netname.c (netname2host): Fix logic.
29232         [BZ #6779]
29233         [BZ #6783]
29234         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29235         correctly.
29236         * math/w_remainder.c (__remainder): Likewise.
29237         * math/w_remainderf.c (__remainderf): Likewise.
29238         * math/libm-test.inc (remainder_test): Add test cases.
29240 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29242         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
29243         sdiv_qrnnd.
29245 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29247         * string/test-memcmp.c: Avoid unncessary #defines.
29248         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29250 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29252         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29253         Use new sse2 version for core i3 - i7 as it's faster
29254         than sse42 version.
29255         (bit_Prefer_PMINUB_for_stringop): New.
29256         * sysdeps/x86_64/rawmemchr.S: Update.
29257         Replace with faster SSE2 version.
29258         * sysdeps/x86_64/memrchr.S: New file.
29259         * sysdeps/x86_64/memchr.S: Update.
29260         Replace with faster SSE2 version.
29262 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
29264         * elf/dl-load.c (lose): Add cast to avoid warning.
29266 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29268         * po/ca.po: Update from translation team.
29270         * inet/getnetgrent_r.c: Hook up nscd.
29271         * nscd/Makefile (routines): Add nscd_netgroup.
29272         (nscd-modules): Add netgroupcache.
29273         (CFLAGS-netgroupcache.c): Define.
29274         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29275         (cache_search): Add const to second parameter.
29276         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29277         INNETGR.
29278         (dbs): Add netgrdb entry.
29279         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29280         (verify_persistent_db): Handle netgrdb.
29281         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29282         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29283         GETFDNETGR.
29284         (netgroup_response_header): Define.
29285         (innetgroup_response_header): Define.
29286         (datahead): Add netgroup_response_header and innetgroup_response_header
29287         elements.
29288         * nscd/nscd.conf: Add entries for netgroup cache.
29289         * nscd/nscd.h (dbtype): Add netgrdb.
29290         (_PATH_NSCD_NETGROUP_DB): Define.
29291         (netgroup_iov_disabled): Declare.
29292         (xmalloc, xcalloc, xrealloc): Move declarations here.
29293         (cache_search): Adjust prototype.
29294         Add netgroup-related prototypes.
29295         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29296         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29297         (__nscd_innetgr): Declare.
29298         * nscd/selinux.c (perms): Use access_vector_t as element type and
29299         add netgroup-related initializers.
29300         * nscd/netgroupcache.c: New file.
29301         * nscd/nscd_netgroup.c: New file.
29302         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29303         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29304         For four parameters use innetgr.
29305         * nss/nss_files/files-init.c: Add definition and callback for netgr.
29306         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29307         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29308         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29310         * nscd/connections.c (register_traced_file): Don't register file
29311         for disabled databases.
29313 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
29315         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29317         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29318         from tree and freeing node.
29320 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
29322         * nss/nsswitch.c (__nss_database_lookup): Handle
29323         nss_parse_service_list out of memory case.
29325 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
29327         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29328         out of memory case.
29330 2011-10-04  Andreas Schwab  <schwab@redhat.com>
29332         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29333         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29334         pass it down.
29335         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29336         elf_machine_rela, elf_machine_lazy_rel.
29337         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29338         (ELF_DYNAMIC_DO_REL): Likewise.
29339         (ELF_DYNAMIC_DO_RELA): Likewise.
29340         (ELF_DYNAMIC_RELOCATE): Likewise.
29341         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29342         to ELF_DYNAMIC_DO_REL.
29343         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29344         (dl_main): In trace mode always set __RTLD_NOIFUNC.
29345         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29346         elf_machine_rela.
29347         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29348         skip_ifunc, don't call ifunc function if non-zero.
29349         (elf_machine_rela): Likewise.
29350         (elf_machine_lazy_rel): Likewise.
29351         (elf_machine_lazy_rela): Likewise.
29352         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29353         (elf_machine_lazy_rel): Likewise.
29354         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29355         Likewise.
29356         (elf_machine_lazy_rel): Likewise.
29357         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29358         Likewise.
29359         (elf_machine_lazy_rel): Likewise.
29360         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29361         (elf_machine_lazy_rel): Likewise.
29362         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29363         (elf_machine_lazy_rel): Likewise.
29364         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29365         (elf_machine_lazy_rel): Likewise.
29366         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29367         (elf_machine_lazy_rel): Likewise.
29368         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29369         (elf_machine_lazy_rel): Likewise.
29370         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29371         (elf_machine_lazy_rel): Likewise.
29373 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
29375         * nss/nss_files/files-init.c (_nss_files_init): Use static
29376         initialization for all the *_traced_file variables.
29378 2011-09-28  Andreas Schwab  <schwab@redhat.com>
29380         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29382 2011-09-27  Roland McGrath  <roland@hack.frob.com>
29384         [BZ #13226]
29385         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29387 2011-09-27  Andreas Schwab  <schwab@redhat.com>
29389         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29390         Reread the line before reparsing it.
29392 2011-09-26  Andreas Schwab  <schwab@redhat.com>
29394         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29396 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
29397             Maxim Kuvyrkov  <maxim@codesourcery.com>
29398             Joseph Myers  <joseph@codesourcery.com>
29400         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29401         if needed for __stack_chk_guard.
29403 2011-09-19  Roland McGrath  <roland@hack.frob.com>
29405         * sysdeps/posix/spawni.c (script_execute): Always define it.
29406         It will be optimized away if unused.
29407         (maybe_script_execute): New function.
29408         (__spawni): Call it.
29410         * Makerules: Don't include tls.make.
29411         (config-tls): Always set to thread.
29412         * tls.make.c: File removed.
29414 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
29416         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29417         * config.make.in (CPPFLAGS-config): New substituted variable.
29419 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29421         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29423         [BZ #13192]
29424         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29425         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29427 2011-09-15  Roland McGrath  <roland@hack.frob.com>
29429         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29430         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29431         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29432         (CALL_FAIL): Likewise.
29433         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29434         (CALL_FAIL): Macro removed.
29435         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29437 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29439         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29440         for __FINITE_MATH_ONLY__ == 1.
29442 2011-09-15  Andreas Schwab  <schwab@redhat.com>
29444         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29445         __ieee754_sqrt instead of sqrt.
29446         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29447         __ieee754_sqrtf instead of sqrtf.
29448         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29449         __floorf instead of floorf.
29450         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29451         __floorf, __truncf instead of floorf, truncf.
29453 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
29455         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29457         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29458         __extern_always_inline.
29459         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29460         32-bit.
29462 2011-09-14  Andreas Schwab  <schwab@redhat.com>
29464         * elf/rtld.c (dl_main): Also relocate in dependency order when
29465         doing symbol dependency testing.
29467 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
29469         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29470         Always define `refsym'.
29472 2011-09-13  Andreas Schwab  <schwab@redhat.com>
29474         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29475         (__FD_ELT): Renamed from __FDELT.
29476         * misc/bits/select2.h (__FD_ELT): Likewise.
29477         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29478         __FD_MASK instead of __FDELT, __FDMASK.
29479         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29480         Likewise.
29481         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29482         Likewise.
29484         * elf/Makefile (gen-ldd): Fix pattern.
29486         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29487         (init_tls): Likewise.
29489 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
29491         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29493 2011-09-12  Andreas Schwab  <schwab@redhat.com>
29495         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29496         `struct cmsghdr *' instead of `void *'.
29497         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29498         Likewise.
29500 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
29502         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29503         if non-absolute.
29504         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29505         ldd_rewrite_script.
29507 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
29509         * configure.in: Remove --with-tls option.
29510         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29511         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29512         out in case it is missing.
29513         * sysdeps/ia64/elf/configure.in: Likewise.
29514         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29515         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29516         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29517         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29518         * sysdeps/sh/elf/configure.in: Likewise.
29519         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29520         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29521         * sysdeps/x86_64/elf/configure.in: Likewise.
29522         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29523         * sysdeps/mach/hurd/tls.h: Likewise.
29525         [BZ #13067]
29526         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29528         [BZ #13090]
29529         * configure.in: Fix use of AC_INIT.
29531         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29533 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
29535         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29536         __set_errno.
29537         * malloc/hooks.c: Likewise.
29539         [BZ #11929]
29540         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
29541         variables statically.
29542         (narenas): Initialize.
29543         (list_lock): Initialize.
29544         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
29545         initializtion of main_arena and list_lock.  Small cleanups.
29546         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29547         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
29548         Add initializers to main_arena and mp_.
29549         (malloc_state): Remove pagesize member.  Change all users to use
29550         GLRO(dl_pagesize).
29552         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29553         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
29554         is always initialized.
29556         * malloc/malloc.c: Removed unused configurations and dead code.
29557         * malloc/arena.c: Likewise.
29558         * malloc/hooks.c: Likewise.
29559         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29561         * include/tls.h: Removed.  USE___THREAD must always be defined.
29562         * bits/libc-tsd.h: Don't handle !USE___THREAD.
29563         * elf/dl-libc.c: Likewise.
29564         * elf/dl-tsd.c: Likewise.
29565         * include/errno.h: Likewise.
29566         * include/netdb.h: Likewise.
29567         * include/resolv.h: Likewise.
29568         * inet/herrno-loc.c: Likewise.
29569         * inet/herrno.c: Likewise.
29570         * malloc/arena.c: Likewise.
29571         * malloc/hooks.c: Likewise.
29572         * malloc/malloc.c: Likewise.
29573         * resolv/res-state.c: Likewise.
29574         * resolv/res_libc.c: Likewise.
29575         * sysdeps/i386/dl-machine.h: Likewise.
29576         * sysdeps/ia64/dl-machine.h: Likewise.
29577         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29578         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29579         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29580         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29581         * sysdeps/sh/dl-machine.h: Likewise.
29582         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29583         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29584         * sysdeps/unix/i386/sysdep.S: Likewise.
29585         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29586         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29587         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29588         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29589         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29590         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29591         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29592         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29593         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29594         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29595         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29596         * sysdeps/x86_64/dl-machine.h: Likewise.
29597         * tls.make.c: Likewise.
29599         * configure.in: Remove --with-__thread option.  Make tests for
29600         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29601         tls_model attribute fail if no support is available.  Remove
29602         USE_IN_LIBIO.
29603         * Makeconfig: Adjust for dropped configure option.  All features are
29604         now mandatory.
29605         * Makerules: Likewise.
29606         * Versions.def: Likewise.
29607         * argp/argp-fmtstream.c: Likewise.
29608         * argp/argp-fmtstream.h: Likewise.
29609         * argp/argp-help.c: Likewise.
29610         * assert/assert.c: Likewise.
29611         * config.h.in: Likewise.
29612         * config.make.in: Likewise.
29613         * configure: Likewise.
29614         * configure.in: Likewise.
29615         * csu/Versions: Likewise.
29616         * csu/init.c: Likewise.
29617         * elf/tst-audit2.c: Likewise.
29618         * elf/tst-tls10.c: Likewise.
29619         * elf/tst-tls10.h: Likewise.
29620         * elf/tst-tls11.c: Likewise.
29621         * elf/tst-tls12.c: Likewise.
29622         * elf/tst-tls14.c: Likewise.
29623         * elf/tst-tlsmod11.c: Likewise.
29624         * elf/tst-tlsmod12.c: Likewise.
29625         * elf/tst-tlsmod13.c: Likewise.
29626         * elf/tst-tlsmod13a.c: Likewise.
29627         * elf/tst-tlsmod14a.c: Likewise.
29628         * elf/tst-tlsmod15b.c: Likewise.
29629         * elf/tst-tlsmod16a.c: Likewise.
29630         * elf/tst-tlsmod16b.c: Likewise.
29631         * elf/tst-tlsmod7.c: Likewise.
29632         * elf/tst-tlsmod8.c: Likewise.
29633         * elf/tst-tlsmod9.c: Likewise.
29634         * gmon/gmon.c: Likewise.
29635         * grp/fgetgrent_r.c: Likewise.
29636         * grp/putgrent.c: Likewise.
29637         * hurd/fopenport.c: Likewise.
29638         * include/libc-symbols.h: Likewise.
29639         * include/tls.h: Likewise.
29640         * intl/gettextP.h: Likewise.
29641         * intl/loadinfo.h: Likewise.
29642         * locale/global-locale.c: Likewise.
29643         * locale/localeinfo.h: Likewise.
29644         * mach/devstream.c: Likewise.
29645         * malloc/arena.c: Likewise.
29646         * malloc/set-freeres.c: Likewise.
29647         * misc/err.c: Likewise.
29648         * misc/getttyent.c: Likewise.
29649         * misc/mntent_r.c: Likewise.
29650         * posix/getopt.c: Likewise.
29651         * posix/wordexp.c: Likewise.
29652         * pwd/fgetpwent_r.c: Likewise.
29653         * resolv/Versions: Likewise.
29654         * resolv/res_hconf.c: Likewise.
29655         * shadow/fgetspent_r.c: Likewise.
29656         * shadow/putspent.c: Likewise.
29657         * stdio-common/printf_fphex.c: Likewise.
29658         * stdio-common/tmpfile.c: Likewise.
29659         * stdlib/abort.c: Likewise.
29660         * stdlib/fmtmsg.c: Likewise.
29661         * sunrpc/auth_unix.c: Likewise.
29662         * sunrpc/clnt_perr.c: Likewise.
29663         * sunrpc/clnt_tcp.c: Likewise.
29664         * sunrpc/clnt_udp.c: Likewise.
29665         * sunrpc/clnt_unix.c: Likewise.
29666         * sunrpc/openchild.c: Likewise.
29667         * sunrpc/svc_simple.c: Likewise.
29668         * sunrpc/svc_tcp.c: Likewise.
29669         * sunrpc/svc_udp.c: Likewise.
29670         * sunrpc/svc_unix.c: Likewise.
29671         * sunrpc/xdr.c: Likewise.
29672         * sunrpc/xdr_array.c: Likewise.
29673         * sunrpc/xdr_rec.c: Likewise.
29674         * sunrpc/xdr_ref.c: Likewise.
29675         * sunrpc/xdr_stdio.c: Likewise.
29677 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29679         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29681 2011-07-03  Andreas Jaeger  <aj@suse.de>
29683         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29684         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29685         regenerate with gen-libm-tests.pl.
29687 2010-05-12  Petr Baudis  <pasky@suse.cz>
29689         [BZ #11589]
29690         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29691         around j0() zero points by switching to j1().
29692         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29693         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29694         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29695         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29697 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29699         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29700         instead of 0.
29701         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29702         instead of 0.
29703         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29704         Patch in part by Pavel Roskin <proski@gnu.org>.
29706         [BZ #13138]
29707         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29708         realloc.
29709         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
29710         Free memory block if necessary.
29712         [BZ #12847]
29713         * libio/genops.c (INTDEF): For string streams the _lock pointer can
29714         be NULL.  Don't lock in this case.
29716 2011-09-09  Roland McGrath  <roland@hack.frob.com>
29718         * elf/elf.h (ELFOSABI_GNU): New macro.
29719         (ELFOSABI_LINUX): Define to that.
29721 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
29723         * string/strncat.c (strncat): Undef the symbol in case it has been
29724         defined in bits/string.h.
29726 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29728         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29730         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29731         link map.
29733 2011-08-17  Andreas Jaeger  <aj@suse.de>
29735         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29737 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29738             Ian Lance Taylor  <iant@google.com>
29740         * math/libm-test.inc (lround_test): New testcase.
29741         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29743 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
29745         * Makefile: Remove support for automatic cvs check-ins.
29746         * Makerules: Likewise.
29747         * config.make.in: Likewise.
29748         * configure.in: Likewise.
29749         * intl/Makefile: Likewise.
29750         * locale/Makefile: Likewise.
29751         * po/Makefile: Likewise.
29752         * posix/Makefile: Likewise.
29753         * sysdeps/gnu/Makefile: Likewise.
29754         * sysdeps/mach/hurd/Makefile: Likewise.
29755         * sysdeps/sparc/sparc32/Makefile: Likewise.
29757         [BZ #13118]
29758         * posix/Makefile (bug-regex32-ENV): Define.
29759         Patch by John Stanley <jpsinthemix@verizon.net>.
29761         * misc/Makefile (headers): Add bits/select2.h.
29762         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29763         * misc/bits/select2.h: New file.
29764         * include/bits/select2.h: New file.
29765         * debug/Makefile (routines): Add fdelt_chk.
29766         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29767         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29768         FD_ISSET.
29769         * debug/fdelt_chk.c: New file.
29771         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
29772         * wcsmbs/test-wmemcmp.c: Likewise.
29773         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29774         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29776 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29778         * string/Makefile (strop-tests): Add memcmp.
29779         * string/test-wmemcmp.c: New file.
29780         * string/test-memcmp.c: Add wmemcmp support.
29782 2011-09-08  Roland McGrath  <roland@hack.frob.com>
29784         [BZ #13153]
29785         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29786         2011-07-19 change.
29788         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29789         garbage value in a __mach_port_mod_refs call in the cases of the
29790         task-self and thread-self ports.
29792 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29794         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29796 2011-09-08  Andreas Schwab  <schwab@redhat.com>
29798         * elf/dl-load.c (lose): Check for non-null L.
29800 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29802         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29804         * elf/dl-libc.c (dlerror_run): Pass back error code from
29805         dl_catch_error.
29807         [BZ #13123]
29808         * elf/dl-load.c (lose): Free l_origin if it is valid.
29810         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29811         names.
29812         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29813         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29814         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29815         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29816         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29817         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29819 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29821         * sysdeps/powerpc/fpu/e_hypot.c: New file.
29822         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29823         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29824         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29825         * sysdeps/powerpc/fpu/k_cosf.c: New file.
29826         * sysdeps/powerpc/fpu/k_sinf.c: New file.
29827         * sysdeps/powerpc/fpu/s_cosf.c: New file.
29828         * sysdeps/powerpc/fpu/s_sinf.c: New file.
29829         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29830         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29832 2011-08-15  Alan Modra  <amodra@gmail.com>
29834         [BZ #13092]
29835         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29836         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29837         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
29838         ppc_mcount to static-only-routines.
29839         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29840         __mcount_internal.
29841         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29842         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
29844 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
29846         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29847         for finite and infinity parameters.
29849 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29851         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29852         and add nop instructions for throughput optimization.
29853         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29855 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
29857         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29858         aligned copy for power7 with vector-scalar instructions.
29859         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29861 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
29863         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29864         AVX check.
29866 2011-09-07  Andreas Schwab  <schwab@redhat.com>
29868         [BZ #13144]
29869         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29870         last change.
29872 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29874         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29875         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29876         syscall wrapper around clock_gettime in __vdso_clock_gettime.
29877         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29878         clock_gettime.
29880 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
29882         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29883         Forgot to demangle the pointer.
29885         * sysdeps/i386/sysdep.h: Define atom_text_section.
29886         * sysdeps/x86_64/sysdep.h: Likewise.
29887         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29888         section with atom_text_section.
29889         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29890         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29891         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29892         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29893         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29895         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29896         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29897         already be defined.  Change to take two parameters and don't assign
29898         result to variable.  Adjust all users.
29899         Define INTERNAL_GETTIME if not already defined.
29900         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29901         call.
29902         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29903         HAVE_CLOCK_GETTIME_VSYSCALL.
29904         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29906         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29907         gettimeofday vsyscall, just use time.
29909 2011-09-06  Andreas Schwab  <schwab@redhat.com>
29911         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29912         <errno.h>.
29914 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
29916         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29917         syscall on x86-64.
29918         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29919         syscall.
29920         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29921         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29922         syscall if possible.
29924 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29926         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29927         e_ident.  Don't pass to find_mapsXX.
29928         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29930 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29932         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29933         strchr-sse2-no-bsf strrchr-sse2-no-bsf
29934         * sysdeps/x86_64/multiarch/strchr.S: Update.
29935         Check bit_slow_BSF bit.
29936         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29937         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29938         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29940 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29942         [BZ #13134]
29943         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29944         before glibc 2.15.
29945         (tryshell): Define.
29946         (__spawni): Change last parameter to be flag.  Test
29947         SPAWN_XFLAGS_USE_PATH flag to use path or not.
29948         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29949         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29950         * posix/spawni.c: Likewise.
29951         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29952         * posix/spawnp.c: Likewise.  Change normal version to use
29953         SPAWN_XFLAGS_USE_PATH.
29954         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29955         SPAWN_XFLAGS_TRY_SHELL.
29957         [BZ #13150]
29958         * posix/glob.h: Remove gcc 1.x support.
29960         [BZ #13068]
29961         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29963 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29965         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29966         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29967         strrchr-sse2-bsf
29968         * sysdeps/i386/i686/multiarch/strchr.S: New file.
29969         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29970         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29971         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29972         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29973         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29975 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29977         * sysdeps/x86_64/wcscmp.S: New file.
29979         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29980         wcscmp-c wcscmp-sse2
29981         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29982         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29983         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29984         * wcsmbs/wcscmp.c: Allow renaming.
29986 2011-09-05  David S. Miller  <davem@davemloft.net>
29988         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29989         stack slot, rather than the struct return pointer slot.
29990         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29991         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29993         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29995 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29997         * po/ja.po: Update from translation team.
29999         [BZ #13144]
30000         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30001         kernel in 64-bit binaries.
30003 2011-09-01  David S. Miller  <davem@davemloft.net>
30005         * elf/elf.h (HWCAP_SPARC_*): Move to..
30006         * sysdeps/sparc/sysdep.h: this new file and add new values.
30007         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30008         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30009         _DL_HWCAP_COUNT to 24.
30010         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30011         entries.
30012         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30013         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30014         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30015         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30016         instead of magic constants.
30017         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30019 2011-08-31  David S. Miller  <davem@davemloft.net>
30021         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30022         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30023         Reimplement to do errno handling inline.
30024         (SYSCALL_ERROR_HANDLER): New macro.
30025         (__SYSCALL_STRING): Do not do errno handling in asm.
30026         (__CLONE_SYSCALL_STRING): Delete.
30027         (__INTERNAL_SYSCALL_STRING): Delete.
30028         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30029         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30030         (PSEUDO): Reimplement to do errno handling inline.
30031         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30032         (SYSCALL_ERROR_HANDLER): New macro.
30033         (__SYSCALL_STRING): Do not do errno handling in asm.
30034         (__CLONE_SYSCALL_STRING): Delete.
30035         (__INTERNAL_SYSCALL_STRING): Delete.
30036         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30037         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30038         i386.
30039         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30040         (inline_syscall*): Add 'err' argument.
30041         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30042         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30043         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30044         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30046         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30047         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30049 2011-08-30  Andreas Schwab  <schwab@redhat.com>
30051         * elf/rtld.c (dl_main): Relocate objects in dependency order.
30053 2011-08-29  Jiri Olsa <jolsa@redhat.com>
30055         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30056         directive.
30058 2011-08-24  David S. Miller  <davem@davemloft.net>
30060         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30062 2011-08-24  Andreas Schwab  <schwab@redhat.com>
30064         * elf/Makefile: Add rules to build and run unload8 test.
30065         * elf/unload8.c: New file.
30066         * elf/unload8mod1.c: New file.
30067         * elf/unload8mod1x.c: New file.
30068         * elf/unload8mod2.c: New file.
30069         * elf/unload8mod3.c: New file.
30071         * elf/dl-close.c (_dl_close_worker): Reset private search list if
30072         it wasn't used.
30074 2011-08-23  David S. Miller  <davem@davemloft.net>
30076         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30077         subtract stack bias.
30078         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30079         %sp not %fp in calculations.
30080         (_JMPBUF_UNWINDS_ADJ): Likewise.
30082         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30083         (aio_suspend): Call it to force an exception region around the
30084         AIO_MISC_WAIT() invocation.
30086 2011-08-23  Andreas Schwab  <schwab@redhat.com>
30088         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30089         backslash.
30091 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
30093         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30094         protection macro.
30095         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30096         and <dl-machine.h>.
30097         (Elf64_FuncDesc): Remove.
30099 2011-08-22  David S. Miller  <davem@davemloft.net>
30101         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30102         sigaltstack check, add missing cfi directives.
30103         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30104         missing cfi directives, and sigaltstack handling.
30106 2011-08-16  Andreas Schwab  <schwab@redhat.com>
30108         [BZ #11724]
30109         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30110         object is seen twice.
30111         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30113         * elf/Makefile (distribute): Add tst-initorder2.c.
30114         (tests): Add tst-initorder2.
30115         (modules-names): Add tst-initorder2a tst-initorder2b
30116         tst-initorder2c tst-initorder2d.  Add rules to build them.
30117         ($(objpfx)tst-initorder2.out): New rule.
30118         * elf/tst-initorder2.c: New file.
30119         * elf/tst-initorder2.exp: New file.
30121 2011-08-22  Andreas Schwab  <schwab@redhat.com>
30123         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30125         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30126         dependencies back to end of function.
30128         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30129         $(elfobjdir)/ld.so.
30131 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
30133         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30134         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30136         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30137         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30138         of __vdso_gettimeofday.
30139         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30140         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
30141         attribute_hidden.
30142         (_libc_vdso_platform_setup): Remove initialization of
30143         __vdso_gettimeofday and __vdso_time.
30145 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30147         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30148         and fgetc_unlocked.
30149         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30150         getc_unlocked.
30152         * elf/dl-open.c (add_to_global): Report additions to the global scope
30153         for LD_DEBUG=scopes.
30154         (dl_open_worker): Also print scope of newly loaded dependencies.
30155         (_dl_show_scope): Indicate if there is no scope.
30157         [BZ #13114]
30158         * stdio-common/Makefile (tests): Add bug24.
30159         * stdio-common/bug24.c: New file.
30161 2011-08-19  Andreas Jaeger  <aj@suse.de>
30163         [BZ #13114]
30164         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30165         non-existant file when using close-on-exec mode.
30167 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30169         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30170         the very first instruction.
30172         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30173         the CFI state in the end.
30174         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30175         inclusion of dl-trampoline.h.
30176         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30178 2011-08-19  Andreas Schwab  <schwab@redhat.com>
30180         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30181         expectations for long double.
30183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30184         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30186 2011-08-14  David S. Miller  <davem@davemloft.net>
30188         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30189         artificual limit depends upon the system page size.
30191 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
30193         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30194         * resolv/Makefile: Define CFLAGS-libresolv.
30196 2011-08-17  Andreas Schwab  <schwab@redhat.com>
30198         * nss/makedb.c (compute_tables): Make variables used in nested
30199         function static.
30201 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
30203         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30204         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30205         if buffer was too small.
30207         * elf/pldd.c (main): Attach to all threads in the process.
30208         Rewrite /proc handling to use *at functions.
30210 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
30212         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30213         specifies first scope to show.
30214         (dl_open_worker): Update callers.  Move printing scope of new
30215         object to before the relocation.
30216         * elf/rtld.c (dl_main): Update _dl_show_scope call.
30217         * sysdeps/generic/ldsodefs.h: Update declaration.
30219         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30220         string for the scope number.
30222 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
30224         * nscd/servicescache.c (cache_addserv): Make sure written is always
30225         initialized.
30227 2011-08-14  Roland McGrath  <roland@hack.frob.com>
30229         * sysdeps/i386/i486/bits/atomic.h
30230         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30231         statement expression, so as to suppress "set but not used" warning.
30232         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30234         * string/strncat.c (STRNCAT): Use prototype definition.
30236         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30237         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30238         -Iprograms here.
30239         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30240         (localedef-modules): Add localedef.
30241         (locale-modules): Add locale.
30243         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30244         * elf/rtld.c (dl_main): Invert order of assignment in last change,
30245         to avoid a warning.
30247 2011-08-14  David S. Miller  <davem@davemloft.net>
30249         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30250         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30252 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
30254         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30255         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30256         * elf/rtld.c (dl_main): Set l_name of vDSO.
30257         Call _dl_show_scope when DL_DEBUG_SCOPES.
30258         (process_dl_debug): Recognize scopes flag and also set it for all.
30259         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30260         Declare _dl_show_scope.
30262         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30263         (do_dlopen): Pass caller_dlopen to dl_open.
30264         (__libc_dlopen_mode): Initialize caller_dlopen.
30266         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30267         of libc.  Make tolower call locale-independent.  Optimize a bit by
30268         using isdigit instead of isalnum.
30269         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30271 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
30273         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30274         was a dependency or dynamically loaded.
30276 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
30278         * intl/l10nflist.c: Allow architecture-specific pop function.
30279         * sysdeps/x86_64/l10nflist.c: New file.
30281         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30282         classification.
30284 2011-08-10  Andreas Schwab  <schwab@redhat.com>
30286         * include/dirent.h: Add libc_hidden_proto for scandirat and
30287         scandirat64.  Don't declare __scandirat64.
30288         * dirent/scandirat.c: Add libc_hidden_def.
30289         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30290         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30292 2011-08-10  David S. Miller  <davem@davemloft.net>
30294         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30295         enum.
30296         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30297         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30298         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30300 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
30302         * Versions.def [libc]: Add GLIBC_2.15.
30303         * dirent/Makefile (routines): Add scandirat and scandirat64.
30304         * dirent/Versions [libc]: Export scandirat and scandirat64 for
30305         GLIBC_2.15.
30306         * dirent/dirent.h: Declare scandirat and scandirat64.
30307         * dirent/scandirat.c: New file.
30308         * dirent/scandirat64.c: New file.
30309         * sysdeps/wordsize-64/scandirat.c: New file.
30310         * sysdeps/wordsize-64/scandirat64.c: New file.
30311         * dirent/opendir.c: Define opendirat.
30312         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
30313         using scandirat.
30314         * dirent/scandir64.c: Adjust for scandir.c change.
30315         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
30316         __scandirat64, and __scandir_cancel_handler.
30317         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
30318         additional parameter and use openat instead of open (outside of ld.so).
30319         Add new __opendir as wrapper around __opendirat.
30320         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30321         here without requiring old scandirat implementation.
30323 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
30325         * dirent/scandir.c (cancel_handler): Renamed to
30326         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
30327         defined.  Adjust users.
30328         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30329         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30331 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
30333         * string/test-string.h (IMPL): Use __STRING to expand name and then
30334         stringify it.
30336         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
30337         of cleanups.
30339 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30341         * string/Makefile: Update.
30342         (strop-tests): Append strncat.
30343         * string/test-wcscmp.c: New file.
30344         New comprehensive test for wcscmp.
30345         * string/test-strcmp.c: Update.
30346         (WIDE): New define.
30348 2011-07-22  Andreas Schwab  <schwab@redhat.com>
30350         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30351         line.
30353 2011-07-26  Andreas Schwab  <schwab@redhat.com>
30355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30356         encoding to ACE if AI_IDN.
30358 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
30360         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30361         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30363 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30365         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30366         Fix overflow bug in strncat.
30367         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30369         * string/test-strncat.c: Update.
30370         Add new tests for checking overflow bugs.
30372 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30374         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30375         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30376         * sysdeps/i386/i686/multiarch/strcat.S: New file.
30377         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30378         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30379         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30380         * sysdeps/i386/i686/multiarch/strncat.S: New file.
30381         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30382         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30384         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30385         (USE_AS_STRCAT): Define.
30386         Add strcat and strncat support.
30387         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30389 2011-07-25  Andreas Schwab  <schwab@redhat.com>
30391         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30392         __n bigger than INT_MAX+1.
30393         (__strncmp_g): Likewise.
30395 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
30397         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30398         * libio/stido.h: Likewise.
30400         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30401         (AF_NFC): Define.
30402         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30403         (AF_NFC): Define.
30405         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30406         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30407         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30408         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30409         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30411         [BZ #13021]
30412         * scripts/test-installation.pl: Don't expect libnss_test1 to be
30413         installed.
30415         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30416         typo.
30417         (_dl_x86_64_save_sse): Likewise.
30419 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
30421         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30422         OSXSAVE.
30423         (_dl_x86_64_save_sse): Likewise.
30425         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30427         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30429 2011-07-21  Andreas Schwab  <schwab@redhat.com>
30431         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30432         change.
30433         (_dl_x86_64_save_sse): Use correct AVX check.
30435 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30437         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30438         bug in strncpy/strncat.
30439         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30441 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
30443         * string/tester.c (test_strcat): Add tests for different alignments
30444         of source and destination.
30445         (test_strncat): Likewise.
30447 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
30449         [BZ #12852]
30450         * posix/glob.c (glob): Check passed in values before using them in
30451         expressions to avoid some overflows.
30452         (glob_in_dir): Likewise.
30454         [BZ #13007]
30455         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30456         check for AVX enablement so that we don't crash with old kernels and
30457         new hardware.
30458         * elf/tst-audit4.c: Add same checks here.
30459         * elf/tst-audit6.c: Likewise.
30461         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30463 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
30465         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30467 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
30469         * po/cs.po: Update from translation team.
30470         * po/bg.po: Likewise.
30472 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
30474         * misc/sys/cdefs.h: Add support for const attribute.
30475         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30476         to gnu_dev_{major,minor,makedev} functions.
30478 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
30480         * intl/dcigettext.c (get_output_charset): Add missing bracket.
30482 2011-07-20  Andreas Schwab  <schwab@redhat.com>
30484         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30485         strlen results.
30487 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30489         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30490         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30491         register in order to avoid conflicts with the soft frame pointer
30492         being held in r11 when necessary.
30493         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30494         (INTERNAL_VSYSCALL_NCS): Likewise.
30496 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
30498         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30499         * elf/dl-fini.c (_dl_fini): Adjust caller.
30500         * elf/dl-close.c (_dl_close_worker): Likewise.
30501         * sysdeps/generic/ldsodefs.h: Adjust declaration.
30503 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
30505         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30506         "aux_cache->nlibs < 0".
30508         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30509         in the reload-count case.
30511 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30513         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30514         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30515         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30516         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30517         * sysdeps/x86_64/multiarch/strcat.S: New file.
30518         * sysdeps/x86_64/multiarch/strncat.S: New file.
30519         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30520         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30521         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30522         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30523         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30524         (USE_AS_STRCAT): Define.
30525         Add strcat and strncat support.
30526         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30527         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30528         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30529         * string/strncat.c: Update.
30530         (USE_AS_STRNCAT): Define.
30531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30532         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30533         and i7.
30534         * sysdeps/x86_64/multiarch/init-arch.h
30535         (bit_Prefer_PMINUB_for_stringop): New.
30536         (index_Prefer_PMINUB_for_stringop): Likewise.
30537         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30538         bit_Prefer_PMINUB_for_stringop.
30540 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
30542         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30543         buffer64.
30544         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30545         of casting of buffer.
30546         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30547         buffer32 and buffer64.
30548         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30549         writes instead of casting of buffer.
30550         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30551         buffer32.
30552         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30553         casting of buffer.
30555 2011-07-19  Andreas Schwab  <schwab@redhat.com>
30557         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30559 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
30561         * nscd/nscd.c (termination_handler): Don't do anything for a database
30562         if it has not yet been initialized.
30564 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
30566         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30568 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
30570         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30572 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
30574         * po/nl.po: Update from translation team.
30575         * po/sv.po: Likewise.
30577 2011-07-16  Roland McGrath  <roland@hack.frob.com>
30579         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30580         now disallowed by GCC.
30582         * configure.in (use-default-link): Default to yes if a test -shared
30583         link meets our qualifications.
30584         * configure: Regenerated.
30586         * config.make.in (output-format): New variable.
30587         * configure.in: Check for ld --print-output-format support.
30588         * configure: Regenerated.
30589         * Makerules ($(common-objpfx)format.lds)
30590         [$(output-format) != unknown]: Just use $(output-format),
30591         instead of the linker-script munging.
30593 2011-07-14  Roland McGrath  <roland@hack.frob.com>
30595         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30596         of $(common-objpfx)shlib.lds.
30597         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30599         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30600         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30602         * configure.in (-z relro check): Adjust test code to add a large
30603         writable data section after it.
30604         * configure: Regenerated.
30606 2011-07-11  Roland McGrath  <roland@hack.frob.com>
30608         * configure.in (-z relro check): Fix test code to make the variable
30609         truly const.
30610         * configure: Regenerated.
30612 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
30614         * nscd/nscd.h (struct traced_file): Define.
30615         (struct database_dyn): Remove inotify_descr, reset_res, and filename
30616         elements.  Add traced_files.
30617         (inotify_fd): Declare.
30618         (register_traced_file): Declare.
30619         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30620         (inotify_fd): Export.
30621         (resolv_conf_descr): Remove.
30622         (nscd_init): Move inotify descriptor creation to main.
30623         Don't register files for notification here.
30624         (register_traced_file): New function.
30625         (invalidate_cache): Don't use reset_res to determine whether to call
30626         res_init, go through the list of registered files.
30627         (main_loop_poll): The inotify descriptors are now stored in the
30628         structures for the traced files.
30629         (main_loop_epoll): Likewise
30630         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
30631         to __nss_disable_nscd.
30632         * nscd/cache.c (prune_cache): There is no single inotify descriptor
30633         for a database anymore.  Check the records for all the registered
30634         files instead.
30635         * nss/Makefile (libnss_files-routines): Add files-init.
30636         (libnss_db-routines): Add db-init.
30637         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30638         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30639         * nss/nss_db/db-init.c: New file.
30640         * nss/nss_files/files-init.c: New file.
30641         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
30642         __nss_lookup_function.
30643         (__nss_lookup_function): Call nss_load_library.
30644         (nss_load_all_libraries): New function.
30645         (__nss_disable_nscd): Take parameter with callback function for files
30646         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
30647         used for the cached services.
30648         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30649         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30650         options for features to all the files in nscd.
30652         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30654 2011-07-10  Roland McGrath  <roland@hack.frob.com>
30656         * csu/elf-init.c (__libc_csu_init): Comment typo.
30658 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
30660         * po/pl.po: Update from translation team.
30661         * po/ja.po: Likewise.
30662         * po/ru.po: Likewise.
30663         * po/ko.po: Likewise.
30664         * po/fr.po: Likewise.
30666 2011-07-09  Roland McGrath  <roland@hack.frob.com>
30668         * configure.in (.ctors/.dtors header and trailer check):
30669         Use an empirical test on a built program.
30670         * configure: Regenerated.
30672         * configure.in (-z relro check): Use an empirical test on a built DSO.
30673         Detect, but do not require, on ia64.
30674         * configure: Regenerated.
30676         * configure.in (READELF): Find it with AC_CHECK_TOOL.
30677         Update tests that use readelf to use $READELF instead.
30678         * configure: Regenerated.
30680 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
30682         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30683         if the result is not used.
30685 2011-07-05  Andreas Jaeger  <aj@suse.de>
30687         [BZ#9696]
30688         * stdlib/tst-strtod.c: Add testcase.
30690 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
30692         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30693         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30694         The latter has a higher limit.  Take additional parameter to pass to
30695         the new function.
30696         (__pathconf): Pass file to __statfs_link_max.
30697         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30698         __statfs_link_max.
30699         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30700         __statfs_link_max.
30702         [BZ #12868]
30703         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30704         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30705         Handle Lustre.
30706         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30707         (__statfs_filesize_max): Likewise.
30708         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30710 2011-07-05  Andreas Jaeger  <aj@suse.de>
30712         * resolv/res_comp.c (dn_skipname): Remove unused variable.
30714 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
30716         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30717         `status' variable.
30718         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30719         Likewise.
30721 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
30723         * Makefile (strop-tests): Add strncat.
30724         * string/test-strncat.c: New file.
30726 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
30728         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30730 2011-06-21  Andreas Jaeger  <aj@suse.de>
30732         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30733         Copy rule from iconvdata/Makefile.
30735 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30737         [BZ #12922]
30738         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30739         but no long options are defined, just return 'W'.
30741 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
30743         [BZ #9696]
30744         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30746 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30748         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30749         netgroups to read.
30750         (innetgr): Likewise.
30752 2011-07-05  Roland McGrath  <roland@hack.frob.com>
30754         * config.make.in (install_root): Default to $(DESTDIR).
30756 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
30758         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30760 2011-07-02  Roland McGrath  <roland@hack.frob.com>
30762         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30764         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30765         containing directory rather than embedding absolute directory names.
30767         * scripts/check-local-headers.sh: Rewritten using awk.
30768         Match by word, not by line.  Print error messages for matches.
30769         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30771         * Makerules [shlib-lds-flags empty]:
30772         ($(common-objpfx)libc_pic.opts): New target.
30773         ($(common-objpfx)libc_pic.os.clean): New target.
30774         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30776         * config.make.in (OBJCOPY): New variable.
30777         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30778         * configure: Regenerated.
30780         * config.make.in (use-default-link): New variable.
30781         * configure.in (use_default_link): Grok --with-default-link to set it.
30782         * configure: Regenerated.
30783         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30784         (shlib-lds, shlib-lds-flags): Define to empty.
30786         * Makerules (shlib-lds): New variable.
30787         (shlib-lds-flags): New variable.
30788         (build-shlib, build-moduile, build-module-asneeded): Use it.
30789         ($(common-objpfx)libc.so): Use $(shlib-lds).
30790         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30791         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30793         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30794         DT_FLAGS/DT_FLAGS_1 with zero flags.
30796         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30797         linker script munging.
30799 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
30801         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30802         as 128-bit value.
30803         * crypt/sha512.c (sha512_process_block): Perform total addition using
30804         128-bit if possible.
30805         (__sha512_finish_ctx): Likewise.
30806         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30807         as 64-bit value.
30808         * crypt/sha256.c (SWAP64): Define.
30809         (sha256_process_block): Perform total addition using 64-bit if
30810         possible.
30811         (__sha256_finish_ctx): Likewise.
30813 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
30815         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
30816         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30817         * nscd/hstcache.c (cache_addhst): Likewise.
30818         * nscd/grpcache.c (cache_addgr): Likewise.
30819         * nscd/aicache.c (addhstaiX): Likewise
30820         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30822 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
30824         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30825         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30826         * nscd/hstcache.c (cache_addhst): Likewise.
30827         * nscd/grpcache.c (cache_addgr): Likewise.
30828         * nscd/aicache.c (addhstaiX): Likewise
30830 2011-07-01  Andreas Schwab  <schwab@redhat.com>
30832         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30833         domain only when needed.
30835 2011-06-30  Andreas Schwab  <schwab@redhat.com>
30837         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30838         is always restored.
30840 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
30842         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30843         are re-adding the entry.
30844         * nscd/servicescache.c (cache_addserv): Likewise.
30846 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
30848         * sysdeps/generic/dl-irel.h: fix protection against multiple
30849         inclusions.
30850         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30852 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
30854         [BZ #12935]
30855         * malloc/memusage.sh: Fix quoting in message.
30856         * debug/xtrace.sh: Likewise.
30858         * configure.in: Remove support for --experimental-malloc option, make
30859         it the default.
30860         * config.make.in: Likewise.
30861         * malloc/Makefile: Likewise.
30863 2011-06-27  Andreas Schwab  <schwab@redhat.com>
30865         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30866         two-byte characters.
30868 2011-06-27  Roland McGrath  <roland@hack.frob.com>
30870         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30871         AC_CACHE_CHECK invocation.
30872         * configure: Regenerated.
30874         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30876 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
30878         [BZ #12350]
30879         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
30880         bit from old_res_options.
30882         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30884         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30885         value type for setfct.
30887 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
30889         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30890         __gettimeofday instead of gettimeofday.
30892 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
30894         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30896 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30898         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30900         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30901         info.
30903 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
30905         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30906         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30907         strcpy-sse2-unaligned strncpy-sse2-unaligned
30908         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30909         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30910         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30911         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30912         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30913         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30914         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30915         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30916         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30917         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30918         (STRCPY): Support SSE2 and SSSE3 versions.
30920 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
30922         [BZ #12874]
30923         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30924         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30925         kernels which artificially limit size of requests.
30927 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
30929         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30930         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30931         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30932         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30933         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30934         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30935         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30936         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30937         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30938         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30939         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30940         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30941         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30942         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30943         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30944         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30945         Enable unaligned load optimization for Intel Core i3, i5 and i7
30946         processors.
30947         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30948         Define.
30949         (index_Fast_Unaligned_Load): Define.
30950         (HAS_FAST_UNALIGNED_LOAD): Define.
30952 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
30954         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30956 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30958         [BZ #12907]
30959         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30960         until it is clear that the information is realy needed.
30961         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30963 2011-06-22  Andreas Schwab  <schwab@redhat.com>
30965         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30967 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30969         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30970         /sys/devices/system/cpu/online if it is usable.
30972         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30973         reading the information from the /proc filesystem to once a second.
30975 2011-06-21  Andreas Jaeger  <aj@suse.de>
30977         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30978         NULL after inclusion of kernel headers.
30980 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
30982         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30983         calls to internal_setent.
30985         [BZ #12885]
30986         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30987         addresses using gethostbyname4_r ignore IPv4 addresses.
30989         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30990         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
30992         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30994 2011-06-20  David S. Miller  <davem@davemloft.net>
30996         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30997         inclusions.
30998         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31000         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31001         (elf_irel): Use it.
31002         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31003         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31004         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31005         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31006         * sysdeps/x86_64/dl-irel.h: Likewise.
31008         * elf/dl-runtime.c: Use elf_ifunc_invoke.
31009         * elf/dl-sym.c: Likewise.
31011 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31013         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
31014         need to dereference resplen2.
31016 2011-06-14  Andreas Schwab  <schwab@redhat.com>
31018         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31020 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31022         * Makeconfig: Define vardbdir and inst_vardbdir.
31023         * nss/Makefile: Add rules to install db-Makefile.
31025         * nss/nss_db/db-XXX.c: Cleanup.
31027         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31028         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31029         GLIBC_PRIVATE.
31030         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31031         * nss/makedb.c: Implement -g option to specify that value strings
31032         are generated and should not be added to table iterated over for
31033         get*ent calls.
31034         * nss/nss_db/db-initgroups.c: New file.
31036         * nss/getent.c: Add support for initgroups lookups through getgrouplist
31037         interface.
31039         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31040         (internal_getgrouplist): Adjust to name change.
31041         Update use_initgroups_entry if this is not the first call.
31042         * nss/databases.def: Add initgroups entry.
31044         * nss/makedb.c (compute_tables): Check result of multiple hash table
31045         sizes to minimize maximum chain length.
31047 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
31049         * Versions.def: Add entry for libnss_db.
31050         * shlib-versions: Likewise.
31051         * nss/Makefile: Add rules to build libnss_db.
31052         * nss/Versions: Add libnss_db information.  Organize libnss_files
31053         entries better.
31054         * nss/db-Makefile: Add gshadow support.  Change rules for the new
31055         makedb progra.  Some minor improvements to generate smaller files.
31056         * nss/nss_db/nss_db.h: Move NSS database header data structures to
31057         here from...
31058         * nss/makedb.c: ...here.
31059         Improve database format to be smaller and require less memory at
31060         runtime.
31061         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
31062         db anymore.
31063         * nss/nss_db/db-netgrp.c: Likewise.
31064         * nss/nss_db/db-open.c: Likewise.
31065         * nss/nss_files/flies-XXX.x: Adjust comments.
31066         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31067         * nss/nss_files/files-grp.c: Likewise.
31068         * nss/nss_files/files-hosts.c: Likewise.
31069         * nss/nss_files/files-network.c: Likewise.
31070         * nss/nss_files/files-proto.c: Likewise.
31071         * nss/nss_files/files-pwd.c: Likewise.
31072         * nss/nss_files/files-rpc.c: Likewise.
31073         * nss/nss_files/files-service.c: Likewise.
31074         * nss/nss_files/files-sgrp.c: Likewise.
31075         * nss/nss_files/files-spwd.c: Likewise.
31076         * nss/nss_db/db-alias.c: Removed.
31077         * nss/nss_db/dummy-db.h: Removed.
31079 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
31081         * nss/makedb.c: Rewritten to not use database library.
31082         * nss/Makefile: Update to build new makedb program.
31084 2011-06-14  Andreas Jaeger  <aj@suse.de>
31086         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31087         memset declaration.
31089 2011-06-10  Andreas Schwab  <schwab@redhat.com>
31091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31092         tmpbuf.
31094 2011-06-10  Roland McGrath  <roland@hack.frob.com>
31096         * Makerules (shlib.lds): Fail if the linker script comes out empty.
31097         * elf/Makefile ($(objpfx)ld.so): Likewise.
31099         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31100         Don't list ld.so twice in dependencies.
31102         * posix/bug-regex31.c: Include <stdlib.h>.
31104         * nscd/hstcache.c (cache_addhst): Remove unused variable.
31106         * nis/nss_compat/compat-spwd.c
31107         (getspent_next_nss_netgr): Remove unused variable.
31108         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31110         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31111         nonmembers" output to use the right array.
31113         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31115         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31117         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31118         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31119         * catgets/gencat.c (read_input_file): Likewise.
31120         * locale/programs/locarchive.c (enlarge_archive): Likewise.
31122         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31123         variable definition inside #if's controlling its use.
31125         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31127         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31129         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31131         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31132         unreachable code.
31134         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31136         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31137         * configure: Regenerated.
31139         * Makerules: Revert last change.
31140         * elf/Makefile: Likewise.
31142 2011-06-09  Roland McGrath  <roland@hack.frob.com>
31144         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31145         * elf/Makefile ($(objpfx)librtld.os): Likewise.
31146         (reloc-link): Likewise.
31148 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
31150         * elf/Makefile: Add rules to build pldd.
31151         * elf/pldd.c: New file.
31152         * elf/pldd-xx.c: New file.
31154 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
31156         * version.h: Update for 2.15 development version.
31158 2011-06-07  David S. Miller  <davem@davemloft.net>
31160         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31161         ifuncs.
31162         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31163         elf_machine_lazy_rel): Likewise.
31164         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31165         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31166         elf_machine_lazy_rel): Likewise.
31167         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31168         dl_hwcap via passed in argument.
31169         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31170         Likewise.
31172 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31174         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
31176 2011-06-06  Roland McGrath  <roland@hack.frob.com>
31178         [BZ #12849]
31179         * manual/fdl-1.1.texi: New file, verbatim from:
31180         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31181         * manual/lgpl-2.1.texi: New file, verbatim from:
31182         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31183         * manual/Makefile (licenses): New variable, list those new file names.
31184         (texis): Use it.
31185         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31187         * manual/fdl.texi: File removed.
31188         * manual/lesser.texi: File removed.
31189         * manual/libc.texinfo (Copying, Documentation License):
31190         Use new @include file names, put @appendix directive before @include.
31192 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
31194         [BZ #12841]
31195         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31196         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31197         (mq_open): Add __NTH.
31199 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
31201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31202         Assume Intel Core i3/i5/i7 processor if AVX is available.
31204 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31206         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31207         typo.
31209 2011-05-31  Andreas Schwab  <schwab@redhat.com>
31211         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31212         memory.  Use alloca_account.  Fix memory leak when retrying.
31214 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31216         * version.h (RELEASE): Bump for 2.14 release.
31217         * include/features.h (__GLIBC_MINOR__): Bump to 14.
31219         * config.make.in (RANLIB): Remove entry.
31221 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
31223         * po/Makefile (po-sed-cmd): Add ksh to extensions.
31224         (libc.pot): Work around missing support for .ksh extension in xgettext.
31226         [BZ #12684]
31227         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31228         if both request failed.
31229         (send_dg): In case of server errors clear resplen or *resplen2.
31231         [BZ #12454]
31232         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31233         when there are multiple maps.
31234         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31235         (_dl_fini): Remove test here.
31237         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31239 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
31241         [BZ #12350]
31242         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31243         bit from old_res_options.
31244         (gaih_inet): Likewise.
31246         [BZ #11099]
31247         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31248         as signed.
31250         * resolv/res_init.c (res_setoptions): Make the code more compact.
31252         [BZ #11558]
31253         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31254         set RES_USEVC.
31256         [BZ #11634]
31257         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31259         * malloc/malloc.h: Mark malloc hook variables as deprecated.
31261         [BZ #11781]
31262         * malloc/malloc.h: Declare malloc hook variables as volatile.
31264         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31265         in last patch.
31267         [BZ #11799]
31268         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31269         raise in the comment.
31270         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31271         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31272         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31274 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
31276         [BZ #12811]
31277         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31278         grow the buffers more if it already has to be sufficient.
31279         (build_wcs_upper_buffer): Likewise.
31280         * posix/regexec.c (check_matching): Likewise.
31281         (clean_state_log_if_needed): Likewise.
31282         (extend_buffers): Don't enlarge buffers beyond size of the input
31283         buffer.
31284         Patches mostly by Emil Wojak <emil@wojak.eu>.
31285         * posix/bug-regex32.c: New file.
31286         * posix/Makefile (tests): Add bug-regex32.
31288         * locale/findlocale.c (_nl_find_locale): Return right away if
31289         _nl_explode_name failed.
31290         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31292         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31294         * debug/xtrace.sh: Unify messages.
31295         * malloc/memusage.sh: Likewise.
31297         [BZ #12813]
31298         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31299         time symbol from vDSO.  Substitute with vsyscall if not available.
31300         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31301         __vdso_time.
31303         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31304         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31305         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31306         Add sendmmsg and internal_sendmmsg.
31307         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31308         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31309         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31311         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31312         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31313         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31315 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
31317         [BZ #12813]
31318         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31319         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
31320         available.
31321         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31322         __vdso_getcpu.
31324         [BZ #12814]
31325         * iconvdata/Makefile (tests): Add bug-iconv9.
31326         * iconvdata/bug-iconv9.c: New file.
31328 2011-05-27  Andreas Schwab  <schwab@redhat.com>
31330         [BZ #12814]
31331         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31333 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
31335         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31336         (struct user_regs_struct): Change intcs field back to cs.
31338 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
31340         * po/ja.po: Update from translation team.
31342 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
31344         [BZ #12795]
31345         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31346         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31348 2011-05-20  Andreas Schwab  <schwab@redhat.com>
31350         * stdlib/longlong.h: Update from GCC.
31352 2011-05-23  Andreas Schwab  <schwab@redhat.com>
31354         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31355         parameter name.
31356         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31357         Add parameter name.
31358         (__sysconf): Pass it down.
31360 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
31362         [BZ #12671]
31363         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31364         some situations.
31365         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31366         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31367         add in in __libc_use_alloca calls.  Adjust callers.
31368         (glob): Use malloc in some situations.
31370         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31371         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31372         pltexit.
31374 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
31376         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31377         and CLOCK_BOOTTIME_ALARM.
31379         [BZ #12782]
31380         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31381         is returned.
31383         * string/_strerror.c (__strerror_r): Print negative errors as signed
31384         numbers.
31386         [BZ #12777]
31387         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31388         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31389         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31391         * configure.in: Fix typo in redirection and correct removal of test
31392         files in two cases.
31394         [BZ #12788]
31395         * locale/setlocale.c (new_composite_name): Fix test to check for
31396         identical name of all categories.
31398         [BZ #12792]
31399         * libio/filedoalloc.c (local_isatty): New function.
31400         (_IO_file_doallocate): Use local_isatty.
31401         * stdio-common/perror.c (perror): In case a new stream is used
31402         forward the stream error.
31403         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31404         error flag.
31406 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
31408         [BZ #11869]
31409         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31410         alloca.
31411         * include/alloca.h (extend_alloca_account): Define.
31413         [BZ #11857]
31414         * posix/regex.h: Fix comments with documentation of user-accessible
31415         fields after compilation and describe correct free'ing of pattern
31416         after re_compile_pattern.
31417         Patch by Reuben Thomas <rrt@sc3d.org>.
31419 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
31421         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31422         and -mno-altivec to prevent the compiler from using Altivec and/or
31423         VSX instructions when the corresponding registers are not available.
31425 2011-05-19  Andreas Schwab  <schwab@redhat.com>
31427         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31429 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
31431         * libio/freopen.c (freopen): Use __dup2, not dup2.
31432         * libio/freopen64.c (freopen64): Likewise.
31434 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31436         [BZ #12775]
31437         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31438         * math/Makefile (tests): Add test-powl.
31439         (CFLAGS-test-powl.c): Define.
31440         * math/test-powl.c: New file.
31442 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31444         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31446 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
31448         [BZ #11837]
31449         * iconvdata/gb18030.c: Update to GB18020-2005.
31451 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
31453         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31454         RE_SYNTAX_POSIX_AWK): Update to match recent development.
31455         Patch by Aharon Robbins <arnold@skeeve.com>.
31457         [BZ #11892]
31458         * stdlib/putenv.c (putenv): Don't always create copy of the variable
31459         on the stack.
31461         [BZ #11895]
31462         * misc/pselect.c (__pselect): Handle timeout value errors hidden
31463         through underflows.
31465         [BZ #12766]
31466         * misc/error.c (error_at_line): Ensure file_name and old_file_name
31467         point to strings before performing equality test for error_one_per_line
31468         mode.
31470         [BZ #11697]
31471         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31473         [BZ #11820]
31474         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31475         (struct user_fpregs_struct): Avoid __uint*_t types.
31477         [BZ #6420]
31478         * malloc/mtrace.c (tr_where): Add additional parameter to point to
31479         symbol info.  Use it instead of calling _dl_addr locally.
31480         (lock_and_info): New function.
31481         (tr_freehook): Call lock_and_info and pass symbol info as additional
31482         parameter to tr_where.
31483         (tr_mallochook): Likewise.
31484         (tr_reallochook): Likewise.
31485         (tr_memalignhook): Likewise.
31487         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
31488         used and couldn't be at all thread-safe.
31490 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
31492         * libio/freopen.c (freopen): Don't close old file descriptor
31493         before the new one is opened.  Instead dup the new file descriptor
31494         to the old one after the new stream is created.
31495         * libio/freopen64.c (freopen64): Likewise.
31496         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31497         * libio/fileops.c (_IO_new_file_close_it): Handle new
31498         _IO_FLAGS2_NOCLOSE flag.
31499         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31500         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31501         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31502         _IO_FLAGS2_NOCLOSE flag.
31503         * include/unistd.h: Add hidden_proto for dup3.
31504         Define __have_dup3.
31505         * io/dup3.c: Define hidden symbol.
31506         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31508         [BZ #7101]
31509         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31510         when an incomplete long option is used.
31511         * posix/tst-getopt_long1.c: New file.
31512         * posix/Makefile (tests): Add tst-getopt_long1.
31514         [BZ #10138]
31515         * scripts/config.guess: Update from autoconf-2.68.
31516         * scripts/config.sub: Likewise.
31518         [BZ #10157]
31519         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31520         tests into ...
31521         (has_cpuclock): ...this.  New function.
31522         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31523         macro here based on has_cpuclock code.
31525         [BZ #10149]
31526         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31527         First byte (not low byte) is now always NUL.
31528         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31530         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31531         Use non-cancelable interfaces.
31533         [BZ #9809]
31534         * locale/iso-639.def: Add entry for Sorani.
31536         [BZ #11901]
31537         * include/stdlib.h: Move include protection to the right place.
31538         Define abort_msg_s.  Declare __abort_msg with it.
31539         * stdlib/abort.c (__abort_msg): Adjust type.
31540         * assert/assert.c (__assert_fail_base): New function.  Majority
31541         of code from __assert_fail.  Allocate memory for __abort_msg with
31542         mmap.
31543         (__assert_fail): Now call __assert_fail_base.
31544         * assert/assert-perr.c: Remove bulk of implementation.  Use
31545         __assert_fail_base.
31546         * include/assert.hL Declare __assert_fail_base.
31547         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31548         mmap.
31549         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31551 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
31553         [BZ #11952]
31554         [BZ #12453]
31555         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31556         until all modules are registered in the DTV.
31557         * elf/Makefile: Add rules to build and run tst-tls19.
31558         * elf/tst-tls19.c: New file.
31559         * elf/tst-tls19mod1.c: New file.
31560         * elf/tst-tls19mod2.c: New file.
31561         * elf/tst-tls19mod3.c: New file.
31562         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31564         [BZ #12083]
31565         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31566         correctly.
31568         [BZ #12601]
31569         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31570         two-byte sequence errors.
31571         * iconvdata/Makefile (tests): Add bug-iconv8.
31572         * iconvdata/bug-iconv8.c: New file.
31574         [BZ #12626]
31575         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31576         buf2 definition.
31578         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31580         [BZ #12432]
31581         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31582         (dummy_getcfa): New function.
31583         (init): Get _Unwind_GetCFA address, use dummy if not found.
31584         (backtrace_helper): In recursion check, also check whether CFA changes.
31585         (__backtrace): Completely initialize arg.
31587         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31588         storing incomplete byte sequence in state object.  Avoid testing for
31589         guaranteed too small input if we know there is enough data available.
31591 2011-05-11  Andreas Schwab  <schwab@redhat.com>
31593         * Makeconfig (+link-pie): Indent.
31594         * Rules (binaries-pie): Define if $(have-fpie) and
31595         $(build-shared).
31596         (binaries-shared): Also filter out $(binaries-pie).
31597         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31598         * nscd/Makefile (others-pie): Add nscd.
31599         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31600         ($(objpfx)nscd): Remove command override.
31601         * login/Makefile (others-pie): Add pt_chown.
31602         ($(objpfx)pt_chown): Remove command override.
31603         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31604         remove command overrides.
31606 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
31608         * libio/tst_putwc.c: Fix error messages.
31610         [BZ #12724]
31611         * libio/fileops.c (_IO_new_file_close_it): Always flush when
31612         currently writing and seek to current position when not.
31613         * libio/Makefile (tests): Add bug-fclose1.
31614         * libio/bug-fclose1.c: New file.
31616 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
31618         [BZ #12511]
31619         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31620         don't set DF_1_NODELETE here.
31621         (do_lookup_x): When entering new entry test for copy relocation
31622         and if necessary set DF_1_NODELETE flag.
31623         * elf/tst-unique4.cc: New file.
31624         * elf/tst-unique4.h: New file.
31625         * elf/tst-unique4lib.cc: New file.
31626         * elf/Makefile: Add rules to build and run tst-unique4.
31627         Patch by Piotr Bury <pbury@goahead.com>.
31629 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
31631         [BZ #12052]
31632         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31634         [BZ #12625]
31635         * misc/mntent_r.c (addmntent): Flush the stream after the output
31637         [BZ #12393]
31638         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31639         (is_trusted_path_normalize): Skip initial colon.  Append slash
31640         to empty buffer.  Duplicate is_trusted_path code but allow
31641         constructed patch to be prefix.
31642         (is_dst): Allow $ORIGIN followed by /.
31643         (_dl_dst_substitute): Correct clearing of check_for_trusted.
31644         Correct testing of result of is_trusted_path_normalize
31645         (decompose_rpath): Fix warning.
31647 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
31649         [BZ #11257]
31650         * grp/initgroups.c (internal_getgrouplist): When we found the service
31651         list through the initgroups entry in nsswitch.conf do not always
31652         continue on a successful lookup.  Don't always use the
31653         __nss_group_database value if it is set.
31654         * nss/nsswitch.conf (initgroups): Change action for successful db
31655         lookup to continue for compatibility.
31657 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
31659         [BZ #11532]
31660         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31661         and CP774 modules.
31662         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31663         and CP774 modules.
31664         * iconvdata/tst-tables.sh: Likewise.
31665         * iconvdata/cp770.c: New file.
31666         * iconvdata/cp771.c: New file.
31667         * iconvdata/cp772.c: New file.
31668         * iconvdata/cp773.c: New file.
31669         * iconvdata/cp774.c: New file.
31670         * iconvdata/testdata/CP770: New file.
31671         * iconvdata/testdata/CP770..UTF8: New file.
31672         * iconvdata/testdata/CP771: New file.
31673         * iconvdata/testdata/CP771..UTF8: New file.
31674         * iconvdata/testdata/CP772: New file.
31675         * iconvdata/testdata/CP772..UTF8: New file.
31676         * iconvdata/testdata/CP773: New file.
31677         * iconvdata/testdata/CP773..UTF8: New file.
31678         * iconvdata/testdata/CP774: New file.
31679         * iconvdata/testdata/CP774..UTF8: New file.
31681         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31682         END CHARMAP line.
31683         * iconvdata/gen-8bit-gap.sh: Likewise.
31684         * iconvdata/gen-8bit.sh: Likewise.
31686         * locale/iso-639.def: Add ary entry.
31688         [BZ #11258]
31689         * locale/C-translit.h.in: Add U20A1 transliteration.
31691         [BZ #12178]
31692         * locale/iso-639.def: Add wae entry.
31693         Patch by Kevin Bortis <bortis@translate-wae.ch>.
31695         [BZ #12545]
31696         * locale/programs/localedef.c (construct_output_path): Use ssize_t
31697         for n.
31699         [BZ #12711]
31700         * locale/C-translit.h.in: Add entry for U20B9.
31701         Patch by pravin.d.s@gmail.com.
31703 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
31705         [BZ #12713]
31706         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31707         ENAMETOOLONG use generic getcwd.
31708         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
31709         in rtld.  Use *stat64.
31710         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31711         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31712         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31713         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31714         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31715         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31716         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31717         __fstatat64 macros.
31718         * include/dirent.h: Add libc_hidden_proto for rewinddir.
31719         * dirent/rewinddir.c: Add libc_hidden_def.
31720         * sysdeps/mach/hurd/rewinddir.c: Likewise.
31721         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
31723         * include/dirent.h (__alloc_dir): Add flags parameter.
31724         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31725         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31726         __alloc_dir.
31727         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
31728         from fdopendir if O_CLOEXEC is already set.
31730 2011-03-15  Alan Modra  <amodra@gmail.com>
31732         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31733         l_tls_firstbyte_offset non-zero.  Save padding offset in
31734         l_tls_firstbyte_offset for later use.
31735         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31736         freeing static tls block.
31738 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
31740         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31741         where #ifdef was intended.  The intent is to prevent ARG_MAX from
31742         being defined by the kernel headers.
31744 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
31746         [BZ #12734]
31747         * resolv/resolv.h: Define RES_NOTLDQUERY.
31748         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31749         no-tld-query and set RES_NOTLDQUERY.
31750         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31751         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31752         modern BIND to search name as TLD unless forbidden.
31754 2011-05-07  Petr Baudis  <pasky@suse.cz>
31755             Ulrich Drepper  <drepper@gmail.com>
31757         [BZ #12393]
31758         * elf/dl-load.c (fillin_rpath): Move trusted path check...
31759         (is_trusted_path): ...to here.
31760         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31761         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31762         using is_trusted_path_normalize() in setuid scripts.
31764 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31766         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31767         __BEGIN/__END_DECLS.
31769 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
31771         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31772         NSS_STATUS_NOTFOUND if no record was found.
31774 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31776         * sunrpc/Makefile (headers): Add rpc/netdb.h.
31777         (headers-not-in-tirpc): Remove rpc/netdb.h
31778         * resolv/netdb.h: Revert last change.
31780 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31782         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31783         circular dependency between libgcc.a and libc.a.
31785 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31787         * resolv/netdb.h: Don't include <rpc/netdb.h>.
31788         * nis/Makefile: Don't install rpcsvc/*.
31789         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31790         instead of <rpc/types.h>.
31791         (MAXHOSTNAMELEN): Define.
31793 2011-05-03  Andreas Schwab  <schwab@redhat.com>
31795         * elf/ldconfig.c (add_dir): Don't crash on empty path.
31797 2011-04-28  Maciej Babinski  <mbabinski@google.com>
31799         [BZ #12714]
31800         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31801         gethostbyname4_r when IPv6 results are possible.
31803 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
31805         [BZ #12723]
31806         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31807         _PC_PIPE_BUF handling.
31809 2011-04-30  Bruno Haible  <bruno@clisp.org>
31811         [BZ #12717]
31812         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31813         * resolv/netdb.h (getnameinfo): Change type of flags parameter
31814         to 'int'.
31815         * inet/getnameinfo.c (getnameinfo): Likewise.
31817 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
31819         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31820         to groups setting in database lookup.
31821         * nss/nsswitch.conf: Add initgroups entry.
31823 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
31825         [BZ #12685]
31826         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31827         mode string.
31828         Patch by Eric Blake <eblake@redhat.com>.
31830 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
31832         * sunrpc/Makefile (need-export-routines): Add svc_run.
31833         (routines): Remove svc_run.
31834         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31835         * sunrpc/clnt_perr.c (clnt_perrno): Export.
31836         * sunrpc/svc_run.c (svc_run): Likewise.
31837         * sunrpc/svc_udp.c (svcudp_create): Likewise.
31839 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
31841         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31842         problem in reallocation in last patch.
31844 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
31846         * sunrpc/Makefile: Move inclusion of Rules.
31848 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31850         * nss/nss_files/files-initgroups.c: New file.
31851         * nss/Makefile (libnss_files-routines): Add files-initgroups.
31852         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31853         _nss_files_initgroups_dyn.
31855 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
31857         * elf/elf.h (R_ARM_IRELATIVE): Define.
31859 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31861         * po/ru.po: Update from translation team.
31863 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31865         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31866         dependencies.
31868 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
31870         [BZ #12653]
31871         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31872         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31873         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31874         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31875         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31877 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
31879         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31880         differing bytes.
31881         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31882         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31883         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31885 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31887         [BZ #12420]
31888         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31889         storing it.
31890         * stdlib/bug-getcontext.c: New file.
31891         * stdlib/Makefile: Add rules to build and run bug-getcontext.
31893 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31895         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31896         instructions into .machine "z9-109".
31897         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31898         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31900 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31902         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31903         between environment variables and auxiliary vector.
31905 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
31907         * Makefile: Add rules to build linkobj/libc.so.
31908         * include/libc-symbols.h: Define libc_hidden_nolink.
31909         * include/rpc/auth.h: Mark functions which are to be hidden.
31910         * include/rpc/auth_des.h: Likewise.
31911         * include/rpc/auth_unix.h: Likewise.
31912         * include/rpc/clnt.h: Likewise.
31913         * include/rpc/des_crypt.h: Likewise.
31914         * include/rpc/key_prot.h: Likewise.
31915         * include/rpc/pmap_clnt.h: Likewise.
31916         * include/rpc/pmap_prot.h: Likewise.
31917         * include/rpc/pmap_rmt.h: Likewise.
31918         * include/rpc/rpc_msg.h: Likewise.
31919         * include/rpc/svc.h: Likewise.
31920         * include/rpc/svc_auth.h: Likewise.
31921         * include/rpc/xdr.h: Likewise.
31922         * nis/Makefile: Link all DSOs against linkobj/libc.so.
31923         * nss/Makefile: Likewise.
31924         * sunrpc/Makefile: Don't install headers.  Build library with normal
31925         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
31926         * sunrpc/auth_des.c: Hide exported symbols by default, export some
31927         for the compat linking library.  Remove use of INTDEF/INTUSE.
31928         * sunrpc/auth_none.c: Likewise.
31929         * sunrpc/auth_unix.c: Likewise.
31930         * sunrpc/authdes_prot.c: Likewise.
31931         * sunrpc/authuxprot.c: Likewise.
31932         * sunrpc/clnt_gen.c: Likewise.
31933         * sunrpc/clnt_perr.c: Likewise.
31934         * sunrpc/clnt_raw.c: Likewise.
31935         * sunrpc/clnt_simp.c: Likewise.
31936         * sunrpc/clnt_tcp.c: Likewise.
31937         * sunrpc/clnt_udp.c: Likewise.
31938         * sunrpc/clnt_unix.c: Likewise.
31939         * sunrpc/des_crypt.c: Likewise.
31940         * sunrpc/des_soft.c: Likewise.
31941         * sunrpc/get_myaddr.c: Likewise.
31942         * sunrpc/key_call.c: Likewise.
31943         * sunrpc/key_prot.c: Likewise.
31944         * sunrpc/netname.c: Likewise.
31945         * sunrpc/pm_getmaps.c: Likewise.
31946         * sunrpc/pm_getport.c: Likewise.
31947         * sunrpc/pmap_clnt.c: Likewise.
31948         * sunrpc/pmap_prot.c: Likewise.
31949         * sunrpc/pmap_prot2.c: Likewise.
31950         * sunrpc/pmap_rmt.c: Likewise.
31951         * sunrpc/publickey.c: Likewise.
31952         * sunrpc/rpc_cmsg.c: Likewise.
31953         * sunrpc/rpc_common.c: Likewise.
31954         * sunrpc/rpc_dtable.c: Likewise.
31955         * sunrpc/rpc_prot.c: Likewise.
31956         * sunrpc/rpc_thread.c: Likewise.
31957         * sunrpc/rtime.c: Likewise.
31958         * sunrpc/svc.c: Likewise.
31959         * sunrpc/svc_auth.c: Likewise.
31960         * sunrpc/svc_authux.c: Likewise.
31961         * sunrpc/svc_raw.c: Likewise.
31962         * sunrpc/svc_run.c: Likewise.
31963         * sunrpc/svc_simple.c: Likewise.
31964         * sunrpc/svc_tcp.c: Likewise.
31965         * sunrpc/svc_udp.c: Likewise.
31966         * sunrpc/svc_unix.c: Likewise.
31967         * sunrpc/svcauth_des.c: Likewise.
31968         * sunrpc/xcrypt.c: Likewise.
31969         * sunrpc/xdr.c: Likewise.
31970         * sunrpc/xdr_array.c: Likewise.
31971         * sunrpc/xdr_float.c: Likewise.
31972         * sunrpc/xdr_intXX_t.c: Likewise.
31973         * sunrpc/xdr_mem.c: Likewise.
31974         * sunrpc/xdr_rec.c: Likewise.
31975         * sunrpc/xdr_ref.c: Likewise.
31976         * sunrpc/xdr_sizeof.c: Likewise.
31977         * sunrpc/xdr_stdio.c: Likewise.
31979 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
31981         [BZ #12650]
31982         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31983         * sysdeps/ia64/dl-tls.h: Likewise.
31984         * sysdeps/powerpc/dl-tls.h: Likewise.
31985         * sysdeps/s390/dl-tls.h: Likewise.
31986         * sysdeps/sh/dl-tls.h: Likewise.
31987         * sysdeps/sparc/dl-tls.h: Likewise.
31988         * sysdeps/x86_64/dl-tls.h: Likewise.
31989         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31991 2011-03-14  Andreas Schwab  <schwab@redhat.com>
31993         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31994         rpath element also skip the following colon.
31995         (expand_dynamic_string_token): Add is_path parameter and pass
31996         down to DL_DST_REQUIRED and _dl_dst_substitute.
31997         (decompose_rpath): Call expand_dynamic_string_token with
31998         non-zero is_path.  Ignore empty rpaths.
31999         (_dl_map_object_from_fd): Call expand_dynamic_string_token
32000         with zero is_path.
32002 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
32004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32005         Make cancelable.
32007 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
32009         [BZ #12655]
32010         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32011         Patch by Filipe David Manana <fdmanana@apache.org>.
32013 2011-04-07  Andreas Schwab  <schwab@redhat.com>
32015         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32016         Maintain aligned stack.
32017         (CHECK_RSP): Remove unused macro.
32019 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
32021         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32022         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32024 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
32026         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32028         * include/features.h: Mention __USE_XOPEN2K8 in comment.
32030 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
32032         [BZ #12518]
32033         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32034         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32035         * sysdeps/x86_64/memmove.c: New file.
32036         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32037         (memcpy): Renamed to ...
32038         (__new_memcpy): This.
32039         (memcpy): Provide GLIBC_2_14 memcpy.
32040         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32041         (memcpy): Provide GLIBC_2_2_5 memcpy.
32043 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32045         [BZ #12631]
32046         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32048 2011-03-30  Andreas Schwab  <schwab@redhat.com>
32050         * misc/syncfs.c: New file.
32051         * misc/Makefile (routines): Add syncfs.
32052         * posix/unistd.h: Declare syncfs.
32053         * sysdeps/unix/syscalls.list: Add syncfs.
32055 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32057         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32058         open_by_handle_at.
32059         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32060         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32061         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32062         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32063         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32064         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32065         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32067 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32069         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32070         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32071         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32072         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32073         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32074         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32075         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32077         * io/Makefile: Compile fallocate.c, fallocate64.c, and
32078         sync_file_range.c with -fexceptions.
32079         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32080         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32081         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32082         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32083         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32084         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32085         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32086         sync_file_range as cancellation point
32087         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
32088         now a wrapper around __call_sync_file_range with cancellation handling.
32089         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32090         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
32091         function name to __call_sync_file_range.
32092         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32093         Add call_sync_file_range.
32095 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32097         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32098         bits/timex.h.
32100 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32102         * iconv/iconv.h: Fix typo in comment.
32103         * io/fcntl.h: Likewise.
32104         * libio/stdio.h: Likewise.
32105         * posix/spawn.h: Likewise.
32106         * posix/unistd.h: Likewise.
32107         * stdlib/stdlib.h: Likewise.
32108         * time/time.h: Likewise.
32109         * wcsmbs/wchar.h: Likewise.
32111         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32112         open_by_handle): Add.
32113         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32114         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
32115         Augment a few comments.
32116         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32117         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32118         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32119         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32120         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32121         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32122         open_by_handle.
32124         * io/fcntl.h (AT_EMPTY_PATH): Define.
32126 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
32128         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32129         * sysdeps/unix/sysv/linux/bits/time.h: New file.
32130         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32131         to...
32132         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
32133         * Versions.def: Add GLIBC_2.14.
32134         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32135         Export.
32137 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
32139         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32140         round counter.
32141         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32143 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32145         [BZ #12597]
32146         * string/test-strncmp.c (do_page_test): New function.
32147         (check2): Likewise.
32148         (test_main): Call check2.
32149         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32151 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
32153         [BZ #12587]
32154         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32155         Handle cache information in CPU leaf 4.
32156         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32158 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
32160         [BZ #12583]
32161         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32162         character representation.
32163         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32165 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
32167         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32168         END(__isnan) to END(__isnanf) to match function entry point/label
32169         EALIGN(__isnanf,...).
32171 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
32173         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32175 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
32177         [BZ #12510]
32178         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32179         copy from the symbol referenced in the relocation to initialize the
32180         used variable.
32181         Patch by Piotr Bury <pbury@goahead.com>.
32182         * elf/Makefile: Add rules to build and tst-unique3.
32183         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32184         * elf/tst-unique3.cc: New file.
32185         * elf/tst-unique3.h: New file.
32186         * elf/tst-unique3lib.cc: New file.
32187         * elf/tst-unique3lib2.cc: New file.
32189         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32191 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
32193         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32194         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
32195         to _start.
32197 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
32199         * elf/dl-load.c (_dl_map_object): If we are looking for the first
32200         to-be-loaded object along a path to loader is ld.so.
32202 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
32203             Ulrich Drepper  <drepper@gmail.com>
32205         * sysdeps/x86_64/memset.S: After aligning destination, code
32206         branches to different locations depending on the value of
32207         misalignment, when multiarch is enabled. Fix this.
32209 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
32211         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32212         Set _x86_64_preferred_memory_instruction for AMD processsors.
32213         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32214         Set bit_Prefer_SSE_for_memop for AMD processors.
32216 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
32218         * libio/fmemopen.c (fmemopen): Optimize a bit.
32220 2011-03-03  Andreas Schwab  <schwab@redhat.com>
32222         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32224 2011-03-03  Roland McGrath  <roland@redhat.com>
32226         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32228 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
32230         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32231         __bzero_ultra1 instead of __memset_ultra1.
32233 2011-02-23  Andreas Schwab  <schwab@redhat.com>
32234             Ulrich Drepper  <drepper@gmail.com>
32236         [BZ #12509]
32237         * include/link.h (struct link_map): Add l_orig_initfini.
32238         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32239         returning unsuccessfully.
32240         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32241         close of a file loaded at startup, restore the original l_initfini
32242         list.
32243         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32244         list, store the pointer.
32245         * elf/Makefile ($(objpfx)noload-mem): New rule.
32246         (noload-ENV): Define.
32247         (tests): Add $(objpfx)noload-mem.
32248         * elf/noload.c: Include <memcheck.h>.
32249         (main): Call mtrace.  Close all opened handles.
32251 2011-02-17  Andreas Schwab  <schwab@redhat.com>
32253         [BZ #12454]
32254         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32255         dependencies are missing.
32257 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32259         Fix __if_freereq crash: Unlike the generic version which uses free,
32260         Hurd needs munmap.
32261         * sysdeps/mach/hurd/ifreq.h: New file.
32263 2011-01-27  Petr Baudis  <pasky@suse.cz>
32264             Ulrich Drepper  <drepper@gmail.com>
32266         [BZ 12445]#
32267         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32268         to extend_alloca().
32269         * stdio-common/bug23.c: New file.
32270         * stdio-common/Makefile (tests): Add bug23.
32272 2010-09-28  Andreas Schwab  <schwab@redhat.com>
32273             Ulrich Drepper  <drepper@gmail.com>
32275         [BZ #12489]
32276         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32277         before performing relro protection.  At old place add assertion
32278         to make sure nothing changed.
32280 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
32281             Glauber de Oliveira Costa  <glommer@gmail.com>
32283         * elf/elf.h: Add new ARM TLS relocs.
32285 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
32287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32288         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32289         cast from r3.
32290         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
32291         'tests' variable.
32292         * sysdeps/wordsize-64/tst-writev.c: New file.
32294 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
32296         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32297         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32298         insns in _dl_start to prevent a TOC reference before relocs are
32299         resolved.
32301 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
32303         [BZ #12469]
32304         * Makeconfig: Remove RANLIB definition.
32305         * Makerules: Don't use RANLIB.
32306         * aclocal.m4: Remove ranlib test.
32307         * configure.in: No need to check for ranlib.
32308         * elf/rtld-Rules: Don't use RANLIB.
32310 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32312         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32313         protection macro.
32314         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32315         inclusion protection macro.
32317         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32318         SIGRTMIN and SIGRTMAX and print information in that case only when
32319         SIGRTMIN is defined.
32321 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
32323         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32324         arginfo fn returning -1.
32326         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32327         and thousands string is zero terminated.
32329 2011-02-03  Andreas Schwab  <schwab@redhat.com>
32331         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32332         sysdeps/unix/sysv/linux/bits/socket.h.
32334 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32336         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32337         (__CPU_COUNT): Remove old macros.
32338         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32339         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32340         (__CPU_ALLOC, __CPU_FREE): Add macros.
32341         (__sched_cpualloc, __sched_cpufree): Add declarations.
32343 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
32345         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32346         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32347         * nscd/aicache.c (addhstaiX): Return timeout of added value.
32348         (readdhstai): Return value of addhstaiX call.
32349         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32350         (addgrbyX): Return value returned by cache_addgr.
32351         (readdgrbyname): Return value returned by addgrbyX.
32352         (readdgrbygid): Likewise.
32353         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32354         (addpwbyX): Return value returned by cache_addpw.
32355         (readdpwbyname): Return value returned by addhstbyX.
32356         (readdpwbyuid): Likewise.
32357         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32358         (addservbyX): Return value returned by cache_addserv.
32359         (readdservbyname): Return value returned by addservbyX:
32360         (readdservbyport): Likewise.
32361         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32362         (addhstbyX): Return value returned by cache_addhst.
32363         (readdhstbyname): Return value returned by addhstbyX.
32364         (readdhstbyaddr): Likewise.
32365         (readdhstbynamev6): Likewise.
32366         (readdhstbyaddrv6): Likewise.
32367         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32368         (readdinitgroups): Return value returned by addinitgroupsX.
32369         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32370         (prune_cache): Keep track of timeout value of re-added entries.
32371         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32372         * nscd/nscd.h: Adjust prototypes of readd* functions.
32374 2011-02-04  Roland McGrath  <roland@redhat.com>
32376         * nis/nis_server.c (nis_servstate): Use the right name for 0.
32377         (nis_stats): Likewise.
32378         * nis/nis_modify.c (nis_modify): Likewise.
32379         * nis/nis_remove.c (nis_remove): Likewise.
32380         * nis/nis_add.c (nis_add): Likewise.
32382         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32384         * posix/fnmatch_loop.c: Add some consts.
32386         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32388 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
32390         [BZ #12460]
32391         * config.make.in (config-cflags-novzeroupper): Define.
32392         * configure.in: Substitute libc_cv_cc_novzeroupper.
32393         * elf/Makefile (AVX-CFLAGS): Define.
32394         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32395         (CFLAGS-tst-auditmod4a.c): Likewise.
32396         (CFLAGS-tst-auditmod4b.c): Likewise.
32397         (CFLAGS-tst-auditmod6b.c): Likewise.
32398         (CFLAGS-tst-auditmod6c.c): Likewise.
32399         (CFLAGS-tst-auditmod7b.c): Likewise.
32400         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32402 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
32404         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32405         function to the callback.
32406         Patch partly by Jiri Olsa <jolsa@redhat.com>.
32408 2011-02-02  Andreas Schwab  <schwab@redhat.com>
32410         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32411         of errno.
32413 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
32415         [BZ #11724]
32416         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32417         of constructors.
32418         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32419         of destructors.
32420         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32422         [BZ #11724]
32423         * elf/Makefile: Add rules to build and run new test.
32424         * elf/tst-initorder.c: New file.
32425         * elf/tst-initorder.exp: New file.
32426         * elf/tst-initordera1.c: New file.
32427         * elf/tst-initordera2.c: New file.
32428         * elf/tst-initordera3.c: New file.
32429         * elf/tst-initordera4.c: New file.
32430         * elf/tst-initorderb1.c: New file.
32431         * elf/tst-initorderb2.c: New file.
32432         * elf/tst-order-a1.c: New file.
32433         * elf/tst-order-a2.c: New file.
32434         * elf/tst-order-a3.c: New file.
32435         * elf/tst-order-a4.c: New file.
32436         * elf/tst-order-b1.c: New file.
32437         * elf/tst-order-b2.c: New file.
32438         * elf/tst-order-main.c: New file.
32439         New test case by George Gensure <werkt0@gmail.com>.
32441 2010-10-01  Andreas Schwab  <schwab@redhat.com>
32443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32444         decoding ACE if AI_CANONIDN.
32446 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
32448         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32450 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
32452         * version.h (RELEASE): Bump for 2.13 release.
32453         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32455         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32457         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32458         MADV_NOHUGEPAGE.
32459         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32460         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32461         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32462         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32463         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32464         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32466         * posix/getconf.c: Update copyright year.
32467         * catgets/gencat.c: Likewise.
32468         * csu/version.c: Likewise.
32469         * debug/catchsegv.sh: Likewise.
32470         * debug/xtrace.sh: Likewise.
32471         * elf/ldconfig.c: Likewise.
32472         * elf/ldd.bash.in: Likewise.
32473         * elf/sprof.c (print_version): Likewise.
32474         * iconv/iconv_prog.c: Likewise.
32475         * iconv/iconvconfig.c: Likewise.
32476         * locale/programs/locale.c: Likewise.
32477         * locale/programs/localedef.c: Likewise.
32478         * malloc/memusage.sh: Likewise.
32479         * malloc/mtrace.pl: Likewise.
32480         * nscd/nscd.c (print_version): Likewise.
32481         * nss/getent.c: Likewise.
32483         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32484         PF_CAIF, and PF_ALG.
32485         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32487 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
32489         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32490         (modules-names): Use them.
32491         (ifunc-test-modules, ifunc-pie-tests): Define.
32492         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32493         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32494         (test-extras): Likewise.
32495         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32496         $(compile-command.c).
32497         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32498         (all-built-dso): Define.
32499         (check-textrel.out, check-execstack.out): Depend on it.
32501         * configure.in: Don't override --enable-multi-arch.
32503 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
32505         [BZ #6812]
32506         * nscd/hstcache.c (tryagain): Define.
32507         (cache_addhst): Return tryagain not notfound for temporary errors.
32508         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32509         failed.
32511 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
32513         [BZ #10563]
32514         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32515         to make the syscall.
32516         * sysdeps/unix/sysv/linux/setgroups.c: New file.
32518         [BZ #12378]
32519         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32520         and fall back to matching as normal character if the string ends before
32521         the matching ']' is found.  This is what POSIX requires.
32522         * posix/testfnm.c: Adjust test result.
32523         * posix/globtest.sh: Adjust test result.  Add new test.
32524         * posix/tst-fnmatch.input: Likewise.
32525         * posix/tst-fnmatch2.c: Add new test.
32527 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
32529         * elf/Makefile (check-execstack): Revert last change.  Depend on
32530         check-execstack.h.
32531         (check-execstack.h): New target.
32532         (generated): Add check-execstack.h.
32533         * elf/check-execstack.c: Include "check-execstack.h".
32534         (main): Revert last change.
32535         (handle_file): Return zero if GNU_STACK is absent and
32536         DEFAULT_STACK_PERMS doesn't include PF_X.
32538 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
32540         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32541         in child fails because the descriptor is already closed.
32542         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32543         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32544         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32546         [BZ #12397]
32547         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32548         syscall.
32550         [BZ #10484]
32551         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32552         temporary buffer used to handle multi lookups locally.
32553         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32555 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
32557         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32558         loader is ld.so.
32560 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
32562         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32563         alignment for SSE2.
32565 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
32567         [BZ #12394]
32568         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32569         characters.  When rounding increased number of integer digits recompute
32570         number of groups.
32571         * stdio-common/tst-grouping.c: New file.
32572         * stdio-common/Makefile: Add rules to build and run tst-grouping.
32574 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
32576         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32577         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
32579         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32580         void.
32581         * bits/select.h: Likewise.
32583 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
32585         * po/ja.po: Update from translation team.
32587 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
32589         [BZ #11155]
32590         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32591         implementation just like for lxstat, fxstatat, et al.
32593 2010-12-27  Jim Meyering  <meyering@redhat.com>
32595         [BZ #12348]
32596         * posix/regexec.c (build_trtable): Return failure indication upon
32597         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
32599 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
32601         [BZ #12201]
32602         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32603         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32604         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32605         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32607         [BZ #12207]
32608         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32610         [BZ #12204]
32611         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32612         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32614 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
32616         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32617         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32618         script has SORT_BY_INIT_PRIORITY.
32619         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32620         NO_CTORS_DTORS_SECTIONS is defined.
32621         * elf/soinit.c: Likewise.
32622         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32623         NO_CTORS_DTORS_SECTIONS is defined.
32624         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32625         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32626         * sysdeps/sh/init-first.c: Likewise.
32627         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32629 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
32631         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32632         always use the slow path.
32634 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
32636         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32637         similar rule which adds the sysdep directories to the header search in
32638         order to pick up the correct platform stackinfo.h.
32639         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32640         perform test if it is, otherwise return successfully without testing.
32641         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32642         DEFAULT_STACK_PERMS define in stackinfo.h.
32643         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32644         defined in stackinfo.h.
32645         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32646         DEFAULT_STACK_PERMS defined in stackinfo.h.
32647         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32648         * sysdeps/ia64/stackinfo.h: Likewise.
32649         * sysdeps/s390/stackinfo.h: Likewise.
32650         * sysdeps/sh/stackinfo.h: Likewise.
32651         * sysdeps/sparc/stackinfo.h: Likewise.
32652         * sysdeps/x86_64/stackinfo.h: Likewise.
32653         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32654         PF_X for powerpc64.  Retain PF_X for powerpc32.
32656 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
32658         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32659         accurately.
32660         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32661         GETDENTS_64BIT_ALIGNED.
32663 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
32665         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32667 2010-12-10  Andreas Schwab  <schwab@redhat.com>
32669         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32670         _GNU_SOURCE.
32672         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32673         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32674         Remove __restrict.
32675         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32676         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32678 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
32680         [BZ #11655]
32681         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32682         are initialized.
32684 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
32686         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32688 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
32690         * po/it.po: Update from translation team.
32692 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
32694         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32695         unused codes.
32697 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
32699         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32701 2010-11-24  Andreas Schwab  <schwab@redhat.com>
32703         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32704         specially.
32705         (gaih_getanswer_slice): Likewise.
32707 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
32709         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32711 2010-05-31  Petr Baudis  <pasky@suse.cz>
32713         [BZ #11149]
32714         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32715         silently even in the chroot mode.
32717 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
32719         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32720         last patch a bit.  Pretty printing
32722 2010-05-31  Petr Baudis <pasky@suse.cz>
32724         [BZ #10085]
32725         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32726         initialization of skip_initgroups_dyn.
32728 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
32730         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32731         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32733 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
32735         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32737 2010-11-11  Andreas Schwab  <schwab@redhat.com>
32739         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32740         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32741         (tst-fnmatch-ENV): Set MALLOC_TRACE.
32742         ($(objpfx)tst-fnmatch-mem): New rule.
32743         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32744         * posix/tst-fnmatch.c (main): Call mtrace.
32746 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
32748         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32749         Support Intel processor model 6 and model 0x2c.
32751 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
32753         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32754           signed comparison.
32756 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
32758         [BZ #12205]
32759         * string/test-strncasecmp.c (check_result): New function.
32760         (do_one_test): Use it.
32761         (check1): New function.
32762         (test_main): Use it.
32763         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32764         Support strcasecmp and strncasecmp.
32766 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
32768         [BZ #12194]
32769         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32770         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32772 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32774         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32775         IFUNC support.
32776         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32777         memset-x86-64.
32778         * sysdeps/x86_64/multiarch/bzero.S: New file.
32779         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32780         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32781         * sysdeps/x86_64/multiarch/memset.S: New file.
32782         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32783         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32784         Set bit_Prefer_SSE_for_memop for Intel processors.
32785         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32786         Define.
32787         (index_Prefer_SSE_for_memop): Define.
32788         (HAS_PREFER_SSE_FOR_MEMOP): Define.
32790 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
32792         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32793         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32795 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
32797         [BZ #12191]
32798         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32799         (__x86_64_raw_data_cache_size_half): Likewise.
32800         (__x86_64_raw_shared_cache_size): Likewise.
32801         (__x86_64_raw_shared_cache_size_half): Likewise.
32803         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32804         (__x86_64_raw_data_cache_size_half): Likewise.
32805         (__x86_64_raw_shared_cache_size): Likewise.
32806         (__x86_64_raw_shared_cache_size_half): Likewise.
32807         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32808         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32809         and __x86_64_raw_shared_cache_size_half.  Round
32810         __x86_64_data_cache_size_half, __x86_64_data_cache_size
32811         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32812         to multiple of 256 bytes.
32814 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
32816         [BZ #12167]
32817         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32818         of inacessible symlinks.  Verify result of symlink before returning it.
32819         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32820         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32822 2010-10-28  Erich Ritz  <erichritz@gmail.com>
32824         * math/math.h (isinf): Fix typo in comment.
32826 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
32828         * po/da.po: Update from translation team.
32830 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
32832         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32833         is added to the list.
32835 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32836             Ulrich Drepper  <drepper@gmail.com>
32838         * elf/dl-object.c (_dl_new_object): Don't append the new object to
32839         the global list here.  Move code to...
32840         (_dl_add_to_namespace_list): ...here.  New function.
32841         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32842         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32843         * elf/dl-load.c (lose): Don't remove the element from the list.
32844         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32845         (_dl_map_object): Likewise.
32847 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
32849         [BZ #12159]
32850         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32851         into all bytes of SSE register.
32852         Patch by Richard Li <richardpku@gmail.com>.
32854 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
32856         [BZ #12140]
32857         * malloc/malloc.c (_int_free): Fill correct number of bytes when
32858         perturbing.
32860 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
32862         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32863         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32864         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32865         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32867         submachine.
32868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32870 2010-10-22  Andreas Schwab  <schwab@redhat.com>
32872         * include/dlfcn.h (__RTLD_SECURE): Define.
32873         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
32874         mode & __RTLD_SECURE instead.
32875         (open_path): Rename preloaded parameter to secure.
32876         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32877         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32878         * elf/dl-deps.c (openaux): Likewise.
32879         * elf/rtld.c (struct map_args): Remove is_preloaded.
32880         (map_doit): Don't use it.
32881         (dl_main): Likewise.
32882         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32883         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32885 2010-09-09  Andreas Schwab  <schwab@redhat.com>
32887         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32888         (sysd-rules-targets): Remove duplicates.
32889         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32890         rtld-%.$o dependency.
32892 2010-10-18  Andreas Schwab  <schwab@redhat.com>
32894         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32895         _dl_map_object do it.
32897 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
32899         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32900         fast fma builtins, define the macros in the C99 standard.
32901         (FP_FAST_FMAF): Likewise.
32902         (FP_FAST_FMAL): Likewise.
32903         * sysdeps/x86_64/bits/mathdef.h: Likewise.
32905         * bits/mathdef.h: Update copyright year.
32906         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32908 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
32910         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32911         builtins, define the macros in the C99 standard.
32912         (FP_FAST_FMAF): Likewise.
32913         (FP_FAST_FMAL): Likewise.
32914         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32915         multiply/add.
32916         (FP_FAST_FMAF): Likewise.
32918 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
32920         [BZ #3268]
32921         * math/libm-test.inc (fma_test): Some new testcases.
32922         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32923         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32924         y and infinite z.  Do multiplication by C already in long double.
32925         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32926         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32927         y and infinite z.  Do bitwise or of inexact bit into u.d.
32928         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32929         * sysdeps/i386/fpu/s_fmaf.S: Removed.
32930         * sysdeps/i386/fpu/s_fma.S: Removed.
32931         * sysdeps/i386/fpu/s_fmal.S: Removed.
32933 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
32935         [BZ #3268]
32936         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32937         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32938         computation is not scheduled after fetestexcept.  Fix value
32939         of minimum denormal long double.
32941 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
32943         [BZ #3268]
32944         * math/libm-test.inc (fma_test): Add some more tests.
32945         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32946         correctly.
32948 2010-10-15  Andreas Schwab  <schwab@redhat.com>
32950         * scripts/data/localplt-s390-linux-gnu.data: New file.
32951         * scripts/data/localplt-s390x-linux-gnu.data: New file.
32953 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
32955         [BZ #3268]
32956         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32957         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32958         instead of dbl-64.
32959         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32960         inlines.
32961         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32962         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32963         if one of x and y is very large and the other is subnormal.
32964         * sysdeps/s390/fpu/s_fmaf.c: New file.
32965         * sysdeps/s390/fpu/s_fma.c: New file.
32966         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32967         * sysdeps/powerpc/fpu/s_fma.S: New file.
32968         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32969         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32970         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32972 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
32974         [BZ #3268]
32975         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32976         fma tests.
32977         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32978         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32979         * sysdeps/i386/i686/multiarch/s_fma.c: Include
32980         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32981         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32982         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32983         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32985 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
32987         [BZ #12078]
32988         * posix/regcomp.c (parse_branch): One more memory leak plugged.
32989         * posix/bug-regex31.input: Add test case.
32991 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
32993         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32994         * posix/bug-regex31.input: New file.
32996         [BZ #12078]
32997         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32998         (parse_sub_exp): Fix last change, use postorder.
33000         * posix/bug-regex31.c: New file.
33001         * posix/Makefile: Add rules to build and run bug-regex31.
33003         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33005         [BZ #12078]
33006         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33008         [BZ #12108]
33009         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33010         to have entries in sys_siglist.
33012         [BZ #12093]
33013         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33014         be NULL.
33016 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
33018         [BZ #3268]
33019         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33020         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33021         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33022         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33023         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33024         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33025         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33026         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33027         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33028         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33029         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33030         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33031         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33032         * math/ftestexcept.c (fetestexcept): Likewise.
33033         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33034         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33035         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33036         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33037         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33038         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33039         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33041 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33043         [BZ #12107]
33044         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33045         newline.
33047 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
33049         * string/bug-strstr1.c: New file.
33050         * string/Makefile: Add rules to build and run bug-strstr1.
33052 2010-10-05  Eric Blake  <eblake@redhat.com>
33054         [BZ #12092]
33055         * string/str-two-way.h (two_way_long_needle): Always clear memory
33056         when skipping input due to the shift table.
33058 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
33060         [BZ #12005]
33061         * malloc/mcheck.c: Handle large requests.
33063         [BZ #12077]
33064         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33065         for strncmp and strncasecmp.
33066         * string/stratcliff.c: Add tests for strcmp and strncmp.
33067         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33069 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33071         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33072         __set_fpscr.
33074 2010-09-30  Andreas Jaeger  <aj@suse.de>
33076         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33077         (CGROUP_SUPER_MAGIC): Define.
33078         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33079         Handle btrfs and cgroup file systems.
33080         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33081         Likewise.
33083 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
33085         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33086         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33088 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33090         [BZ #12067]
33091         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33092         trying to locate the ELF header.
33094 2010-09-27  Andreas Schwab  <schwab@redhat.com>
33096         [BZ #11611]
33097         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33098         Mask out sign-bit copies when constructing f_fsid.
33100 2010-09-24  Petr Baudis <pasky@suse.cz>
33102         * debug/stack_chk_fail_local.c: Add missing licence exception.
33103         * debug/warning-nop.c: Likewise.
33105 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
33107         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33108         implementing getdents64 using getdents syscall, set d_type if
33109         __ASSUME_GETDENTS32_D_TYPE.
33111 2010-09-16  Andreas Schwab  <schwab@redhat.com>
33113         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33114         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33116 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
33118         [BZ #12037]
33119         * posix/unistd.h: Undo change of feature selection for ftruncate from
33120         2010-01-11.
33122 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
33124         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33125         detection.
33127 2010-09-20  Andreas Schwab  <schwab@redhat.com>
33129         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33130         fanotify_mark.
33131         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33133 2010-09-14  Andreas Schwab  <schwab@redhat.com>
33135         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33136         variables after CHECK_SP call.
33137         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33139 2010-09-13  Andreas Schwab  <schwab@redhat.com>
33140             Ulrich Drepper  <drepper@redhat.com>
33142         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33143         re-relocationg ld.so.
33144         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33145         _dl_init_paths call.
33146         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
33147         here anymore.
33149 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
33151         * resolv/res_init.c (__res_vinit): Count the default server we added.
33153 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
33154             Ulrich Drepper  <drepper@redhat.com>
33156         [BZ #11968]
33157         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33158         (____longjmp_chk): Use %ebx for saving value across system call.
33159         Add unwind info.
33161 2010-09-06  Andreas Schwab  <schwab@redhat.com>
33163         * manual/Makefile: Don't mix pattern rules with normal rules.
33165 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33167         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33168         operation.
33169         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33170         * libio/iofopncook.c (_IO_cookie_init): Likewise.
33171         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33172         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33173         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33174         Likewise.
33176 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
33178         [BZ #11979]
33179         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33180         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33182 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
33184         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33185         * sysdeps/x86_64/addmul_1.S: Likewise.
33186         * sysdeps/x86_64/lshift.S: Likewise.
33187         * sysdeps/x86_64/mul_1.S: Likewise.
33188         * sysdeps/x86_64/rshift.S: Likewise.
33189         * sysdeps/x86_64/sub_n.S: Likewise.
33190         * sysdeps/x86_64/submul_1.S: Likewise.
33192 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33194         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33195         Define __sched_param instead of SCHED_* and sched_param when
33196         <bits/sched.h> is included with __need_schedparam defined.
33197         * bits/sched.h [__need_schedparam]
33198         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33199         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33200         (__defined_schedparam): Define to 1.
33201         (__sched_param): New structure, identical to sched_param.
33202         (__need_schedparam): Undefine.
33204 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
33206         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33207         (epoll_create1): Declare.
33209         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33211 2010-08-31  Andreas Schwab  <schwab@redhat.com>
33213         [BZ #7066]
33214         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33215         shifting retval into place.
33217 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
33219         * nis/rpcsvc/nis.h: Update copyright notice.
33220         * nis/rpcsvc/nis.x: Likewise.
33221         * nis/rpcsvc/nis_callback.h: Likewise.
33222         * nis/rpcsvc/nis_callback.x: Likewise.
33223         * nis/rpcsvc/nis_object.x: Likewise.
33224         * nis/rpcsvc/nis_tags.h: Likewise.
33225         * nis/rpcsvc/yp.h: Likewise.
33226         * nis/rpcsvc/yp.x: Likewise.
33227         * nis/rpcsvc/ypupd.h: Likewise.
33228         * nis/yp_xdr.c: Likewise.
33229         * nis/ypupdate_xdr.c: Likewise.
33231         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
33232         mainly the body of pmap_getport.  Add parameters to specify timeouts.
33233         (pmap_getport): Use __libc_rpc_getport.
33234         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33235         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33236         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33238 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
33240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33241         fanotify_mark.
33243 2010-08-27  Roland McGrath  <roland@redhat.com>
33245         * sysdeps/i386/i686/multiarch/Makefile
33246         (CFLAGS-varshift.c): New variable.
33248 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
33250         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33251         * sysdeps/i386/i686/multiarch/varshift.c: New file.
33253         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33255         * sysdeps/x86_64/strlen.S: Minimal code improvement.
33257 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
33259         * sysdeps/x86_64/strlen.S: Unroll the loop.
33260         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33261         strlen-sse2 strlen-sse2-bsf.
33262         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33263         __strlen_no_bsf if bit_Slow_BSF is set.
33264         (__strlen_sse42): Removed.
33265         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33266         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33268 2010-08-25  Roland McGrath  <roland@redhat.com>
33270         * sysdeps/x86_64/multiarch/varshift.S: File removed.
33271         * sysdeps/x86_64/multiarch/varshift.c: New file.
33272         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33273         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33274         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33275         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33277 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
33279         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33280         strlen-sse2 strlen-sse2-bsf.
33281         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33282         __strlen_sse2_bsf if bit_Slow_BSF is unset.
33283         (__strlen_sse2): Removed.
33284         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33285         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33287         bit_Slow_BSF for Atom.
33288         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33289         (index_Slow_BSF): Define.
33290         (HAS_SLOW_BSF): Define.
33292 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
33294         [BZ #10851]
33295         * resolv/res_init.c (__res_vinit): When no server address at all
33296         is given default to loopback.
33298 2010-08-24  Roland McGrath  <roland@redhat.com>
33300         * configure.in: Remove config-name.h generation.
33301         * configure: Regenerated.
33302         * config-name.in: File removed.
33303         * scripts/config-uname.sh: New file.
33304         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33305         ($(objdir)config-name.h): New target.
33307         * sunrpc/rpc_parse.h: Avoid nested comment.
33309 2010-08-24  Richard Henderson  <rth@redhat.com>
33310             Ulrich Drepper  <drepper@redhat.com>
33311             H.J. Lu  <hongjiu.lu@intel.com>
33313         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33315         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33316         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
33317         _mm_alignr_epi8 with _mm_loadu_si128.
33318         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33319         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33320         (__m128i_shift_right): Removed.
33321         * sysdeps/i386/i686/multiarch/varshift.h: New file.
33322         * sysdeps/i386/i686/multiarch/varshift.S: New file.
33323         * sysdeps/x86_64/multiarch/varshift.h: New file.
33324         * sysdeps/x86_64/multiarch/varshift.S: New file.
33326 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
33328         * configure.in: Move assembler checks to before sysdep dir checking.
33330 2010-08-20  Petr Baudis  <pasky@suse.cz>
33332         * LICENSES: Sync the sunrpc license.
33334 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
33336         * sunrpc/auth_des.c: Update copyright notice once again.
33337         * sunrpc/auth_none.c: Likewise.
33338         * sunrpc/auth_unix.c: Likewise.
33339         * sunrpc/authdes_prot.c: Likewise.
33340         * sunrpc/authuxprot.c: Likewise.
33341         * sunrpc/bindrsvprt.c: Likewise.
33342         * sunrpc/clnt_gen.c: Likewise.
33343         * sunrpc/clnt_perr.c: Likewise.
33344         * sunrpc/clnt_raw.c: Likewise.
33345         * sunrpc/clnt_simp.c: Likewise.
33346         * sunrpc/clnt_tcp.c: Likewise.
33347         * sunrpc/clnt_udp.c: Likewise.
33348         * sunrpc/clnt_unix.c: Likewise.
33349         * sunrpc/des_crypt.c: Likewise.
33350         * sunrpc/des_soft.c: Likewise.
33351         * sunrpc/get_myaddr.c: Likewise.
33352         * sunrpc/getrpcport.c: Likewise.
33353         * sunrpc/key_call.c: Likewise.
33354         * sunrpc/key_prot.c: Likewise.
33355         * sunrpc/openchild.c: Likewise.
33356         * sunrpc/pm_getmaps.c: Likewise.
33357         * sunrpc/pm_getport.c: Likewise.
33358         * sunrpc/pmap_clnt.c: Likewise.
33359         * sunrpc/pmap_prot.c: Likewise.
33360         * sunrpc/pmap_prot2.c: Likewise.
33361         * sunrpc/pmap_rmt.c: Likewise.
33362         * sunrpc/rpc/auth.h: Likewise.
33363         * sunrpc/rpc/auth_unix.h: Likewise.
33364         * sunrpc/rpc/clnt.h: Likewise.
33365         * sunrpc/rpc/des_crypt.h: Likewise.
33366         * sunrpc/rpc/key_prot.h: Likewise.
33367         * sunrpc/rpc/netdb.h: Likewise.
33368         * sunrpc/rpc/pmap_clnt.h: Likewise.
33369         * sunrpc/rpc/pmap_prot.h: Likewise.
33370         * sunrpc/rpc/pmap_rmt.h: Likewise.
33371         * sunrpc/rpc/rpc.h: Likewise.
33372         * sunrpc/rpc/rpc_des.h: Likewise.
33373         * sunrpc/rpc/rpc_msg.h: Likewise.
33374         * sunrpc/rpc/svc.h: Likewise.
33375         * sunrpc/rpc/svc_auth.h: Likewise.
33376         * sunrpc/rpc/types.h: Likewise.
33377         * sunrpc/rpc/xdr.h: Likewise.
33378         * sunrpc/rpc_clntout.c: Likewise.
33379         * sunrpc/rpc_cmsg.c: Likewise.
33380         * sunrpc/rpc_common.c: Likewise.
33381         * sunrpc/rpc_cout.c: Likewise.
33382         * sunrpc/rpc_dtable.c: Likewise.
33383         * sunrpc/rpc_hout.c: Likewise.
33384         * sunrpc/rpc_main.c: Likewise.
33385         * sunrpc/rpc_parse.c: Likewise.
33386         * sunrpc/rpc_parse.h: Likewise.
33387         * sunrpc/rpc_prot.c: Likewise.
33388         * sunrpc/rpc_sample.c: Likewise.
33389         * sunrpc/rpc_scan.c: Likewise.
33390         * sunrpc/rpc_scan.h: Likewise.
33391         * sunrpc/rpc_svcout.c: Likewise.
33392         * sunrpc/rpc_tblout.c: Likewise.
33393         * sunrpc/rpc_util.c: Likewise.
33394         * sunrpc/rpc_util.h: Likewise.
33395         * sunrpc/rpcinfo.c: Likewise.
33396         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33397         * sunrpc/rpcsvc/key_prot.x: Likewise.
33398         * sunrpc/rpcsvc/klm_prot.x: Likewise.
33399         * sunrpc/rpcsvc/mount.x: Likewise.
33400         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33401         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33402         * sunrpc/rpcsvc/rex.x: Likewise.
33403         * sunrpc/rpcsvc/rstat.x: Likewise.
33404         * sunrpc/rpcsvc/rusers.x: Likewise.
33405         * sunrpc/rpcsvc/sm_inter.x: Likewise.
33406         * sunrpc/rpcsvc/spray.x: Likewise.
33407         * sunrpc/rpcsvc/yppasswd.x: Likewise.
33408         * sunrpc/rtime.c: Likewise.
33409         * sunrpc/svc.c: Likewise.
33410         * sunrpc/svc_auth.c: Likewise.
33411         * sunrpc/svc_authux.c: Likewise.
33412         * sunrpc/svc_raw.c: Likewise.
33413         * sunrpc/svc_run.c: Likewise.
33414         * sunrpc/svc_simple.c: Likewise.
33415         * sunrpc/svc_tcp.c: Likewise.
33416         * sunrpc/svc_udp.c: Likewise.
33417         * sunrpc/svc_unix.c: Likewise.
33418         * sunrpc/svcauth_des.c: Likewise.
33419         * sunrpc/xcrypt.c: Likewise.
33420         * sunrpc/xdr.c: Likewise.
33421         * sunrpc/xdr_array.c: Likewise.
33422         * sunrpc/xdr_float.c: Likewise.
33423         * sunrpc/xdr_mem.c: Likewise.
33424         * sunrpc/xdr_rec.c: Likewise.
33425         * sunrpc/xdr_ref.c: Likewise.
33426         * sunrpc/xdr_sizeof.c: Likewise.
33427         * sunrpc/xdr_stdio.c: Likewise.
33429         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33430         handling.
33432 2010-08-19  Andreas Schwab  <schwab@redhat.com>
33434         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33436 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
33438         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33439         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33440         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33441         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33442         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33443         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33444         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33445         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33446         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33447         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33448         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33449         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33450         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33451         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33453 2010-07-26  Anton Blanchard  <anton@samba.org>
33455         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33456         * malloc/arena.c (heap_trim): Likewise.
33458 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
33460         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33461         here.  Not...
33462         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33463         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33465 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33467         * sysdeps/i386/elf/Makefile: New file.
33469 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
33471         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33472         from fanotify_init.
33473         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33474         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33476 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
33478         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33479         of strncasecmp_l.
33480         * sysdeps/multiarch/strcmp.S: Likewise.
33482 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
33484         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33485         strncase_l-nonascii.
33486         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33487         Add strncase_l-ssse3.
33488         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33489         * sysdeps/x86_64/strcmp.S: Likewise.
33490         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33491         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33492         * sysdeps/x86_64/strncase.S: New file.
33493         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33494         * sysdeps/x86_64/strncase_l.S: New file.
33495         * string/Makefile (strop-tests): Add strncasecmp.
33496         * string/test-strncasecmp.c: New file.
33498         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33499         warning.
33501         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33502         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33504 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
33506         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33508 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
33510         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33511         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33512         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33514 2010-05-01  Alan Modra  <amodra@gmail.com>
33516         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33517         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33518         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33519         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33520         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33521         tidying.  Don't tail-call __sigjmp_save for static lib.
33522         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33523         save location.
33524         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33525         (CALL_MCOUNT): Add eh info, and nop after bl.
33526         (TAIL_CALL_SYSCALL_ERROR): New macro.
33527         (PSEUDO_RET): Use it.
33528         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33529         Correct save location of integer regs and cr.
33530         (_dl_profile_resolve): Correct cr save location.  Delete nops
33531         after bl when SHARED.  Reduce cfi size a little by better
33532         placement of cfi directives.
33533         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33534         make a stack frame.  Instead use parm save area as a temp.
33535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33536         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
33537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33538         Don't make a stack frame for parent, use parm save area.
33539         Increase child stack frame to 112 bytes.  Don't save unused reg,
33540         and adjust reg usage.  Set up cfi on error recovery and
33541         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33543         (__makecontext): Add dummy nop after jump to exit.
33544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33545         Use correct parm save area and cr save, reduce stack frame.
33546         Correct cfi for possible PSEUDO_RET frame setup.
33547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33548         Branch to local label emitted by PSEUDO_RET rather than
33549         __syscall_error.
33551 2010-08-12  Andreas Schwab  <schwab@redhat.com>
33553         [BZ #11904]
33554         * locale/programs/locale.c (print_assignment): New function.
33555         (show_locale_vars): Use it.
33557 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
33559         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33560         field.
33561         (struct statfs64): Likewise.
33562         (_STATFS_F_FLAGS): Define.
33563         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33564         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33565         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33566         (ST_VALID): Define locally.
33567         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33568         __statvfs_getflags, use the provided value.
33569         * sysdeps/unix/sysv/linux/kernel-features.h: Define
33570         __ASSUME_STATFS_F_FLAGS.
33572         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33574         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33575         Add sys/fanotify.h.
33576         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33577         fanotify_mask for GLIBC_2.13.
33578         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33579         fanotify_init and fanotify_mark.
33580         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33581         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33583         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33584         Add prlimit.
33585         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33586         prlimit64 for GLIBC_2.13.
33587         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33588         prlimit64.
33589         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33590         syscall.
33591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33592         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33593         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33594         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33595         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
33596         add prlimit alias.
33597         * sysdeps/unix/sysv/linux/prlimit.c: New file.
33599         [BZ #11903]
33600         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33601         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33603         * nss/Makefile: Add rules to build and run tst-nss-test1.
33604         * shlib-versions: Add entry for libnss_test1.
33605         * nss/nss_test1.c: New file.
33606         * nss/tst-nss-test1.c: New file.
33608         * nss/nsswitch.c (__nss_database_custom): Define new variable.
33609         (__nss_configure_lookup): Set appropriate entry in
33610         __nss_configure_lookup to true.
33611         * nss/nsswitch.h: Define enum with indeces of databases in
33612         databases and __nss_database_custom arrays.  Declare
33613         __nss_database_custom.
33614         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33615         to avoid using nscd when custom rules are installed.
33616         * nss/getXXbyYY_r.c: Likewise.
33617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33619         * nss/nss_files/files-parse.c: Whitespace fixes.
33621 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
33623         [BZ #11883]
33624         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33625         * posix/fnmatch_loop.c: Likewise.
33627 2010-07-17  Andi Kleen  <ak@linux.intel.com>
33629         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33630         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33631         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33632         * Versions.def [GLIBC_2.13]: Add.
33634 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
33636         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33637         Also fail if tpwd after pwuid call is NULL.
33639 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33641         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33642         when converting to ms.
33644 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33646         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33647         EOPNOTSUPP errors with ENOTTY.
33648         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33649         EOPNOTSUPP errors with ENOTTY.
33651 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
33653         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33654         Add strcasecmp_l-ssse3.
33655         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33656         strcasecmp.
33657         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33658         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33659         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33661 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
33663         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33665         * string/Makefile (strop-tests): Add strcasecmp.
33666         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33667         strcasecmp_l-nonascii.
33668         (gen-as-const-headers): Add locale-defines.sym.
33669         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33670         * sysdeps/x86_64/strcasecmp.S: New file.
33671         * sysdeps/x86_64/strcasecmp_l.S: New file.
33672         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33673         * sysdeps/x86_64/locale-defines.sym: New file.
33674         * string/test-strcasecmp.c: New file.
33676         * string/test-strcasestr.c: Test both ends of the range of characters.
33677         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33679 2010-07-29  Roland McGrath  <roland@redhat.com>
33681         [BZ #11856]
33682         * manual/locale.texi (Yes-or-No Questions): Fix example code.
33684 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
33686         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33687         for ld.so.
33689 2010-07-27  Andreas Schwab  <schwab@redhat.com>
33691         * manual/memory.texi (Malloc Tunable Parameters): Document
33692         M_PERTURB.
33694 2010-07-26  Roland McGrath  <roland@redhat.com>
33696         [BZ #11840]
33697         * configure.in (-fgnu89-inline check): Set and substitute
33698         gnu89_inline, not libc_cv_gnu89_inline.
33699         * configure: Regenerated.
33700         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33702 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
33704         * string/test-strnlen.c: New file.
33705         * string/Makefile (strop-tests): Add strnlen.
33706         * string/tester.c (test_strnlen): Add a few more test cases.
33707         * string/tst-strlen.c: Better error reporting.
33709         * sysdeps/x86_64/strnlen.S: New file.
33711 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
33713         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33714         lower-latency instructions.
33716 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
33718         * string/test-strcasestr.c: New file.
33719         * string/test-strstr.c: New file.
33720         * string/Makefile (strop-tests): Add strstr and strcasestr.
33721         * string/str-two-way.h: Don't undefine MAX.
33722         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33724 2010-07-21  Andreas Schwab  <schwab@redhat.com>
33726         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33727         strcasestr-nonascii.
33728         (CFLAGS-strcasestr-nonascii.c): Define.
33729         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33730         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33731         Remove unused attribute.
33733 2010-07-20  Roland McGrath  <roland@redhat.com>
33735         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33736         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
33737         ld.so.cache was broken.  With it, there is no way to disable dsocaps
33738         like LD_HWCAP_MASK can disable hwcaps.
33740 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
33742         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33744 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
33746         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33747         call in strcasestr.
33748         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33749         __strcasestr_sse42_nonascii.
33750         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33751         strcasestr-nonascii.c.
33752         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33754 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
33756         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33757         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33758         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33759         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33761 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
33763         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33764         fcntl.
33766 2010-07-06  Andreas Schwab  <schwab@redhat.com>
33768         [BZ #11577]
33769         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33770         dl_signal_cerror.
33772 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
33774         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33775         _PC_PIPE_BUF using F_GETPIPE_SZ.
33777 2010-07-05  Roland McGrath  <roland@redhat.com>
33779         * manual/arith.texi (Rounding Functions): Fix rint description
33780         implicit in round description.
33782 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
33784         * elf/Makefile: Fix linking for a few tests to make recent linker
33785         happy.
33787 2010-06-30  Andreas Schwab  <schwab@redhat.com>
33789         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33790         $(common-objpfx)libc_nonshared.a.
33792 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
33794         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33795         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33796         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33797         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33798         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33799         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33800         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33801         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33816         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33817         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33818         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33819         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33820         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33821         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33822         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33823         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33824         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33825         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33826         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33827         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33843 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33845         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33846         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
33847         * string/memmove.c (memmove): Renamed to ...
33848         (MEMMOVE): ...this.  Default to memmove.
33849         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33850         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33851         (END_CHK): Define.
33852         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33853         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33854         mempcpy-ssse3-back memmove-ssse3-back.
33855         * sysdeps/x86_64/multiarch/bcopy.S: New file .
33856         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33857         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33858         * sysdeps/x86_64/multiarch/memcpy.S: New file.
33859         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33860         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33861         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33862         * sysdeps/x86_64/multiarch/memmove.c: New file.
33863         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33864         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33865         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33866         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33867         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33868         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33869         Define.
33870         (index_Fast_Copy_Backward): Define.
33871         (HAS_ARCH_FEATURE): Define.
33872         (HAS_FAST_REP_STRING): Define.
33873         (HAS_FAST_COPY_BACKWARD): Define.
33875 2010-06-21  Andreas Schwab  <schwab@redhat.com>
33877         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33878         Restore proper fallback handling.
33880 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
33882         [BZ #11701]
33883         * posix/group_member.c (__group_member): Correct checking loop.
33885         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33886         OOM in getpwuid_r correctly.  Return error number when the caller
33887         should return, otherwise -1.
33888         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33889         call returning > 0 value.
33890         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33892 2010-06-07  Andreas Schwab  <schwab@redhat.com>
33894         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33895         libc_nonshared.a from targets in modules-names.
33897 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
33899         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33900         requires it.
33902 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
33904         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33905         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33906         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33907         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33909 2010-06-02  Andreas Schwab  <schwab@redhat.com>
33911         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33913 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
33915         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33916         and F_GETPIPE_SZ.
33917         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33918         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33919         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33920         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33921         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33922         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33924 2010-06-14  Roland McGrath  <roland@redhat.com>
33926         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33928 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
33930         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33931         __REDIRECT followed by __THROW.
33932         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33933         * posix/getopt.h (getopt): Likewise.
33935 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
33937         * hurd/lookup-at.c (__file_name_lookup_at): Accept
33938         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
33939         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33940         in AT_FLAGS.
33941         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33942         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33944 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
33946         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33948 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
33950         [BZ #11640]
33951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33952         Properly check family and model.
33954 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
33956         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33958 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
33960         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33962 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
33964         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33965         symbol reference.
33967 2010-05-19  Andreas Schwab  <schwab@redhat.com>
33969         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33970         symbol reference.
33972 2010-05-21  Andreas Schwab  <schwab@redhat.com>
33974         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33975         and internal_recvmmsg.
33976         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33977         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33978         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33979         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33981         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33982         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33983         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33985 2010-05-20  Andreas Schwab  <schwab@redhat.com>
33987         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33989 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
33991         POWER7 optimizations.
33992         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33993         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33995 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
33997         * version.h: Update for 2.13 development version.
33999 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
34001         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34002         exceptions.  Return 0.
34004 2010-05-07  Roland McGrath  <roland@redhat.com>
34006         * elf/ldconfig.c (main): Add a const.
34008 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
34010         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34011         (args_options): Add no-idn option.
34012         (ahosts_keys_int): Add idn_flags to ai_flags.
34013         (parse_option): Handle 'i' option to clear idn_flags.
34015         * malloc/malloc.c (_int_free): Possible race in the most recently
34016         added check.  Only act on the data if no current modification
34017         happened.
34019 See ChangeLog.17 for earlier changes.