Clean up locale file alignment handling.
[glibc.git] / ChangeLog
blob5c8fef0ef4b431df5c218622aa0c3bc535aacf46
1 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
3         * locale/loadlocale.c (_nl_intern_locale_data): Use
4         LOCFILE_ALIGNED_P.
5         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
7         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8         obstack data is appropriately aligned.
9         (obstack_int32_grow_fast): Likewise.
10         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12         (add_locale_uint32_array): Likewise.
14 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16         * benchtests/Makefile: Remove ARGLIST and RET variables.
17         ($(objpfx)bench-%.c): Pass only function name to the script.
18         * benchtests/README: Update documentation.
19         * benchtests/acos-inputs: Add new directives.
20         * benchtests/acosh-inputs: Likewise.
21         * benchtests/asin-inputs: Likewise.
22         * benchtests/asinh-inputs: Likewise.
23         * benchtests/atan-inputs: Likewise.
24         * benchtests/atanh-inputs: Likewise.
25         * benchtests/cos-inputs: Likewise.
26         * benchtests/cosh-inputs: Likewise.
27         * benchtests/exp-inputs: Likewise.
28         * benchtests/log-inputs: Likewise.
29         * benchtests/pow-inputs: Likewise.
30         * benchtests/rint-inputs: Likewise.
31         * benchtests/sin-inputs: Likewise.
32         * benchtests/sinh-inputs: Likewise.
33         * benchtests/tan-inputs: Likewise.
34         * benchtests/tanh-inputs: Likewise.
35         * scripts/bench.pl: Add support for new directives.
37 2013-10-07  Alan Modra  <amodra@gmail.com>
39         * README: Fix careless merge.
41 2013-10-05  Alan Modra  <amodra@gmail.com>
43         * NEWS: Mention powerpc64le support and bugs fixed.
44         * README: Both big-endian and little-endian powerpc64 supported.
46 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
49         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
50         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
53 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
55         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
56         match prototype.
58 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
60         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
61         Move -mhard-float appending from
62         ports/sysdeps/powerpc/powerpc32/Makefile.
63         [$(with-fp) = yes] (ASFLAGS): Likewise.
64         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
65         * sysdeps/powerpc/nofpu: Move directory from
66         ports/sysdeps/powerpc/nofpu.
67         * sysdeps/powerpc/soft-fp: Move directory from
68         ports/sysdeps/powerpc/soft-fp.
69         * sysdeps/powerpc/powerpc32/405: Move directory from
70         ports/sysdeps/powerpc/powerpc32/405.
71         * sysdeps/powerpc/powerpc32/440: Move directory from
72         ports/sysdeps/powerpc/powerpc32/440.
73         * sysdeps/powerpc/powerpc32/464: Move directory from
74         ports/sysdeps/powerpc/powerpc32/464.
75         * sysdeps/powerpc/powerpc32/476: Move directory from
76         ports/sysdeps/powerpc/powerpc32/476.
77         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
78         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
79         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
80         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
81         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
82         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
83         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
84         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
85         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
86         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
87         * README: Update for powerpc-*-linux-gnu software floating point
88         support in libc.
90         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
91         case to powerpc/powerpc32*.
92         * sysdeps/unix/sysv/linux/configure: Regenerated.
94         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
95         (_FPU_MASK_OM): Define as 0x04.
96         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
97         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
98         0x00c10080.
99         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
100         0x0000003c.
101         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
104         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
105         getcontext_e500.
106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
107         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
108         setcontext_e500.
109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
110         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
111         and setcontext_e500.
113 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
115         * locale/iso-3166.def: Update iso-1366.def and related occurrences
117 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
119         * manual/threads.texi (Default Thread Attributes): Fix typo.
121 2013-10-04  Will Newton  <will.newton@linaro.org>
123         * malloc/Makefile: Add tst-memalign.
124         * malloc/tst-memalign.c: New file.
126         * malloc/tst-posix_memalign.c: Add comments.
127         (do_test): Add comments and call free on all potentially
128         allocated pointers. Add space after cast.
130         * malloc/tst-pvalloc.c: Add comments.
131         (do_test): Add comments and call free on all potentially
132         allocated pointers. Remove duplicate check for NULL pointer.
133         Add space after cast.
135         * malloc/tst-valloc.c: Add comments.
136         (do_test): Add comments and call free on all potentially
137         allocated pointers. Remove duplicate check for NULL pointer.
138         Add space after cast.
140 2013-10-04  Alan Modra  <amodra@gmail.com>
142         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
143         Use stdint types in rather than __attribute__((mode())).
144         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
146 2013-10-04  Alan Modra  <amodra@gmail.com>
148         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
149         Correct handling of unaligned relocs for little-endian.
150         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
152 2013-10-04  Alan Modra  <amodra@gmail.com>
154         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
155         * configure: Regenerate.
156         * nptl/shlib-versions: Powerpc*le starts at 2.18.
157         * shlib-versions: Likewise.
159 2013-10-04  Alan Modra  <amodra@gmail.com>
161         * string/tester.c (test_memrchr): Increment reported test cycle.
163 2013-10-04  Alan Modra  <amodra@gmail.com>
165         * string/test-memcpy.c (do_one_test): When reporting errors, print
166         string address and don't overrun end of string.
168 2013-10-04  Alan Modra  <amodra@gmail.com>
170         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
171         insrdi.  Make better use of reg selection to speed exit slightly.
172         Schedule entry path a little better.  Remove useless "are we done"
173         checks on entry to main loop.  Handle wrapping around zero address.
174         Correct main loop count.  Handle single left-over word from main
175         loop inline rather than by using loop_small.  Remove extra word
176         case in loop_small caused by wrong loop count.  Add little-endian
177         support.
178         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
179         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
180         cache hint.
181         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
182         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
183         support.  Avoid rlwimi.
184         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
186 2013-10-04  Alan Modra  <amodra@gmail.com>
188         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
189         insrdi.  Formatting.
190         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
191         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
192         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
193         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
194         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
195         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
197 2013-10-04  Alan Modra  <amodra@gmail.com>
199         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
200         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
201         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
202         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
203         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
204         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
205         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
206         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
207         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
208         use of regs.  Use power7 mtocrf.  Tidy function tails.
210 2013-10-04  Alan Modra  <amodra@gmail.com>
212         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
213         Formatting.  Consistently use rXXX register defines or rN defines.
214         Use early exit labels that avoid restoring unused non-volatile regs.
215         Make cr field use more consistent with rWORDn compares.  Rename
216         regs used as shift registers for unaligned loop, using rN defines
217         for short lifetime/multiple use regs.
218         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
219         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
220         addi 1,1,64 to pop stack frame.  Simplify return value code.
221         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
223 2013-10-04  Alan Modra  <amodra@gmail.com>
225         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
226         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
227         rather than rlwimi.
228         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
229         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
230         little-endian support.  Correct typos.
231         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
232         rather than rlwimi.
233         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
234         in loop and entry code to keep "and." results.
235         (strchr): Add little-endian support.  Comment.  Move cntlzd
236         earlier in tail.
237         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
239 2013-10-04  Alan Modra  <amodra@gmail.com>
241         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
242         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
243         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
244         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
246 2013-10-04  Alan Modra  <amodra@gmail.com>
248         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
249         (rTMP): Define as r11.
250         (strcmp): Add little-endian support.  Optimise tail.
251         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
252         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
253         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
254         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
255         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
256         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
257         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
259 2013-10-04  Alan Modra  <amodra@gmail.com>
261         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
262         little-endian support.  Remove unnecessary "are we done" tests.
263         Handle "s" wrapping around zero and extremely large "size".
264         Correct main loop count.  Handle single left-over word from main
265         loop inline rather than by using small_loop.  Correct comments.
266         Delete "zero" tail, use "end_max" instead.
267         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
269 2013-10-04  Alan Modra  <amodra@gmail.com>
271         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
272         support.  Don't branch over align.
273         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
274         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
275         support.  Rearrange tmp reg use to suit.  Comment.
276         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
278 2013-10-04  Alan Modra  <amodra@gmail.com>
280         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
282 2013-10-04  Alan Modra  <amodra@gmail.com>
284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
285         conditional form of branch and link when obtaining pc.
286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
288 2013-10-04  Alan Modra  <amodra@gmail.com>
290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
291         HIWORD/LOWORD.
292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
295 2013-10-04  Alan Modra  <amodra@gmail.com>
297         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
298         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
299         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
300         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
301         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
302         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
303         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
304         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
305         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
306         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
308 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
309             Alistair Popple <alistair@ozlabs.au.ibm.com>
310             Alan Modra <amodra@gmail.com>
312         [BZ #15723]
313         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
314         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
315         _dl_hwcap access for little-endian.
316         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
317         destroy vmx regs when saving unaligned.
318         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
319         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
320         destroy vmx regs when saving unaligned.
322 2013-10-04  Alan Modra  <amodra@gmail.com>
324         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
325         Don't use a union to pack hi/low value.
327 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
329         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
330         for little-endian.
331         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
332         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
333         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
334         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
335         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
337 2013-10-04  Alan Modra  <amodra@gmail.com>
339         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
340         constants to usual value for .cst8 section, and remove redundant
341         high address load.
342         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
343         constant for 0x1p52.  Load little-endian words of double from
344         correct stack offsets.
346 2013-10-04  Alan Modra  <amodra@gmail.com>
348         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
349         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
350         words of double from correct stack offsets.
351         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
352         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
353         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
354         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
355         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
356         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
357         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
358         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
359         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
360         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
361         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
362         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
363         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
364         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
365         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
366         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
367         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
369 2013-10-04  Alan Modra  <amodra@gmail.com>
371         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
372         64-bit int/double union.
373         (_FPU_SETCW): Likewise.
374         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
375         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
377 2013-10-04  Alan Modra  <amodra@gmail.com>
379         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
380         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
382 2013-10-04  Alan Modra  <amodra@gmail.com>
384         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
385         use vector int constants.
386         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
388 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
390         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
391         array with long long.
392         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
393         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
394         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
395         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
396         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
397         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
398         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
399         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
400         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
401         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
402         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
403         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
404         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
406 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
408         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
409         (__signbit): Likewise.  Correct for little-endian.
410         (__signbitl): Call __signbit.
411         (lrint): Correct for little-endian.
412         (lrintf): Call lrint.
414 2013-10-04  Alan Modra  <amodra@gmail.com>
416         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
417         union 32-bit int array member with 64-bit int array.
418         (t515, tm256): Double rather than long double.
419         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
421 2013-10-04  Alan Modra  <amodra@gmail.com>
423         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
424         Delete.
425         (IEEE854_LONG_DOUBLE_BIAS): Delete.
426         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
427         version of math_ldbl.h.
429 2013-10-04  Alan Modra  <amodra@gmail.com>
431         [BZ #15734], [BZ #15735]
432         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
433         all uses of ieee875 long double macros and unions.  Simplify test
434         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
435         ldbl_extract_mantissa value for ix,iy exponents.  Properly
436         normalize after ldbl_extract_mantissa, and don't add hidden bit
437         already handled.  Don't treat low word of ieee854 mantissa like
438         low word of IBM long double and mask off bit when testing for
439         zero.
440         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
441         all uses of ieee875 long double macros and unions.  Simplify tests
442         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
443         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
444         two1022, instead use their values.  Recognise that tests for large
445         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
446         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
447         Rewrite all uses of ieee875 long double macros and unions.  Simplify
448         test for 0.0L and nan.  Correct negation.
449         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
450         ieee875 long double macros and unions.  Correct output for large
451         magnitude x.  Correct absolute value calculation.
452         (__erfcl): Likewise.
453         * math/libm-test.inc: Add tests for errors discovered in IBM long
454         double versions of fmodl, remainderl, erfl and erfcl.
456 2013-10-04  Alan Modra  <amodra@gmail.com>
458         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
459         all uses of ieee854 long double macros and unions.  Simplify tests
460         for long doubles that are fully specified by the high double.
461         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
462         Likewise.
463         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
464         Remove dead code too.
465         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
466         (__ieee754_ynl): Likewise.
467         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
468         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
469         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
470         Remove dead code too.
471         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
472         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
473         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
474         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
475         Simplify.
476         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
477         Simplify.
478         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
479         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
480         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
481         Comment on variable precision.
482         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
483         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
484         Likewise.
485         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
486         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
487         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
488         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
489         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
491 2013-10-04  Alan Modra  <amodra@gmail.com>
493         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
494         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
495         all uses of ieee854 long double macros and unions.
496         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
497         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
498         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
499         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
500         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
501         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
502         Likewise.
503         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
504         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
505         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
506         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
507         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
508         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
509         Simplify sign and nan test too.
510         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
511         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
512         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
513         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
514         Likewise.
515         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
516         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
517         Likewise.
518         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
519         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
520         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
521         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
522         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
523         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
525 2013-10-04  Alan Modra  <amodra@gmail.com>
527         * stdio-common/printf_size.c (__printf_size): Don't use
528         union ieee854_long_double in fpnum union.
529         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
530         signbit macro to retrieve sign from long double.
531         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
532         retrieve sign from long double.
533         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
534         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
535         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
536         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
537         * math/test-misc.c (main): Don't use union ieee854_long_double.
539 2013-10-04  Alan Modra  <amodra@gmail.com>
541         [BZ #15680]
542         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
543         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
544         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
545         calculation.  Remove unnecessary test for denormal exponent.
546         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
547         Correct handling of denormals.  Avoid undefined shift behaviour.
548         Correct normalisation of low mantissa when low double is denormal.
549         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
550         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
551         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
552         Correct normalisation of low mantissa.  Test for overflow of high
553         mantissa and normalise.
554         (ldbl_nearbyint): Use more readable constant for two52.
555         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
556         (__mpn_construct_long_double): Fix test for overflow of high
557         mantissa and correct normalisation.  Avoid undefined shift.
559 2013-10-04  Alan Modra  <amodra@gmail.com>
561         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
562         (union ibm_extended_long_double): Define as an array of ieee754_double.
563         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
564         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
565         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
566         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
567         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
568         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
569         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
570         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
571         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
572         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
573         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
575 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
577         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
578         page size instead of calling getpagesize.
580         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
581         (LOCFILE_ALIGN_MASK): Likewise.
582         (LOCFILE_ALIGN_UP): Likewise.
583         (LOCFILE_ALIGNED_P): Likewise.
584         * locale/programs/ld-collate.c (collate_output): Use the new
585         macros instead of __alignof__ (int32_t).
586         * locale/weight.h (findidx): Likewise.
588 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
590         [BZ #431]
591         * manual/string.texi: Fix strncat and wcsncat.
593 2013-10-03  Brooks Moses  <bmoses@google.com>
595         [BZ #15915]
596         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
597         * Makerules: ...here, and adjust associated comments.
599 2013-10-02  Will Newton  <will.newton@linaro.org>
601         * malloc/Makefile: Add tst-pvalloc.
602         * malloc/tst-pvalloc.c: New file.
604 2013-10-02  Will Newton  <will.newton@linaro.org>
606         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
607         improve test coverage.
609 2013-10-02  Will Newton  <will.newton@linaro.org>
611         * malloc/Makefile: Add tst-posix_memalign.
612         * malloc/tst-posix_memalign.c: New file.
614 2013-10-01  Eric Blake  <eblake@redhat.com>
616         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
617         Use __THROWNL rather than __THROW on static functions.
619 2013-09-30  Petr Machata  <pmachata@redhat.com>
621         * elf/elf.h (R_AARCH64_ABS16): New macro.
622         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
623         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
624         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
625         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
626         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
627         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
628         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
629         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
630         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
631         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
632         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
633         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
634         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
635         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
636         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
637         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
638         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
639         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
640         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
641         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
642         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
643         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
644         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
645         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
646         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
647         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
648         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
649         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
650         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
651         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
652         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
653         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
654         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
655         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
656         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
657         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
658         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
659         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
660         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
661         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
662         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
663         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
664         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
665         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
666         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
667         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
668         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
669         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
670         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
671         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
672         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
673         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
674         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
675         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
676         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
677         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
678         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
679         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
680         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
681         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
682         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
683         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
684         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
685         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
686         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
687         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
688         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
689         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
690         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
691         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
692         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
693         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
694         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
695         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
696         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
697         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
698         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
699         (R_AARCH64_TLSDESC_LDR): Likewise.
700         (R_AARCH64_TLSDESC_ADD): Likewise.
701         (R_AARCH64_TLSDESC_CALL): Likewise.
703 2013-09-30  Andreas Schwab  <schwab@suse.de>
705         [BZ #15048]
706         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
707         the nss database lookup.
708         * nscd/initgrcache.c (addinitgroupsX): Likewise.
709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
711 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
713         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
715 2013-09-28  P. J. McDermott  <pj@pehjota.net>
717         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
718         ${Bash-specific parameter/pattern/string} parameter expansion.
719         * sysdeps/unix/make-syscalls.sh: Likewise.
721 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
723         * sysdeps/sh/stackguard-macros.h: New file.
725 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
727         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
728         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
729         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
730         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
731         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
732         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
734 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
736         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
737         Fix thread ID register.
739 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
741         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
742         [POSIX || UNIX98]: Require rather than permitting all symbols from
743         <time.h>.
744         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
745         element of struct sched_param.
746         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
747         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
748         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
749         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
750         constant.
752 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
754         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
755         argument calculation.
757 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
759         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
760         Expect macro.
761         [POSIX] (pthread_attr_t): Do not require type.
762         [POSIX] (pthread_cond_t): Likewise.
763         [POSIX] (pthread_condattr_t): Likewise.
764         [POSIX] (pthread_key_t): Likewise.
765         [POSIX] (pthread_mutex_t): Likewise.
766         [POSIX] (pthread_mutexattr_t): Likewise.
767         [POSIX] (pthread_once_t): Likewise.
768         [POSIX] (pthread_t): Likewise.
769         [POSIX-based standards] (pthread_atfork): Expect function.
771 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
772             Richard Sandiford  <richard@codesourcery.com>
774         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
775         (swap_endianness_p): New extern variable.
776         (set_big_endian): New inline function.
777         (maybe_swap_uint32): Likewise.
778         (maybe_swap_uint32_array): Likewise.
779         (maybe_swap_uint32_obstack): Likewise.
780         * locale/programs/locfile.c: Include <stdbool.h>.
781         (swap_endianness_p): New variable.
782         (add_locale_uint32): Call maybe_swap_uint32.
783         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
784         (write_locale_data): Call maybe_swap_uint32_array.
785         * locale/programs/ld-collate.c (obstack_int32_grow): Call
786         maybe_swap_uint32.
787         (obstack_int32_grow_fast): Likewise.
788         (output_weightwc): Call maybe_swap_uint32_obstack.
789         (collate_output): Likewise.
790         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
791         (OPT_LITTLE_ENDIAN): Likewise.
792         (options): Add --little-endian and --big-endian options.
793         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
794         * locale/programs/locarchive.c: Include "locfile.h".
795         (GET): New macro.
796         (SET): Likewise.
797         (INC): Likewise.
798         (create_archive): Use the new macros to access fields of
799         structures directly mapped from or written to locale archives.
800         (oldlocrecentcmp): Likewise.
801         (enlarge_archive): Likewise.
802         (insert_name): Likewise.
803         (add_alias): Likewise.
804         (add_locale): Likewise.
805         (delete_locales_from_archive): Likewise.
806         (show_archive_content): Likewise.
807         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
808         locale data.
810 2013-09-24  Roland McGrath  <roland@hack.frob.com>
812         * manual/freemanuals.texi: Updated from (newly) canonical copy at
813         http://www.gnu.org/doc/freemanuals.texi.
814         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
816 2013-09-24  Will Newton  <will.newton@linaro.org>
818         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
819         macro.
821 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
823         * locale/hashval.h (compute_hashval): Interpret bytes of key as
824         unsigned char.
826 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
828         * manual/threads.texi (POSIX Threads): Fix a typo.
830 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
832         [BZ #14547]
833         * string/tst-strcoll-overflow.c: New test case.
834         * string/Makefile (xtests): Add tst-strcoll-overflow.
835         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
836         cache if string sizes may cause integer overflow.
838         [BZ #14547]
839         * string/strcoll_l.c (coll_seq): New members rule, idx,
840         save_idx and back_us.
841         (get_next_seq_nocache): New function.
842         (do_compare_nocache): New function.
843         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
844         when malloc fails.
846 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
848         [BZ #15754]
849         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
850         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
851         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
853         [BZ #15754]
854         * elf/Makefile (tests): Add tst-ptrguard1.
855         (tests-static): Add tst-ptrguard1-static.
856         (tst-ptrguard1-ARGS): Define.
857         (tst-ptrguard1-static-ARGS): Define.
858         * elf/tst-ptrguard1.c: New file.
859         * elf/tst-ptrguard1-static.c: New file.
860         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
861         * sysdeps/i386/stackguard-macros.h: Likewise.
862         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
863         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
864         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
865         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
866         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
867         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
869 2013-09-23  Hector Marco  <hecmargi@upv.es>
870             Ismael Ripoll  <iripoll@disca.upv.es>
871             Carlos O'Donell  <carlos@redhat.com>
873         [BZ #15754]
874         * sysdeps/generic/stackguard-macros.h: Define
875         __pointer_chk_guard_local and POINTER_CHK_GUARD.
876         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
877         Define __pointer_chk_guard_local.
878         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
879         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
881 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
883         [BZ #15859]
884         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
886 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
888         * include/string.h (__ffs): Declare as hidden.
889         * string/ffs.c (__ffs): Define as hidden.
890         * sysdeps/i386/ffs.c (__ffs): Likewise.
891         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
892         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
893         * sysdeps/s390/ffs.c (__ffs): Likewise.
894         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
896 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
898         * NEWS: Mention malloc probes.
900         * malloc/arena.c (new_heap): New memory_heap_new probe.
901         (grow_heap): New memory_heap_more probe.
902         (shrink_heap): New memory_heap_less probe.
903         (heap_trim): New memory_heap_free probe.
904         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
905         (systrim): New memory_sbrk_less probe.
906         * manual/probes.texi: Document them.
908         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
909         * manual/probes.texi: Document it.
911         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
912         (__libc_realloc): Add memory_realloc_retry probe.
913         (__libc_memalign): Add memory_memalign_retry probe.
914         (__libc_valloc): Add memory_valloc_retry probe.
915         (__libc_pvalloc): Add memory_pvalloc_retry probe.
916         (__libc_calloc): Add memory_calloc_retry probe.
917         * manual/probes.texi: Document them.
919         * malloc/arena.c (get_free_list): Add probe
920         memory_arena_reuse_free_list.
921         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
922         and memory_arena_reuse.
923         (arena_get2) [!PER_THREAD]: Likewise.
924         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
925         memory_arena_reuse_realloc.
926         * manual/probes.texi: Document them.
928         * malloc/malloc.c (__libc_free): Add
929         memory_mallopt_free_dyn_thresholds probe.
930         (__libc_mallopt): Add multiple memory_mallopt probes.
931         * manual/probes.texi: Document them.
933         * malloc/malloc.c: Include stap-probe.h.
934         (__libc_mallopt): Add memory_mallopt probe.
935         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
936         * manual/probes.texi: New.
937         * manual/Makefile (chapters): Add probes.
938         * manual/threads.texi: Set next node.
940 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
942         [BZ #15963, #13985]
943         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
944         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
945         Add `Chinese' to `nan' entry name.
947 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
949         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
950         (POLYNOMIAL): Likewise.
951         (TAYLOR_SINCOS): Likewise.
952         (TAYLOR_SLOW): Likewise.
953         (__sin): Use TAYLOR_SINCOS.
954         (__cos): Likewise.
955         (slow): Use TAYLOR_SLOW.
956         (sloww): Likewise.
957         (bsloww): Likewise.
958         (csloww): Likewise.
960 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
962         * stdlib/strtod_l.c: Fix buffer overrun.
964 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
966         * benchtests/Makefile (bench): Add sincos.
967         * benchtests/bench-sincos.c: New file.
969         * math/libm-test.inc (cos_test_data): New test inputs.
970         (sin_test_data): Likewise.
972         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
973         macro.
974         (__sin): Use it.
975         (__cos): Likewise.
976         (slow1): Likewise.
977         (slow2): Likewise.
978         (sloww1): Likewise.
979         (sloww2): Likewise.
980         (bsloww1): Likewise.
981         (bsloww2): Likewise.
982         (cslow2): Likewise.
983         (csloww1): Likewise.
984         (csloww2): Likewise.
986         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
987         function.
988         (__sin): Use it.
989         (__cos): Likewise.
991         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
992         gotos.
993         (__cos): Likewise.
995 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
997         * config.h.in (HAVE_MIPS_NAN2008): New macro.
998         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
999         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1000         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1001         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1002         * elf/cache.c (print_entry): Handle the new cache flags.
1004 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1005             Aldy Hernandez  <aldyh@redhat.com>
1007         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1008         Change condition to [_SOFT_FLOAT].
1009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1010         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1011         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1012         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1013         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1014         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1015         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1016         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1017         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1018         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1019         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1020         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1021         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1022         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1023         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1024         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1025         declaration.
1027 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1029         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1030         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1031         (__longjmp): Use LOAD_GP to load saved GPRs.
1032         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1033         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1034         (__sigsetjmp): Use SAVE_GP to save GPRs.
1036         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1037         Do not append -msoft-float.
1038         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1040 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1042         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1044 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
1046         [BZ #15966]
1047         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1048         (_FPU_GETCW): Use initial "__" on variable and field names but not
1049         on macro parameter name.
1050         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
1051         parentheses around reference to macro parameter.
1053 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
1055         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1056         prototype.
1057         (ctype_startup): Use uint32_t in cast and sizeof for
1058         ctype->charnames.
1060 2013-09-11  Jia Liu  <proljc@gmail.com>
1062         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1063         __daddr_t_defined.
1064         [__FreeBSD__]: Likewise.
1066 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
1068         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1069         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1070         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1071         (strchr): Remove __strchr_sse42 ifunc selection.
1072         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1073         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1075 2013-09-11  Will Newton  <will.newton@linaro.org>
1077         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1078         parameter to RES. Remove hardcoded 1000 value.
1079         * benchtests/bench-skeleton.c (main): Pass RES parameter
1080         to TIMING_INIT and multiply result by 1000.
1082 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1086 2013-09-11  Andreas Schwab  <schwab@suse.de>
1088         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1089         if not defined.
1090         (O_TMPFILE) [__USE_GNU]: Define.
1091         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1092         Define.
1094 2013-09-11  Will Newton  <will.newton@linaro.org>
1096         [BZ #15857]
1097         * malloc/malloc.c (__libc_memalign): Check the value of bytes
1098         does not overflow.
1100 2013-09-11  Will Newton  <will.newton@linaro.org>
1102         [BZ #15856]
1103         * malloc/malloc.c (__libc_valloc): Check the value of bytes
1104         does not overflow.
1106 2013-09-11  Will Newton  <will.newton@linaro.org>
1108         [BZ #15855]
1109         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1110         does not overflow.
1112 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
1114         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1115         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1116         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1117         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1118         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1120 2013-09-10  Allan McRae  <allan@archlinux.org>
1122         [BZ #15748]
1123         * manual/arith.texi (Parsing of Floats): Clarify
1124         cross-reference.
1126         [BZ #15849]
1127         * manual/install.texi (Running make install): Mention
1128         --enable-pt-chown.
1129         * INSTALL: Regenerated.
1131 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
1133         * csu/init-first.c (_init): Remove the !SHARED condition around
1134         FPU control word initialization.
1135         * elf/dl-support.c (_dl_fpu_control): New variable.
1136         (_dl_aux_init) <AT_FPUCW>: Initialize it.
1137         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1138         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1139         * math/test-fpucw-static.c: New file.
1140         * math/test-fpucw-ieee.c: New file.
1141         * math/test-fpucw-ieee-static.c: New file.
1142         * math/Makefile (tests): Add `test-fpucw-ieee' and
1143         `$(tests-static)'.
1144         (tests-static): New variable.
1145         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1146         dependency to...
1147         [($(build-shared),yes)]
1148         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1149         ... this.
1150         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1151         New dependency.
1153 2013-09-09  Allan McRae  <allan@archlinux.org>
1155         [BZ #15939]
1156         * manual/string.texi (Collation Functions): Fix typo in
1157         strcoll example.
1158         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1160         [BZ #15893]
1161         * stdlib/isomac.c (get_null_defines): Fix memory leak.
1163         [BZ #15892]
1164         * libio/memstream.c (open_memstream): Fix memory leak.
1165         * libio/wmemstream.c (open_wmemstream): Likewise.
1167         [BZ #15895]
1168         * nscd/netgroupcache.c: Fix nesting of ifdefs.
1170 2013-09-09  Will Newton  <will.newton@linaro.org>
1172         * malloc/Makefile: Add tst-realloc to tests.
1173         * malloc/tst-realloc.c: New file.
1175 2013-09-09  Allan McRae  <allan@archlinux.org>
1177         [BZ #15844]
1178         * COPYING: Update from GNU website to fix FSF address.
1179         * COPYING.LIB: Likewise.
1181 2013-09-06  David S. Miller  <davem@davemloft.net>
1183         * po/zh_TW.po: Update Chinese (traditional) translation from
1184         translation project.
1186 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
1187             Joseph Myers  <joseph@codesourcery.com>
1189         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1190         "localeinfo.h".
1191         (obstack_chunk_alloc): New macro.
1192         (obstack_chunk_free): Likewise.
1193         (record_offset): New function.
1194         (init_locale_data): Likewise.
1195         (align_locale_data): Likewise.
1196         (add_locale_empty): Likewise.
1197         (add_locale_raw_data): Likewise.
1198         (add_locale_raw_obstack): Likewise.
1199         (add_locale_string): Likewise.
1200         (add_locale_wstring): Likewise.
1201         (add_locale_uint32): Likewise.
1202         (add_locale_uint32_array): Likewise.
1203         (add_locale_char): Likewise.
1204         (start_locale_structure): Likewise.
1205         (end_locale_structure): Likewise.
1206         (start_locale_prelude): Likewise.
1207         (end_locale_prelude): Likewise.
1208         (write_locale_data): Take locale_file structure rather than an
1209         iovec.
1210         * locale/programs/locfile.h: Include "obstack.h".
1211         (struct locale_file): Change to store locale file contents instead
1212         of header.
1213         (init_locale_data): New prototype.
1214         (align_locale_data): Likewise.
1215         (add_locale_empty): Likewise.
1216         (add_locale_raw_data): Likewise.
1217         (add_locale_raw_obstack): Likewise.
1218         (add_locale_string): Likewise.
1219         (add_locale_wstring): Likewise.
1220         (add_locale_uint32): Likewise.
1221         (add_locale_uint32_array): Likewise.
1222         (add_locale_char): Likewise.
1223         (start_locale_structure): Likewise.
1224         (end_locale_structure): Likewise.
1225         (start_locale_prelude): Likewise.
1226         (end_locale_prelude): Likewise.
1227         (write_locale_data): Update prototype.
1228         * locale/programs/3level.h (struct TABLE): Remove result field.
1229         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1230         Use new locale_file interface.
1231         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1232         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1233         * locale/programs/ld-address.c (address_output): Use new
1234         locale_file interface.
1235         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1236         NO_ADD_LOCALE.
1237         (collate_finish): Don't call collseq_table_finalize.
1238         (collate_output): Use new locale_file interface.
1239         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1240         in file.
1241         (NO_FINALIZE): Change to NO_ADD_LOCALE.
1242         (TABLE): Move defines earlier in file.
1243         (ELEMENT): Likewise.
1244         (DEFAULT): Likewise.
1245         (wctrans_table_add): Move macro and inline function earlier in
1246         file.
1247         (struct wctype_table): Move type earlier in file.
1248         (add_locale_wctype_table): New static prototype.
1249         (struct locale_ctype_t): Use logical types instead of struct iovec
1250         pointers for members.
1251         (ctype_output): Use new locale_file interface.
1252         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
1253         new locale_file interface.
1254         (allocate_arrays): Update for use of new locale_file interface.
1255         * locale/programs/ld-identification.c (identification_output): Use
1256         new locale_file interface.
1257         * locale/programs/ld-measurement.c (measurement_output): Likewise.
1258         * locale/programs/ld-messages.c (messages_output): Likewise.
1259         * locale/programs/ld-monetary.c (monetary_output): Likewise.
1260         * locale/programs/ld-name.c (name_output): Likewise.
1261         * locale/programs/ld-numeric.c (numeric_output): Likewise.
1262         * locale/programs/ld-paper.c (paper_output): Likewise.
1263         * locale/programs/ld-telephone.c (telephone_output): Likewise.
1264         * locale/programs/ld-time.c (time_output): Likewise.
1266 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1268         * benchtests/Makefile: Add memrchr benchmark.
1269         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1270         benchmark as memrchr.
1271         * benchtests/bench-memrchr-ifunc.c: New file.
1272         * benchtests/bench-memrchr.c: New file.
1274 2013-09-06   Will Newton  <will.newton@linaro.org>
1276         * benchtests/Makefile (string-bench): Add memcpy.
1278 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
1279             Cong Wang  <amwang@redhat.com>
1281         * sysdeps/unix/sysv/linux/bits/in.h
1282         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1283         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1284         before __USE_KERNEL_IPV6_DEFS uses.
1285         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1286         IPPROTO_BEETPH.
1287         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1288         sockaddr_in6, or ipv6_mreq.
1290 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1292         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1293         memory access for final bytes in some large inputs.
1294         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1296 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1298         * string/test-memrchr.c: New file.
1299         * string/test-memrchr-ifunc.c: New file.
1300         * string/Makefile: Add new memrchr testcase.
1302 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
1304         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1305         fanotify_init returns EPERM.
1307 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
1309         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1310         errors.
1311         (top level): Treat second token from macro or constant entries for
1312         allowed headers as allowed.
1313         * include/complex.h: Condition internal declarations on
1314         [!_ISOMAC].
1315         * include/fenv.h: Condition include of <stdbool.h> and internal
1316         declarations on [!_ISOMAC].
1318 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
1320         [BZ #15923]
1321         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1323 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
1325         * configure.in (--enable-versioning): Remove configure option.
1326         (libc_cv_asm_symver_directive): Remove configure test.
1327         (libc_cv_ld_version_script_option): Likewise.
1328         (VERSIONING): Remove variable and AC_SUBST.
1329         (DO_VERSIONING): Remove AC_DEFINE.
1330         * configure: Regenerated.
1331         * config.h.in (DO_VERSIONING): Remove macro.
1332         * Makerules [$(versioning) = yes]: Change conditionals to
1333         [$(build-shared) = yes].
1334         * config.make.in (versioning): Remove variable.
1335         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1336         [$(build-shared) = yes].
1337         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1338         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1339         * elf/Makefile [$(versioning) = yes]: Change conditionals to
1340         [$(build-shared) = yes].
1341         * extra-lib.mk [$(versioning) = yes]: Likewise.
1342         * hurd/Makefile [$(versioning) = yes]: Likewise.
1343         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1344         [SHARED].
1345         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1346         [SHARED].
1347         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1348         [SHARED && !NO_HIDDEN].
1349         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1350         [SHARED].
1351         [SHARED && DO_VERSIONING]: Likewise..
1352         * libio/Makefile [$(versioning) = yes]: Change conditionals to
1353         [$(build-shared) = yes].
1354         * manual/install.texi (--disable-versioning): Remove
1355         documentation.
1356         * INSTALL: Regenerated.
1357         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1358         to [SHARED].
1359         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1360         [$(build-shared) = yes].
1361         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1362         * sysdeps/i386/i686/multiarch/strstr-c.c
1363         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1364         [SHARED && !NO_HIDDEN].
1365         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1366         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1367         * sysdeps/powerpc/powerpc32/dl-machine.c
1368         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1369         * sysdeps/powerpc/powerpc32/sysdep.h
1370         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1371         to [SHARED && PIC && !NO_HIDDEN].
1372         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1373         conditional to [SHARED].
1375 2013-09-04   Will Newton  <will.newton@linaro.org>
1377         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1378         * benchtests/bench-string.h: Include bench-timing.h instead
1379         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1380         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1381         call to HP_TIMING_DIFF_INIT.
1382         * benchtests/bench-memccpy.c: Use bench-timing.h macros
1383         instead of hp-timing.h macros.
1384         * benchtests/bench-memchr.c: Likewise.
1385         * benchtests/bench-memcmp.c: Likewise.
1386         * benchtests/bench-memcpy.c: Likewise.
1387         * benchtests/bench-memmem.c: Likewise.
1388         * benchtests/bench-memmove.c: Likewise.
1389         * benchtests/bench-memset.c: Likewise.
1390         * benchtests/bench-rawmemchr.c: Likewise.
1391         * benchtests/bench-strcasecmp.c: Likewise.
1392         * benchtests/bench-strcasestr.c: Likewise.
1393         * benchtests/bench-strcat.c: Likewise.
1394         * benchtests/bench-strchr.c: Likewise.
1395         * benchtests/bench-strcmp.c: Likewise.
1396         * benchtests/bench-strcpy.c: Likewise.
1397         * benchtests/bench-strcpy_chk.c: Likewise.
1398         * benchtests/bench-strlen.c: Likewise.
1399         * benchtests/bench-strncasecmp.c: Likewise.
1400         * benchtests/bench-strncat.c: Likewise.
1401         * benchtests/bench-strncmp.c: Likewise.
1402         * benchtests/bench-strncpy.c: Likewise.
1403         * benchtests/bench-strnlen.c: Likewise.
1404         * benchtests/bench-strpbrk.c: Likewise.
1405         * benchtests/bench-strrchr.c: Likewise.
1406         * benchtests/bench-strspn.c: Likewise.
1407         * benchtests/bench-strstr.c: Likewise.
1409 2013-09-04  Will Newton  <will.newton@linaro.org>
1411         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1413 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
1415         [BZ #15427]
1416         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1417         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1418         * math/libm-test.inc (lgamma_test_data): Add more tests.
1419         * sysdeps/i386/fpu/libm-test-ulps: Update.
1420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1422 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
1424         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1425         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1426         Add ifunc.
1427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1428         Add strcmp-sse2-unaligned
1429         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1431 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1433         * Versions.def (libc): Add GLIBC_2.19.
1435 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1437         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1438         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1440 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
1442         [BZ #14155]
1443         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1444         intermediate calculations in recurrence.
1445         (__ieee754_ynf): Likewise.
1446         * math/libm-test.inc (jn_test_data): Do not allow spurious
1447         underflow exception.  Add more tests.
1448         (yn_test_data): Add more tests.
1449         * sysdeps/i386/fpu/libm-test-ulps: Update.
1450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1452 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
1454         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1456 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
1458         * csu/init-first.c: Fix then/than typos.
1459         * locale/programs/ld-collate.c: Likewise.
1460         * locale/programs/linereader.h: Likewise.
1461         * manual/charset.texi: Likewise.
1462         * manual/filesys.texi: Likewise.
1463         * manual/stdio.texi: Likewise.
1464         * manual/string.texi: Likewise.
1465         * stdlib/fmtmsg.c: Likewise.
1466         * sysdeps/i386/stpncpy.S: Likewise.
1467         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1468         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1469         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1470         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1472 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
1474         * elf/dl-open.c: Fix typos.
1475         * iconvdata/gbbig5.c: Likewise.
1476         * iconvdata/iso-2022-jp.c: Likewise.
1477         * iconv/gconv_int.h: Likewise.
1478         * iconv/loop.c: Likewise.
1479         * nis/rpcsvc/nis.h: Likewise.
1480         * resolv/ns_name.c: Likewise.
1481         * stdio-common/vfscanf.c: Likewise.
1482         * streams/stropts.h: Likewise.
1483         * sunrpc/rpc_thread.c: Likewise.
1484         * sysdeps/i386/strpbrk.S: Likewise.
1485         * sysdeps/ieee754/k_standard.c: Likewise.
1486         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1487         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1488         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1489         * sysdeps/mach/hurd/profil.c: Likewise.
1490         * sysdeps/s390/dl-procinfo.h: Likewise.
1491         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1492         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1493         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1494         * sysdeps/x86_64/dl-trampoline.S: Likewise.
1495         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1497 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
1499         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1500         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1502 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
1504         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1505         aix specific files.
1506         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1507         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1508         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1509         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1510         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1511         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1512         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1513         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1515 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
1516             Roland McGrath  <roland@hack.frob.com>
1518         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1519         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1521 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1523         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1524         __executable_start symbol instead of _start.
1526 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
1528         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1529         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1530         Move macros to...
1531         * sysdeps/gnu/ldsodefs.h: ... this new file.
1533         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1534         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1535         instead of ELFOSABI_LINUX.
1537         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1538         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1539         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1540         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1541         Likewise.
1542         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1543         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1544         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1545         Likewise.
1546         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1547         (ibm_extended_long_double): Add ieee_nan member.
1548         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1549         (do_test): New function.
1551         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1552         TEST_TRUNC.
1553         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1554         functions, renamed from truncdfsf_test, trunctfsf_test,
1555         trunctfdf_test.
1556         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1557         functions.
1558         (do_test): Run all these.
1560 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
1562         * argp/argp-help.c: Fix typos.
1563         * argp/argp-parse.c: Likewise.
1564         * debug/backtracesyms.c: Likewise.
1565         * elf/elf.h: Likewise.
1566         * malloc/malloc.c: Likewise.
1567         * nis/nis_print.c: Likewise.
1568         * resolv/res_comp.c: Likewise.
1569         * stdlib/stdlib.h: Likewise.
1570         * sunrpc/clnt_tcp.c: Likewise.
1571         * sunrpc/clnt_udp.c: Likewise.
1572         * sunrpc/clnt_unix.c: Likewise.
1573         * sysdeps/unix/bsd/ptsname.c: Likewise.
1574         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1575         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1577         Likewise.
1578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1579         Likewise.
1580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1581         Likewise.
1582         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1584 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1586         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1587         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1589 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
1591         [BZ #15897]
1592         * dlfcn/Makefile (tests): Add bug-dl-leaf.
1593         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1594         ($(objpfx)bug-dl-leaf): New rule.
1595         ($(objpfx)bug-dl-leaf.so): Likewise.
1596         ($(objpfx)bug-dl-leaf.out): Likewise.
1597         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1598         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1599         * dlfcn/bug-dl-leaf.c: New test.
1600         * dlfcn/bug-dl-leaf-lib.c: Likewise.
1601         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1602         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1603         (dlclose): Likewise.
1604         (dlmopen): Likewise.
1606 2013-08-27  Roland McGrath  <roland@hack.frob.com>
1608         * include/netdb.h [!_ISOMAC]:
1609         Don't include <tls.h>.
1610         (h_errno, __libc_h_errno): Move declaration and macros out of
1611         [_LIBC_REENTRANT].
1613         * include/resolv.h [_RESOLV_H_]:
1614         Don't include <tls.h>.
1615         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1616         * resolv/res_libc.c: Don't include <tls.h>.
1617         (_res): Use __attribute__ ((nocommon)) in place of
1618         __attribute__ ((section (".bss"))).
1620         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1621         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1623         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1625         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1626         only under [SIOCGIFCONF && SIOCGIFNETMASK].
1628         * resolv/res_mkquery.c: Include <sys/time.h>.
1630         * inet/ifreq.c: Moved to ...
1631         * sysdeps/unix/ifreq.c: ... here.
1632         * inet/ifreq.c: New file, true stub version.
1634         * socket/sa_len.c: New file.
1635         * socket/Makefile (aux): Add it.
1636         * sysdeps/unix/sysv/linux/Makefile
1637         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1638         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1639         and #include <socket/sa_len.c>.
1640         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1641         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1643         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1644         * bits/socket.h: ... here.
1646         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1647         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1648         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1650 2013-08-27  Andreas Schwab  <schwab@suse.de>
1652         [BZ #15736]
1653         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1654         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1655         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1656         * string/test-strcasecmp.c (test_main): Run tests in several
1657         locales.
1658         * string/test-strncasecmp.c (test_main): Likewise.
1660         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1661         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1662         to __strcasecmp_nonascii and __strncasecmp_nonascii.
1663         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1664         (__strncasecmp_ssse3) [PIC]: Likewise.
1666 2013-08-26  Roland McGrath  <roland@hack.frob.com>
1668         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1670         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1671         instead of explicitly declaring xdecrypt.
1672         * nis/nss_nis/nis-publickey.c: Likewise.
1674 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1676         [BZ #15890]
1677         * nscd/aicache.c: Include res_hconf.h.
1678         (addhstaiX): Initialize res_hconf.
1680 2013-08-26  Andreas Schwab  <schwab@suse.de>
1682         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1683         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1685 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1687         * nscd/aicache.c (addhstaiX): Fix indentation.
1689 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
1691         * configure.ac: Quote $build_pt_chown test.
1692         * configure: Regenerated.
1694 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
1696         [BZ #15532]
1697         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1698         * math/s_cexpf.c (__cexpf): Likewise.
1699         * math/s_cexpl.c (__cexpl): Likewise.
1700         * math/libm-test.inc (cexp_test_data): Correct expected return
1701         value for NaN + i0.  Add another test.
1703 2013-08-22  David S. Miller  <davem@davemloft.net>
1705         * po/ca.po: Update Catalan translation from translation project.
1706         * po/uk.po: Add Ukrainian translations from translation project.
1708 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
1710         [BZ #15797]
1711         * math/s_fdim.c (__fdim): Check for infinite arguments if result
1712         is infinite, not alongside NaN test.
1713         * math/s_fdimf.c (__fdimf): Likewise.
1714         * math/s_fdiml.c (__fdiml): Likewise.
1715         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
1716         errno is unchanged.
1718 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
1720         * argp/argp-help.c: Fix typos.
1721         * crypt/speeds.c: Likewise.
1722         * csu/check_fds.c: Likewise.
1723         * elf/dl-load.c: Likewise.
1724         * elf/dl-open.c: Likewise.
1725         * elf/reldep3.c: Likewise.
1726         * elf/reldep.c: Likewise.
1727         * elf/sprof.c: Likewise.
1728         * iconv/iconv_charmap.c: Likewise.
1729         * iconv/skeleton.c: Likewise.
1730         * iconv/strtab.c: Likewise.
1731         * io/lockf64.c: Likewise.
1732         * libio/libioP.h: Likewise.
1733         * resolv/gai_notify.c: Likewise.
1734         * resolv/ns_name.c: Likewise.
1735         * resolv/ns_samedomain.c: Likewise.
1736         * resolv/res_send.c: Likewise.
1737         * stdlib/random.c: Likewise.
1738         * sunrpc/rpc/xdr.h: Likewise.
1739         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1740         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1741         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1742         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1743         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1744         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1745         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1746         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1747         * sysdeps/mach/hurd/check_fds.c: Likewise.
1748         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1749         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1750         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1751         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1752         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1753         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1754         * sysdeps/pthread/aio_notify.c: Likewise.
1755         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1756         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1757         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1758         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1759         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1761 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1763         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1764         version if bit_Slow_SSE4_2 is set.
1765         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1766         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1768 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1770         [BZ #15867]
1771         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1772         trampoline stack frame information.
1773         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1774         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1775         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1776         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1777         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1778         * sysdeps/unix/sysv/linux/powerpc/init-first.c
1779         (_libc_vdso_platform_setup): Initialize the signal trampolines.
1780         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1781         sa_flags value.
1782         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1783         interrupting a syscall and set with option SA_SIGINFO.
1785 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1787         [BZ #15531]
1788         * math/s_cproj.c (__cproj): Only return an infinity if one part of
1789         argument is infinite.
1790         * math/s_cprojf.c (__cprojf): Likewise.
1791         * math/s_cprojl.c (__cprojl): Likewise.
1792         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1793         * math/libm-test.inc (cproj_test_data): Add more tests.
1795         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1797         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1798         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1799         size.  Use __ffs to determine corresponding shift.
1801 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1802             Roland McGrath  <roland@hack.frob.com>
1804         * Makefile (INSTALL): Remove trailing blank lines from output of
1805         makeinfo.
1807 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1809         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1810         Align 32 bit compat elf_greg to 8 bytes.
1812 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1814         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1816 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1818         * string/strcoll_l.c (coll_seq): New structure.
1819         (get_next_seq_cached): New function.
1820         (get_next_seq): New function.
1821         (do_compare): New function.
1822         (STRCOLL): Use GNU style definition.  Simplify implementation
1823         by using get_next_seq, get_next_seq_cached and do_compare.
1825 2013-08-16  Florian Weimer  <fweimer@redhat.com>
1827         [BZ #14699]
1828         CVE-2013-4237
1829         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1830         member.
1831         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1832         member.
1833         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1834         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1835         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
1836         conditional.
1837         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1838         GETDENTS_64BIT_ALIGNED.
1839         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1840         * manual/filesys.texi (Reading/Closing Directory): Document
1841         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
1842         strongly.
1843         * manual/conf.texi (Limits for Files): Add portability note to
1844         NAME_MAX, PATH_MAX.
1845         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1847 2013-08-13  Andreas Schwab  <schwab@suse.de>
1849         [BZ #15749]
1850         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1851         of fabs.
1852         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1853         LDBL_MAX_EXP >= 16384]: Add tests for it.
1855 2013-08-12  David S. Miller  <davem@davemloft.net>
1857         * version.h (RELEASE): Set to "development".
1858         (VERSION): Set to "2.18.90".
1859         * NEWS: Add 2.19 section.
1861 2013-08-03  David S. Miller  <davem@davemloft.net>
1863         * po/ko.po: Update Korean translation from translation project.
1865 2013-08-01  David S. Miller  <davem@davemloft.net>
1867         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
1868         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1869         Bilka.
1871 2013-07-30  David S. Miller  <davem@davemloft.net>
1873         * po/fr.po: Update French translation from translation project.
1875 2013-07-28  David S. Miller  <davem@davemloft.net>
1877         * po/cs.po: Update Czech translation from translation project.
1879         * po/sv.po: Update Swedish translation from translation project.
1881 2013-07-27  David S. Miller  <davem@davemloft.net>
1883         * po/eo.po: Update Esperanto translation from translation project.
1885         * po/vi.po: Update Vietnamese translation from translation project.
1887         * po/de.po: Update German translation from translation project.
1889 2013-07-26  David S. Miller  <davem@davemloft.net>
1891         * po/bg.po: Update Bulgarian translation from translation project.
1893         * po/nl.po: Update Dutch translation from translation project.
1894         * po/pl.po: Update Polish translation from translation project.
1895         * po/ru.po: Update Russian translation from translation project.
1897 2013-07-24  David S. Miller  <davem@davemloft.net>
1899         * po/libc.pot: Update.
1901 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1903         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1904         variable page size.
1905         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1906         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1907         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1909 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1911         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1913 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1914             Andreas Schwab  <schwab@suse.de>
1915             Roland McGrath  <roland@hack.frob.com>
1916             Joseph Myers  <joseph@codesourcery.com>
1917             Carlos O'Donell  <carlos@redhat.com>
1919         [BZ #15755]
1920         * config.h.in: Define HAVE_PT_CHOWN.
1921         * config.make.in (build-pt-chown): New variable.
1922         * configure.in (--enable-pt_chown): New configure option.
1923         * configure: Regenerate.
1924         * login/Makefile: Include Makeconfig.  Build pt_chown only if
1925         build-pt-chown is enabled.
1926         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1927         pt_chown to fix pty ownership.
1928         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1929         CLOSE_ALL_FDS.
1930         * manual/install.texi (Configuring and compiling): Mention
1931         --enable-pt_chown. Add @findex for grantpt.
1932         * INSTALL: Regenerate.
1934 2013-07-20  David S. Miller  <davem@davemloft.net>
1936         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1937         difference between 32-bit and 64-bit.
1939 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
1941         [BZ #15711]
1942         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1943         Avoid system header dependency with -ffreestanding.
1944         ($(objpfx)bits/syscall%d): Likewise.
1946 2013-07-13  David S. Miller  <davem@davemloft.net>
1948         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1949         underflows from atanl/atan2l due to bug 15319.
1950         (casinh_test_data): Likewise.
1952 2013-07-07  David S. Miller  <davem@davemloft.net>
1954         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1956 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
1958         * sysdeps/i386/fpu/libm-test-ulps: Update.
1959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1961 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1963         * configure.in (--enable-lock-elision): Fix message text.
1964         * INSTALL: Regenerate.
1965         * configure: Regenerate.
1967 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1971 2013-07-03  Andreas Jaeger  <aj@suse.de>
1973         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1974         define.
1975         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1976         (ptrace_peeksiginfo_args): Add.
1977         (__ptrace_peeksiginfo_flags): Add.
1978         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1979         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1980         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1982 2013-07-03  Allan McRae  <allan@archlinux.org>
1984         * sysdeps/i386/fpu/libm-test-ulps: Update.
1986 2013-07-02  David S. Miller  <davem@davemloft.net>
1988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1990 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
1992         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1994 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
1996         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1999 2013-07-02  Andi Kleen <ak@linux.intel.com>
2001         * config.h.in (ENABLE_LOCK_ELISION): Add.
2002         * configure.in (--enable-lock-elision): Add option.
2003         * manual/install.texi: Document --enable lock elision.
2004         * configure: Regenerate
2005         * INSTALL: Regenerate.
2007 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
2009         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2010         SSE4.2 strcasecmp for libc.a.
2011         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2013 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2015         [BZ #13304]
2016         * soft-fp/op-common.h (_FP_FMA): New macro.
2017         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2018         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
2019         (_FP_MUL_MEAT_1_imm): ... here.
2020         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
2021         (_FP_MUL_MEAT_1_wide): ... here.
2022         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
2023         (_FP_MUL_MEAT_1_hard): ... here.
2024         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2025         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
2026         (_FP_MUL_MEAT_2_wide): ... here.
2027         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
2028         (_FP_MUL_MEAT_2_wide_3mul): ... here.
2029         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
2030         (_FP_MUL_MEAT_2_gmp): ... here.
2031         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2032         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
2033         (_FP_MUL_MEAT_4_wide): ... here.
2034         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
2035         (_FP_MUL_MEAT_4_gmp): ... here.
2036         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2037         (_FP_WFRACBITS_DW_S): Likewise.
2038         (_FP_WFRACXBITS_DW_S): Likewise.
2039         (_FP_HIGHBIT_DW_S): Likewise.
2040         (FP_FMA_S): Likewise.
2041         (_FP_FRAC_HIGH_DW_S): Likewise.
2042         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2043         (_FP_WFRACBITS_DW_D): Likewise.
2044         (_FP_WFRACXBITS_DW_D): Likewise.
2045         (_FP_HIGHBIT_DW_D): Likewise.
2046         (FP_FMA_D): Likewise.
2047         (_FP_FRAC_HIGH_DW_D): Likewise.
2048         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2049         (_FP_WFRACBITS_DW_E): Likewise.
2050         (_FP_WFRACXBITS_DW_E): Likewise.
2051         (_FP_HIGHBIT_DW_E): Likewise.
2052         (FP_FMA_E): Likewise.
2053         (_FP_FRAC_HIGH_DW_E): Likewise.
2054         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2055         (_FP_WFRACBITS_DW_Q): Likewise.
2056         (_FP_WFRACXBITS_DW_Q): Likewise.
2057         (_FP_HIGHBIT_DW_Q): Likewise.
2058         (FP_FMA_Q): Likewise.
2059         (_FP_FRAC_HIGH_DW_Q): Likewise.
2060         * soft-fp/fmasf4.c: New file.
2061         * soft-fp/fmadf4.c: Likewise.
2062         * soft-fp/fmatf4.c: Likewise.
2064 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2066         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2067         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2068         Silvermont.
2069         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2070         macro.
2071         (index_Slow_SSE4_2): Likewise.
2072         (index_Prefer_PMINUB_for_stringop): Likewise.
2073         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2074         bit_Slow_SSE4_2 is set.
2075         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2076         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2078 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2080         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2081         rtld_global._dl_hwcap2.
2082         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2083         POWER8.
2084         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2085         POWER8 feature descriptions defined in _dl_hwcap2.
2086         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2087         string handling for POWER8 feature bits.
2088         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2089         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2090         _dl_powerpc_cap_flags.
2091         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2092         * sysdeps/powerpc/rtld-global-offsets.sym
2093         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2094         _dl_hwcap2 in the rtld_global_ro structure.
2096 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2098         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2099         hardware capabilities in support of AT_HWCAP2.
2100         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2101         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2102         GLRO(dl_hwcap2).
2103         (_dl_show_auxv): Add support for calling _dl_procinfo to display
2104         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
2105         explicitly the unknown a_type display mechanism is used.
2106         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2107         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2108         struct member.
2109         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2110         to macro prototype for AT_HWCAP2 support.
2111         * sysdeps/i386/dl-procinfo.h: Likewise.
2112         * sysdeps/s390/dl-procinfo.h: Likewise.
2113         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2114         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
2115         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
2116         return -1 for unknown a_type display fallback.
2117         * sysdeps/sparc/dl-procinfo.h: Likewise.
2118         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2119         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2121 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
2123         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2124         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2126 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
2128         [BZ #12492]
2129         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2130         mprotect making __stack_prot writable.
2132 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
2133             Joseph Myers  <joseph@codesourcery.com>
2135         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2136         as being properly aligned.
2138 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
2140         * dlfcn/modstatic5.c: New file.
2141         * dlfcn/tststatic5.c: New file.
2142         * dlfcn/Makefile (tests): Add tststatic5.
2143         (tests-static): Likewise.
2144         (modules-names): Add modstatic5.
2145         (tststatic5-ENV): New variable.
2146         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2148         [BZ #15022]
2149         * elf/dl-support.c (_dl_main_map): New variable.
2150         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2151         (_dl_nns, _dl_load_adds): Set to 1.
2152         (_dl_initial_searchlist): Refer to _dl_main_map.
2153         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2154         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2155         call to _dl_get_origin.
2156         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2157         around call_map.
2158         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2159         * dlfcn/modstatic3.c: New file.
2160         * dlfcn/tststatic3.c: New file.
2161         * dlfcn/tststatic4.c: New file.
2162         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2163         (tests-static): Likewise.
2164         (modules-names): Add modstatic3.
2165         (tststatic3-ENV, tststatic4-ENV): New variables.
2166         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2167         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2169 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
2171         * configure.in (CC): Require GCC version 4.4 or later.
2172         * configure: Regenerated.
2173         * manual/install.texi (Tools for Compilation): Update GCC version
2174         requirement.
2175         * INSTALL: Regenerated.
2177 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2179         [BZ #15674]
2180         * string/test-memcmp.c (check2): New.
2181         (main): Call check2.
2183         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2185 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
2187         [BZ #15022]
2188         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2189         over to...
2190         (dl_open_worker) [!SHARED]: ... here.
2192 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2194         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2196 2013-06-25  Richard Henderson  <rth@redhat.com>
2198         * locale/programs/locarchive.c: Include <libc-internal.h>
2200 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
2202         * manual/texinfo.tex: Update to version 2013-06-21.17, with
2203         trailing whitespace removed.
2205 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2207         [BZ #10283]
2208         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2209         * locale/programs/locarchive.c: Include libc-mmap.h.
2210         (prepare_address_space): Take two new outputs (the mmap base and len).
2211         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
2212         values.
2213         (create_archive): Declare new mmap base and len values for
2214         prepare_address_space, and store the result in ah.
2215         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2216         (enlarge_archive): If ah->mmap_base is not NULL, use that and
2217         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2218         Declare new mmap base and len values for
2219         prepare_address_space, and store the result in new_ah.
2220         (open_archive): Declare new mmap base and len values for
2221         prepare_address_space, and store the result in ah.
2222         (close_archive): If ah->mmap_base is not NULL, use that and
2223         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2224         * sysdeps/generic/libc-mmap.h: New file.
2226 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2228         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2229         (ALIGN_UP): Likewise.
2230         (PTR_ALIGN_DOWN): Likewise.
2231         (PTR_ALIGN_UP): Likewise.
2233 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2235         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2236         entry mapped to PPC_PLATFORM_POWER8.
2237         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2238         POWER8.
2239         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2240         (_dl_string_platform): Add case for exporting platform position for
2241         POWER8.
2242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2243         search path to sysdeps/powerpc/powerpc32/power8 directory.
2244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2245         search path to sysdeps/powerpc/powerpc64/power8 directory.
2246         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2247         power7 directories.
2248         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2249         power7 directories.
2251 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2253         * INSTALL: Regenerate.
2255         * nscd/connections.c (nscd_init): Fix comment.
2257 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
2259         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2261         [BZ #15667]
2262         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2263         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2265 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
2267         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2268         DL_DST_REQ_STATIC.
2269         (DL_DST_REQ_STATIC): Remove macro.
2271 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
2273         [BZ #7006]
2274         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2275         with a shift of 0 bits.
2277 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
2279         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2280         $(tststatic-ENV).
2282 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2284         [BZ #15655]
2285         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2287 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2289         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2290         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2291         accepts -fno-tree-loop-distribute-patterns.
2292         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2293         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2294         recursive call.
2295         * string/memset.c (memset): Likewise.
2296         * string/test-memmove.c (simple_memmove): Disable loop transformation
2297         to library calls.
2298         * string/test-memset.c (simple_memset): Likewise.
2299         * benchtests/bench-memmove.c (simple_memmove): Likewise.
2300         * benchtests/bench-memset.c (simple_memset): Likewise.
2301         * configure: Regenerated.
2303 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
2305         * math/test-misc.c (main): Ignore fesetround failure when failures
2306         of subsequent rounding tests would be ignored.
2308         [BZ #15654]
2309         * math/fedisblxcpt.c (fedisableexcept): Return 0.
2310         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2311         * math/fegetenv.c (__fegetenv): Return 0.
2312         * math/fegetexcept.c (fegetexcept): Return 0.
2313         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2314         FE_TONEAREST.
2315         * math/feholdexcpt.c (feholdexcept): Return 0.
2316         * math/fesetenv.c (__fesetenv): Return 0.
2317         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2318         argument FE_TONEAREST.
2319         * math/feupdateenv.c (__feupdateenv): Return 0.
2320         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2322 2013-06-18  Roland McGrath  <roland@hack.frob.com>
2324         * elf/rtld-Rules (rtld-compile-command.S): New variable.
2325         (rtld-compile-command.s, rtld-compile-command.c): New variables.
2326         ($(objpfx)rtld-%.os rules): Use them.
2328 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2330         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2331         fields.
2333 2013-06-17  Roland McGrath  <roland@hack.frob.com>
2335         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2336         length of target pattern, then descending length of dependency pattern.
2337         * configure.in (AWK): Require gawk 3.1.2 or newer.
2338         * manual/install.texi (Tools for Compilation): Say that we do.
2339         * configure: Regenerated.
2341         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2342         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2343         * scripts/sysd-rules.awk: ... this new script.
2344         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2345         than a glob-style pattern.
2347 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
2349         * math/test-misc.c (main): Do not treat incorrectly rounded
2350         conversions as failure unless ROUNDING_TESTS passes.
2352 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
2354         [BZ #15631]
2355         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2356         restore exception state around main square root computation, then
2357         check for inexactness explicitly.
2359         * math/libm-test.inc (fma_test_data): Add another test.
2361 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2363         * manual/threads.texi (Non-POSIX Extensions): New document
2364         node.  Document pthread_getattr_default_np and
2365         pthread_setattr_default_np.
2367         * Versions.def (libpthread): Add GLIBC_2.18.
2368         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2370         Likewise.
2371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2372         Likewise.
2373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2374         Likewise.
2375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2376         Likewise.
2377         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2378         Likewise.
2379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2380         Likewise.
2381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2382         Likewise.
2383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2384         Likewise.
2385         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2386         Likewise.
2388 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2391         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2393 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2394             H.J. Lu  <hjl.tools@gmail.com>
2396         [BZ #15627]
2397         * sysdeps/x86_64/rtld-memset.c: Remove file.
2398         * sysdeps/x86_64/rtld-memset.S: New file.
2400 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
2402         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2403         (test_in_one_mode): Take arguments for whether the rounding mode
2404         is supported for each floating-point type.
2405         (do_test): Pass new arguments to test_in_one_mode using
2406         ROUNDING_TESTS.
2408 2013-06-13  Roland McGrath  <roland@hack.frob.com>
2410         * posix/tst-waitid.c (do_test): Distinguish different instances of
2411         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
2412         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2413         before entering the kernel for waitpid.
2415 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2417         * NEWS: Fix note on clock function precision.  Text by Roland
2418         McGrath.
2420 2013-06-13  Roland McGrath  <roland@hack.frob.com>
2422         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2423         it into place only when and if the sanity check passes.
2425 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
2427         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2428         output for whether conversion result is exact.  Take argument
2429         indicating whether type is IBM long double.
2430         (round_for_all): Change need_exact field to ibm_ld.
2431         * stdlib/tst-strtod-round.c (struct exactness): New type.
2432         (struct test): Change bool ld_ok field to struct exactness exact.
2433         (TEST): Update all definitions for change to field.
2434         (tests): Regenerate array contents.
2435         (test_in_one_mode): Take pointer to new field instead of old ld_ok
2436         field value.  Check for IBM long double here.
2437         (do_test): Update calls to test_in_one_mode.
2439 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2441         [BZ #12515]
2442         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2443         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2445 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2447         [BZ #15605]
2448         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2449         generated by the compiler on loop optimizations.
2450         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2451         general definitions.
2453 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
2455         * math/bug-nextafter.c: Include <math-tests.h>.
2456         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2457         the relevant type.
2458         * math/bug-nexttoward.c: Include <math-tests.h>.
2459         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2460         the relevant type.
2461         * math/test-misc.c: Include <math-tests.h>.
2462         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2463         the relevant type.
2465 2013-06-12  Andreas Jaeger  <aj@suse.de>
2467         * po/ia.po: Update Interlingua translation from translation
2468         project.
2470 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2472         * include/fenv.h: Include stdbool.h.
2473         (struct rm_ctx): New structure.
2474         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2475         Define macro.
2476         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2477         (SET_RESTORE_ROUNDF): Likewise.
2478         (SET_RESTORE_ROUNDL): Likewise.
2479         (SET_RESTORE_ROUND_NOEX): Likewise.
2480         (SET_RESTORE_ROUND_NOEXF): Likewise.
2481         (SET_RESTORE_ROUND_NOEXL): Likewise.
2482         (SET_RESTORE_ROUND_53BIT): Likewise.
2483         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2484         (libc_feresetround_noexf_ctx): Likewise.
2485         (libc_feresetround_noexl_ctx): Likewise.
2486         (libc_feholdsetround_53bit_ctx): Likewise.
2487         (libc_feresetround_53bit_ctx): Likewise.
2488         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2489         (libc_feholdexcept_setround_sse_ctx): New function.
2490         (libc_fesetenv_sse_ctx): Likewise.
2491         (libc_feupdateenv_sse_ctx): Likewise.
2492         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2493         (libc_feholdexcept_setround_387_ctx): Likewise.
2494         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2495         (libc_feholdsetround_387_prec_ctx): Likewise.
2496         (libc_feholdsetround_387_ctx): Likewise.
2497         (libc_feholdsetround_387_53bit_ctx): Likewise.
2498         (libc_feholdsetround_sse_ctx): Likewise.
2499         (libc_feresetround_sse_ctx): Likewise.
2500         (libc_feresetround_387_ctx): Likewise.
2501         (libc_feupdateenv_387_ctx): Likewise.
2502         (libc_feholdexcept_setroundf_ctx): Define macro.
2503         (libc_fesetenvf_ctx): Likewise.
2504         (libc_feupdateenvf_ctx): Likewise.
2505         (libc_feholdsetroundf_ctx): Likewise.
2506         (libc_feresetroundf_ctx): Likewise.
2507         (libc_feholdexcept_setround_ctx): Likewise.
2508         (libc_fesetenv_ctx): Likewise.
2509         (libc_feupdateenv_ctx): Likewise.
2510         (libc_feholdsetround_ctx): Likewise.
2511         (libc_feresetround_ctx): Likewise.
2512         (libc_feholdexcept_setroundl_ctx): Likewise.
2513         (libc_feupdateenvl_ctx): Likewise.
2514         (libc_feholdsetroundl_ctx): Likewise.
2515         (libc_feresetroundl_ctx): Likewise.
2516         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2517         (libc_feresetround_53bit_ctx): Likewise.
2519 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2521         * locale/iso-639.def: Convert to UTF-8.
2523 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
2525         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2526         (EXCEPTION_TESTS_double): Likewise.
2527         (EXCEPTION_TESTS_long_double): Likewise.
2528         (EXCEPTION_TESTS): Likewise.
2529         * math/libm-test.inc (test_exceptions): Only test exceptions if
2530         EXCEPTION_TESTS (FLOAT).
2532 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2534         * benchtests/Makefile (string-bench): Add strcpy_chk and
2535         stpcpy_chk.
2536         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2537         * benchtests/bench-stpcpy_chk.c: New file.
2538         * benchtests/bench-strcpy_chk-ifunc.c: New file.
2539         * benchtests/bench-strcpy_chk.c: New file.
2540         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2541         code.
2542         (do_test): Likewise.
2544 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2546         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2547         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2548         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2549         with tabs where appropriate.
2550         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2551         dl-procinfo.h.
2552         [PPC_PLATFORM_PPC440]: Likewise.
2553         [PPC_PLATFORM_PPC464]: Likewise.
2554         [PPC_PLATFORM_PPC476]: Likewise.
2555         (_dl_string_platform): Add support for detecting ppc405, ppc440,
2556         ppc464, and ppc476 platform strings merging from ports/
2557         dl-procinfo.h.
2559 2013-06-11  Andreas Schwab  <schwab@suse.de>
2561         [BZ #14991]
2562         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2563         (from_ucs4_idx): Regenerate.
2564         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2565         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2566         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2567         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2568         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2569         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2570         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2571         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2572         from FROM_LOOP and TO_LOOP specific macros.
2573         (BODY): Handle combining characters.
2574         * iconvdata/BIG5HKSCS.irreversible: Update.
2575         * iconvdata/BIG5HKSCS.precomposed: New file.
2576         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2577         characters.
2578         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2580 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2582         * include/sys/time.h: Fix indentation and add copyright header.
2584         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2585         (do_test): Likewise.
2586         * string/test-memchr.c (do_one_test): Likewise.
2587         (do_test): Likewise.
2588         * string/test-memcmp.c (do_one_test): Likewise.
2589         (do_test): Likewise.
2590         * string/test-memcpy.c (do_one_test): Likewise.
2591         (do_test): Likewise.
2592         * string/test-memmem.c (do_one_test): Likewise.
2593         (do_test): Likewise.
2594         (do_random_tests): Likewise.
2595         * string/test-memmove.c (do_one_test): Likewise.
2596         (do_test): Likewise.
2597         * string/test-memset.c (do_one_test): Likewise.
2598         (do_test): Likewise.
2599         * string/test-rawmemchr.c (do_one_test): Likewise.
2600         (do_test): Likewise.
2601         * string/test-strcasecmp.c (do_one_test): Likewise.
2602         (do_test): Likewise.
2603         * string/test-strcasestr.c (do_one_test): Likewise.
2604         (do_test): Likewise.
2605         * string/test-strcat.c (do_one_test): Likewise.
2606         (do_test): Likewise.
2607         * string/test-strchr.c (do_one_test): Likewise.
2608         (do_test): Likewise.
2609         * string/test-strcmp.c (do_one_test): Likewise.
2610         (do_test): Likewise.
2611         * string/test-strcpy.c (do_one_test): Likewise.
2612         (do_test): Likewise.
2613         * string/test-string.h: Likewise.
2614         (test_init): Likewise.
2615         * string/test-strlen.c (do_one_test): Likewise.
2616         (do_test): Likewise.
2617         * string/test-strncasecmp.c (do_one_test): Likewise.
2618         (do_test): Likewise.
2619         * string/test-strncat.c (do_one_test): Likewise.
2620         (do_test): Likewise.
2621         * string/test-strncmp.c (do_one_test): Likewise.
2622         (do_test_limit): Likewise.
2623         (do_test): Likewise.
2624         * string/test-strncpy.c (do_one_test): Likewise.
2625         (do_test): Likewise.
2626         * string/test-strnlen.c (do_one_test): Likewise.
2627         (do_test): Likewise.
2628         * string/test-strpbrk.c (do_one_test): Likewise.
2629         (do_test): Likewise.
2630         * string/test-strrchr.c (do_one_test): Likewise.
2631         (do_test): Likewise.
2632         * string/test-strspn.c (do_one_test): Likewise.
2633         (do_test): Likewise.
2634         * string/test-strstr.c (do_one_test): Likewise.
2635         (do_test): Likewise.
2637         * benchtests/Makefile (string-bench): Add string benchmarks.
2638         * benchtests/bench-bcopy-ifunc.c: New file.
2639         * benchtests/bench-bcopy.c: New file.
2640         * benchtests/bench-bzero-ifunc.c: New file.
2641         * benchtests/bench-bzero.c: New file.
2642         * benchtests/bench-memccpy-ifunc.c: New file.
2643         * benchtests/bench-memccpy.c: New file.
2644         * benchtests/bench-memchr-ifunc.c: New file.
2645         * benchtests/bench-memchr.c: New file.
2646         * benchtests/bench-memcmp-ifunc.c: New file.
2647         * benchtests/bench-memcmp.c: New file.
2648         * benchtests/bench-memmem-ifunc.c: New file.
2649         * benchtests/bench-memmem.c: New file.
2650         * benchtests/bench-memmove-ifunc.c: New file.
2651         * benchtests/bench-memmove.c: New file.
2652         * benchtests/bench-mempcpy-ifunc.c: New file.
2653         * benchtests/bench-mempcpy.c: New file.
2654         * benchtests/bench-memset-ifunc.c: New file.
2655         * benchtests/bench-memset.c: New file.
2656         * benchtests/bench-rawmemchr-ifunc.c: New file.
2657         * benchtests/bench-rawmemchr.c: New file.
2658         * benchtests/bench-stpcpy-ifunc.c: New file.
2659         * benchtests/bench-stpcpy.c: New file.
2660         * benchtests/bench-stpncpy-ifunc.c: New file.
2661         * benchtests/bench-stpncpy.c: New file.
2662         * benchtests/bench-strcasecmp-ifunc.c: New file.
2663         * benchtests/bench-strcasecmp.c: New file.
2664         * benchtests/bench-strcasestr-ifunc.c: New file.
2665         * benchtests/bench-strcasestr.c: New file.
2666         * benchtests/bench-strcat-ifunc.c: New file.
2667         * benchtests/bench-strcat.c: New file.
2668         * benchtests/bench-strchr-ifunc.c: New file.
2669         * benchtests/bench-strchr.c: New file.
2670         * benchtests/bench-strchrnul-ifunc.c: New file.
2671         * benchtests/bench-strchrnul.c: New file.
2672         * benchtests/bench-strcmp-ifunc.c: New file.
2673         * benchtests/bench-strcmp.c: New file.
2674         * benchtests/bench-strcpy-ifunc.c: New file.
2675         * benchtests/bench-strcpy.c: New file.
2676         * benchtests/bench-strcspn-ifunc.c: New file.
2677         * benchtests/bench-strcspn.c: New file.
2678         * benchtests/bench-strlen-ifunc.c: New file.
2679         * benchtests/bench-strlen.c: New file.
2680         * benchtests/bench-strncasecmp-ifunc.c: New file.
2681         * benchtests/bench-strncasecmp.c: New file.
2682         * benchtests/bench-strncat-ifunc.c: New file.
2683         * benchtests/bench-strncat.c: New file.
2684         * benchtests/bench-strncmp-ifunc.c: New file.
2685         * benchtests/bench-strncmp.c: New file.
2686         * benchtests/bench-strncpy-ifunc.c: New file.
2687         * benchtests/bench-strncpy.c: New file.
2688         * benchtests/bench-strnlen-ifunc.c: New file.
2689         * benchtests/bench-strnlen.c: New file.
2690         * benchtests/bench-strpbrk-ifunc.c: New file.
2691         * benchtests/bench-strpbrk.c: New file.
2692         * benchtests/bench-strrchr-ifunc.c: New file.
2693         * benchtests/bench-strrchr.c: New file.
2694         * benchtests/bench-strspn-ifunc.c: New file.
2695         * benchtests/bench-strspn.c: New file.
2696         * benchtests/bench-strstr-ifunc.c: New file.
2697         * benchtests/bench-strstr.c: New file.
2699         * benchtests/Makefile: Disable parallel execution of targets.
2700         (string-bench): Add memcpy.
2701         (benchset): New variable to store a list of benchmark sets.
2702         (bench-func): Renamed from bench.
2703         (bench-set): New target.
2704         (bench): Depend on bench-func and bench-set.
2705         * benchtests/README: Add section on benchmark sets.
2706         * benchtests/bench-memcpy-ifunc.c: New file.
2707         * benchtests/bench-memcpy.c: New file.
2708         * benchtests/bench-string.h: New file.
2710 2013-06-11  Andreas Schwab  <schwab@suse.de>
2712         [BZ #15577]
2713         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2714         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2715         values in the triple.
2716         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2717         terminator in the group key.
2719 2013-06-11  Andreas Jaeger  <aj@suse.de>
2721         * po/zh_TW.po: Update Chinese (traditional) translation from
2722         translation project.
2724 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2726         * include/time.h (__clock_gettime): Add libc_hidden_proto.
2727         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2728         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
2729         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2730         (clock_getcpuclockid): Likewise.
2731         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2732         Add weak_alias and libc_hidden_def.
2733         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2734         * rt/clock_gettime.c (clock_gettime): Rename to
2735         __clock_gettime.  Add weak_alias and libc_hidden_def.
2736         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2737         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2738         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
2739         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2740         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2741         Likewise.
2742         * rt/clock_settime.c (clock_settime): Rename to
2743         __clock_settime.  Add weak_alias and libc_hidden_def.
2744         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2746 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
2748         * mach/err_boot.sub: Remove trailing whitespace.
2749         * mach/err_ipc.sub: Likewise.
2750         * mach/err_mach.sub: Likewise.
2752         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2753         (ROUNDING_TESTS_double): Likewise.
2754         (ROUNDING_TESTS_long_double): Likewise.
2755         (ROUNDING_TESTS): Likewise.
2756         * math/libm-test.inc: Include <math-tests.h>.
2757         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2758         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2759         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2760         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2762 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2764         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2765         of assigning.
2767 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
2769         * sysdeps/gnu/errlist.awk: Do not generate space at end of
2770         otherwise empty TRANS lines.
2771         * sysdeps/gnu/errlist.c: Regenerated.
2773         * catgets/gencat.c (error_print): Use (void) in function
2774         definition.
2775         * crypt/crypt_util.c (__init_des): Likewise.
2776         * crypt/speeds.c (Stop): Likewise.
2777         (main): Likewise.
2778         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2779         * inet/ruserpass.c (token): Likewise.
2780         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2781         * intl/localealias.c (extend_alias_table): Likewise.
2782         * intl/plural-exp.c (init_germanic_plural): Likewise.
2783         * libio/fcloseall.c (__fcloseall): Likewise.
2784         * libio/genops.c (_IO_flush_all): Likewise.
2785         (_IO_flush_all_linebuffered): Likewise.
2786         (_IO_cleanup): Likewise.
2787         (_IO_iter_begin): Likewise.
2788         (_IO_iter_end): Likewise.
2789         (_IO_list_lock): Likewise.
2790         (_IO_list_unlock): Likewise.
2791         (_IO_list_resetlock): Likewise.
2792         * libio/getchar.c (getchar): Likewise.
2793         * libio/getchar_u.c (getchar_unlocked): Likewise.
2794         * libio/getwchar.c (getwchar): Likewise.
2795         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2796         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2797         * login/getpt.c (__getpt): Likewise.
2798         * login/tst-utmp.c (main): Likewise.
2799         * malloc/hooks.c (__malloc_check_init): Likewise.
2800         * malloc/malloc.c (__malloc_stats): Likewise.
2801         * malloc/mtrace.c (tr_break): Likewise.
2802         (mtrace): Likewise.
2803         (muntrace): Likewise.
2804         * misc/fstab.c (endfsent): Likewise.
2805         * misc/getclktck.c (__getclktck): Likewise.
2806         * misc/getdtsz.c (__getdtablesize): Likewise.
2807         * misc/gethostid.c (gethostid): Likewise.
2808         * misc/getpagesize.c (__getpagesize): Likewise.
2809         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2810         (__get_nprocs): Likewise.
2811         (__get_phys_pages): Likewise.
2812         (__get_avphys_pages): Likewise.
2813         * misc/getttyent.c (getttyent): Likewise.
2814         (setttyent): Likewise.
2815         (endttyent): Likewise.
2816         * misc/getusershell.c (getusershell): Likewise.
2817         (endusershell): Likewise.
2818         (setusershell): Likewise.
2819         (initshells): Likewise.
2820         * misc/hsearch.c (__hdestroy): Likewise.
2821         * misc/sync.c (sync): Likewise.
2822         * misc/syslog.c (closelog_internal): Likewise.
2823         (closelog): Likewise.
2824         * misc/ttyslot.c (ttyslot): Likewise.
2825         * misc/vhangup.c (vhangup): Likewise.
2826         * posix/fork.c (__fork): Likewise.
2827         * posix/getegid.c (__getegid): Likewise.
2828         * posix/geteuid.c (__geteuid): Likewise.
2829         * posix/getgid.c (__getgid): Likewise.
2830         * posix/getpid.c (__getpid): Likewise.
2831         * posix/getppid.c (__getppid): Likewise.
2832         * posix/getuid.c (__getuid): Likewise.
2833         * posix/pause.c (pause): Likewise.
2834         * posix/setpgrp.c (setpgrp): Likewise.
2835         * posix/setsid.c (__setsid): Likewise.
2836         * posix/test-vfork.c (noop): Likewise.
2837         * resolv/gethnamaddr.c (_endhtent): Likewise.
2838         (_gethtent): Likewise.
2839         (ht_endhostent): Likewise.
2840         (gethostent): Likewise.
2841         (dns_service): Likewise.
2842         * stdlib/drand48.c (drand48): Likewise.
2843         * stdlib/lrand48.c (lrand48): Likewise.
2844         * stdlib/mrand48.c (mrand48): Likewise.
2845         * stdlib/rand.c (rand): Likewise.
2846         * stdlib/random.c (__random): Likewise.
2847         * stdlib/setenv.c (clearenv): Likewise.
2848         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2849         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2850         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2851         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2852         (__get_nprocs): Likewise.
2853         (__get_phys_pages): Likewise.
2854         (__get_avphys_pages): Likewise.
2855         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2856         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2857         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2858         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2859         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2860         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2861         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2862         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2863         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2864         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2865         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2866         * sysdeps/mach/hurd/sync.c (sync): Likewise.
2867         * sysdeps/posix/clock.c (clock): Likewise.
2868         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2869         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2870         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2871         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2872         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2873         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2874         (__get_nprocs_conf): Likewise.
2875         (__get_phys_pages): Likewise.
2876         (__get_avphys_pages): Likewise.
2877         * time/clock.c (clock): Likewise.
2878         * time/tzset.c (__tzname_max): Likewise.
2880 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
2882         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2883         (__bswap_32): Do not use "register".
2884         * crypt/crypt.c (_ufc_doit_r): Likewise.
2885         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2886         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2887         * gmon/gmon.c (__monstartup): Likewise.
2888         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2889         * hurd/hurdmalloc.c (more_memory): Likewise.
2890         (malloc): Likewise.
2891         (free): Likewise.
2892         (realloc): Likewise.
2893         (malloc_fork_prepare): Likewise.
2894         (malloc_fork_parent): Likewise.
2895         (malloc_fork_child): Likewise.
2896         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2897         (_svcauth_des): Likewise.
2898         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2899         * inet/inet_net.c (inet_network): Likewise.
2900         * inet/inet_netof.c (inet_netof): Likewise.
2901         * inet/rcmd.c (__validuser2_sa): Likewise.
2902         * io/fts.c (fts_open): Likewise.
2903         (fts_load): Likewise.
2904         (fts_close): Likewise.
2905         (fts_read): Likewise.
2906         (fts_children): Likewise.
2907         (fts_build): Likewise.
2908         (fts_stat): Likewise.
2909         (fts_sort): Likewise.
2910         (fts_alloc): Likewise.
2911         (fts_lfree): Likewise.
2912         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2913         (_IO_file_xsgetn): Likewise.
2914         (_IO_file_xsgetn_mmap): Likewise.
2915         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2916         (_IO_cookie_write): Likewise.
2917         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2918         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2919         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2920         * malloc/obstack.c (_obstack_begin): Likewise.
2921         (_obstack_begin_1): Likewise.
2922         (_obstack_newchunk): Likewise.
2923         (_obstack_allocated_p): Likewise.
2924         (obstack_free): Likewise.
2925         (_obstack_memory_used): Likewise.
2926         * misc/getttyent.c (getttynam): Likewise.
2927         (getttyent): Likewise.
2928         (skip): Likewise.
2929         (value): Likewise.
2930         * misc/getusershell.c (initshells): Likewise.
2931         * misc/syslog.c (__vsyslog_chk): Likewise.
2932         * misc/ttyslot.c (ttyslot): Likewise.
2933         * nis/nis_hash.c (__nis_hash): Likewise.
2934         * posix/fnmatch_loop.c (FCT): Likewise.
2935         * posix/getconf.c (print_all): Likewise.
2936         (main): Likewise.
2937         * posix/getopt.c (exchange): Likewise.
2938         * posix/glob.c (globfree): Likewise.
2939         (prefix_array): Likewise.
2940         (__glob_pattern_type): Likewise.
2941         * resolv/arpa/nameser.h (NS_GET16): Likewise.
2942         (NS_GET32): Likewise.
2943         (NS_PUT16): Likewise.
2944         (NS_PUT32): Likewise.
2945         * resolv/gethnamaddr.c (getanswer): Likewise.
2946         (gethostbyname2): Likewise.
2947         (gethostbyaddr): Likewise.
2948         (_gethtent): Likewise.
2949         (_gethtbyname2): Likewise.
2950         (_gethtbyaddr): Likewise.
2951         * resolv/ns_print.c (dst_s_get_int16): Likewise.
2952         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2953         * resolv/res_init.c (__res_vinit): Likewise.
2954         (net_mask): Likewise.
2955         * resolv/res_mkquery.c (outchar): Likewise.
2956         (PRINT): Likewise.
2957         * stdio-common/printf_fp.c (outchar): Likewise.
2958         (PRINT): Likewise.
2959         * stdio-common/printf_fphex.c (outchar): Likewise.
2960         (PRINT): Likewise.
2961         * stdio-common/printf_size.c (outchar): Likewise.
2962         (PRINT): Likewise.
2963         * stdio-common/test_rdwr.c (main): Likewise.
2964         * stdio-common/tfformat.c (matches): Likewise.
2965         * stdio-common/vfprintf.c (outchar): Likewise.
2966         (printf_unknown): Likewise.
2967         (buffered_vfprintf): Likewise.
2968         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2969         * stdio-common/xbug.c (AppendToBuffer): Likewise.
2970         (ReadFile): Likewise.
2971         * stdlib/qsort.c (SWAP): Likewise.
2972         (_quicksort): Likewise.
2973         * stdlib/setenv.c (__add_to_environ): Likewise.
2974         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2975         * stdlib/strtol_l.c (__strtol_l): Likewise.
2976         * stdlib/tst-strtod.c (main): Likewise.
2977         * stdlib/tst-strtol.c (main): Likewise.
2978         * stdlib/tst-strtoll.c (main): Likewise.
2979         * string/bits/string2.h (__strcmp_cc): Likewise.
2980         (__strcmp_cg): Likewise.
2981         (__strcspn_c1): Likewise.
2982         (__strcspn_c2): Likewise.
2983         (__strcspn_c3): Likewise.
2984         (__strspn_c1): Likewise.
2985         (__strspn_c2): Likewise.
2986         (__strspn_c3): Likewise.
2987         (__strsep_1c): Likewise.
2988         (__strsep_2c): Likewise.
2989         (__strsep_3c): Likewise.
2990         * string/memccpy.c (__memccpy): Likewise.
2991         * string/stpcpy.c (__stpcpy): Likewise.
2992         * string/strcmp.c (strcmp): Likewise.
2993         * string/strrchr.c (strrchr): Likewise.
2994         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2995         Likewise.
2996         * sysdeps/mach/hurd/getcwd.c
2997         (_hurd_canonicalize_directory_name_internal): Likewise.
2998         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2999         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3000         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3001         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3002         Likewise, in both definitions.
3003         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3004         definitions.
3005         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3006         64] (__bswap_64): Likewise.
3007         * time/test_time.c (main): Likewise.
3008         * time/tzfile.c (__tzfile_read): Likewise.
3009         (__tzfile_compute): Likewise.
3010         * time/tzset.c (__tzset_parse_tz): Likewise.
3011         (tzset_internal): Likewise.
3012         (compute_change): Likewise.
3013         * wcsmbs/wcscat.c (__wcscat): Likewise.
3014         * wcsmbs/wcschr.c (wcschr): Likewise.
3015         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3016         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3017         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3018         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3019         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3020         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3021         * wcsmbs/wmemchr.c (wmemchr): Likewise.
3022         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3023         * wcsmbs/wmemset.c (wmemset): Likewise.
3025 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
3027         * scripts/config.guess: Update to version 2013-05-16.
3028         * scripts/config.sub: Update to version 2013-04-24.
3029         * scripts/install-sh: Update to version 2011-11-20.07.
3030         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3031         * scripts/move-if-change: Update to version 2012-01-06 07:23.
3033 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
3035         * debug/fgetws_u_chk.c: Fix leading whitespaces.
3036         * elf/sln.c: Likewise.
3037         * hurd/hurd/ioctl.h: Likewise.
3038         * hurd/hurdmalloc.c: Likewise.
3039         * hurd/xattr.c: Likewise.
3040         * include/shlib-compat.h: Likewise.
3041         * inet/ruserpass.c: Likewise.
3042         * libio/iofgets_u.c: Likewise.
3043         * libio/iofgetws_u.c: Likewise.
3044         * locale/programs/ld-identification.c: Likewise.
3045         * locale/programs/ld-time.c: Likewise.
3046         * mach/msg-destroy.c: Likewise.
3047         * nss/nss_files/files-netgrp.c: Likewise.
3048         * resolv/res_data.c: Likewise.
3049         * soft-fp/op-1.h: Likewise.
3050         * soft-fp/op-2.h: Likewise.
3051         * soft-fp/op-4.h: Likewise.
3052         * soft-fp/op-common.h: Likewise.
3053         * stdio-common/printf_fphex.c: Likewise.
3054         * stdlib/strtod_l.c: Likewise.
3055         * sunrpc/rpc/clnt.h: Likewise.
3056         * sysdeps/generic/framestate.c: Likewise.
3057         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3058         * sysdeps/i386/bsd-setjmp.S: Likewise.
3059         * sysdeps/i386/__longjmp.S: Likewise.
3060         * sysdeps/i386/setjmp.S: Likewise.
3061         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3062         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3063         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3064         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3065         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3066         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3067         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3068         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3069         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3070         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3071         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3072         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3073         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3074         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3075         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3076         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3077         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3078         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3079         * sysdeps/ieee754/support.c: Likewise.
3080         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3081         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3082         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3083         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3084         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3085         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3086         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3087         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3088         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3089         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3090         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3091         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3092         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3093         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3094         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3095         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3096         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3099 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
3101         * posix/transbug.c: Remove executable mode.
3103 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
3105         * crypt/speeds.c: Remove trailing whitespace.
3106         * dlfcn/default.c: Likewise.
3107         * elf/ifuncdep2.c: Likewise.
3108         * elf/ifuncmain1.c: Likewise.
3109         * elf/ifuncmain1vis.c: Likewise.
3110         * elf/testobj.h: Likewise.
3111         * elf/tst-stackguard1.c: Likewise.
3112         * gmon/sys/gmon.h: Likewise.
3113         * hurd/hurdmsg.c: Likewise.
3114         * hurd/new-fd.c: Likewise.
3115         * hurd/ports-get.c: Likewise.
3116         * iconvdata/ibm1008_420.c: Likewise.
3117         * inet/tst-getni1.c: Likewise.
3118         * inet/tst-getni2.c: Likewise.
3119         * libio/ioungetc.c: Likewise.
3120         * libio/wfiledoalloc.c: Likewise.
3121         * manual/libm-err-tab.pl: Likewise.
3122         * math/w_dremf.c: Likewise.
3123         * misc/ftruncate.c: Likewise.
3124         * posix/bug-glob2.c: Likewise.
3125         * posix/tst-pcre.c: Likewise.
3126         * posix/wait4.c: Likewise.
3127         * resolv/README: Likewise.
3128         * resolv/res_debug.h: Likewise.
3129         * resolv/tst-inet_ntop.c: Likewise.
3130         * setjmp/bug269-setjmp.c: Likewise.
3131         * soft-fp/extended.h: Likewise.
3132         * soft-fp/op-1.h: Likewise.
3133         * soft-fp/op-2.h: Likewise.
3134         * soft-fp/op-4.h: Likewise.
3135         * soft-fp/op-8.h: Likewise.
3136         * soft-fp/testit.c: Likewise.
3137         * stdio-common/bug16.c: Likewise.
3138         * stdlib/random.c: Likewise.
3139         * sunrpc/rpcsvc/rquota.x: Likewise.
3140         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3141         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3142         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3143         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3144         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3145         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3146         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3147         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3148         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3149         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3150         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3151         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3152         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3153         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3154         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3155         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3156         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3157         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3158         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3159         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3160         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3161         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3162         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3163         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3164         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3165         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3166         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3167         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3168         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3169         * sysdeps/ieee754/s_lib_version.c: Likewise.
3170         * sysdeps/mach/hurd/check_fds.c: Likewise.
3171         * sysdeps/mach/hurd/getsockname.c: Likewise.
3172         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3173         * sysdeps/mach/hurd/recvfrom.c: Likewise.
3174         * sysdeps/powerpc/bits/link.h: Likewise.
3175         * sysdeps/powerpc/dl-procinfo.c: Likewise.
3176         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3177         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3178         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3179         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3180         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3181         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3182         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3183         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3184         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3185         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3186         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3187         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3188         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3189         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3190         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3191         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3192         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3193         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3194         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3195         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3196         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3197         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3198         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3199         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3200         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3201         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3202         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3203         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3204         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3205         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3206         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3207         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3208         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3209         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3210         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3211         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3212         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3213         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3214         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3215         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3216         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3217         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3218         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3219         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3220         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3221         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3222         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3223         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3224         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3225         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3226         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3227         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3228         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3229         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3230         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3231         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3232         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3233         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3234         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3235         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3236         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3237         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3238         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3239         * sysdeps/powerpc/sysdep.h: Likewise.
3240         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3241         * sysdeps/s390/s390-64/sub_n.S: Likewise.
3242         * sysdeps/sh/dl-trampoline.S: Likewise.
3243         * sysdeps/sh/memset.S: Likewise.
3244         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3245         * sysdeps/sh/strlen.S: Likewise.
3246         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3247         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3248         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3249         * sysdeps/sparc/sparc32/rem.S: Likewise.
3250         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3251         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3252         * sysdeps/sparc/sparc32/strchr.S: Likewise.
3253         * sysdeps/sparc/sparc32/udiv.S: Likewise.
3254         * sysdeps/sparc/sparc32/urem.S: Likewise.
3255         * sysdeps/sparc/sparc64/add_n.S: Likewise.
3256         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3257         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3258         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3259         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3260         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3261         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3262         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3263         * sysdeps/unix/bsd/times.c: Likewise.
3264         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3265         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3269         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3270         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3271         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3272         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3273         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3274         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3275         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3276         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3277         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3278         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3279         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3280         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3281         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3282         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3283         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3284         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3285         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3286         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3287         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3288         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3289         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3290         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3291         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3292         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3293         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3294         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3295         * sysdeps/x86_64/strcspn.S: Likewise.
3297 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3299         * locale/C-translit.h: Revert #include <stdint.h> because this is a
3300         generated file.  Regenerate properly from gen-translit.pl.
3301         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
3302         locale/C-translit.h.
3304 2013-06-05  Andreas Schwab  <schwab@suse.de>
3306         [BZ #15100]
3307         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3308         week as 6 instead of -1.
3309         * time/tst-strptime.c (day_tests): Add test case.
3311 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3313         * sysdeps/generic/math_private.h
3314         (libc_feholdexcept_setround_53bit): Replace with
3315         libc_feholdsetround_53bit.
3316         (libc_feupdateenv_53bit): Replace with
3317         libc_feresetround_53bit.
3318         (SET_RESTORE_ROUND_53BIT): Adjust.
3320 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3322         * string/test-strchrnul.c: Add copyright header.
3324         * posix/tst-getaddrinfo4.c: Increase test timeout.
3326 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
3328         [BZ #15536]
3329         * math/libm-test.inc (MAX_EXP): Remove
3330         (MIN_EXP): Define.
3331         (ulp): Use MIN_EXP - MANT_DIG.
3332         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3334 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
3336         * po/be.po: Revert last change.
3337         * po/zh_CN.po: Likewise.
3338         * po/header.pot: Likewise.
3340 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
3342         * Makefile ($(common-objpfx)linkobj/libc.so): Define
3343         link-libc-deps to empty as target-specific variable.
3344         * Makerules (link-libc-args): New variable.
3345         (libc-for-link): Likewise.
3346         (link-libc-deps): Likewise.
3347         (lib%.so): Depend on $(link-libc-deps).  Link with
3348         $(link-libc-args).
3349         (build-module): Link with $(link-libc-args).
3350         (build-module-asneeded): Likewise.
3351         (build-module-helper-objlist): Filter out $(link-libc-deps) from
3352         list of objects.
3353         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3354         target-specific variable.
3355         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3356         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3357         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3358         libc.
3359         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3360         libc and ld.so.
3361         ($(objpfx)libpcprofile.so): Likewise.
3362         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3363         libc_nonshared.a.
3364         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3365         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3366         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3367         $(link-libc-deps).
3368         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3369         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3370         * login/Makefile ($(objpfx)libutil.so): Likewise.
3371         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3372         * math/Makefile ($(objpfx)libm.so): Likewise.
3373         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3374         $(objpfx)libnsl.so): Define libc-for-link as target-specific
3375         variable instead of depending directly on libc.
3376         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3377         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3378         $(link-libc-deps).
3379         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3380         libc.
3381         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3382         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3383         ($(objpfx)libanl.so): Likewise.
3384         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3385         ld.so.
3386         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3387         $(link-libc-deps).
3388         * sysdeps/i386/fpu/Makefile: Remove file.
3389         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3390         ($(objpfx)libm.so): Remove dependency on ld.so.
3392 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
3394         [BZ # 15553]
3395         * nis/yp_xdr.c (XDRMAXNAME): Define.
3396         (XDRMAXRECORD): Define.
3397         (xdr_domainname): Use XDRMAXNAME.
3398         (xdr_mapname): Likewise.
3399         (xdr_peername): Likewise.
3400         (xdr_keydat): Use XDRMAXRECORD.
3401         (xdr_valdat): Likewise.
3403 2013-05-30  Jeff Law  <law@redhat.com>
3405         [BZ #14256]
3406         * manual/errno.texi (ESTALE): Update to account for more than
3407         just NFS file systems.
3408         * sysdeps/gnu/errlist.c: Regenerated.
3410 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3412         [BZ #15465]
3413         * elf/Makefile (tests): Add tst-null-argv.
3414         (modules-names):  Add tst-null-argv-lib.
3415         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3416         (tst-null-argv-ENV): Set environment for tst-null-argv.
3417         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3418         (RTLD_PROGNAME): New macro.
3419         * elf/tst-null-argv.c: New test case.
3420         * elf/tst-null-argv-lib.c: Library for test case.
3421         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3422         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3423         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3424         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3425         * elf/dl-init.c (call_init): Likewise.
3426         (_dl_init): Likewise.
3427         * elf/dl-load.c (print_search_path): Likewise.
3428         (_dl_map_object): Likewise.
3429         * elf/dl-lookup.c (do_lookup_x): Likewise.
3430         (add_dependency): Likewise.
3431         (_dl_lookup_symbol_x): Likewise.
3432         (_dl_debug_bindings): Likewise.
3433         * elf/dl-open.c (_dl_show_scope): Likewise.
3434         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3435         * elf/dl-version.c (match_symbol): Likewise.
3436         (_dl_check_map_versions): Likewise.
3437         * elf/rtld.c (dl_main): Likewise.
3438         (print_unresolved): Use RTLD_PROGNAME.
3439         (print_missing_version): Likewise.
3440         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3441         (elf_machine_rela): Likewise.
3442         * sysdeps/powerpc/powerpc32/dl-machine.c
3443         (__process_machine_rela): Likewise.
3444         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3445         Likewise.
3446         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3447         Likewise.
3448         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3449         Likewise.
3450         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3451         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3452         Likewise.
3453         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3454         Likewise.
3455         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3457 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
3459         * po/be.po: Add descriptive title.
3460         * po/zh_CN.po: Likewise.
3461         * po/header.pot: Likewise.
3463 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
3465         * locale/programs/locarchive.c (create_archive): Inlucde fname in
3466         error message.
3467         (enlarge_archive): Likewise.
3469 2013-05-28  Ben North  <ben@redfrontdoor.org>
3471         * manual/arith.texi (frexp): It is the magnitude of the return
3472         value which lies in [0.5, 1), not the return value itself.
3474 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3478 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
3480         * stdio-common/bug26.c (main): Correct fscanf template.
3482         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3483         declare _dl_skip_args.
3485         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3486         Don't declare.
3488         * manual/platform.texi: Add missing @end deftypefun.
3490 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
3492         [BZ #15529]
3493         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3494         bit of mantissa of 2^16382.
3495         * math/libm-test.inc (hypot_test_data): Add more tests.
3497         * math/libm-test.inc: Add drem and pow10 to list of tested
3498         functions.
3499         (pow10_test): New function.
3500         (drem_test): Likewise.
3501         (drem_test_tonearest): Likewise.
3502         (drem_test_towardzero): Likewise.
3503         (drem_test_downward): Likewise.
3504         (drem_test_upward): Likewise.
3505         (main): Call the new functions.
3507         * math/libm-test.inc (finite_test_data): Remove.
3508         (finite_test): Run tests from isfinite_test_data.
3509         (gamma_test_data): Remove.
3510         (gamma_test): Run tests from lgamma_test_data.
3511         * sysdeps/i386/fpu/libm-test-ulps: Update.
3512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3514 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3516         * manual/platform.texi: Add PowerPC PPR function set documentation.
3517         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3518         implementation.
3520 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
3522         * math/libm-test.inc (MAX_EXP): Define.
3523         (ULPDIFF): Define.
3524         (ulp): New function.
3525         (check_float_internal): Use ULPDIFF.
3526         (cpow_test): Disable failing test.
3527         (check_ulp): Test ulp() implemetnation.
3528         (main): Call check_ulp before starting tests.
3530 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
3532         * math/gen-libm-test.pl (generate_testfile): Do not handle
3533         START_DATA and END_DATA.
3534         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3535         END_DATA.
3536         (acos_tonearest_test_data): Likewise.
3537         (acos_towardzero_test_data): Likewise.
3538         (acos_downward_test_data): Likewise.
3539         (acos_upward_test_data): Likewise.
3540         (acosh_test_data): Likewise.
3541         (asin_test_data): Likewise.
3542         (asin_tonearest_test_data): Likewise.
3543         (asin_towardzero_test_data): Likewise.
3544         (asin_downward_test_data): Likewise.
3545         (asin_upward_test_data): Likewise.
3546         (asinh_test_data): Likewise.
3547         (atan_test_data): Likewise.
3548         (atanh_test_data): Likewise.
3549         (atan2_test_data): Likewise.
3550         (cabs_test_data): Likewise.
3551         (cacos_test_data): Likewise.
3552         (cacosh_test_data): Likewise.
3553         (carg_test_data): Likewise.
3554         (casin_test_data): Likewise.
3555         (casinh_test_data): Likewise.
3556         (catan_test_data): Likewise.
3557         (catanh_test_data): Likewise.
3558         (cbrt_test_data): Likewise.
3559         (ccos_test_data): Likewise.
3560         (ccosh_test_data): Likewise.
3561         (ceil_test_data): Likewise.
3562         (cexp_test_data): Likewise.
3563         (cimag_test_data): Likewise.
3564         (clog_test_data): Likewise.
3565         (clog10_test_data): Likewise.
3566         (conj_test_data): Likewise.
3567         (copysign_test_data): Likewise.
3568         (cos_test_data): Likewise.
3569         (cos_tonearest_test_data): Likewise.
3570         (cos_towardzero_test_data): Likewise.
3571         (cos_downward_test_data): Likewise.
3572         (cos_upward_test_data): Likewise.
3573         (cosh_test_data): Likewise.
3574         (cosh_tonearest_test_data): Likewise.
3575         (cosh_towardzero_test_data): Likewise.
3576         (cosh_downward_test_data): Likewise.
3577         (cosh_upward_test_data): Likewise.
3578         (cpow_test_data): Likewise.
3579         (cproj_test_data): Likewise.
3580         (creal_test_data): Likewise.
3581         (csin_test_data): Likewise.
3582         (csinh_test_data): Likewise.
3583         (csqrt_test_data): Likewise.
3584         (ctan_test_data): Likewise.
3585         (ctan_tonearest_test_data): Likewise.
3586         (ctan_towardzero_test_data): Likewise.
3587         (ctan_downward_test_data): Likewise.
3588         (ctan_upward_test_data): Likewise.
3589         (ctanh_test_data): Likewise.
3590         (ctanh_tonearest_test_data): Likewise.
3591         (ctanh_towardzero_test_data): Likewise.
3592         (ctanh_downward_test_data): Likewise.
3593         (ctanh_upward_test_data): Likewise.
3594         (erf_test_data): Likewise.
3595         (erfc_test_data): Likewise.
3596         (exp_test_data): Likewise.
3597         (exp_tonearest_test_data): Likewise.
3598         (exp_towardzero_test_data): Likewise.
3599         (exp_downward_test_data): Likewise.
3600         (exp_upward_test_data): Likewise.
3601         (exp10_test_data): Likewise.
3602         (exp2_test_data): Likewise.
3603         (expm1_test_data): Likewise.
3604         (fabs_test_data): Likewise.
3605         (fdim_test_data): Likewise.
3606         (finite_test_data): Likewise.
3607         (floor_test_data): Likewise.
3608         (fma_test_data): Likewise.
3609         (fma_towardzero_test_data): Likewise.
3610         (fma_downward_test_data): Likewise.
3611         (fma_upward_test_data): Likewise.
3612         (fmax_test_data): Likewise.
3613         (fmin_test_data): Likewise.
3614         (fmod_test_data): Likewise.
3615         (fpclassify_test_data): Likewise.
3616         (frexp_test_data): Likewise.
3617         (gamma_test_data): Likewise.
3618         (hypot_test_data): Likewise.
3619         (ilogb_test_data): Likewise.
3620         (isfinite_test_data): Likewise.
3621         (isgreater_test_data): Likewise.
3622         (isgreaterequal_test_data): Likewise.
3623         (isinf_test_data): Likewise.
3624         (isless_test_data): Likewise.
3625         (islessequal_test_data): Likewise.
3626         (islessgreater_test_data): Likewise.
3627         (isnan_test_data): Likewise.
3628         (isnormal_test_data): Likewise.
3629         (issignaling_test_data): Likewise.
3630         (isunordered_test_data): Likewise.
3631         (j0_test_data): Likewise.
3632         (j1_test_data): Likewise.
3633         (jn_test_data): Likewise.
3634         (ldexp_test_data): Likewise.
3635         (lgamma_test_data): Likewise.
3636         (lrint_test_data): Likewise.
3637         (lrint_tonearest_test_data): Likewise.
3638         (lrint_towardzero_test_data): Likewise.
3639         (lrint_downward_test_data): Likewise.
3640         (lrint_upward_test_data): Likewise.
3641         (llrint_test_data): Likewise.
3642         (llrint_tonearest_test_data): Likewise.
3643         (llrint_towardzero_test_data): Likewise.
3644         (llrint_downward_test_data): Likewise.
3645         (llrint_upward_test_data): Likewise.
3646         (log_test_data): Likewise.
3647         (log10_test_data): Likewise.
3648         (log1p_test_data): Likewise.
3649         (log2_test_data): Likewise.
3650         (logb_test_data): Likewise.
3651         (logb_downward_test_data): Likewise.
3652         (lround_test_data): Likewise.
3653         (llround_test_data): Likewise.
3654         (modf_test_data): Likewise.
3655         (nearbyint_test_data): Likewise.
3656         (nextafter_test_data): Likewise.
3657         (nexttoward_test_data): Likewise.
3658         (pow_test_data): Likewise.
3659         (pow_tonearest_test_data): Likewise.
3660         (pow_towardzero_test_data): Likewise.
3661         (pow_downward_test_data): Likewise.
3662         (pow_upward_test_data): Likewise.
3663         (remainder_test_data): Likewise.
3664         (remainder_tonearest_test_data): Likewise.
3665         (remainder_towardzero_test_data): Likewise.
3666         (remainder_downward_test_data): Likewise.
3667         (remainder_upward_test_data): Likewise.
3668         (remquo_test_data): Likewise.
3669         (rint_test_data): Likewise.
3670         (rint_tonearest_test_data): Likewise.
3671         (rint_towardzero_test_data): Likewise.
3672         (rint_downward_test_data): Likewise.
3673         (rint_upward_test_data): Likewise.
3674         (round_test_data): Likewise.
3675         (scalb_test_data): Likewise.
3676         (scalbn_test_data): Likewise.
3677         (scalbln_test_data): Likewise.
3678         (signbit_test_data): Likewise.
3679         (sin_test_data): Likewise.
3680         (sin_tonearest_test_data): Likewise.
3681         (sin_towardzero_test_data): Likewise.
3682         (sin_downward_test_data): Likewise.
3683         (sin_upward_test_data): Likewise.
3684         (sincos_test_data): Likewise.
3685         (sinh_test_data): Likewise.
3686         (sinh_tonearest_test_data): Likewise.
3687         (sinh_towardzero_test_data): Likewise.
3688         (sinh_downward_test_data): Likewise.
3689         (sinh_upward_test_data): Likewise.
3690         (sqrt_test_data): Likewise.
3691         (tan_test_data): Likewise.
3692         (tan_tonearest_test_data): Likewise.
3693         (tan_towardzero_test_data): Likewise.
3694         (tan_downward_test_data): Likewise.
3695         (tan_upward_test_data): Likewise.
3696         (tanh_test_data): Likewise.
3697         (tgamma_test_data): Likewise.
3698         (trunc_test_data): Likewise.
3699         (y0_test_data): Likewise.
3700         (y1_test_data): Likewise.
3701         (yn_test_data): Likewise.
3702         (significand_test_data): Likewise.
3704         * math/gen-libm-test.pl (@functions): Remove variable.
3705         (generate_testfile): Don't handle START and END lines.
3706         * math/libm-test.inc (START): New macro.
3707         (END): Likewise.
3708         (END_COMPLEX): Likewise.
3709         (acos_test): Use END macro without arguments.
3710         (acos_test_tonearest): Likewise.
3711         (acos_test_towardzero): Likewise.
3712         (acos_test_downward): Likewise.
3713         (acos_test_upward): Likewise.
3714         (acosh_test): Likewise.
3715         (asin_test): Likewise.
3716         (asin_test_tonearest): Likewise.
3717         (asin_test_towardzero): Likewise.
3718         (asin_test_downward): Likewise.
3719         (asin_test_upward): Likewise.
3720         (asinh_test): Likewise.
3721         (atan_test): Likewise.
3722         (atanh_test): Likewise.
3723         (atan2_test): Likewise.
3724         (cabs_test): Likewise.
3725         (cacos_test): Use END_COMPLEX macro without arguments.
3726         (cacosh_test): Likewise.
3727         (carg_test): Use END macro without arguments.
3728         (casin_test): Use END_COMPLEX macro without arguments.
3729         (casinh_test): Likewise.
3730         (catan_test): Likewise.
3731         (catanh_test): Likewise.
3732         (cbrt_test): Use END macro without arguments.
3733         (ccos_test): Use END_COMPLEX macro without arguments.
3734         (ccosh_test): Likewise.
3735         (ceil_test): Use END macro without arguments.
3736         (cexp_test): Use END_COMPLEX macro without arguments.
3737         (cimag_test): Use END macro without arguments.
3738         (clog_test): Use END_COMPLEX macro without arguments.
3739         (clog10_test): Likewise.
3740         (conj_test): Likewise.
3741         (copysign_test): Use END macro without arguments.
3742         (cos_test): Likewise.
3743         (cos_test_tonearest): Likewise.
3744         (cos_test_towardzero): Likewise.
3745         (cos_test_downward): Likewise.
3746         (cos_test_upward): Likewise.
3747         (cosh_test): Likewise.
3748         (cosh_test_tonearest): Likewise.
3749         (cosh_test_towardzero): Likewise.
3750         (cosh_test_downward): Likewise.
3751         (cosh_test_upward): Likewise.
3752         (cpow_test): Use END_COMPLEX macro without arguments.
3753         (cproj_test): Likewise.
3754         (creal_test): Use END macro without arguments.
3755         (csin_test): Use END_COMPLEX macro without arguments.
3756         (csinh_test): Likewise.
3757         (csqrt_test): Likewise.
3758         (ctan_test): Likewise.
3759         (ctan_test_tonearest): Likewise.
3760         (ctan_test_towardzero): Likewise.
3761         (ctan_test_downward): Likewise.
3762         (ctan_test_upward): Likewise.
3763         (ctanh_test): Likewise.
3764         (ctanh_test_tonearest): Likewise.
3765         (ctanh_test_towardzero): Likewise.
3766         (ctanh_test_downward): Likewise.
3767         (ctanh_test_upward): Likewise.
3768         (erf_test): Use END macro without arguments.
3769         (erfc_test): Likewise.
3770         (exp_test): Likewise.
3771         (exp_test_tonearest): Likewise.
3772         (exp_test_towardzero): Likewise.
3773         (exp_test_downward): Likewise.
3774         (exp_test_upward): Likewise.
3775         (exp10_test): Likewise.
3776         (exp2_test): Likewise.
3777         (expm1_test): Likewise.
3778         (fabs_test): Likewise.
3779         (fdim_test): Likewise.
3780         (finite_test): Likewise.
3781         (floor_test): Likewise.
3782         (fma_test): Likewise.
3783         (fma_test_towardzero): Likewise.
3784         (fma_test_downward): Likewise.
3785         (fma_test_upward): Likewise.
3786         (fmax_test): Likewise.
3787         (fmin_test): Likewise.
3788         (fmod_test): Likewise.
3789         (fpclassify_test): Likewise.
3790         (frexp_test): Likewise.
3791         (gamma_test): Likewise.
3792         (hypot_test): Likewise.
3793         (ilogb_test): Likewise.
3794         (isfinite_test): Likewise.
3795         (isgreater_test): Likewise.
3796         (isgreaterequal_test): Likewise.
3797         (isinf_test): Likewise.
3798         (isless_test): Likewise.
3799         (islessequal_test): Likewise.
3800         (islessgreater_test): Likewise.
3801         (isnan_test): Likewise.
3802         (isnormal_test): Likewise.
3803         (issignaling_test): Likewise.
3804         (isunordered_test): Likewise.
3805         (j0_test): Likewise.
3806         (j1_test): Likewise.
3807         (jn_test): Likewise.
3808         (ldexp_test): Likewise.
3809         (lgamma_test): Likewise.
3810         (lrint_test): Likewise.
3811         (lrint_test_tonearest): Likewise.
3812         (lrint_test_towardzero): Likewise.
3813         (lrint_test_downward): Likewise.
3814         (lrint_test_upward): Likewise.
3815         (llrint_test): Likewise.
3816         (llrint_test_tonearest): Likewise.
3817         (llrint_test_towardzero): Likewise.
3818         (llrint_test_downward): Likewise.
3819         (llrint_test_upward): Likewise.
3820         (log_test): Likewise.
3821         (log10_test): Likewise.
3822         (log1p_test): Likewise.
3823         (log2_test): Likewise.
3824         (logb_test): Likewise.
3825         (logb_test_downward): Likewise.
3826         (lround_test): Likewise.
3827         (llround_test): Likewise.
3828         (modf_test): Likewise.
3829         (nearbyint_test): Likewise.
3830         (nextafter_test): Likewise.
3831         (nexttoward_test): Likewise.
3832         (pow_test): Likewise.
3833         (pow_test_tonearest): Likewise.
3834         (pow_test_towardzero): Likewise.
3835         (pow_test_downward): Likewise.
3836         (pow_test_upward): Likewise.
3837         (remainder_test): Likewise.
3838         (remainder_test_tonearest): Likewise.
3839         (remainder_test_towardzero): Likewise.
3840         (remainder_test_downward): Likewise.
3841         (remainder_test_upward): Likewise.
3842         (remquo_test): Likewise.
3843         (rint_test): Likewise.
3844         (rint_test_tonearest): Likewise.
3845         (rint_test_towardzero): Likewise.
3846         (rint_test_downward): Likewise.
3847         (rint_test_upward): Likewise.
3848         (round_test): Likewise.
3849         (scalb_test): Likewise.
3850         (scalbn_test): Likewise.
3851         (scalbln_test): Likewise.
3852         (signbit_test): Likewise.
3853         (sin_test): Likewise.
3854         (sin_test_tonearest): Likewise.
3855         (sin_test_towardzero): Likewise.
3856         (sin_test_downward): Likewise.
3857         (sin_test_upward): Likewise.
3858         (sincos_test): Likewise.
3859         (sinh_test): Likewise.
3860         (sinh_test_tonearest): Likewise.
3861         (sinh_test_towardzero): Likewise.
3862         (sinh_test_downward): Likewise.
3863         (sinh_test_upward): Likewise.
3864         (sqrt_test): Likewise.
3865         (tan_test): Likewise.
3866         (tan_test_tonearest): Likewise.
3867         (tan_test_towardzero): Likewise.
3868         (tan_test_downward): Likewise.
3869         (tan_test_upward): Likewise.
3870         (tanh_test): Likewise.
3871         (tgamma_test): Likewise.
3872         (trunc_test): Likewise.
3873         (y0_test): Likewise.
3874         (y1_test): Likewise.
3875         (yn_test): Likewise.
3876         (significand_test): Likewise.
3878 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
3880         [BZ #15381]
3881         * libio/genops.c (_IO_no_init): Initialize wide struct info.
3883 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
3885         [BZ #14894]
3886         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3887         __ppc_mdoio and __ppc_mdoom.
3888         * manual/platform.texi: Document new functions __ppc_yield,
3889         __ppc_mdoio and __ppc_mdoom.
3891 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
3893         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3894         (main): Mention "tls" pseudo-hwcap is legacy.
3895         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3897 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
3899         * math/gen-libm-test.pl (parse_args): Output only string of
3900         arguments as text for test name, not full call or descriptions of
3901         tests for extra outputs.
3902         (generate_testfile): Do not pass function name to parse_args.
3903         Generate this_func variable from START.
3904         * math/libm-test.inc (struct test_f_f_data): Rename test_name
3905         field to arg_str.
3906         (struct test_ff_f_data): Likewise.
3907         (test_ff_f_data_nexttoward): Likewise.
3908         (struct test_fi_f_data): Likewise.
3909         (struct test_fl_f_data): Likewise.
3910         (struct test_if_f_data): Likewise.
3911         (struct test_fff_f_data): Likewise.
3912         (struct test_c_f_data): Likewise.
3913         (struct test_f_f1_data): Likewise.  Remove field extra_name.
3914         (struct test_fF_f1_data): Likewise.
3915         (struct test_ffI_f1_data): Likewise.
3916         (struct test_c_c_data): Rename test_name field to arg_str.
3917         (struct test_cc_c_data): Likewise.
3918         (struct test_f_i_data): Likewise.
3919         (struct test_ff_i_data): Likewise.
3920         (struct test_f_l_data): Likewise.
3921         (struct test_f_L_data): Likewise.
3922         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
3923         and extra2_name.
3924         (COMMON_TEST_SETUP): New macro.
3925         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3926         (COMMON_TEST_CLEANUP): Likewise.
3927         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3928         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
3929         macros.
3930         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3931         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
3932         macros.
3933         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3934         (RUN_TEST_fff_f): Take argument string.  Call new setup and
3935         cleanup macros.
3936         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3937         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
3938         macros.
3939         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3940         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
3941         macros.
3942         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3943         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
3944         cleanup macros.
3945         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3946         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
3947         cleanup macros.
3948         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3949         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
3950         cleanup macros.
3951         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3952         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
3953         macros.
3954         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3955         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
3956         macros.
3957         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3958         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
3959         macros.
3960         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3961         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
3962         cleanup macros.
3963         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3964         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
3965         cleanup macros.
3966         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3967         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
3968         macros.
3969         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3970         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
3971         cleanup macros.
3972         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3973         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
3974         macros.
3975         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3976         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
3977         macros.
3978         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3979         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
3980         cleanup macros.
3981         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3983 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3985         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3986         to _sifields.sigfault.
3987         (si_addr_lsb): Define new macro.
3988         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3989         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3990         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3992 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
3994         [BZ #15441]
3995         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3996         returns -1.
3997         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3998         null return -1.
3999         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4000         loading the domain.
4002 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4004         * math/gen-libm-test.pl (parse_args): Do not include expected
4005         result in test name.
4006         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4007         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4008         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4009         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4010         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4013 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4015         * benchtests/Makefile: Sort function entries.
4017         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4018         tanh, asinh, acosh, atanh.
4019         * benchtests/acos-inputs: New file.
4020         * benchtests/acosh-inputs: New file.
4021         * benchtests/asin-inputs: New file.
4022         * benchtests/asinh-inputs: New file.
4023         * benchtests/atanh-inputs: New file.
4024         * benchtests/cosh-inputs: New file.
4025         * benchtests/log-inputs: New file.
4026         * benchtests/sinh-inputs: New file.
4027         * benchtests/tanh-inputs: New file.
4029 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
4031         [BZ #15339]
4032         * posix/tst-getaddrinfo4.c: New test.
4033         * posix/Makefile (tests): Add it.
4035 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4037         [BZ #15339]
4038         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4039         when no services were used.
4040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4041         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4043 2013-05-21  Andreas Schwab  <schwab@suse.de>
4045         [BZ #15014]
4046         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4047         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4048         successful.
4049         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4050         redundant variable declarations and reallocation of buffer when
4051         parsing as IPv6 address.  Always set NSS status when called from
4052         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
4053         buffer too small.  Correct computation of needed size.
4054         * nss/Makefile (tests): Add test-digits-dots.
4055         * nss/test-digits-dots.c: New test.
4057 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4059         * benchtests/Makefile: Remove instructions for adding
4060         benchmark tests.
4061         * benchtests/README: New file to explain how to execute and
4062         enhance the benchmark tests.
4064 2013-05-21  Andreas Schwab  <schwab@suse.de>
4066         [BZ #15493]
4067         * setjmp/Makefile (tests): Add tst-sigsetjmp.
4068         * setjmp/tst-sigsetjmp.c: New test.
4070 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4072         * sysdeps/x86_64/memset.S (memset): New implementation.
4073         (__bzero): Likewise.
4074         (__memset_tail): New function.
4076 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4078         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4079         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4080         __memcpy_sse2_unaligned ifunc selection.
4081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4082         Add memcpy-sse2-unaligned.S.
4083         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4084         Add: __memcpy_sse2_unaligned.
4086 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
4088         [BZ #15490]
4089         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4090         math_force_eval before restoring floating-point envrionment.
4091         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4092         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4093         Likewise.
4094         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4095         <math_private.h>.
4096         (__nearbyintl): Use math_force_eval before restoring
4097         floating-point environment.
4098         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4100         * math/gen-libm-test.pl (special_functions): Remove.
4101         (parse_args): Don't handle TEST_extra.  Handle functions with no
4102         return value.
4103         * math/libm-test.inc (struct test_sincos_data): Replace with
4104         struct test_fFF_11_data.
4105         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4106         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4107         (sincos_test_data): Change element type to struct
4108         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
4109         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4110         RUN_TEST_LOOP_sincos.
4111         * math/README.libm-test: Don't mention special handling of
4112         individual functions.
4113         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4114         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4115         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4116         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4117         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4120         * math/gen-libm-test.pl (get_variable): Remove function.
4121         (parse_args): Don't show pointer parameters to call in test
4122         names.  Use "extra output N" in test names for extra outputs
4123         rather than naming variables.
4125 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
4127         [BZ #15488]
4128         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4129         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4130         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4131         double tests.
4132         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4133         disable.
4134         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4135         check_long_double.
4137         * math/gen-libm-test.pl (@tests): Remove variable.
4138         ($count): Likewise.
4139         (new_test): Remove function.
4140         (show_exceptions): New function.
4141         (special_functions): Use show_exceptions instead of new_test.
4142         (parse_args): Likewise.
4143         (generate_testfile): Pass only function name in generated call to
4144         print_max_error or print_complex_max_error.
4145         (get_ulps): Do not handle complex tests specially.
4146         (output_test): Rename to ...
4147         (get_all_ulps_for_test): ... this.  Return a string rather than
4148         printing to a file.  Require ulps to be present.
4149         (output_ulps): Generate arrays rather than #defines.
4150         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4151         (struct ulp_data): New type.
4152         (BUILD_COMPLEX_ULP): Remove macro.
4153         (compare_ulp_data): New function.
4154         (find_ulps): Likewise.
4155         (find_test_ulps): Likewise.
4156         (find_function_ulps): Likewise.
4157         (find_complex_function_ulps): Likewise.
4158         (print_max_error): Determine allowed ulps using
4159         find_function_ulps.
4160         (print_complex_max_error): Determine allowed ulps using
4161         find_complex_function_ulps.
4162         (check_float_internal): Determine max ulps using find_test_ulps.
4163         (check_float): Do not take max_ulp parameter.  Update call to
4164         check_float_internal.
4165         (check_complex): Likewise.
4166         (check_int): Do not take max_ulp parameter.
4167         (check_long): Likewise.
4168         (check_bool): Likewise.
4169         (check_longlong): Likewise.
4170         (struct test_f_f_data): Remove max_ulp field.
4171         (struct test_ff_f_data): Likewise.
4172         (struct test_ff_f_data_nexttoward): Likewise.
4173         (struct test_fi_f_data): Likewise.
4174         (struct test_fl_f_data): Likewise.
4175         (struct test_if_f_data): Likewise.
4176         (struct test_fff_f_data): Likewise.
4177         (struct test_c_f_data): Likewise.
4178         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4179         (struct test_fF_f1_data): Likewise.
4180         (struct test_ffI_f1_data): Likewise.
4181         (struct test_c_c_data): Remove max_ulp field.
4182         (struct test_cc_c_data): Likewise.
4183         (struct test_f_i_data): Likewise.
4184         (struct test_ff_i_data): Likewise.
4185         (struct test_f_l_data): Likewise.
4186         (struct test_f_L_data): Likewise.
4187         (struct test_sincos_data): Likewise.
4188         (RUN_TEST_f_f): Do not handle ulps.
4189         (RUN_TEST_LOOP_f_f): Likewise.
4190         (RUN_TEST_2_f): Likewise.
4191         (RUN_TEST_LOOP_2_f): Likewise.
4192         (RUN_TEST_fff_f): Likewise.
4193         (RUN_TEST_LOOP_fff_f): Likewise.
4194         (RUN_TEST_c_f): Likewise.
4195         (RUN_TEST_LOOP_c_f): Likewise.
4196         (RUN_TEST_f_f1): Likewise.
4197         (RUN_TEST_LOOP_f_f1): Likewise.
4198         (RUN_TEST_fF_f1): Likewise.
4199         (RUN_TEST_LOOP_fF_f1): Likewise.
4200         (RUN_TEST_fI_f1): Likewise.
4201         (RUN_TEST_LOOP_fI_f1): Likewise.
4202         (RUN_TEST_ffI_f1): Likewise.
4203         (RUN_TEST_LOOP_ffI_f1): Likewise.
4204         (RUN_TEST_c_c): Likewise.
4205         (RUN_TEST_LOOP_c_c): Likewise.
4206         (RUN_TEST_cc_c): Likewise.
4207         (RUN_TEST_LOOP_cc_c): Likewise.
4208         (RUN_TEST_f_i): Likewise.
4209         (RUN_TEST_LOOP_f_i): Likewise.
4210         (RUN_TEST_f_i_tg): Likewise.
4211         (RUN_TEST_LOOP_f_i_tg): Likewise.
4212         (RUN_TEST_ff_i_tg): Likewise.
4213         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4214         (RUN_TEST_f_b): Likewise.
4215         (RUN_TEST_LOOP_f_b): Likewise.
4216         (RUN_TEST_f_b_tg): Likewise.
4217         (RUN_TEST_LOOP_f_b_tg): Likewise.
4218         (RUN_TEST_f_l): Likewise.
4219         (RUN_TEST_LOOP_f_l): Likewise.
4220         (RUN_TEST_f_L): Likewise.
4221         (RUN_TEST_LOOP_f_L): Likewise.
4222         (RUN_TEST_sincos): Likewise.
4223         (RUN_TEST_LOOP_sincos): Likewise.
4225 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
4227         [BZ #15480]
4228         [BZ #15485]
4229         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4230         main case of finite arguments, set rounding mode to FE_TONEAREST
4231         and discard exceptions.
4232         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4233         exceptions.
4234         (remainder_tonearest_test_data): New variable.
4235         (remainder_test_tonearest): New function.
4236         (remainder_towardzero_test_data): New variable.
4237         (remainder_test_towardzero): New function.
4238         (remainder_downward_test_data): New variable.
4239         (remainder_test_downward): New function.
4240         (remainder_upward_test_data): New variable.
4241         (remainder_test_upward): New function.
4242         (main): Call the new test functions.
4244         * math/libm-test.inc (struct test_f_f1_data): Remove field
4245         extra_init.
4246         (struct test_fF_f1_data): Likewise.
4247         (struct test_ffI_f1_data): Likewise.
4248         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
4249         based on value of EXTRA_EXPECTED.
4250         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4251         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
4252         EXTRA_VAR based on value of EXTRA_EXPECTED.
4253         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4254         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
4255         EXTRA_VAR based on value of EXTRA_EXPECTED.
4256         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4257         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
4258         EXTRA_VAR based on value of EXTRA_EXPECTED.
4259         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4260         * math/gen-libm-test.pl (parse_args): Don't output initializers
4261         for extra output values.
4263         * math/libm-test.inc (check_int): Expect result to be exactly
4264         equal to expected value and do not handle ulps.
4265         (check_long): Likewise.
4266         (check_longlong): Likewise.
4268         * math/libm-test.inc (ceil_test_data): Test for "inexact"
4269         exceptions.
4270         (cimag_test_data): Likewise.
4271         (conj_test_data): Likewise.
4272         (copysign_test_data): Likewise.
4273         (cproj_test_data): Likewise.
4274         (creal_test_data): Likewise.
4275         (fabs_test_data): Likewise.
4276         (fdim_test_data): Likewise.
4277         (finite_test_data): Likewise.
4278         (floor_test_data): Likewise.
4279         (fmax_test_data): Likewise.
4280         (fmin_test_data): Likewise.
4281         (fmod_test_data): Likewise.
4282         (fpclassify_test_data): Likewise.
4283         (frexp_test_data): Likewise.
4284         (ilogb_test_data): Likewise.
4285         (isfinite_test_data): Likewise.
4286         (isgreater_test_data): Likewise.
4287         (isgreaterequal_test_data): Likewise.
4288         (isinf_test_data): Likewise.
4289         (isless_test_data): Likewise.
4290         (islessequal_test_data): Likewise.
4291         (islessgreater_test_data): Likewise.
4292         (isnan_test_data): Likewise.
4293         (isnormal_test_data): Likewise.
4294         (issignaling_test_data): Likewise.
4295         (isunordered_test_data): Likewise.
4296         (ldexp_test_data): Likewise.
4297         (lrint_test_data): Likewise.
4298         (lrint_test_data) [TEST_FLOAT]: Disable one test.
4299         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4300         (lrint_tonearest_test_data): Test for "inexact" exceptions.
4301         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4302         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4303         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4304         test input.
4305         (lrint_towardzero_test_data): Test for "inexact" exceptions.
4306         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4307         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4308         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4309         that test input.
4310         (lrint_downward_test_data): Test for "inexact" exceptions.
4311         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4312         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4313         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4314         test input.
4315         (lrint_upward_test_data): Test for "inexact" exceptions.
4316         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4317         test input.
4318         (llrint_test_data): Test for "inexact" exceptions.
4319         (llrint_test_data) [TEST_FLOAT]: Disable one test.
4320         (llrint_tonearest_test_data): Test for "inexact" exceptions.
4321         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4322         (llrint_towardzero_test_data): Test for "inexact" exceptions.
4323         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4324         (llrint_downward_test_data): Test for "inexact" exceptions.
4325         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4326         (llrint_upward_test_data): Test for "inexact" exceptions.
4327         (logb_test_data): Likewise.
4328         (logb_downward_test_data): Likewise.
4329         (nextafter_test_data): Likewise.
4330         (nexttoward_test_data): Likewise.
4331         (remainder_test_data): Likewise.
4332         (remquo_test_data): Likewise.
4333         (scalbn_test_data): Likewise.
4334         (scalbln_test_data): Likewise.
4335         (signbit_test_data): Likewise.
4336         (sqrt_test_data): Likewise.
4337         (significand_test_data): Likewise.
4339 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4341         [BZ #15424]
4342         * benchtests/bench-modf.c (struct args): Mark arg0 as
4343         volatile.
4344         * scripts/bench.pl: Mark members of struct args as volatile.
4346 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4348         [BZ # 15497]
4349         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4350         negative infinity on POWER6 or lower.
4351         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4353 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4355         [BZ #15442]
4356         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4357         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4358         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4359         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4360         (_FP_SETQNAN): New macro.
4361         (_FP_SETQNAN_SEMIRAW): Likewise.
4362         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4363         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4364         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4365         (FP_EXTEND): Use _FP_FRAC_SNANP.
4366         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4367         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4368         into account.
4369         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4370         New macro.
4371         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4372         Likewise.
4374 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4376         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4377         with DIVIDE_BY_ZERO_EXCEPTION.
4378         (gamma_test_data): Likewise.
4379         (lgamma_test_data): Likewise.
4380         (log_test_data): Likewise.
4381         (log10_test_data): Likewise.
4382         (log2_test_data): Likewise.
4383         (tgamma_test_data): Likewise.
4385         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4386         (acos_test_tonearest): Likewise.
4387         (acos_test_towardzero): Likewise.
4388         (acos_test_downward): Likewise.
4389         (acos_test_upward): Likewise.
4390         (acosh_test): Likewise.
4391         (asin_test): Likewise.
4392         (asin_test_tonearest): Likewise.
4393         (asin_test_towardzero): Likewise.
4394         (asin_test_downward): Likewise.
4395         (asin_test_upward): Likewise.
4396         (asinh_test): Likewise.
4397         (atan_test): Likewise.
4398         (atanh_test): Likewise.
4399         (atan2_test): Likewise.
4400         (cabs_test): Likewise.
4401         (cacos_test): Likewise.
4402         (cacosh_test): Likewise.
4403         (casin_test): Likewise.
4404         (casinh_test): Likewise.
4405         (catan_test): Likewise.
4406         (catanh_test): Likewise.
4407         (cbrt_test): Likewise.
4408         (ccos_test): Likewise.
4409         (ccosh_test): Likewise.
4410         (cexp_test): Likewise.
4411         (clog_test): Likewise.
4412         (clog10_test): Likewise.
4413         (cos_test): Likewise.
4414         (cos_test_tonearest): Likewise.
4415         (cos_test_towardzero): Likewise.
4416         (cos_test_downward): Likewise.
4417         (cos_test_upward): Likewise.
4418         (cosh_test): Likewise.
4419         (cosh_test_tonearest): Likewise.
4420         (cosh_test_towardzero): Likewise.
4421         (cosh_test_downward): Likewise.
4422         (cosh_test_upward): Likewise.
4423         (cpow_test): Likewise.
4424         (csin_test): Likewise.
4425         (csinh_test): Likewise.
4426         (csqrt_test): Likewise.
4427         (ctan_test): Likewise.
4428         (ctan_test_tonearest): Likewise.
4429         (ctan_test_towardzero): Likewise.
4430         (ctan_test_downward): Likewise.
4431         (ctan_test_upward): Likewise.
4432         (ctanh_test): Likewise.
4433         (ctanh_test_tonearest): Likewise.
4434         (ctanh_test_towardzero): Likewise.
4435         (ctanh_test_downward): Likewise.
4436         (ctanh_test_upward): Likewise.
4437         (erf_test): Likewise.
4438         (erfc_test): Likewise.
4439         (exp_test): Likewise.
4440         (exp_test_tonearest): Likewise.
4441         (exp_test_towardzero): Likewise.
4442         (exp_test_downward): Likewise.
4443         (exp_test_upward): Likewise.
4444         (exp10_test): Likewise.
4445         (exp2_test): Likewise.
4446         (expm1_test): Likewise.
4447         (fmod_test): Likewise.
4448         (gamma_test): Likewise.
4449         (hypot_test): Likewise.
4450         (j0_test): Likewise.
4451         (j1_test): Likewise.
4452         (jn_test): Likewise.
4453         (lgamma_test): Likewise.
4454         (log_test): Likewise.
4455         (log10_test): Likewise.
4456         (log1p_test): Likewise.
4457         (log2_test): Likewise.
4458         (logb_test_downward): Likewise.
4459         (pow_test): Likewise.
4460         (pow_test_tonearest): Likewise.
4461         (pow_test_towardzero): Likewise.
4462         (pow_test_downward): Likewise.
4463         (pow_test_upward): Likewise.
4464         (remainder_test): Likewise.
4465         (remquo_test): Likewise.
4466         (sin_test): Likewise.
4467         (sin_test_tonearest): Likewise.
4468         (sin_test_towardzero): Likewise.
4469         (sin_test_downward): Likewise.
4470         (sin_test_upward): Likewise.
4471         (sincos_test): Likewise.
4472         (sinh_test): Likewise.
4473         (sinh_test_tonearest): Likewise.
4474         (sinh_test_towardzero): Likewise.
4475         (sinh_test_downward): Likewise.
4476         (sinh_test_upward): Likewise.
4477         (sqrt_test): Likewise.
4478         (tan_test): Likewise.
4479         (tan_test_tonearest): Likewise.
4480         (tan_test_towardzero): Likewise.
4481         (tan_test_downward): Likewise.
4482         (tan_test_upward): Likewise.
4483         (tanh_test): Likewise.
4484         (tgamma_test): Likewise.
4485         (y0_test): Likewise.
4486         (y1_test): Likewise.
4487         (yn_test): Likewise.
4489         * math/gen-libm-test.pl (adjust_arg): Remove function.
4490         (special_function): Remove argument $in_func.  Only handle
4491         generating output for tables of tests, not inside functions.
4492         (parse_args): Likewise.
4493         (generate_testfile): Remove variable $in_func.  Update call to
4494         parse_args.
4495         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4496         (MINUS_ZERO_INIT): Rename macro to minus_zero.
4497         (PLUS_INFTY_INIT): Rename macro to plus_infty.
4498         (MINUS_INFTY_INIT): Rename macro to minus_infty.
4499         (QNAN_VALUE_INIT): Rename macro to qnan_value.
4500         (MAX_VALUE_INIT): Rename macro to max_value.
4501         (MIN_VALUE_INIT): Rename macro to min_value.
4502         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4503         (plus_zero): Remove variable.
4504         (minus_zero): Likewise.
4505         (plus_infty): Likewise.
4506         (minus_infty): Likewise.
4507         (qnan_value): Likewise.
4508         (max_value): Likewise.
4509         (min_value): Likewise.
4510         (min_subnorm_value): Likewise.
4512 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4514         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4515         uint64_t or uint32_t usage.
4516         * crypt/sha256-block.c: Likewise.
4517         * crypt/sha256-crypt.c: Likewise.
4518         * crypt/sha256.c: Likewise.
4519         * crypt/sha512-block.c: Likewise.
4520         * crypt/sha512-crypt.c: Likewise.
4521         * crypt/sha512.c: Likewise.
4522         * debug/backtrace-tst.c: Likewise.
4523         * debug/pcprofiledump.c: Likewise.
4524         * elf/cache.c: Likewise.
4525         * elf/dl-cache.c: Likewise.
4526         * elf/dl-misc.c: Likewise.
4527         * elf/dl-profile.c: Likewise.
4528         * elf/dl-support.c: Likewise.
4529         * elf/ldconfig.c: Likewise.
4530         * elf/sprof.c: Likewise.
4531         * iconv/dummy-repertoire.c: Likewise.
4532         * iconv/iconv_charmap.c: Likewise.
4533         * iconv/skeleton.c: Likewise.
4534         * iconvdata/8bit-generic.c: Likewise.
4535         * iconvdata/cp737.h: Likewise.
4536         * iconvdata/cp775.h: Likewise.
4537         * iconvdata/ibm1008.h: Likewise.
4538         * iconvdata/ibm1025.h: Likewise.
4539         * iconvdata/ibm1046.h: Likewise.
4540         * iconvdata/ibm1097.h: Likewise.
4541         * iconvdata/ibm1112.h: Likewise.
4542         * iconvdata/ibm1122.h: Likewise.
4543         * iconvdata/ibm1123.h: Likewise.
4544         * iconvdata/ibm1124.h: Likewise.
4545         * iconvdata/ibm1129.h: Likewise.
4546         * iconvdata/ibm1130.h: Likewise.
4547         * iconvdata/ibm1132.h: Likewise.
4548         * iconvdata/ibm1133.h: Likewise.
4549         * iconvdata/ibm1137.h: Likewise.
4550         * iconvdata/ibm1140.h: Likewise.
4551         * iconvdata/ibm1141.h: Likewise.
4552         * iconvdata/ibm1142.h: Likewise.
4553         * iconvdata/ibm1143.h: Likewise.
4554         * iconvdata/ibm1144.h: Likewise.
4555         * iconvdata/ibm1145.h: Likewise.
4556         * iconvdata/ibm1146.h: Likewise.
4557         * iconvdata/ibm1147.h: Likewise.
4558         * iconvdata/ibm1148.h: Likewise.
4559         * iconvdata/ibm1149.h: Likewise.
4560         * iconvdata/ibm1153.h: Likewise.
4561         * iconvdata/ibm1154.h: Likewise.
4562         * iconvdata/ibm1155.h: Likewise.
4563         * iconvdata/ibm1156.h: Likewise.
4564         * iconvdata/ibm1157.h: Likewise.
4565         * iconvdata/ibm1158.h: Likewise.
4566         * iconvdata/ibm1160.h: Likewise.
4567         * iconvdata/ibm1161.h: Likewise.
4568         * iconvdata/ibm1162.h: Likewise.
4569         * iconvdata/ibm1163.h: Likewise.
4570         * iconvdata/ibm1164.h: Likewise.
4571         * iconvdata/ibm1166.h: Likewise.
4572         * iconvdata/ibm1167.h: Likewise.
4573         * iconvdata/ibm12712.h: Likewise.
4574         * iconvdata/ibm1390.h: Likewise.
4575         * iconvdata/ibm1399.h: Likewise.
4576         * iconvdata/ibm16804.h: Likewise.
4577         * iconvdata/ibm4517.h: Likewise.
4578         * iconvdata/ibm4899.h: Likewise.
4579         * iconvdata/ibm4909.h: Likewise.
4580         * iconvdata/ibm4971.h: Likewise.
4581         * iconvdata/ibm5347.h: Likewise.
4582         * iconvdata/ibm803.h: Likewise.
4583         * iconvdata/ibm856.h: Likewise.
4584         * iconvdata/ibm901.h: Likewise.
4585         * iconvdata/ibm902.h: Likewise.
4586         * iconvdata/ibm9030.h: Likewise.
4587         * iconvdata/ibm9066.h: Likewise.
4588         * iconvdata/ibm921.h: Likewise.
4589         * iconvdata/ibm922.h: Likewise.
4590         * iconvdata/ibm9448.h: Likewise.
4591         * iconvdata/isiri-3342.h: Likewise.
4592         * iconvdata/jis0201.h: Likewise.
4593         * include/link.h: Likewise.
4594         * include/netdb.h: Likewise.
4595         * inet/check_native.c: Likewise.
4596         * inet/check_pf.c: Likewise.
4597         * inet/getipv4sourcefilter.c: Likewise.
4598         * inet/getnameinfo.c: Likewise.
4599         * inet/getsourcefilter.c: Likewise.
4600         * inet/htonl.c: Likewise.
4601         * inet/setipv4sourcefilter.c: Likewise.
4602         * inet/setsourcefilter.c: Likewise.
4603         * inet/test-inet6_opt.c: Likewise.
4604         * inet/tst-network.c: Likewise.
4605         * locale/C-collate.c: Likewise.
4606         * locale/C-ctype.c: Likewise.
4607         * locale/C-time.c: Likewise.
4608         * locale/C-translit.h: Likewise.
4609         * locale/loadarchive.c: Likewise.
4610         * locale/programs/3level.h: Likewise.
4611         * locale/programs/charmap.c: Likewise.
4612         * locale/programs/charmap.h: Likewise.
4613         * locale/programs/ld-address.c: Likewise.
4614         * locale/programs/ld-collate.c: Likewise.
4615         * locale/programs/ld-ctype.c: Likewise.
4616         * locale/programs/ld-identification.c: Likewise.
4617         * locale/programs/ld-measurement.c: Likewise.
4618         * locale/programs/ld-messages.c: Likewise.
4619         * locale/programs/ld-monetary.c: Likewise.
4620         * locale/programs/ld-name.c: Likewise.
4621         * locale/programs/ld-numeric.c: Likewise.
4622         * locale/programs/ld-paper.c: Likewise.
4623         * locale/programs/ld-telephone.c: Likewise.
4624         * locale/programs/ld-time.c: Likewise.
4625         * locale/programs/linereader.c: Likewise.
4626         * locale/programs/locale.c: Likewise.
4627         * locale/programs/locarchive.c: Likewise.
4628         * locale/programs/locfile.h: Likewise.
4629         * locale/programs/repertoire.c: Likewise.
4630         * locale/programs/simple-hash.c: Likewise.
4631         * locale/programs/simple-hash.h: Likewise.
4632         * malloc/memusage.c: Likewise.
4633         * malloc/memusagestat.c: Likewise.
4634         * nis/nis_defaults.c: Likewise.
4635         * nis/nis_hash.c: Likewise.
4636         * nis/nis_print.c: Likewise.
4637         * nis/nis_xdr.c: Likewise.
4638         * nscd/connections.c: Likewise.
4639         * nscd/hstcache.c: Likewise.
4640         * nscd/nscd_gethst_r.c: Likewise.
4641         * nscd/nscd_getserv_r.c: Likewise.
4642         * nscd/nscd_helper.c: Likewise.
4643         * nscd/servicescache.c: Likewise.
4644         * nss/makedb.c: Likewise.
4645         * nss/nss_db/db-XXX.c: Likewise.
4646         * nss/nss_db/db-initgroups.c: Likewise.
4647         * nss/nss_db/db-netgrp.c: Likewise.
4648         * nss/nss_files/files-network.c: Likewise.
4649         * nss/nss_files/files-parse.c: Likewise.
4650         * posix/bug-regex5.c: Likewise.
4651         * posix/fnmatch_loop.c: Likewise.
4652         * posix/regcomp.c: Likewise.
4653         * posix/regexec.c: Likewise.
4654         * posix/tst-rfc3484-2.c: Likewise.
4655         * posix/tst-rfc3484-3.c: Likewise.
4656         * posix/tst-rfc3484.c: Likewise.
4657         * resolv/nss_dns/dns-canon.c: Likewise.
4658         * resolv/nss_dns/dns-network.c: Likewise.
4659         * resolv/res_init.c: Likewise.
4660         * resolv/res_mkquery.c: Likewise.
4661         * resolv/tst-aton.c: Likewise.
4662         * stdlib/cxa_atexit.c: Likewise.
4663         * stdlib/cxa_finalize.c: Likewise.
4664         * stdlib/gen-fpioconst.c: Likewise.
4665         * stdlib/strtol_l.c: Likewise.
4666         * string/tst-endian.c: Likewise.
4667         * sunrpc/auth_des.c: Likewise.
4668         * sunrpc/clnt_udp.c: Likewise.
4669         * sunrpc/rtime.c: Likewise.
4670         * sunrpc/svcauth_des.c: Likewise.
4671         * sunrpc/xdr.c: Likewise.
4672         * sunrpc/xdr_intXX_t.c: Likewise.
4673         * sunrpc/xdr_rec.c: Likewise.
4674         * sysdeps/generic/ldconfig.h: Likewise.
4675         * sysdeps/generic/ldsodefs.h: Likewise.
4676         * sysdeps/generic/memusage.h: Likewise.
4677         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4678         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4679         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4680         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4681         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4682         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4683         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4684         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4685         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4686         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4687         * sysdeps/posix/getaddrinfo.c: Likewise.
4688         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4689         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4690         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4691         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4692         * sysdeps/powerpc/test-gettimebase.c: Likewise.
4693         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4694         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4695         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4696         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4697         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4698         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4699         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4700         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4701         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4702         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4703         * sysdeps/x86_64/dl-tls.h: Likewise.
4704         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4705         * time/alt_digit.c: Likewise.
4706         * time/era.c: Likewise.
4707         * wcsmbs/tst-c16c32-1.c: Likewise.
4709 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4711         * math/libm-test.inc (struct test_sincos_data): New type.
4712         (RUN_TEST_LOOP_sincos): New macro.
4713         (sincos_test_data): New variable.
4714         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4716 2013-05-16  Richard Henderson  <rth@redhat.com>
4718         * math/atest-exp2.c (LIMB64): New macro.
4719         (CONSTSZ): New macro.
4720         (mp_exp1, mp_exp_m1, mp_log2): New variables.
4721         (hexdig): Move ...
4722         (print_mpn_fp): ... to function scope.
4723         (read_mpn_hex): Remove.
4724         (get_log2): Remove.
4725         (exp2_mpn): Use mp_log2.
4726         (main): Use mp_exp1.
4728 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4730         * math/libm-test.inc: Remove comment about not testing "inexact"
4731         exceptions.
4732         (INEXACT_EXCEPTION): New macro.
4733         (NO_INEXACT_EXCEPTION): Likewise.
4734         (INVALID_EXCEPTION_OK): Update value.
4735         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4736         (OVERFLOW_EXCEPTION_OK): Likewise.
4737         (UNDERFLOW_EXCEPTION_OK): Likewise.
4738         (IGNORE_ZERO_INF_SIGN): Likewise.
4739         (ERRNO_UNCHANGED): Likewise.
4740         (ERRNO_EDOM): Likewise.
4741         (ERRNO_ERANGE): Likewise.
4742         (test_exceptions): Handle testing "inexact" exceptions.
4743         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4744         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4745         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4746         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4747         INEXACT_EXCEPTION.
4748         (rint_towardzero_test_data): Likewise.
4749         (rint_downward_test_data): Likewise.
4750         (rint_upward_test_data): Likewise.
4752         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4753         with OVERFLOW_EXCEPTION.
4754         (exp10_test_data): Likewise.
4755         (exp2_test_data): Likewise.
4756         (expm1_test_data): Likewise.
4757         (lgamma_test_data): Likewise.
4758         (pow_test_data): Likewise.
4759         (tgamma_test_data): Likewise.
4760         (yn_test_data): Remove duplicate test of overflow.
4762         * math/libm-test.inc (struct test_cc_c_data): New type.
4763         (RUN_TEST_LOOP_cc_c): New macro.
4764         (cpow_test_data): New variable.
4765         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4767         * math/libm-test.inc (struct test_f_L_data): New type.
4768         (RUN_TEST_LOOP_f_L): New macro.
4769         (llrint_test_data): New variable.
4770         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4771         (llrint_tonearest_test_data): New variable.
4772         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4773         (llrint_towardzero_test_data): New variable.
4774         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4775         (llrint_downward_test_data): New variable.
4776         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4777         (llrint_upward_test_data): New variable.
4778         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4779         (llround_test_data): New variable.
4780         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4782 2013-05-13  Peter Collingbourne  <pcc@google.com>
4784         * math/atest-exp2.c (get_log2): Remove const attribute.
4786 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4788         * math/libm-test.inc (struct test_f_l_data): New type.
4789         (RUN_TEST_LOOP_f_l): New macro.
4790         (lrint_test_data): New variable.
4791         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4792         (lrint_tonearest_test_data): New variable.
4793         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4794         (lrint_towardzero_test_data): New variable.
4795         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4796         (lrint_downward_test_data): New variable.
4797         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4798         (lrint_upward_test_data): New variable.
4799         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4800         (lround_test_data): New variable.
4801         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4803 2013-05-15  Peter Collingbourne  <pcc@google.com>
4805         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4806         (EXTRACT_WORDS64) Use where appropriate.
4807         (INSERT_WORDS64) Likewise.
4809         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4810         constraints with x constraints.
4811         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4813         * malloc/obstack.c (_obstack_compat): Add initializer.
4815 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4817         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4818         si_trapno and add si_addr_lsb to _sifields.sigfault.
4819         (si_trapno): Remove macro.
4820         (si_addr_lsb): Define new macro.
4821         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4823 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4825         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4826         instead of TEST_f_l.
4827         (llrint_test_tonearest): Likewise.
4828         (llrint_test_towardzero): Likewise.
4829         (llrint_test_downward): Likewise.
4830         (llrint_test_upward): Likewise.
4831         (llround_test): Likewise.
4833         * math/libm-test.inc (struct test_f_i_data): Add comment.
4834         (RUN_TEST_LOOP_f_b): New macro.
4835         (RUN_TEST_LOOP_f_b_tg): Likewise.
4836         (finite_test_data): New variable.
4837         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4838         (isfinite_test_data): New variable.
4839         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4840         (isinf_test_data): New variable.
4841         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4842         (isnan_test_data): New variable.
4843         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4844         (isnormal_test_data): New variable.
4845         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4846         (issignaling_test_data): New variable.
4847         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4848         (signbit_test_data): New variable.
4849         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4851         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4852         with INVALID_EXCEPTION.
4853         (acosh_test_data): Likewise.
4854         (asin_test_data): Likewise.
4855         (atanh_test_data): Likewise.
4856         (fmod_test_data): Likewise.
4857         (log_test_data): Likewise.
4858         (log10_test_data): Likewise.
4859         (log2_test_data): Likewise.
4860         (pow_test_data): Likewise.
4861         (sqrt_test_data): Likewise.
4862         (y0_test_data): Likewise.
4863         (y1_test_data): Likewise.
4864         (yn_test_data): Likewise.
4866         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4867         function contents.
4869         * math/libm-test.inc (struct test_ff_i_data): New type.
4870         (RUN_TEST_LOOP_ff_i_tg): New macro.
4871         (isgreater_test_data): New variable.
4872         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4873         (isgreaterequal_test_data): New variable.
4874         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4875         (isless_test_data): New variable.
4876         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4877         (islessequal_test_data): New variable.
4878         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4879         (islessgreater_test_data): New variable.
4880         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4881         (isunordered_test_data): New variable.
4882         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4884 2013-05-14  David S. Miller  <davem@davemloft.net>
4886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4888 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
4890         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4892         * math/libm-test.inc (struct test_fF_f1_data): Change type of
4893         extra_test to int.
4894         (struct test_f_i_data): Change type of max_ulp to int.
4896         * math/libm-test.inc (test_ffI_f1_data): New type.
4897         (RUN_TEST_LOOP_ffI_f1): New macro.
4898         (remquo_test_data): New variable.
4899         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4901         * setjmp/tst-setjmp-fp.c: New file.
4902         * setjmp/Makefile (tests): Add tst-setjmp-fp.
4903         (link-libm): New variable.
4904         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4906         * math/libm-test.inc (struct test_f_i_data): New type.
4907         (RUN_TEST_LOOP_f_i): New macro.
4908         (RUN_TEST_LOOP_f_i_tg): Likewise.
4909         (fpclassify_test_data): New variable.
4910         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4911         (ilogb_test_data): New variable.
4912         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4914         * math/libm-test.inc (scalbln_test): Correct function name in END
4915         call.
4917         * math/libm-test.inc (struct test_f_f1_data): Add comment.
4918         (RUN_TEST_LOOP_fI_f1): New macro.
4919         (frexp_test_data): New variable.
4920         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4922         * math/libm-test.inc (struct test_fF_f1_data): New type.
4923         (RUN_TEST_LOOP_fF_f1): New macro.
4924         (modf_test_data): New variable.
4925         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4927         * math/libm-test.inc (struct test_f_f1_data): New type.
4928         (RUN_TEST_LOOP_f_f1): New macro.
4929         (gamma_test_data): New variable.
4930         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4931         (lgamma_test_data): New variable.
4932         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4934 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
4936         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4937         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4938         (main): Comment "tls" pseudo-hwcap.
4940 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
4942         * math/libm-test.inc (struct test_fl_f_data): New type.
4943         (RUN_TEST_LOOP_fl_f): New variable.
4944         (scalbln_test_data): New variable.
4945         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4947         * math/libm-test.inc (struct test_fi_f_data): New type.
4948         (RUN_TEST_LOOP_fi_f): New macro.
4949         (ldexp_test_data): New variable.
4950         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4951         (scalbn_test_data): New variable.
4952         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4954         * math/libm-test.inc (struct test_c_f_data): New type.
4955         (RUN_TEST_LOOP_c_f): New macro.
4956         (cabs_test_data): New variable.
4957         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4958         (carg_test_data): New variable.
4959         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4960         (cimag_test_data): New variable.
4961         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4962         (creal_test_data): New variable.
4963         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4965         * math/libm-test.inc (struct test_if_f_data): New type.
4966         (RUN_TEST_LOOP_if_f): New macro.
4967         (jn_test_data): New variable.
4968         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4969         (yn_test_data): New variable.
4970         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4972         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4974 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4976         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4977         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4979 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4981         * benchtests/Makefile (CPPFLAGS-nonlib): Add
4982         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4983         (bench-deps): Add bench-timing.h.
4984         * benchtests-bench-skeleton.c: Include bench-timing.h.
4985         (main): Use TIMING_* macros instead of clock_gettime.
4986         * benchtests/bench-timing.h: New file.
4988         [BZ #14582]
4989         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4990         Renamed from _LIB_VERSION.
4991         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4993 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
4995         * math/libm-test.inc (struct test_fff_f_data): New type.
4996         (RUN_TEST_LOOP_fff_f): New macro.
4997         (fma_test_data): New variable.
4998         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4999         (fma_towardzero_test_data): New variable.
5000         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5001         (fma_downward_test_data): New variable.
5002         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5003         (fma_upward_test_data): New variable.
5004         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5006         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5007         (struct test_c_c_data): New type.
5008         (RUN_TEST_LOOP_c_c): New macro.
5009         (cacos_test_data): New variable.
5010         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5011         (cacosh_test_data): New variable.
5012         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5013         (casin_test_data): New variable.
5014         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5015         (casinh_test_data): New variable.
5016         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5017         (catan_test_data): New variable.
5018         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5019         (catanh_test_data): New variable.
5020         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5021         (ccos_test_data): New variable.
5022         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5023         (ccosh_test_data): New variable.
5024         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5025         (cexp_test_data): New variable.
5026         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5027         (clog_test_data): New variable.
5028         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5029         (clog10_test_data): New variable.
5030         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5031         (conj_test_data): New variable.
5032         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5033         (cproj_test_data): New variable.
5034         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5035         (csin_test_data): New variable.
5036         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5037         (csinh_test_data): New variable.
5038         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5039         (csqrt_test_data): New variable.
5040         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5041         (ctan_test_data): New variable.
5042         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5043         (ctan_tonearest_test_data): New variable.
5044         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5045         (ctan_towardzero_test_data): New variable.
5046         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5047         (ctan_downward_test_data): New variable.
5048         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5049         (ctan_upward_test_data): New variable.
5050         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5051         (ctanh_test_data): New variable.
5052         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5053         (ctanh_tonearest_test_data): New variable.
5054         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5055         (ctanh_towardzero_test_data): New variable.
5056         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5057         (ctanh_downward_test_data): New variable.
5058         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5059         (ctanh_upward_test_data): New variable.
5060         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5061         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5062         of BUILD_COMPLEX.
5064         * math/libm-test.inc (struct test_ff_f_data): New type.
5065         (struct test_ff_f_data_nexttoward): Likewise.
5066         (RUN_TEST_LOOP_2_f): New macro.
5067         (RUN_TEST_LOOP_ff_f): Likewise.
5068         (atan2_test_data): New variable.
5069         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5070         (copysign_test_data): New variable.
5071         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5072         (fdim_test_data): New variable.
5073         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5074         (fmax_test_data): New variable.
5075         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5076         (fmin_test_data): New variable.
5077         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5078         (fmod_test_data): New variable.
5079         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5080         (hypot_test_data): New variable.
5081         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5082         (nextafter_test_data): New variable.
5083         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5084         (nexttoward_test_data): New variable.
5085         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5086         (pow_test_data): New variable.
5087         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5088         (pow_tonearest_test_data): New variable.
5089         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5090         (pow_towardzero_test_data): New variable.
5091         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5092         (pow_downward_test_data): New variable.
5093         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5094         (pow_upward_test_data): New variable.
5095         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5096         (remainder_test_data): New variable.
5097         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5098         (scalb_test_data): New variable.
5099         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5100         * sysdeps/i386/fpu/libm-test-ulps: Update.
5102 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
5104         * math/libm-test.inc (fma_test): Use max_value instead of local
5105         variable fltmax.
5106         (nextafter_test): Likewise.
5108         * math/libm-test.inc (acos_towardzero_test_data): New variable.
5109         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5110         (acos_downward_test_data): New variable.
5111         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5112         (acos_upward_test_data): New variable.
5113         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5114         (acosh_test_data): New variable.
5115         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5116         (asin_test_data): New variable.
5117         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5118         (asin_tonearest_test_data): New variable.
5119         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5120         (asin_towardzero_test_data): New variable.
5121         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5122         (asin_downward_test_data): New variable.
5123         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5124         (asin_upward_test_data): New variable.
5125         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5126         (asinh_test_data): New variable.
5127         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5128         (atan_test_data): New variable.
5129         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5130         (atanh_test_data): New variable.
5131         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5132         (cbrt_test_data): New variable.
5133         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5134         (ceil_test_data): New variable.
5135         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5136         (cos_test_data): New variable.
5137         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5138         (cos_tonearest_test_data): New variable.
5139         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5140         (cos_towardzero_test_data): New variable.
5141         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5142         (cos_downward_test_data): New variable.
5143         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5144         (cos_upward_test_data): New variable.
5145         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5146         (cosh_test_data): New variable.
5147         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5148         (cosh_tonearest_test_data): New variable.
5149         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5150         (cosh_towardzero_test_data): New variable.
5151         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5152         (cosh_downward_test_data): New variable.
5153         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5154         (cosh_upward_test_data): New variable.
5155         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5156         (erf_test_data): New variable.
5157         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5158         (erfc_test_data): New variable.
5159         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5160         (exp_test_data): New variable.
5161         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5162         (exp_tonearest_test_data): New variable.
5163         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5164         (exp_towardzero_test_data): New variable.
5165         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5166         (exp_downward_test_data): New variable.
5167         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5168         (exp_upward_test_data): New variable.
5169         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5170         (exp10_test_data): New variable.
5171         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5172         (exp2_test_data): New variable.
5173         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5174         (expm1_test_data): New variable.
5175         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5176         (fabs_test_data): New variable.
5177         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5178         (floor_test_data): New variable.
5179         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5180         (j0_test_data): New variable.
5181         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5182         (j1_test_data): New variable.
5183         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5184         (log_test_data): New variable.
5185         (log_test): Run tests with RUN_TEST_LOOP_f_f.
5186         (log10_test_data): New variable.
5187         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5188         (log1p_test_data): New variable.
5189         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5190         (log2_test_data): New variable.
5191         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5192         (logb_test_data): New variable.
5193         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5194         (logb_downward_test_data): New variable.
5195         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5196         (nearbyint_test_data): New variable.
5197         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5198         (rint_test_data): New variable.
5199         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5200         (rint_tonearest_test_data): New variable.
5201         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5202         (rint_towardzero_test_data): New variable.
5203         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5204         (rint_downward_test_data): New variable.
5205         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5206         (rint_upward_test_data): New variable.
5207         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5208         (round_test_data): New variable.
5209         (round_test): Run tests with RUN_TEST_LOOP_f_f.
5210         (sin_test_data): New variable.
5211         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5212         (sin_tonearest_test_data): New variable.
5213         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5214         (sin_towardzero_test_data): New variable.
5215         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5216         (sin_downward_test_data): New variable.
5217         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5218         (sin_upward_test_data): New variable.
5219         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5220         (sinh_test_data): New variable.
5221         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5222         (sinh_tonearest_test_data): New variable.
5223         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5224         (sinh_towardzero_test_data): New variable.
5225         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5226         (sinh_downward_test_data): New variable.
5227         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5228         (sinh_upward_test_data): New variable.
5229         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5230         (sqrt_test_data): New variable.
5231         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5232         (tan_test_data): New variable.
5233         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5234         (tan_tonearest_test_data): New variable.
5235         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5236         (tan_towardzero_test_data): New variable.
5237         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5238         (tan_downward_test_data): New variable.
5239         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5240         (tan_upward_test_data): New variable.
5241         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5242         (tanh_test_data): New variable.
5243         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5244         (tgamma_test_data): New variable.
5245         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5246         (trunc_test_data): New variable.
5247         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5248         (y0_test_data): New variable.
5249         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5250         (y1_test_data): New variable.
5251         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5252         (significand_test_data): New variable.
5253         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5255 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
5257         [BZ #12387]
5258         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5260 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5262         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5264 2013-05-10  Andreas Jaeger  <aj@suse.de>
5266         [BZ #15448]
5267         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5268         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5270 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
5272         * math/gen-libm-test.pl (adjust_arg): New function.
5273         (special_functions): Handle generating output in both functions
5274         and arrays.
5275         (parse_args): Likewise.
5276         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
5277         $in_func argument to parse_args.
5278         * math/libm-test.inc (struct test_f_f_data): New type.
5279         (IF_ROUND_INIT_): New macro.
5280         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5281         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5282         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5283         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5284         (ROUND_RESTORE_): Likewise.
5285         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5286         (ROUND_RESTORE_FE_TONEAREST): Likewise.
5287         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5288         (ROUND_RESTORE_FE_UPWARD): Likewise.
5289         (RUN_TEST_LOOP_f_f): New macro.
5290         (acos_test_data): New variable.
5291         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5292         (acos_tonearest_test_data): New variable.
5293         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5295 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5297         * benchtests/bench-skeleton.c (startup): Fix coding style.
5299 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
5301         [BZ #6809]
5302         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5303         negative infinity argument.
5304         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5305         negative infinity argument.
5306         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5307         negative infinity argument.
5308         * math/libm-test.inc (tgamma_test): Expect errno to be set for
5309         domain errors.
5311 2013-05-10  Florian Weimer  <fweimer@redhat.com>
5313         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5314         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5315         * iconv/iconv_prog.c (main): Likewise.
5316         * locale/programs/charmap-dir.c (charmap_readdir)
5317         (fopen_uncompressed): Likewise.
5318         * locale/programs/locfile.c (siblings_uncached)
5319         (write_locale_data): Use lstat64 instead of lstat.
5320         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5321         stat.
5323 2013-05-10  Andreas Jaeger  <aj@suse.de>
5325         [BZ #15395]
5326         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5327         localization.
5328         Include <locale.h>.
5330 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
5332         * elf/dl-close.c (_dl_close_worker): Add comments.
5334 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
5336         [BZ #15359]
5337         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5338         high part of pi/2.
5339         (__ieee754_rem_pio2l): Update comments.
5341         [BZ #15429]
5342         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5343         high part of pi/2.
5344         (__ieee754_rem_pio2l): Update comments.
5346         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5347         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5349         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5350         M_PI_4l.
5352         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5353         (M_PI_34_LOG10El): Likewise.
5354         (M_PI2_LOG10El): Likewise.
5355         (M_PI4_LOG10El): Likewise.
5356         (M_PI_LOG10El): Likewise.
5358 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5362 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
5364         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5365         (MINUS_ZERO_INIT): Likewise.
5366         (PLUS_INFTY_INIT): Likewise.
5367         (MINUS_INFTY_INIT): Likewise.
5368         (QNAN_VALUE_INIT): Likewise.
5369         (MAX_VALUE_INIT): Likewise.
5370         (MIN_VALUE_INIT): Likewise.
5371         (MIN_SUBNORM_VALUE_INIT): Likewise.
5372         (plus_zero): Initialize with PLUS_ZERO_INIT.
5373         (minus_zero): Initialize with MINUS_ZERO_INIT.
5374         (plus_infty): Initialize with PLUS_INFTY_INIT.
5375         (minus_infty): Initialize with MINUS_INFTY_INIT.
5376         (qnan_value): Initialize with QNAN_VALUE_INIT.
5377         (max_value): Initialize with MAX_VALUE_INIT.
5378         (min_value): Initialize with MIN_VALUE_INIT.
5379         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5381         * math/libm-test.inc (RUN_TEST_if_f): New macro.
5382         (jn_test): Use TEST_if_f instead of TEST_ff_f.
5383         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5384         (yn_test): Use TEST_if_f instead of TEST_ff_f.
5386         * math/libm-test.inc (RUN_TEST_f_f): New macro.
5387         (RUN_TEST_2_f): Likewise.
5388         (RUN_TEST_ff_f): Likewise.
5389         (RUN_TEST_fi_f): Likewise.
5390         (RUN_TEST_fl_f): Likewise.
5391         (RUN_TEST_fff_f): Likewise.
5392         (RUN_TEST_c_f): Likewise.
5393         (RUN_TEST_f_f1): Likewise.
5394         (RUN_TEST_fF_f1): Likewise.
5395         (RUN_TEST_fI_f1): Likewise.
5396         (RUN_TEST_ffI_f1): Likewise.
5397         (RUN_TEST_c_c): Likewise.
5398         (RUN_TEST_cc_c): Likewise.
5399         (RUN_TEST_f_i): Likewise.
5400         (RUN_TEST_f_i_tg): Likewise.
5401         (RUN_TEST_ff_i_tg): Likewise.
5402         (RUN_TEST_f_b): Likewise.
5403         (RUN_TEST_f_b_tg): Likewise.
5404         (RUN_TEST_f_l): Likewise.
5405         (RUN_TEST_f_L): Likewise.
5406         (RUN_TEST_sincos): Likewise.
5407         * math/gen-libm-test.pl (new_test): Take new argument to indicate
5408         whether to show exceptions.  Do not include ");\n" in return
5409         value.
5410         (special_functions): Output call to RUN_TEST_sincos instead of
5411         check_float calls.  Update calls to new_test.
5412         (parse_args): Output call to single RUN_TEST_* macro instead of
5413         check_* calls and other assignments.  Update calls to new_test.
5415         [BZ #2546]
5416         [BZ #2560]
5417         [BZ #5159]
5418         [BZ #15426]
5419         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5420         input to result for tgamma overflow.
5421         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5422         (gamma_coeff): New variable.
5423         (NCOEFF): New macro.
5424         (gamma_positive): New function.
5425         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5426         underflow here.  Use gamma_positive instead of exp (lgamma) for
5427         other arguments.
5428         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5429         (gamma_coeff): New variable.
5430         (NCOEFF): New macro.
5431         (gammaf_positive): New function.
5432         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5433         underflow here.  Use gamma_positive instead of exp (lgamma) for
5434         other arguments.
5435         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5436         (gamma_coeff): New variable.
5437         (NCOEFF): New macro.
5438         (gammal_positive): New function.
5439         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5440         underflow here.  Use gamma_positive instead of exp (lgamma) for
5441         other arguments.
5442         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5443         (gamma_coeff): New variable.
5444         (NCOEFF): New macro.
5445         (gammal_positive): New function.
5446         (__ieee754_gammal_r): Handle positive infinity, overflow and
5447         underflow here.  Handle NaN the same as positive infinity.  Remove
5448         check x < 0xffffffff for negative integers.  Use gamma_positive
5449         instead of exp (lgamma) for other arguments.
5450         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5451         (gamma_coeff): New variable.
5452         (NCOEFF): New macro.
5453         (gammal_positive): New function.
5454         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5455         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5456         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5457         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5458         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5459         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5460         * sysdeps/generic/math_private.h (__gamma_productf): New
5461         prototype.
5462         (__gamma_product): Likewise.
5463         (__gamma_productl): Likewise.
5464         * math/Makefile (libm-calls): Add gamma_product.
5465         * math/libm-test.inc (tgamma_test): Add more tests.
5466         * sysdeps/i386/fpu/libm-test-ulps: Update.
5467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5469 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
5471         * benchtests/bench-skeleton.c (main): Preheat CPU.
5473 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
5475         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5477 2013-05-07  Roland McGrath  <roland@hack.frob.com>
5479         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5480         and _dl_skip_args_internal.
5482 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
5484         * manual/message.texi (Message Translation): Talk about users.
5485         Message to key mapping impacts design.
5487 2013-05-06  Roland McGrath  <roland@hack.frob.com>
5489         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5491         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5493         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5494         * sysdeps/wordsize-64/glob64.c: ... here.
5496         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5497         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5498         New macros.
5500         * debug/getlogin_r_chk.c: Moved to ...
5501         * login/getlogin_r_chk.c: ... here.
5502         * debug/Makefile (routines): Move getlogin_r_chk to ...
5503         * login/Makefile (routines): ... here.
5504         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5505         * login/Versions (libc: GLIBC_2.4): ... here.
5507         * io/poll.c (__poll): Renamed from poll.
5508         Add libc_hidden_def.
5509         (poll): Define as weak alias.
5511         * debug/ptsname_r_chk.c: Moved to ...
5512         * login/ptsname_r_chk.c: ... here.
5513         * debug/Makefile (routines): Move ptsname_r_chk to ...
5514         * login/Makefile (routines): ... here.
5515         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5516         * login/Versions (libc: GLIBC_2.4): ... here.
5518         * posix/getlogin.c: Moved to ...
5519         * login/getlogin.c: ... here.
5520         * posix/getlogin_r.c: Moved to ...
5521         * login/getlogin_r.c: ... here.
5522         * posix/getlogin_r.c: Moved to ...
5523         * login/getlogin_r.c: ... here.
5524         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5525         * login/Makefile (routines): ... here.
5526         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5527         * login/Versions (libc: GLIBC_2.0): ... here.
5529         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5530         (setrlimit): Define as weak alias.
5532         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5533         Call __ names for open, ftruncate, and close.
5534         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5535         (truncate): Define as weak alias.
5537 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
5539         * math/gen-libm-test.pl (parse_args): Initialize x before each
5540         test of frexp, modf and remquo.
5542         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5543         test signgam value.
5545 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5547         [BZ #15418]
5548         [BZ #15419]
5549         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5550         internal tests.
5551         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5553 2013-05-06  Roland McGrath  <roland@hack.frob.com>
5555         * elf/dl-writev.h: New file.
5556         * elf/dl-misc.c: Include it.
5557         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5558         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5560 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
5562         * math/libm-test.inc (noXFails): Remove variable.
5563         (noXPasses): Likewise.
5564         (BUILD_COMPLEX_INT): Remove macro.
5565         (print_screen): Remove xfail argument.
5566         (print_screen_max_error): Likewise.
5567         (update_stats): Likewise.
5568         (print_max_error): Likewise.  Update calls to other affected
5569         functions.
5570         (print_complex_max_error): Likewise.
5571         (test_single_exception): Update calls to print_screen.
5572         (test_single_errno): Likewise.
5573         (check_float_internal): Remove xfail argument.  Update calls to
5574         other affected functions.
5575         (check_float): Likewise.
5576         (check_complex): Likewise.
5577         (check_int): Likewise.
5578         (check_long): Likewise.
5579         (check_bool): Likewise.
5580         (check_longlong): Likewise.
5581         (main): Don't print noXFails and noXPasses.
5582         * math/gen-libm-test.pl (top level): Don't mention expected
5583         failure handling in comment.
5584         (new_test): Don't handle expected failures.
5585         (parse_args): Don't mention expected failure handling in comment.
5586         (generate_testfile): Don't handle expected failures.
5587         (parse_ulps): Likewise.
5588         (print_ulps_file): Likewise.
5589         (get_failure): Remove function.
5590         (output_test): Don't handle expected failures.
5591         * make/README.libm-test: Don't mention expected failure handling.
5593         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
5594         (minus_zero): Likewise.
5595         (plus_infty): Likewise.
5596         (minus_infty): Likewise.
5597         (qnan_value): Likewise.
5598         (max_value): Likewise.
5599         (min_value): Likewise.
5600         (min_subnorm_value): Likewise.
5601         (initialize): Do not initialize those variables dynamically.
5603 2013-05-03  Roland McGrath  <roland@hack.frob.com>
5605         * io/open.c (__open_2): Moved to ...
5606         * io/open_2.c: ... this new file.
5607         * io/open64.c (__open64_2): Moved to ...
5608         * io/open64_2.c: ... this new file.
5609         * io/openat.c (__openat_2): Moved to ...
5610         * io/openat_2.c: ... this new file.
5611         * io/openat64.c (__openat64_2): Moved to ...
5612         * io/openat64_2.c: ... this new file.
5613         * io/Makefile (routines): Add them.
5614         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5615         * sysdeps/unix/sysv/linux/open_2.c: File removed.
5616         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5617         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5618         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5619         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5620         (__openat64): Add hidden_ver.
5621         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5622         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5624         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5625         Separately conditionalize setting of GLRO(dl_sysinfo) so
5626         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5627         as well, but the actual setting is only under [NEED_DL_SYSINFO].
5629 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5631         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5632         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5633         definition.
5634         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5635         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5636         (_libc_vdso_platform_setup): Add __vdso_time initialization.
5637         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5638         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5640 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
5642         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5643         test signgam value.
5645         * math/libm-test.inc (hypot_test): Do not use
5646         IGNORE_ZERO_INF_SIGN.
5648 2013-05-03  Andreas Jaeger  <aj@suse.de>
5650         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5651         Linux 3.9.
5652         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5653         (PF_MAX): Adjust for VSOCK change.
5655 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5659 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
5661         [BZ #15264]
5662         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5663         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5664         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5666 2013-05-02  David S. Miller  <davem@davemloft.net>
5668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5670 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
5672         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5674 2013-05-01  Roland McGrath  <roland@hack.frob.com>
5676         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5678 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
5680         [BZ #14952]
5681         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5682         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5683         Use __attribute__ ((__gnu_inline__)).
5684         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5685         Don't use __attribute__ ((__gnu_inline__)).
5687 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
5689         [BZ #15423]
5690         * math/s_catan.c (__catan): Handle small real or imaginary part of
5691         input specially to avoid spurious underflow.
5692         * math/s_catanf.c (__catanf): Likewise.
5693         * math/s_catanh.c (__catanh): Likewise.
5694         * math/s_catanhf.c (__catanhf): Likewise.
5695         * math/s_catanhl.c (__catanhl): Likewise.
5696         * math/s_catanl.c (__catanl): Likewise.
5697         * math/libm-test.inc (catan_test): Add more tests.
5698         (catanh_test): Likewise.
5699         * sysdeps/i386/fpu/libm-test-ulps: Update.
5700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5702 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5706 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
5708         [BZ #15416]
5709         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5710         accurately for denominator in atan2.
5711         * math/s_catanf.c (__catanf): Likewise.
5712         * math/s_catanh.c (__catanh): Likewise.
5713         * math/s_catanhf.c (__catanhf): Likewise.
5714         * math/s_catanhl.c (__catanhl): Likewise.
5715         * math/s_catanl.c (__catanl): Likewise.
5716         * math/libm-test.inc (catan_test): Add more tests.
5717         (catanh_test): Likewise.
5718         * sysdeps/i386/fpu/libm-test-ulps: Update.
5719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5721 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5723         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5725         * benchtests/Makefile (bench): Remove slow benchmarks.
5726         * benchtests/atan-inputs: Add slow benchmark inputs.
5727         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5728         (BENCH_FUNC): Accept variant offset.
5729         (VARIANT): Define.
5730         * benchtests/bench-skeleton.c (main): Run benchmark for each
5731         variant.
5732         * benchtests/cos-inputs: Add slow benchmark inputs.
5733         * benchtests/exp-inputs: Likewise.
5734         * benchtests/pow-inputs: Likewise.
5735         * benchtests/sin-inputs: Likewise.
5736         * benchtests/slowatan-inputs: Remove.
5737         * benchtests/slowatan.c: Remove.
5738         * benchtests/slowcos-inputs: Remove.
5739         * benchtests/slowcos.c: Remove.
5740         * benchtests/slowexp-inputs: Remove.
5741         * benchtests/slowexp.c: Remove.
5742         * benchtests/slowpow-inputs: Remove.
5743         * benchtests/slowpow.c: Remove.
5744         * benchtests/slowsin-inputs: Remove.
5745         * benchtests/slowsin.c: Remove.
5746         * benchtests/slowtan-inputs: Remove.
5747         * benchtests/slowtan.c: Remove.
5748         * benchtests/tan-inputs: Add slow benchmark inputs.
5749         * scripts/bench.pl: Parse comments and directives.
5751         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
5752         in CPPFLAGS.
5753         ($(objpfx)bench-%.c): Remove *-ITER.
5754         * benchtests/bench-modf.c: Remove definition of ITER.
5755         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5756         (main): Loop for DURATION seconds instead of fixed number of
5757         iterations.
5758         * scripts/bench.pl: Don't expect iterations in parameters.
5760 2013-04-29  Roland McGrath  <roland@hack.frob.com>
5762         * io/fchdir.c (__fchdir): Renamed from fchdir.
5763         (fchdir): Define as weak alias.
5765 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5767         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5768         (ERRNO_EDOM): Likewise.
5769         (ERRNO_ERANGE): Likewise.
5770         (noErrnoTests): New variable.
5771         (init_max_error): Set errno to 0.
5772         (test_single_errno): New function.
5773         (test_errno): Likewise.
5774         (check_float_internal): Call test_errno.  Set errno to 0.
5775         (check_complex): Refer to errno tests in comment.
5776         (check_int): Call test_errno.  Set errno to 0.
5777         (check_long): Likewise.
5778         (check_bool): Likewise.
5779         (check_longlong): Likewise.
5780         (cos_test): Use ERRNO_* flags for errno tests instead of
5781         check_int.
5782         (expm1_test): Likewise.
5783         (fmod_test): Likewise.
5784         (ilogb_test): Likewise.
5785         (lgamma_test): Likewise.
5786         (pow_test): Likewise.
5787         (remainder_test): Likewise.
5788         (sin_test): Likewise.
5789         (tan_test): Likewise.
5790         (yn_test): Likewise.
5791         (initialize): Set errno to 0.
5792         (main): Print number of errno tests.
5793         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5795 2013-04-29  Andreas Jaeger  <aj@suse.de>
5797         [BZ #15084]
5798         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5799         and RES_USEVC.
5801         [BZ #15085]
5802         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5803         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5804         unimplemented.
5806         [BZ #15380]
5807         * stdlib/random.c (__initstate): Return NULL if
5808         __initstate fails.
5810         [BZ #15086]
5811         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5812         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5813         RES_SNGLKUPREOP.
5815 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5819 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5821         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5822         of individual tests.
5823         (casin_test): Likewise.
5824         (casinh_test): Likewise.
5826 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
5828         [BZ #15409]
5829         * math/s_catan.c (__catan): Handle arguments with large real or
5830         imaginary part separately without squaring.
5831         * math/s_catanf.c (__catanf): Likewise.
5832         * math/s_catanh.c (__catanh): Likewise.
5833         * math/s_catanhf.c (__catanhf): Likewise.
5834         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5835         and redefine.
5836         (__catanhl): Handle arguments with large real or imaginary part
5837         separately without squaring.
5838         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5839         and redefine.
5840         (__catanl): Handle arguments with large real or imaginary part
5841         separately without squaring.
5842         * math/libm-test.inc (catan_test): Add more tests.
5843         (catanh_test): Likewise.
5844         * sysdeps/i386/fpu/libm-test-ulps: Update.
5845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5847 2013-04-27  Andreas Jaeger  <aj@suse.de>
5849         [BZ #15007]
5850         * stdlib/stdlib.h: Update guards for qecvt.
5851         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5852         <stdlib.h>.
5854 2013-04-27  Allan McRae  <allan@archlinux.org>
5856         * sysdeps/i386/fpu/libm-test-ulps: Update.
5858 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
5860         [BZ #15406]
5861         * math/s_catan.c: Include <float.h>.
5862         (__catan): Ensure underflow exception occurs for underflowed
5863         result.
5864         * math/s_catanf.c: Include <float.h>.
5865         (__catanf): Ensure underflow exception occurs for underflowed
5866         result.
5867         * math/s_catanh.c: Include <float.h>.
5868         (__catanh): Ensure underflow exception occurs for underflowed
5869         result.
5870         * math/s_catanhf.c: Include <float.h>.
5871         (__catanhf): Ensure underflow exception occurs for underflowed
5872         result.
5873         * math/s_catanhl.c: Include <float.h>.
5874         (__catanhl): Ensure underflow exception occurs for underflowed
5875         result.
5876         * math/s_catanl.c: Include <float.h>.
5877         (__catanl): Ensure underflow exception occurs for underflowed
5878         result.
5879         * math/libm-test.inc (catan_test): Add more tests.
5880         (catanh_test): Likewise.
5882         [BZ #15405]
5883         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5884         underflowed result.
5885         * math/s_ccoshf.c (__ccoshf): Likewise.
5886         * math/s_ccoshl.c (__ccoshl): Likewise.
5887         * math/s_csin.c (__csin): Likewise.
5888         * math/s_csinf.c (__csinf): Likewise.
5889         * math/s_csinh.c (__csinh): Likewise.
5890         * math/s_csinhf.c (__csinhf): Likewise.
5891         * math/s_csinhl.c (__csinhl): Likewise.
5892         * math/s_csinl.c (__csinl): Likewise.
5893         * math/libm-test.inc (ccos_test): Add more tests.
5894         (ccosh_test): Likewise.
5895         (csin_test): Likewise.
5896         (csinh_test): Likewise.
5898 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5900         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5901         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5902         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5903         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5904         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5905         powerpc/power5+/fpu folders.
5906         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5909 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
5911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5913 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
5915         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5916         additions to variable.
5917         [$(config-machine) = x86_64] (modules-names): Likewise.
5918         ($(objpfx)tst-audit3): Remove dependency.
5919         ($(objpfx)tst-audit3.out): Likewise.
5920         ($(objpfx)tst-audit4): Likewise.
5921         ($(objpfx)tst-audit4.out): Likewise.
5922         ($(objpfx)tst-audit5): Likewise.
5923         ($(objpfx)tst-audit5.out): Likewise.
5924         ($(objpfx)tst-audit6): Likewise.
5925         ($(objpfx)tst-audit6.out): Likewise.
5926         ($(objpfx)tst-audit7): Likewise.
5927         ($(objpfx)tst-audit7.out): Likewise.
5928         (tst-audit3-ENV): Remove variable.
5929         (tst-audit4-ENV): Likewise.
5930         (tst-audit5-ENV): Likewise.
5931         (tst-audit6-ENV): Likewise.
5932         (tst-audit7-ENV): Likewise.
5933         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5934         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5935         addition to variable.
5936         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5937         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5938         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5939         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5940         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5941         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5942         tst-audit3, tst-audit4 and tst-audit5.
5943         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5944         tst-audit6 and tst-audit7.
5945         [$(subdir) = elf] (modules-names): Add audit modules for those
5946         tests.
5947         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5948         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5949         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5950         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5951         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5952         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5953         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5954         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5955         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5956         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5957         [$(subdir) = elf] (tst-audit3-ENV): New variable.
5958         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5959         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5960         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5961         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5962         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5963         Likewise.
5964         [$(subdir) = elf && $(config-cflags-avx) = yes]
5965         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5966         [$(subdir) = elf && $(config-cflags-avx) = yes]
5967         (CFLAGS-tst-auditmod4a.c): Likewise.
5968         [$(subdir) = elf && $(config-cflags-avx) = yes]
5969         (CFLAGS-tst-auditmod4b.c): Likewise.
5970         [$(subdir) = elf && $(config-cflags-avx) = yes]
5971         (CFLAGS-tst-auditmod6b.c): Likewise.
5972         [$(subdir) = elf && $(config-cflags-avx) = yes]
5973         (CFLAGS-tst-auditmod6c.c): Likewise.
5974         [$(subdir) = elf && $(config-cflags-avx) = yes]
5975         (CFLAGS-tst-auditmod7b.c): Likewise.
5976         * elf/tst-audit3.c: Move to ...
5977         * sysdeps/x86_64/tst-audit3.c: ... here.
5978         * elf/tst-audit4.c: Move to ...
5979         * sysdeps/x86_64/tst-audit4.c: ... here.
5980         * elf/tst-audit5.c: Move to ...
5981         * sysdeps/x86_64/tst-audit5.c: ... here.
5982         * elf/tst-audit6.c: Move to ...
5983         * sysdeps/x86_64/tst-audit6.c: ... here.
5984         * elf/tst-audit7.c: Move to ...
5985         * sysdeps/x86_64/tst-audit7.c: ... here.
5986         * elf/tst-auditmod3a.c: Move to ...
5987         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5988         * elf/tst-auditmod3b.c: Move to ...
5989         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5990         * elf/tst-auditmod4a.c: Move to ...
5991         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5992         * elf/tst-auditmod4b.c: Move to ...
5993         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5994         * elf/tst-auditmod5a.c: Move to ...
5995         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5996         * elf/tst-auditmod5b.c: Move to ...
5997         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5998         * elf/tst-auditmod6a.c: Move to ...
5999         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6000         * elf/tst-auditmod6b.c: Move to ...
6001         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6002         * elf/tst-auditmod6c.c: Move to ...
6003         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6004         * elf/tst-auditmod7a.c: Move to ...
6005         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6006         * elf/tst-auditmod7b.c: Move to ...
6007         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6009 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
6011         [BZ #15366]
6012         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6013         define unconditionally.
6014         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6015         define unconditionally.
6016         (INT8_C, INT16_C, etc.): Likewise.
6018 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
6020         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6021         __ehdr_start with hidden visibility.
6023         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6025 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
6027         * math/libm-test.inc (cos_test): Use accurate hex constants.
6028         (sincost_test): Likewise.
6030 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
6032         * math/libm-test.inc (catan_test): Add more tests.
6033         (catanh_test): Likewise.
6035         * math/s_catanf.c (__catanf): Use suffixed floating-point
6036         constants.
6037         * math/s_catanhf.c (__catanhf): Likewise.
6038         * math/s_catanhl.c (__catanhl): Likewise.
6039         * math/s_catanl.c (__catanl): Likewise.
6041         [BZ #15394]
6042         * math/s_catan.c (__catan): Calculate imaginary part of result
6043         with log1p not log unless computing log of number close to 0.
6044         * math/s_catanf.c (__catanf): Likewise.
6045         * math/s_catanl.c (__catanl): Likewise.
6046         * math/s_catanh.c (__catanh): Calculate real part of result with
6047         log1p not log unless computing log of number close to 0.
6048         * math/s_catanhf.c (__catanhf): Likewise.
6049         * math/s_catanhl.c (__catanhl): Likewise.
6050         * math/libm-test.inc (catan_test): Add more tests.
6051         (catanh_test): Likewise.
6052         * sysdeps/i386/fpu/libm-test-ulps: Update.
6053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6055 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6057         * benchtests/Makefile: Mention files in which fast and slow
6058         paths of math functions are implemented.
6060 2013-04-23  Roland McGrath  <roland@hack.frob.com>
6062         * sysdeps/posix/timespec_get.c: New file.
6064 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6066         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6067         POWER.
6068         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6069         for POWER.
6070         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6071         powerpc/power5/fpu folders.
6072         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6073         * benchtests/Makefile: Add modf testcase.
6074         * benchtests/bench-modf.c: New file: Benchmark test for mo
6076 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6078         [BZ #14888]
6079         * time/Makefile (tests): Add tst-strptime-whitespace.
6080         * time/strptime_l.c (get_number): Use ISSPACE.
6081         (__strptime_internal): Likewise.
6082         * time/tst-strptime-whitespace.c: New test case.
6084 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
6086         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6087         member.
6088         (_nss_files_init): Set it here.
6090 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
6092         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6093         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6094         unsigned.
6096 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
6098         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6100 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6102         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6103         size just once.
6105 2013-04-21  David S. Miller  <davem@davemloft.net>
6107         * po/ru.po: Update Russion translation from translation project.
6109 2013-04-17  Adam Conrad  <adconrad@0c3.net>
6111         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6112         and setfsgid.
6114 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
6116         * configure.in: Remove i386 configure warning. Remove i386 case.
6117         * configure: Regenerate.
6118         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6119         Add example to error message.
6120         * sysdeps/i386/configure: Regenerate.
6122 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6124         * benchtests/Makefile (bench): Add cos, tan, slowcos and
6125         slowtan.
6126         * benchtests/cos-inputs: New file.
6127         * benchtests/slowcos-inputs: New file.
6128         * benchtests/slowcos.c: New file.
6129         * benchtests/slowtan-inputs: New file.
6130         * benchtests/slowtan.c: New file.
6131         * benchtests/tan-inputs: New file.
6133 2013-04-16  Roland McGrath  <roland@hack.frob.com>
6135         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6136         considered kosher.
6138 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6140         * benchtests/Makefile: Include cppflags-iterator.mk to add
6141         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6143         * Makefile.in (bench-clean): New target.
6144         * benchtests/Makefile (bench-clean): Likewise.
6146 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
6148         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6150 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
6152         * stdio-common/tstdiomisc.c: Fix coding-style violation.
6154 2013-04-15  Andreas Schwab  <schwab@suse.de>
6156         * nscd/grpcache.c (cache_addgr): Properly check for short write.
6157         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6158         * nscd/pwdcache.c (cache_addpw): Likewise.
6159         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
6160         more than recsize.
6162 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6164         * benchtests/Makefile (bench): Write all output to
6165         bench-out.tmp together.
6167 2013-04-15  Andreas Schwab  <schwab@suse.de>
6169         * nscd/nscd.c (main): Don't fork again after closing files.
6171 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6173         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6175         * benchtests/Rules (bench-deps): Collect dependencies into a
6176         single variable.  Add Makefile to dependencies.
6177         ($(objpfx)bench-%.c): Depend on bench-deps.
6179 2013-04-12  Roland McGrath  <roland@hack.frob.com>
6180             Xavier Roche  <roche+kml2@exalead.com>
6182         [BZ #15361]
6183         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6184         just that it's a file descriptor.
6185         * manual/llio.texi (Synchronizing AIO Operations): Update description
6186         for EBADF error from aio_fsync.
6188 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6190         * Rules (bench): Move target definition...
6191         * benchtests/Makefile: ... here.
6193 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
6195         * math/libm-test.inc (cos_test): Fix PI/2 test.
6196         (sincos_test): Likewise.
6197         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6198         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6200 2013-04-11  Andreas Schwab  <schwab@suse.de>
6202         [BZ #13988]
6203         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6204         accept exponent character only when digits were seen.
6205         * stdio-common/Makefile (tests): Add bug26.
6206         * stdio-common/bug26.c: New file.
6208         [BZ #14293]
6209         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6210         non-freeable.
6212 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6214         * Makeconfig (rtld-prefix): Define built linker prefix.
6215         * Rules (run-bench): Use it.
6216         * math/Makefile (run-regen-ulps): Likewise.
6218         * Rules (bench): Remove eval.
6220 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6221             Roland McGrath  <roland@hack.frob.com>
6222             Ondrej Bilka  <neleai@seznam.cz>
6224         [BZ #15346]
6225         * time/getdate.c: Include ctype.h and alloca.h.
6226         (__getdate_r): Trim leading and trailing spaces of input.
6227         * time/tst-getdate.c (tests): Add tests with leading and
6228         trailing spaces.
6230 2013-04-08  Roland McGrath  <roland@hack.frob.com>
6232         [BZ #14280]
6233         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6234         when computing value.
6236 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6238         * math/README.libm-test (How can I generate "libm-test-ulps"?):
6239         Use testrun.sh to run libm tests.
6241         [BZ #15309]
6242         * elf/dl-open.c (dl_open_worker): memset all of seen array.
6244 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
6246         [BZ #15264]
6247         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6249 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6251         * Makefile.in (regen-ulps): New target.
6252         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6253         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6254         [ifneq (no,$(PERL)] (regen-ulps): New target.
6255         [ifeq (no,$(PERL)] (regen-ulps): New target.
6256         * math/libm-test.inc (ulps_file_name): Define.
6257         (output_dir): New variable.
6258         (options): Add "output-dir" option.
6259         (parse_opt): Handle 'o' case.
6260         (main): If output_dir is non-NULL use it as a prefix
6261         otherwise use "".
6262         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6264 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6266         [BZ #10060, #10062]
6267         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6268         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6269         fail configure if __sync_val_compare_and_swap is not inlined.
6270         * sysdeps/i386/configure: Regenerate.
6271         * configure.in: Build for i686 when configured for i386.
6272         * configure: Regenerate.
6273         * README: Remove i386 reference.
6275 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6277         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6278         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6280 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
6282         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6283         (lmsnanval): New variables.
6284         (F): Add conversion tests.
6285         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6286         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6288         * stdio-common/tstdiomisc.c (F): Properly collect individual
6289         tests' results.
6291         [BZ #14686, #15336]
6292         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6293         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6294         Instead, use input NaN values or generate a qNaN by arithmetic
6295         operation.  Also fix bugs to comply with the standard.
6296         * math/libm-test.inc (remainder_test): Add more tests.
6298         [BZ #15335, #15342]
6299         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6300         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6301         input NaN values or generate a qNaN by arithmetic operation.
6303         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6304         unreachable code.
6306         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6307         definitions.
6309 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
6311         [BZ #14478]
6312         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6313         underflowed result.
6314         * math/s_cexpf.c (__cexpf): Likewise.
6315         * math/s_cexpl.c (__cexpl): Likewise.
6316         * math/libm-test.inc (cexp_test): Add more tests.
6318 2013-04-03  Andreas Schwab  <schwab@suse.de>
6320         [BZ #15330]
6321         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6322         order arrays from heap if bigger than alloca cutoff.
6324 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
6326         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6327         (SNAN_TESTS_double): Refer to GCC PR56831.
6328         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6329         GCC PR56828.
6331 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6333         * Rules (bench): Move bench.out after the run is complete.
6335         * Rules (bench): Echo currently running benchmark.
6337         * benchtests/Makefile (bench): Add atan and slowatan.
6338         * benchtests/atan-inputs: New file.
6339         * benchtests/slowatan-inputs: New file.
6340         * benchtests/slowatan.c: New file.
6342         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6343         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6344         its value.
6346         [BZ #15305]
6347         * sysdeps/unix/sysv/linux/kernel-features.h
6348         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6349         __ASSUME_XFS_RESTRICTED_CHOWN.
6350         * sysdeps/unix/sysv/linux/pathconf.c
6351         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6352         Save and restore errno.
6354 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
6356         [BZ #15327]
6357         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6358         arguments using __kernel_casinh.
6359         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6360         arguments using __kernel_casinhf.
6361         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6362         arguments using __kernel_casinhl.
6363         * math/libm-test.inc (cacosh_test): Add more tests.
6364         * sysdeps/i386/fpu/libm-test-ulps: Update.
6365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6367 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6369         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6370         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6372         * bench/Makefile (bench): Add sin and slowsin.
6373         * benchtests/sin-inputs: New file.
6374         * benchtests/slowsin-inputs: New file.
6375         * benchtests/slowsin.c: New file.
6377         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6378         (bench): Add slowexp and slowpow.
6379         (exp-ITER): Increase iterations.
6380         (pow-ITER): Likewise.
6381         * benchtests/exp-inputs: Change input.
6382         * benchtests/pow-inputs: Likewise.
6383         * benchtests/slowexp-inputs: New file.
6384         * benchtests/slowexp.c: New file.
6385         * benchtests/slowpow-inputs: New file.
6386         * benchtests/slowpow.c: New file.
6388 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6390         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6391         instructions.
6392         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6393         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6394         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6395         * benchtests/Makefile: Add rint benchtest.
6396         * benchtests/rint-inputs: Input for rint benchtest.
6398 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
6400         * Versions.def (libm): Add GLIBC_2.18.
6401         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6402         hidden libm prototypes.
6403         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6404         * math/Makefile (libm-calls): Add s_issignaling.
6405         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6406         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
6407         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6408         declaration.
6409         * math/math.h [__USE_GNU] (issignaling): New macro.
6410         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6411         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6412         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6413         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6414         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6415         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6416         * manual/arith.texi (issignaling): New section.
6417         * manual/libm-err-tab.pl (@all_functions): Update comment.
6418         * math/gen-libm-test.pl (parse_args): Apply special handling for
6419         issignaling.
6420         * math/libm-test.inc (print_float, issignaling_test): New
6421         functions.
6422         (check_float_internal): Add issignaling checks.
6423         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6424         default definition.
6425         * sysdeps/powerpc/math-tests.h: New file.
6426         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6427         tests.
6428         * math/test-snan.c (TEST_FUNC): Likewise.
6430 2013-03-30  David S. Miller  <davem@davemloft.net>
6432         * po/de.po: Update from translation team.
6434 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
6436         [BZ #10357]
6437         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6438         imaginary part less than 1.0 and real part less than 0.5
6439         specially.
6440         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6441         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6442         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6443         (cacos_test): Add more tests.
6444         (casin_test): Likewise.
6445         (casinh_test): Likewise.
6446         * sysdeps/i386/fpu/libm-test-ulps: Update.
6447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6449 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6451         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6452         ONE with its value.
6454         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6455         (__pow_mp): Replace ONE and MONE with their values.
6456         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6457         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6458         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6459         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6460         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6461         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6463         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6465         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6466         (__pow_mp): Replace ZERO and MZERO with their values.
6467         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6468         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6469         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6470         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6471         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6472         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6473         (__sqr): Likewise.
6475         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6477         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6479 2013-03-28  Roland McGrath  <roland@hack.frob.com>
6481         * include/stdlib.h [!SHARED] (__call_tls_dtors):
6482         Declare with __attribute__ ((weak)).
6483         * stdlib/exit.c (__libc_atexit) [!SHARED]:
6484         Call __call_tls_dtors only if it's not NULL.
6486 2013-03-28  Roland McGrath  <roland@hack.frob.com>
6488         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6489         didn't do it already, then set _dl_phdr and _dl_phnum based on the
6490         magic __ehdr_start linker symbol if it's defined.
6491         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6492         them up here if it was already done.
6494         * elf/dl-support.c (_dl_phdr): Make pointer to const.
6495         (_dl_aux_init): Use const in cast when setting it.
6496         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6497         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6498         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6500         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6501         Declare them here.
6502         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6503         * csu/libc-tls.c: Nor here.
6504         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6506         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6507         (__libc_message): Never call vsyslog.
6509 2013-03-28  Alan Modra  <amodra@gmail.com>
6511         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6512         Define as empty.
6513         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6514         Likewise.
6516 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6518         [BZ #15214]
6519         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6520         underflow.
6521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6523 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6525         [BZ #15304]
6526         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6527         Don't add gid passed as argument.
6529         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6531 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
6533         [BZ #15307]
6534         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6535         imaginary part between 1.0 and 1.5 and real part less than 0.5
6536         specially.
6537         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6538         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6539         * math/libm-test.inc (cacos_test): Add more tests.
6540         (casin_test): Likewise.
6541         (casinh_test): Likewise.
6542         * sysdeps/i386/fpu/libm-test-ulps: Update.
6543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6545 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6547         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6548         constants.
6549         (norm): Likewise.
6550         (denorm): Likewise.
6551         (__dbl_mp): Likewise.
6552         (add_magnitudes): Likewise.
6553         (sub_magnitudes): Likewise.
6554         (__add): Likewise.
6555         (__sub): Likewise.
6556         (__mul): Likewise.
6557         (__sqr): Likewise.
6558         (__inv): Likewise.
6559         (__dvd): Likewise.
6561         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6562         commented code.
6563         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6564         (__dubcos): Likewise.
6565         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6566         (__ieee754_acos): Likewise.
6567         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6568         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6569         (__exp1): Likewise.
6570         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6571         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6572         (log1): Likewise.
6573         (my_log2): Likewise.
6574         (checkint): Likewise.
6575         * sysdeps/ieee754/dbl-64/e_remainder.c
6576         (__ieee754_remainder): Likewise.
6577         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6578         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6579         (bsloww): Likewise.
6580         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6582         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6583         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6584         MANTISSA_STORE_T to store computations on mantissa.  Use
6585         macros for rounding and division.
6586         (denorm): Likewise.
6587         (__dbl_mp): Likewise.
6588         (add_magnitudes): Likewise.
6589         (sub_magnitudes): Likewise.
6590         (__mul): Likewise.
6591         (__sqr): Likewise.
6592         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
6593         powers of two in terms of TWOPOW macro.
6594         (mp_no): Make type of mantissa as MANTISSA_T.
6595         [!RADIXI]: Define RADIXI.
6596         [!TWO52]: Define TWO52.
6597         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6599 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6601         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6602         llroundl symbol when building for PPC32.
6604 2013-03-24  Mark H Weaver  <mhw@netris.org>
6606         * manual/arith.texi (Normalization Functions): Fix prototypes for
6607         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6609 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6611         [BZ #13889]
6612         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6613         high value to check if expl overflow.
6614         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6615         to check for underflow and overflow.
6616         * math/libm-test.inc: Add exp test.
6618 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
6620         [BZ #11120]
6621         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6622         with NOT_IN_libc.
6624 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6626         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6627         symbol.
6629 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6631         * math/gen-libm-test.pl (parse_args, special_functions): Properly
6632         wrap blocks consisting of several statements.
6634         * sysdeps/generic/math-tests.h: New file.
6635         * sysdeps/i386/fpu/math-tests.h: Likewise.
6636         * math/test-snan.c: Include it.
6637         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6639 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6641         [BZ #15285]
6642         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6643         (__ieee754_j0l): Do not improve calculations using cos of twice
6644         input for inputs above LDBL_MAX / 2.0L.
6645         (__ieee754_y0l): Likewise.
6646         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6647         (__ieee754_j1l): Do not improve calculations using cos of twice
6648         input for inputs above LDBL_MAX / 2.0L.
6649         (__ieee754_y1l): Likewise.
6650         * math/libm-test.inc (j0_test): Add another test.
6651         (j1_test): Likewise.
6652         (y0_test): Likewise.
6653         (y1_test): Likewise.
6654         * sysdeps/i386/fpu/libm-test-ulps: Update.
6656 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6658         * Rules ($(objpfx)bench-%.c): Include code from a C source
6659         file.
6661 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6663         [BZ #15287]
6664         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6665         imaginary part 1.0 and real part less than 0.5 specially.
6666         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6667         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6668         * math/libm-test.inc (cacos_test): Add more tests.
6669         (casin_test): Likewise.
6670         (casinh_test): Likewise.
6671         * sysdeps/i386/fpu/libm-test-ulps: Update.
6672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6674 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6676         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6677         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6679 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
6681         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6682         * config.make.in (config-cflags-sse4): Remove variable.
6683         (config-cflags-avx): Likewise.
6684         (config-cflags-sse2avx): Likewise.
6685         (config-cflags-novzeroupper): Likewise.
6686         (config-asflags-i686): Likewise.
6687         (have-mfma4): Likewise.
6688         (have-as-vis3): Likewise.
6689         (MIG): Likewise.
6690         * configure.in (MIG): Do not AC_SUBST.
6691         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6692         (libc_cv_cc_sse4): Do not AC_SUBST.
6693         (libc_cv_cc_avx): Likewise.
6694         (libc_cv_cc_sse2avx): Likewise.
6695         (libc_cv_cc_novzeroupper): Likewise.
6696         (libc_cv_cc_fma4): Likewise.
6697         (libc_cv_as_i686): Likewise.
6698         (libc_cv_sparc_as_vis3): Likewise.
6699         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6700         LIBC_CONFIG_VAR.
6701         (config-asflags-i686): Likewise.
6702         (config-cflags-avx): Likewise.
6703         (config-cflags-sse2avx): Likewise.
6704         (have-mfma4): Likewise.
6705         (config-cflags-novzeroupper): Likewise.
6706         * sysdeps/mach/configure.in (MIG): Likewise.
6707         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6708         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6709         LIBC_CONFIG_VAR.
6710         (config-cflags-avx): Likewise.
6711         (config-cflags-sse2avx): Likewise.
6712         (have-mfma4): Likewise.
6713         (config-cflags-novzeroupper): Likewise.
6714         * configure: Regenerated.
6715         * sysdeps/i386/configure: Likewise.
6716         * sysdeps/mach/configure: Likewise.
6717         * sysdeps/sparc/configure: Likewise.
6718         * sysdeps/x86_64/configure: Likewise.
6720 2013-03-20  Roland McGrath  <roland@hack.frob.com>
6722         [BZ #14812]
6723         * locale/programs/localedef.c (options): Put N_ translation marker
6724         on argument names, not just descriptions.
6726 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6728         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6730 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
6732         [BZ #14176]
6733         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6735 2013-03-19  Roland McGrath  <roland@hack.frob.com>
6737         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6738         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6739         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6740         [!BEFORE_ABORT] (before_abort): New function.
6741         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6742         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6743         (writev_for_fatal): New function.
6744         (WRITEV_FOR_FATAL): New macro; call that.
6745         (backtrace_and_maps): New function.
6746         (BEFORE_ABORT): New macro; call that.
6747         (struct str_list): Type removed.
6748         (__libc_message, __libc_fatal): Functions removed.
6749         Include <sysdeps/posix/libc_fatal.c> instead.
6751 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
6753         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6754         constants.
6755         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6756         double constants.
6758 2013-03-19  Andreas Schwab  <schwab@suse.de>
6760         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6761         * sysdeps/gnu/configure: Regenerate.
6763         * configure.in: Substitute libc_cv_rtlddir.
6764         * configure: Regenerate.
6765         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6766         * Makeconfig (rtlddir, inst_rtlddir): New variables.
6767         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6768         * elf/Makefile (install-others, CFLAGS-interp.c)
6769         (ldso_install, common-ldd-rewrite): Likewise.
6770         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6771         $(inst_slibdir)/$(rtld-installed-name).
6772         * scripts/rellns-sh: Add -p option.
6773         * Makerules (make-shlib-link): Use rellns-sh to get relative name
6774         for source.
6776 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6778         * manual/nptl.texi: Renamed to ...
6779         * manual/threads.texi: ... this.
6780         * manual/Makefile (chapters): Update.
6782 2013-03-18  Roland McGrath  <roland@hack.frob.com>
6784         [BZ #14812]
6785         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6786         on argument names, not just descriptions.
6787         * malloc/memusagestat.c (options): Likewise.
6788         * nss/getent.c (options): Likewise.
6790 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
6792         [BZ #14812]
6793         * iconv/iconv_prog.c (options): Put N_ translation marker
6794         on argument names, not just descriptions.
6795         * iconv/iconvconfig.c (options): Likewise.
6797 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
6799         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6800         implementation which is faster on all x86_64 architectures.
6801         Tested on AMD, Intel Nehalem, SNB, IVB.
6802         * sysdeps/x86_64/strnlen.S: Likewise.
6804         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6805         Remove all multiarch strlen and strnlen versions.
6806         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6807         Remove strlen and strnlen related parts.
6809         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6810         Inline strlen part.
6811         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6813         * sysdeps/x86_64/multiarch/strlen.S: Remove.
6814         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6815         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6816         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6817         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6818         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6820 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
6822         * manual/memory.texi (Malloc Tunable Parameters):
6823         Sort parameters alphabetically. Add comments for missing entries.
6825 2013-03-17  David S. Miller  <davem@davemloft.net>
6827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6829 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
6831         [BZ #15283]
6832         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6833         for arguments at most half maximum finite value.
6834         * math/libm-test.inc (j0_test): Add more tests.
6835         (j1_test): Likewise.
6836         (y0_test): Likewise.
6837         (y1_test): Likewise.
6838         * sysdeps/i386/fpu/libm-test-ulps: Update.
6839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6841         [BZ #14155]
6842         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6843         1 / x and functions P and Q for arguments above 0x1p256L.
6844         (__ieee754_y0l): Likewise.
6845         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6846         (__ieee754_y1l): Likewise.
6847         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6848         (j1_test): Likewise.
6849         (y0_test): Likewise.
6850         (y1_test): Likewise.
6852 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
6854         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6855         variable.
6857 2013-03-15  Roland McGrath  <roland@hack.frob.com>
6859         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6860         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6861         zero since it's initialized to EXEC_PAGESIZE.
6863         * sysdeps/unix/sysv/linux/ldsodefs.h
6864         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6865         * sysdeps/generic/ldsodefs.h: ... here.
6867 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
6869         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6871         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6872         math/test-snan.c.
6873         * math/test-snan.c: Renamed from
6874         sysdeps/powerpc/fpu/test-powerpc-snan.c.
6875         * math/Makefile (tests): Add test-snan.
6876         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6877         test-powerpc-snan.
6879         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6880         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
6881         functions.
6882         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
6883         __builtin_nan family of functions.
6884         * math/libm-test.inc (initialize): Initialize qnan_value with
6885         __builtin_nan family of functions.
6886         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6887         Remove variables.
6888         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6889         Remove functions.
6890         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
6891         storage class.  Initialize qNaN_var and sNaN_var with
6892         __builtin_nan and __builtin_nans families of functions,
6893         respectively.
6895         * math/libm-test.inc (acosh_test): Also test with qNaN input.
6896         (sqrt_test): Remove duplicate test with qNaN input.
6897         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6898         (round_test, signbit_test, significand_test): Note missing +/-Inf
6899         as well as qNaN tests.
6901         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6902         qNaN_var.  Fix a few strings, too.
6903         * math/libm-test.inc (nan_value): Rename to qnan_value.
6904         * math/gen-libm-test.pl (%beautify): Adjust to that.
6905         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6906         * math/test-misc.c (main): Likewise.
6907         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6908         to __qnan_bytes, and __qnan_union, respectively.
6909         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6910         Likewise.
6911         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6912         and lqnanval, respectively.
6913         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6914         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6915         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6916         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6918         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6919         * math/test-misc.c (main) [__x86_64__]: Enable test for long
6920         doubles.
6922         * math/test-misc.c (main): Fix copy'n'pastos.
6923         * misc/tst-efgcvt.c (special): Likewise.
6925         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6926         Remove declarations.
6928 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6930         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6931         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6932         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6933         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6935 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6937         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6938         macro to return vdso values correctly in IFUNC implementations.
6939         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6940         Optimization by using IFUNC.
6942 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6943             Richard Henderson  <rth@redhat.com>
6944             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6946         * Makefile.in (bench): New target.
6947         * NEWS: Mention the benchmark framework.
6948         * Rules (bench): Likewise.
6949         (binaries-bench): Generate binaries for functions to
6950         benchmark.
6951         * benchtests/Makefile: New makefile for benchmark tests.
6952         * benchtests/bench-skeleton.c: New skeleton file for benchmark
6953         programs.
6954         * benchtests/exp-inputs: New input file for EXP function.
6955         * benchtests/pow-inputs: New input file for POW function.
6956         * scripts/bench.pl: New script to generate source files for
6957         benchmark programs.
6959 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6961         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6962         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6963         computations on mantissa.  Use macros for rounding and
6964         division.
6965         (denorm): Likewise.
6966         (__dbl_mp): Likewise.
6967         (add_magnitudes): Likewise.
6968         (sub_magnitudes): Likewise.
6969         (__mul): Likewise.
6970         (__sqr): Likewise.
6971         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
6972         powers of two in terms of TWOPOW macro.
6973         (mp_no): Make type of mantissa as MANTISSA_T.
6974         [!RADIXI]: Define RADIXI.
6975         [!TWO52]: Define TWO52.
6976         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6978         * manual/nptl.texi (cindex): Modify threads to pthreads.
6980 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
6982         * sysdeps/x86_64/preconfigure: Regenerated.
6984 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
6986         [BZ #14155]
6987         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6988         0x1p28 and above.
6989         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6990         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6991         0x1p28 and above.
6992         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6993         * math/libm-test.inc (j0_test): Do not allow one spurious
6994         underflow exception.
6995         (y1_test): Likewise.
6997 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6999         * manual/Makefile (chapters): Add nptl.
7000         * manual/debug.texi (Debugging Support): Add link to Threads
7001         chapter.
7002         * manual/nptl.texi: New file.
7004         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7006 2013-03-14  Petr Baudis  <pasky@ucw.cz>
7008         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7009         for non-NULL pointer before the memory validity test. Pointed
7010         out by Holger Brunck <holger.brunck@keymile.com>.
7012 2013-03-13  Andreas Schwab  <schwab@suse.de>
7014         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7015         instead of .os.
7017 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
7019         * timezone/zic.c: Update from tzcode 2013b.
7021 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
7023         * manual/install.texi (Configuring and compiling):
7024         Mention i686 and i586.
7025         * INSTALL: Regenerate.
7027 2013-03-12  Roland McGrath  <roland@hack.frob.com>
7029         * sysdeps/init_array/elf-init.c: New file.
7030         * csu/elf-init.c
7031         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7032         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7034         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7035         __gmon_start__ as global, but as static with a .preinit_array pointer.
7036         * sysdeps/init_array/gmon-start.c: New file.  Use that.
7037         * sysdeps/init_array/crti.S: New file, empty except for comments.
7038         * sysdeps/init_array/crtn.S: Likewise.
7040 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
7042         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7043         definining bcopy.
7044         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7045         Remove Prefer_SSE_for_memop.
7046         * sysdeps/x86_64/multiarch/init-arch.h: Remove
7047         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7048         HAS_PREFER_SSE_FOR_MEMOP.
7049         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7050         memset-x86-64.
7051         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7052         Remove bzero, memset ifunc support.
7053         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7054         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7055         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7056         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7058 2013-03-11  Andreas Schwab  <schwab@suse.de>
7060         [BZ #15234]
7061         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7062         by SHLIB_COMPAT.
7063         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7064         (GLIBC_2.16): Remove pthread_atfork.
7066 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7068         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7069         (ptestcases.h): Likewise.
7071 2013-03-08  Roland McGrath  <roland@hack.frob.com>
7073         * Makeconfig ($(common-objpfx)config.status): Depend on
7074         sysdeps/*/preconfigure{,.in} too.
7076 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
7078         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7079         (__free_hook): Use void * instead of __malloc_ptr_t.
7080         (__malloc_hook): Likewise.
7081         (__realloc_hook): Likewise.
7082         (__memalign_hook): Likewise.
7083         (__after_morecore_hook): Likewise.
7084         * malloc/arena.c (save_malloc_hook): Likewise.
7085         (save_free_hook): Likewise.
7086         * malloc/hooks.c (malloc_hook_ini): Likewise.
7087         (realloc_hook_ini): Likewise.
7088         (memalign_hook_ini): Likewise.
7089         * malloc/malloc.c (malloc_hook_ini): Likewise.
7090         (realloc_hook_ini): Likewise.
7091         (memalign_hook_ini): Likewise.
7092         (__free_hook): Likewise.
7093         (__malloc_hook): Likewise.
7094         (__realloc_hook): Likewise.
7095         (__memalign_hook): Likewise.
7096         (__libc_malloc): Likewise.
7097         (__libc_free): Likewise.
7098         (__libc_realloc): Likewise.
7099         (__libc_memalign): Likewise.
7100         (__libc_valloc): Likewise.
7101         (__libc_pvalloc): Likewise.
7102         (__libc_calloc): Likewise.
7103         (__posix_memalign): Likewise.
7104         * malloc/morecore.c (__sbrk): Likewise.
7105         (__default_morecore): Likewise.
7107         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7109         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7110         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7111         __malloc_ptrdiff_t.
7113         * malloc/malloc.h (__malloc_size_t): Remove macro.
7114         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7115         __malloc_size_t.
7116         (old_memalign_hook): Likewise.
7117         (old_realloc_hook): Likewise.
7118         (struct hdr): Likewise.
7119         (flood): Likewise.
7120         (mallochook): Likewise.
7121         (memalignhook): Likewise.
7122         (reallochook): Likewise.
7123         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7124         (tr_old_realloc_hook): Likewise.
7125         (tr_old_memalign_hook): Likewise.
7126         (tr_mallochook): Likewise.
7127         (tr_reallochook): Likewise.
7128         (tr_memalignhook): Likewise.
7130 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7132         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7133         default_ldbl_pack and using as default implementation.
7134         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7135         implementation.
7136         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7137         redundant definition.
7138         (ldbl_insert_mantissa): Likewise.
7139         (ldbl_canonicalize): Likewise.
7140         (ldbl_nearbyint): Likewise.
7141         (ldbl_pack): Rename to ldbl_pack_ppc.
7142         (ldbl_unpack): Rename to ldbl_unpack_ppc.
7143         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7144         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7146 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7148         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7149         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7150         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7151         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7152         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7153         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7154         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7155         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7157 2013-03-07  Andreas Jaeger  <aj@suse.de>
7159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7160         bits/mman-linux.h.
7162 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7164         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7165         Include mpa.h and declare __MPEXP.
7166         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7167         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7168         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7169         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7170         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7171         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7172         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7174         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7175         (__slowpow): Use long double EXPL and LOGL functions to
7176         compute POW.
7177         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7178         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7179         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7180         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7181         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7182         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7184         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7185         intermediate variable to calculate exponent.
7186         (__sqr): Likewise.
7187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7188         Likewise.
7189         (__sqr): Likewise.
7191         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7192         [!NO__SQR]: Define __sqr.
7193         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7194         and NO__SQR.  Remove all code except __mul and __sqr.  Include
7195         sysdeps/ieee754/dbl-64/mpa.c.
7196         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7198         [BZ #12723]
7199         * posix/Makefile (tests): Add tst-pathconf.
7200         * posix/tst-pathconf.c: New test case.
7201         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7202         _PC_PIPE_BUF.
7203         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7205 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
7207         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7209 2013-03-06  Andreas Jaeger  <aj@suse.de>
7211         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7212         definition via __MAP_ANONYMOUS.
7214         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7215         it's not part of Linux headers.
7217         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7218         (MAP_HUGE_MASK): Define.
7220         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7221         Define.
7222         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7223         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7224         Define.
7225         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7226         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7227         Define.
7228         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7229         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7230         Define.
7231         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7233         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7234         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7235         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7236         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7237         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7238         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7240         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7241         Handle f2fs.
7243         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7244         Handle f2fs and efivarfs.
7246         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7247         f2fs.
7249         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7250         (EFIVARFS_MAGIC): Add.
7251         (F2FS_LINK_MAX): Add.
7253 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7255         * stdio-common/vfprintf.c: Replace __builtin_expect with
7256         __glibc_unlikely.
7258 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
7260         [BZ #13550]
7261         * sysdeps/generic/bp-sym.h: Remove file.
7262         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7263         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7264         <bp-sym.h> and <bp-asm.h>.
7265         (__longjmp): Don't use BP_SYM.
7266         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7267         and <bp-asm.h>.
7268         (memcpy): Don't use BP_SYM.
7269         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7270         <bp-sym.h> and <bp-asm.h>.
7271         (memcpy): Don't use BP_SYM.
7272         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7273         <bp-asm.h>.
7274         (memcpy): Don't use BP_SYM.
7275         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7276         <bp-asm.h>.
7277         (memset): Don't use BP_SYM.
7278         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7279         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7280         (__bzero): Don't use BP_SYM.
7281         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7282         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7283         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7284         <bp-sym.h> and <bp-asm.h>.
7285         (memcmp): Don't use BP_SYM.  Remove comment about bounded
7286         pointers.
7287         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7288         <bp-sym.h> and <bp-asm.h>.
7289         (memcpy): Don't use BP_SYM.
7290         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7291         <bp-sym.h> and <bp-asm.h>.
7292         (memset): Don't use BP_SYM.
7293         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7294         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7295         (__bzero): Don't use BP_SYM.
7296         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7297         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7298         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7299         <bp-sym.h> and <bp-asm.h>.
7300         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7301         pointers.
7302         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7303         <bp-sym.h> and <bp-asm.h>.
7304         (memcpy): Don't use BP_SYM.
7305         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7306         <bp-sym.h> and <bp-asm.h>.
7307         (memset): Don't use BP_SYM.
7308         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7309         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7310         (__bzero): Don't use BP_SYM.
7311         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7312         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7313         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7314         <bp-sym.h> and <bp-asm.h>.
7315         (__memchr): Don't use BP_SYM.
7316         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7317         <bp-sym.h> and <bp-asm.h>.
7318         (memcmp): Don't use BP_SYM.  Remove comment about bounded
7319         pointers.
7320         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7321         <bp-sym.h> and <bp-asm.h>.
7322         (memcpy): Don't use BP_SYM.
7323         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7324         <bp-sym.h> and <bp-asm.h>.
7325         (__mempcpy): Don't use BP_SYM.
7326         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7327         <bp-sym.h> and <bp-asm.h>.
7328         (__memrchr): Don't use BP_SYM.
7329         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7330         <bp-sym.h> and <bp-asm.h>.
7331         (memset): Don't use BP_SYM.
7332         (__bzero): Likewise.
7333         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7334         <bp-sym.h> and <bp-asm.h>.
7335         (__rawmemchr): Don't use BP_SYM.
7336         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7337         <bp-sym.h> and <bp-asm.h>.
7338         (__STRCMP): Don't use BP_SYM.
7339         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7340         <bp-sym.h> and <bp-asm.h>.
7341         (strchr): Don't use BP_SYM.
7342         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7343         <bp-sym.h> and <bp-asm.h>.
7344         (__strchrnul): Don't use BP_SYM.
7345         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7346         <bp-sym.h> and <bp-asm.h>.
7347         (strlen): Don't use BP_SYM.
7348         * sysdeps/powerpc/powerpc64/power7/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/power7/strnlen.S: Don't include
7353         <bp-sym.h> and <bp-asm.h>.
7354         (__strnlen): Don't use BP_SYM.
7355         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7356         <bp-sym.h> and <bp-asm.h>.
7357         (__GI__setjmp): Don't use BP_SYM.
7358         (_setjmp): Likewise.
7359         (__sigsetjmp): Likewise.
7360         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7361         (L(start_addresses)): Don't use BP_SYM.
7362         (_start): Likewise.
7363         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7364         <bp-asm.h>.
7365         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7366         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7367         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7368         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7369         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7370         <bp-asm.h>.
7371         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7372         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
7373         about bounded pointers.
7374         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7375         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7376         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7377         <bp-asm.h>.
7378         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
7379         about bounded pointers.  Remove GKM FIXME comments.
7380         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7381         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7382         <bp-asm.h>.
7383         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7384         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
7385         Remove GKM FIXME comments.
7386         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7387         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7388         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7389         <bp-asm.h>.
7390         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
7391         about bounded pointers.  Remove GKM FIXME comment.
7392         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7393         and <bp-asm.h>.
7394         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7395         pointers.
7396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7397         <bp-sym.h> and <bp-asm.h>.
7398         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7400         <bp-sym.h> and <bp-asm.h>.
7401         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
7402         comment.
7404 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7406         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7407         call free(NULL).
7409 2013-03-05  David S. Miller  <davem@davemloft.net>
7411         * po/es.po: Update from translation team.
7413 2013-03-05  Andreas Jaeger  <aj@suse.de>
7415         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7416         <bits/mman-linux.h>.
7417         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7418         is fine.
7419         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7420         <bits/mman-linux.h> to end of file.
7421         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7422         is fine.
7423         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7424         <bits/mman-linux.h> to end of file.
7425         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7426         is fine.
7427         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7428         <bits/mman-linux.h> to end of file.
7430         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7431         (MCL_CURRENT, MCL_FUTURE): Define here.
7433 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7435         [BZ #15232]
7436         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7437         attribute_hidden.
7438         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7440 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7442         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7443         fourth parameter needed for rt_sigprocmask syscall.
7444         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7445         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7446         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7447         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7448         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7449         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7451 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
7453         [BZ #13550]
7454         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7455         comment about bounded pointers.
7456         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7457         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7459 2013-03-04  Andreas Jaeger  <aj@suse.de>
7461         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7462         common definitions.
7464         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7465         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7466         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7467         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7468         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7469         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7471 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7473         [BZ #15055]
7474         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7475         __ieee754_sqrl instead of __sqrl.
7477 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
7479         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7480         * sysdeps/powerpc/fpu_control.h: ... here.
7481         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7482         * sysdeps/powerpc/bits/fenvinline.h: ... here.
7483         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7484         * sysdeps/powerpc/bits/mathinline.h: ... here.
7486 2013-03-01  Roland McGrath  <roland@hack.frob.com>
7488         * elf/dl-hwcaps.c (_dl_important_hwcaps):
7489         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7490         to just [NEED_DL_SYSINFO_DSO].
7491         * elf/dl-support.c: Likewise.
7492         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7493         * elf/rtld.c (dl_main): Likewise.
7494         * elf/setup-vdso.h (setup_vdso): Likewise.
7495         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7496         * sysdeps/unix/sysv/linux/dl-sysdep.c
7497         (_dl_discover_osversion): Likewise.
7499 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
7501         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7502         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7504 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7506         * NEWS: Mention libm performance improvements and non-x86 PI
7507         futex support.
7509         * csu/libc-start.c (__pthread_initialize_minimal): Change
7510         function arguments.
7511         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7513 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
7515         [BZ #13550]
7516         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7517         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7518         <bp-sym.h> and <bp-asm.h>.
7519         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7520         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7521         and <bp-asm.h>.
7522         (memcpy): Don't use BP_SYM.
7523         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7524         <bp-asm.h>.
7525         (__mpn_add_n): Don't use BP_SYM.
7526         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7527         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7528         and <bp-asm.h>.
7529         (__mpn_addmul_1): Don't use BP_SYM.
7530         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7531         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7532         <bp-sym.h>.
7533         (_setjmp): Don't use BP_SYM.
7534         (__novmx_setjmp): Likewise.
7535         (__GI__setjmp): Likewise.
7536         (__vmx_setjmp): Likewise.
7537         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7538         <bp-sym.h>.
7539         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7540         (__bzero): Don't use BP_SYM.
7541         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7542         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7543         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7544         <bp-sym.h> and <bp-asm.h>.
7545         (memcpy): Don't use BP_SYM.
7546         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7547         <bp-sym.h> and <bp-asm.h>.
7548         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7549         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7550         <bp-sym.h> and <bp-asm.h>.
7551         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7552         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7553         <bp-asm.h>.
7554         (__mpn_lshift): Don't use BP_SYM.
7555         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7556         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7557         <bp-asm.h>.
7558         (memset): Don't use BP_SYM.
7559         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7560         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7561         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7562         <bp-asm.h>.
7563         (__mpn_mul_1): Don't use BP_SYM.
7564         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7565         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7566         <bp-sym.h> and <bp-asm.h>.
7567         (memcmp): Don't use BP_SYM.
7568         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7569         <bp-sym.h> and <bp-asm.h>.
7570         (memcpy): Don't use BP_SYM.
7571         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7572         <bp-sym.h> and <bp-asm.h>.
7573         (memset): Don't use BP_SYM.
7574         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7575         <bp-sym.h> and <bp-asm.h>.
7576         (strncmp): Don't use BP_SYM.
7577         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7578         <bp-sym.h> and <bp-asm.h>.
7579         (memcpy): Don't use BP_SYM.
7580         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7581         <bp-sym.h> and <bp-asm.h>.
7582         (memset): Don't use BP_SYM.
7583         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7584         <bp-sym.h> and <bp-asm.h>.
7585         (__memchr): Don't use BP_SYM.
7586         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7587         <bp-sym.h> and <bp-asm.h>.
7588         (memcmp): Don't use BP_SYM.
7589         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7590         <bp-sym.h> and <bp-asm.h>.
7591         (memcpy): Don't use BP_SYM.
7592         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7593         <bp-sym.h> and <bp-asm.h>.
7594         (__mempcpy): Don't use BP_SYM.
7595         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7596         <bp-sym.h> and <bp-asm.h>.
7597         (__memrchr): Don't use BP_SYM.
7598         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7599         <bp-sym.h> and <bp-asm.h>.
7600         (memset): Don't use BP_SYM.
7601         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7602         <bp-sym.h> and <bp-asm.h>.
7603         (__rawmemchr): Don't use BP_SYM.
7604         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7605         <bp-sym.h> and <bp-asm.h>.
7606         (__STRCMP): Don't use BP_SYM.
7607         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7608         <bp-sym.h> and <bp-asm.h>.
7609         (strchr): Don't use BP_SYM.
7610         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7611         <bp-sym.h> and <bp-asm.h>.
7612         (__strchrnul): Don't use BP_SYM.
7613         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7614         <bp-sym.h> and <bp-asm.h>.
7615         (strlen): Don't use BP_SYM.
7616         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7617         <bp-sym.h> and <bp-asm.h>.
7618         (strncmp): Don't use BP_SYM.
7619         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7620         <bp-sym.h> and <bp-asm.h>.
7621         (__strnlen): Don't use BP_SYM.
7622         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7623         <bp-asm.h>.
7624         (__mpn_rshift): Don't use BP_SYM.
7625         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7626         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7627         <bp-sym.h> and <bp-asm.h>.
7628         (__sigsetjmp): Don't use BP_SYM.
7629         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7630         (L(start_addresses)): Don't use BP_SYM.
7631         (_start): Likewise.
7632         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7633         <bp-asm.h>.
7634         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7635         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7636         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7637         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7638         <bp-asm.h>.
7639         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7640         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7641         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7642         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7643         <bp-asm.h>.
7644         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7645         comments.
7646         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7647         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7648         <bp-asm.h>.
7649         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
7650         FIXME comments.
7651         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7652         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7653         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7654         <bp-asm.h>.
7655         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7656         comment.
7657         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7658         and <bp-asm.h>.
7659         (strncmp): Don't use BP_SYM,
7660         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7661         <bp-asm.h>.
7662         (__mpn_sub_n): Don't use BP_SYM.
7663         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7664         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7665         and <bp-asm.h>.
7666         (__mpn_submul_1): Don't use BP_SYM.
7667         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7669         <bp-sym.h> and <bp-asm.h>.
7670         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7672         <bp-sym.h> and <bp-asm.h>.
7673         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
7674         comment.
7676 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7678         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7679         Use ZK to minimize writes to Z.
7680         (sub_magnitudes): Simplify code a bit.
7681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7682         Use ZK to minimize writes to Z.
7683         (sub_magnitudes): Simplify code a bit.
7685 2013-02-27  Roland McGrath  <roland@hack.frob.com>
7687         * csu/gmon-start.c: Add special exception to license text.
7689 2013-02-27  Richard Henderson  <rth@redhat.com>
7691         * scripts/config.guess: Update from config.git.
7692         * scripts/config.sub: Likewise.
7694 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7696         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7698         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7700         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7702         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7704         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7706 2013-02-26  Roland McGrath  <roland@hack.frob.com>
7708         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7709         [$(build-shared = yes].
7711 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7713         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7714         (__mul): Reduce iterations for calculating mantissa.
7716         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7717         MPTWO.
7718         (__mpranred): Likewise.
7720         [BZ #15160]
7721         * malloc/memusagestat.c (main): Draw graphs for heap and stack
7722         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7724 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
7726         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7727         Define __attribute__.
7729 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7731         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7732         unused.
7733         * posix/regex_internal.h (__attribute): Remove.
7734         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7735         (re_string_context_at): Likewise.
7736         (bitset_not): Use __attribute__ and mark function as possibly
7737         unused.
7738         (bitset_merge): Likewise.
7739         (bitset_mask): Likewise.
7740         (re_string_char_size_at): Likewise.
7741         (re_string_wchar_at): Likewise.
7742         (re_string_elem_size_at): Likewise.
7744 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7746         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7747         code.
7748         (cc32): Likewise.
7750         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7751         (__acr): Likewise.
7752         (__cpy): Likewise.
7753         (norm): Likewise.
7754         (denorm): Likewise.
7755         (__dbl_mp): Likewise.
7756         (add_magnitudes): Likewise.
7757         (sub_magnitudes): Likewise.
7758         (__mul): Likewise.
7759         (__inv): Likewise.
7761         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7762         style.
7764         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7765         style.
7767         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7768         code.
7770         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7771         up changes with default code.
7772         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7773         Likewise.
7775 2013-02-24  Allan McRae  <allan@archlinux.org>
7777         * manual/socket.texi (The Internet Namespace): Order menu items
7778         to match that in the file.
7780         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7781         node listing of the info page menu.
7783 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
7785         [BZ #13550]
7786         * sysdeps/i386/bp-asm.h: Remove file.
7787         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7788         (PARMS): Do not use macros from bp-asm.h.
7789         (S1): Likewise.
7790         (S2): Likewise.
7791         (SIZE): Likewise.
7792         (__mpn_add_n): Do not use BP_SYM
7793         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7794         "bp-asm.h".
7795         (PARMS): Do not use macros from bp-asm.h.
7796         (S1): Likewise.
7797         (SIZE): Likewise.
7798         (__mpn_addmul_1): Do not use BP_SYM
7799         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7800         "bp-asm.h".
7801         (PARMS): Do not use macros from bp-asm.h.
7802         (SIGMSK): Likewise.
7803         (_setjmp): Likewise.  Do not use BP_SYM.
7804         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7805         "bp-asm.h".
7806         (PARMS): Do not use macros from bp-asm.h.
7807         (SIGMSK): Likewise.
7808         (setjmp): Likewise.  Do not use BP_SYM.
7809         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7810         "bp-asm.h".
7811         (PARMS): Do not use macros from bp-asm.h.
7812         (__frexp): Do not use BP_SYM.
7813         (frexp): Likewise.
7814         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7815         "bp-asm.h".
7816         (PARMS): Do not use macros from bp-asm.h.
7817         (__frexpf): Do not use BP_SYM.
7818         (frexpf): Likewise.
7819         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7820         "bp-asm.h".
7821         (PARMS): Do not use macros from bp-asm.h.
7822         (__frexpl): Do not use BP_SYM.
7823         (frexpl): Likewise.
7824         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7825         "bp-asm.h".
7826         (PARMS): Do not use macros from bp-asm.h.
7827         (__remquo): Do not use BP_SYM.
7828         (remquo): Likewise.
7829         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7830         "bp-asm.h".
7831         (PARMS): Do not use macros from bp-asm.h.
7832         (__remquof): Do not use BP_SYM.
7833         (remquof): Likewise.
7834         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7835         "bp-asm.h".
7836         (PARMS): Do not use macros from bp-asm.h.
7837         (__remquol): Do not use BP_SYM.
7838         (remquol): Likewise.
7839         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7840         "bp-asm.h".
7841         (PARMS): Do not use macros from bp-asm.h.
7842         (DEST): Likewise.
7843         (SRC): Likewise.
7844         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
7845         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7846         "bp-asm.h".
7847         (PARMS): Do not use macros from bp-asm.h.
7848         (strlen): Do not use BP_SYM.
7849         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7850         "bp-asm.h".
7851         (PARMS): Do not use macros from bp-asm.h.
7852         (S1): Likewise.
7853         (S2): Likewise.
7854         (SIZE): Likewise.
7855         (__mpn_add_n): Do not use BP_SYM.
7856         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7857         "bp-asm.h".
7858         (PARMS): Do not use macros from bp-asm.h.
7859         (S1): Likewise.
7860         (SIZE): Likewise.
7861         (__mpn_addmul_1): Do not use BP_SYM.
7862         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7863         weak_alias.
7864         (bzero): Likewise.
7865         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7866         "bp-asm.h".
7867         (PARMS): Do not use macros from bp-asm.h.
7868         (S): Likewise.
7869         (SIZE): Likewise.
7870         (__mpn_lshift): Do not use BP_SYM.
7871         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7872         "bp-asm.h".
7873         (PARMS): Do not use macros from bp-asm.h.
7874         (DEST): Likewise.
7875         (SRC): Likewise.
7876         (LEN): Likewise.
7877         (memcpy): Likewise.  Do not use BP_SYM.
7878         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7879         libc_hidden_def and weak_alias.
7880         (mempcpy): Do not use BP_SYM in weak_alias.
7881         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7882         "bp-asm.h".
7883         (PARMS): Do not use macros from bp-asm.h.
7884         (DEST): Likewise.
7885         (LEN): Likewise.
7886         [!BZERO_P] (CHR): Likewise.
7887         (memset): Likewise.  Do not use BP_SYM.
7888         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7889         "bp-asm.h".
7890         (PARMS): Do not use macros from bp-asm.h.
7891         (S1): Likewise.
7892         (SIZE): Likewise.
7893         (__mpn_mul_1): Do not use BP_SYM.
7894         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7895         "bp-asm.h".
7896         (PARMS): Do not use macros from bp-asm.h.
7897         (S): Likewise.
7898         (SIZE): Likewise.
7899         (__mpn_rshift): Do not use BP_SYM.
7900         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7901         "bp-asm.h".
7902         (PARMS): Do not use macros from bp-asm.h.
7903         (STR): Likewise.
7904         (CHR): Likewise.
7905         (strchr): Likewise.  Do not use BP_SYM.
7906         (index): Do not use BP_SYM in weak_alias.
7907         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7908         "bp-asm.h".
7909         (PARMS): Do not use macros from bp-asm.h.
7910         (DEST): Likewise.
7911         (SRC): Likewise.
7912         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
7913         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7914         "bp-asm.h".
7915         (PARMS): Do not use macros from bp-asm.h.
7916         (strlen): Do not use BP_SYM.
7917         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7918         "bp-asm.h".
7919         (PARMS): Do not use macros from bp-asm.h.
7920         (S1): Likewise.
7921         (S2): Likewise.
7922         (SIZE): Likewise.
7923         (__mpn_sub_n): Do not use BP_SYM.
7924         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7925         "bp-asm.h".
7926         (PARMS): Do not use macros from bp-asm.h.
7927         (S1): Likewise.
7928         (SIZE): Likewise.
7929         (__mpn_submul_1): Do not use BP_SYM.
7930         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7931         "bp-asm.h".
7932         (PARMS): Do not use macros from bp-asm.h.
7933         (S1): Likewise.
7934         (S2): Likewise.
7935         (SIZE): Likewise.
7936         (__mpn_add_n): Do not use BP_SYM.
7937         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7938         weak_alias.
7939         (bzero): Likewise.
7940         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7941         "bp-asm.h".
7942         (PARMS): Do not use macros from bp-asm.h.
7943         (BLK2): Likewise.
7944         (LEN): Likewise.
7945         (memcmp): Do not use BP_SYM.
7946         (bcmp): Do not use BP_SYM in weak_alias.
7947         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7948         "bp-asm.h".
7949         (PARMS): Do not use macros from bp-asm.h.
7950         (DEST): Likewise.
7951         (SRC): Likewise.
7952         (LEN): Likewise.
7953         (memcpy): Likewise.  Do not use BP_SYM.
7954         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7955         "bp-asm.h".
7956         (PARMS): Do not use macros from bp-asm.h.
7957         (DEST): Likewise.
7958         (SRC): Likewise.
7959         (LEN): Likewise.
7960         (memmove): Likewise.  Do not use BP_SYM.
7961         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7962         "bp-asm.h".
7963         (PARMS): Do not use macros from bp-asm.h.
7964         (DEST): Likewise.
7965         (SRC): Likewise.
7966         (LEN): Likewise.
7967         (__mempcpy): Likewise.  Do not use BP_SYM.
7968         (mempcpy): Do not use BP_SYM in weak_alias.
7969         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7970         "bp-asm.h".
7971         (PARMS): Do not use macros from bp-asm.h.
7972         (DEST): Likewise.
7973         (LEN): Likewise.
7974         [!BZERO_P] (CHR): Likewise.
7975         (memset): Likewise.  Do not use BP_SYM.
7976         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7977         "bp-asm.h".
7978         (PARMS): Do not use macros from bp-asm.h.
7979         (STR2): Likewise.
7980         (strcmp): Do not use BP_SYM.
7981         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7982         "bp-asm.h".
7983         (PARMS): Do not use macros from bp-asm.h.
7984         (STR): Likewise.
7985         (DELIM): Likewise.
7986         [USE_AS_STRTOK_R] (SAVE): Likewise.
7987         (FUNCTION): Likewise.  Do not use BP_SYM.
7988         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7989         aliases.
7990         (strtok_r): Likewise.
7991         (__GI___strtok_r): Likewise.
7992         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7993         (PARMS): Do not use macros from bp-asm.h.
7994         (S): Likewise.
7995         (SIZE): Likewise.
7996         (__mpn_lshift): Do not use BP_SYM.
7997         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7998         (PARMS): Do not use macros from bp-asm.h.
7999         (STR): Likewise.
8000         (CHR): Likewise.
8001         (__memchr): Do not use BP_SYM.
8002         (memchr): Do not use BP_SYM in weak_alias.
8003         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8004         (PARMS): Do not use macros from bp-asm.h.
8005         (BLK2): Likewise.
8006         (LEN): Likewise.
8007         (memcmp): Do not use BP_SYM.
8008         (bcmp): Do not use BP_SYM in weak_alias.
8009         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8010         (PARMS): Do not use macros from bp-asm.h.
8011         (S1): Likewise.
8012         (SIZE): Likewise.
8013         (__mpn_mul_1): Do not use BP_SYM.
8014         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8015         "bp-asm.h".
8016         (PARMS): Do not use macros from bp-asm.h.
8017         (STR): Likewise.
8018         (CHR): Likewise.
8019         (__rawmemchr): Do not use BP_SYM.
8020         (rawmemchr): Do not use BP_SYM in weak_alias.
8021         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8022         (PARMS): Do not use macros from bp-asm.h.
8023         (S): Likewise.
8024         (SIZE): Likewise.
8025         (__mpn_rshift): Do not use BP_SYM.
8026         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8027         (PARMS): Do not use macros from bp-asm.h.
8028         (SIGMSK): Likewise.
8029         (__sigsetjmp): Likewise.  Do not use BP_SYM.
8030         * sysdeps/i386/start.S: Do not include "bp-sym.h".
8031         (_start): Do not use BP_SYM.
8032         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8033         (PARMS): Do not use macros from bp-asm.h.
8034         (DEST): Likewise.
8035         (SRC): Likewise.
8036         (__stpcpy): Likewise.  Do not use BP_SYM.
8037         (stpcpy): Do not use BP_SYM in weak_alias.
8038         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8039         "bp-asm.h".
8040         (PARMS): Do not use macros from bp-asm.h.
8041         (DEST): Likewise.
8042         (SRC): Likewise.
8043         (LEN): Likewise.
8044         (__stpncpy): Likewise.  Do not use BP_SYM.
8045         (stpncpy): Do not use BP_SYM in weak_alias.
8046         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8047         (PARMS): Do not use macros from bp-asm.h.
8048         (STR): Likewise.
8049         (CHR): Likewise.
8050         (strchr): Likewise.  Do not use BP_SYM.
8051         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8052         "bp-asm.h".
8053         (PARMS): Do not use macros from bp-asm.h.
8054         (STR): Likewise.
8055         (CHR): Likewise.
8056         (__strchrnul): Likewise.  Do not use BP_SYM.
8057         (strchrnul): Do not use BP_SYM in weak_alias.
8058         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8059         "bp-asm.h".
8060         (PARMS): Do not use macros from bp-asm.h.
8061         (STOP): Likewise.
8062         (strcspn): Do not use BP_SYM.
8063         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8064         "bp-asm.h".
8065         (PARMS): Do not use macros from bp-asm.h.
8066         (STR): Likewise.
8067         (STOP): Likewise.
8068         (strpbrk): Likewise.  Do not use BP_SYM.
8069         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8070         "bp-asm.h".
8071         (PARMS): Do not use macros from bp-asm.h.
8072         (STR): Likewise.
8073         (CHR): Likewise.
8074         (strrchr): Likewise.  Do not use BP_SYM.
8075         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8076         (PARMS): Do not use macros from bp-asm.h.
8077         (SKIP): Likewise.
8078         (strspn): Do not use BP_SYM.
8079         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8080         (PARMS): Do not use macros from bp-asm.h.
8081         (STR): Likewise.
8082         (DELIM): Likewise.
8083         (SAVE): Likewise.
8084         (FUNCTION): Likewise.  Do not use BP_SYM.
8085         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8086         aliases.
8087         (strtok_r): Likewise.
8088         (__GI___strtok_r): Likewise.
8089         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8090         (PARMS): Do not use macros from bp-asm.h.
8091         (S1): Likewise.
8092         (S2): Likewise.
8093         (SIZE): Likewise.
8094         (__mpn_sub_n): Do not use BP_SYM.
8095         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8096         "bp-asm.h".
8097         (PARMS): Do not use macros from bp-asm.h.
8098         (S1): Likewise.
8099         (SIZE): Likewise.
8100         (__mpn_submul_1): Do not use BP_SYM.
8101         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8102         <bp-sym.h>.
8103         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8104         and <bp-asm.h>.
8105         (PARMS): Do not use macros from bp-asm.h.
8106         (FLAGS): Likewise.
8107         (PTID): Likewise.
8108         (TLS): Likewise.
8109         (CTID): Likewise.
8110         (__clone): Do not use BP_SYM.
8111         (clone): Do not use BP_SYM in weak_alias.
8112         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8113         and <bp-asm.h>.
8114         (PARMS): Do not use macros from bp-asm.h.
8115         (LEN): Likewise.
8116         (__mmap64): Do not use BP_SYM.
8117         (mmap64): Do not use BP_SYM in weak_alias.
8118         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8119         <bp-sym.h> and <bp-asm.h>.
8120         (PARMS): Do not use macros from bp-asm.h.
8121         (__posix_fadvise64_l64): Do not use BP_SYM.
8122         * sysdeps/unix/sysv/linux/i386/semtimedop.S
8123         (PARMS): Do not use macros from bp-asm.h.
8124         (NSOPS): Likewise.
8125         (semtimedop): Do not use BP_SYM.
8126         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8127         and <bp-asm.h>.
8129 2013-02-21  Allan McRae  <allan@archlinux.org>
8131         * manual/message.texi (Charset conversion in gettext):
8132         Move @end statement to beginning of line.
8134 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8136         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8137         static.
8138         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8139         Likewise.
8141         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8142         (denorm): Likewise.
8143         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8146 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8148         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8149         tail-call to the resolved function if pltexit isn't needed.
8151 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8154         or Y being zero as being unlikely.
8155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8156         Likewise.
8158 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
8160         * manual/nss.texi (System Databases and Name Service Switch):
8161         Remove frobnicate @pxref.
8163 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8165         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8166         __attribute__ ((unused)) to __attribute__ ((__unused__)).
8168 2013-02-20  Petr Machata  <pmachata@redhat.com>
8170         * elf/elf.h (R_ARM_TARGET1): New macro.
8171         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8172         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8173         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8174         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8175         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8176         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8177         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8178         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8179         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8180         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8181         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8182         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8183         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8184         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8185         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8186         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8187         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8188         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8189         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8190         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8191         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8192         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8193         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8194         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8195         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8196         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8197         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8198         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8199         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8200         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8201         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8202         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8203         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8204         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8205         (R_ARM_THM_GOT_BREL12): Likewise.
8206         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8207         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8208         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8209         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8210         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8211         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8212         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8213         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8214         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8216 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8218         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8219         __attribute_used__ to __attribute__ ((unused)).
8221 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8223         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8224         powerpc mpa.c.
8225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8226         comment formatting.
8227         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8229 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
8231         [BZ #13550]
8232         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8233         Remove macro.
8234         (ENTER): Remove both macro definitions.
8235         (LEAVE): Likewise.
8236         (CHECK_BOUNDS_LOW): Likewise.
8237         (CHECK_BOUNDS_HIGH): Likewise.
8238         (CHECK_BOUNDS_BOTH): Likewise.
8239         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8240         (RETURN_BOUNDED_POINTER): Likewise.
8241         (RETURN_NULL_BOUNDED_POINTER): Likewise.
8242         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8243         (POP_ERRNO_LOCATION_RETURN): Likewise.
8244         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8245         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8246         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8247         macros.
8248         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8249         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8250         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8251         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8252         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8253         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8254         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8255         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8256         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8257         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8258         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8259         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8260         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8261         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8262         removed macros.
8263         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8264         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8265         macros.
8266         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8267         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8268         * sysdeps/i386/i586/memset.S (memset): Likewise.
8269         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8270         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8271         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8272         macros.
8273         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8274         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8275         Change uses of L(2) to L(out).
8276         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8277         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8278         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8279         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8280         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8281         removed macros.
8282         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8283         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8284         macros.
8285         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8286         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8287         (RETURN): Do not use macro LEAVE.
8288         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8289         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8290         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8291         * sysdeps/i386/i686/memset.S (memset): Likewise.
8292         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8293         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8294         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8295         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8296         Likewise.
8297         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8298         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
8299         L(1_2) and L(1_3) into L(1).
8300         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8301         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8302         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8303         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8304         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8305         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8306         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8307         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8308         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8309         macros.
8310         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8311         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8312         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8313         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8314         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8315         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8316         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8317         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8318         * sysdeps/i386/strcspn.S (strcspn): Likewise.
8319         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8320         * sysdeps/i386/strrchr.S (strrchr): Likewise.
8321         * sysdeps/i386/strspn.S (strspn): Likewise.
8322         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8323         conditional code.
8324         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8325         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8326         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8327         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
8328         L(1_3) into L(1_1).
8329         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8330         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8331         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8332         macros.
8333         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8335 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
8337         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8338         macro.
8340 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8342         * math/atest-exp.c (exp_mpn): Remove ROUND.
8343         * math/atest-exp2.c (exp_mpn): Likewise.
8344         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8346         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8347         * stdlib/tst-tls-atexit-lib.c: Likewise.
8348         * stdlib/tst-tls-atexit.c: Likewise.
8350 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8352         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8353         and __attribute_alloc_size__.
8355 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8357         * include/programs/xmalloc.h: Change __attribute_alloc_size to
8358         __attribute_alloc_size__.
8359         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8360         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8362 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8364         * include/programs/xmalloc.h: New file.
8365         * catgets/gencat.c: Include it.
8366         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8367         * elf/pldd.c: Likewise.
8368         * iconv/iconv_charmap.c: Likewise.
8369         * iconv/iconvconfig.c: Likewise.
8370         * iconv/strtab.c: Likewise.
8371         * locale/programs/locale.c: Likewise.
8372         * locale/programs/localedef.h: Likewise.
8373         * locale/programs/simple-hash.c: Likewise.
8374         * nscd/nscd.h: Likewise.
8375         * nss/makedb.c: Likewise.
8376         * sysdeps/generic/ldconfig.h: Likewise.
8378 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8380         * Versions.def: Add GLIBC_2.18.
8381         * include/link.h (struct link_map): New member l_tls_dtor_count.
8382         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8383         (__call_tls_dtors): Likewise.
8384         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8385         __cxa_thread_atexit_impl.
8386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8387         Likewise.
8388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8389         Likewise.
8390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8391         Likewise.
8392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8393         Likewise.
8394         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8396         Likewise.
8397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8398         Likewise.
8399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8401         Likewise.
8402         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8403         (tests): Add test case tst-tls-atexit.
8404         (modules-names): Add shared library for tst-tls-atexit.
8405         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8406         (GLIBC_PRIVATE): Add __call_tls_dtors.
8407         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8408         for libstdc++.
8409         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8410         * stdlib/tst-tls-atexit.c: New test case.
8411         * stdlib/tst-tls-atexit-lib.c: New test case.
8413         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8415         * elf/Versions (ld): Add _dl_find_dso_for_object.
8416         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8417         * elf/dl-open.c (_dl_find_dso_for_object): New function.
8418         (dl_open_worker): Use _dl_find_dso_for_object.
8419         * elf/dl-sym.c (do_sym): Likewise.
8420         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8422 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8424         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8425         Syntactic changes only.
8426         (_dl_runtime_profile): Do a tail-call to the resolved function.
8428 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
8430         [BZ #13550]
8431         * sysdeps/x86_64/bp-asm.h: Remove file.
8432         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8433         <bp-sym.h> and <bp-asm.h>.
8434         (__clone): Do not use BP_SYM.
8435         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8436         <bp-sym.h> and <bp-asm.h>.
8437         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8438         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8439         "bp-asm.h".
8440         (_setjmp): Do not use BP_SYM.
8441         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8442         "bp-asm.h".
8443         (setjmp): Do not use BP_SYM.
8444         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8445         libc_hidden_def.
8446         (mempcpy): Do not use BP_SYM in weak_alias.
8447         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8448         "bp-asm.h".
8449         (strchr): Do not use BP_SYM.
8450         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8451         "bp-asm.h".
8452         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8453         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8454         (_start): Do not use BP_SYM.
8455         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8456         "bp-asm.h".
8457         (strcat): Do not use BP_SYM.
8458         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8459         "bp-asm.h".
8460         (STRCMP): Do not use BP_SYM.
8461         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8462         "bp-asm.h".
8463         (STRCPY): Do not use BP_SYM.
8464         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8465         "bp-asm.h".
8466         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8467         "bp-asm.h".
8468         (FUNCTION): Do not use BP_SYM.
8469         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8470         weak_alias.
8471         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8473 2013-02-17  Andreas Jaeger  <aj@suse.de>
8475         * time/Versions: Sort entries.
8476         * string/Versions: Likewise.
8477         * resolv/Versions: Likewise.
8478         * posix/Versions: Likewise.
8479         * iconv/Versions: Likewise.
8480         * elf/Versions: Likewise.
8481         * wcsmbs/Versions: Likewise.
8483 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8485         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8486         loop termination condition.
8488         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8489         variable to calculate EZ.
8490         (__sqr): Likewise.
8492         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8493         the lower precision input.
8495 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
8497         [BZ #13550]
8498         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8499         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8500         (run-via-rtld-prefix): Do not handle %-bp tests.
8501         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8502         (all-object-suffixes): Remove .ob.
8503         (bppfx): Remove variable.
8504         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8505         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8506         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8507         [$(build-bounded) = yes] (libtype.ob): Likewise.
8508         * Makerules (elide-routines.ob): Remove variable.
8509         (do-tests-clean): Do not handle *-bp.out.
8510         (common-mostlyclean): Do not handle *-bp and *-bp.out.
8511         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8512         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8513         (tests): Do not include $(tests-bp.out).
8514         (xtests): Do not include $(xtests-bp.out).
8515         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8516         [$(build-bounded) = yes] ($(addprefix
8517         $(objpfx),$(binaries-bounded))): Remove rule.
8518         ($(objpfx)%-bp.out): Remove rule.
8519         * config.make.in (build-bounded): Remove variable.
8520         * crypt/Makefile [$(build-bounded) = yes]
8521         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8522         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8523         append to variable.
8524         [$(build-bounded) = yes] (install-lib): Likewise.
8525         [$(build-bounded) = yes] (generated): Likewise.
8526         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8527         Remove rule.
8528         * intl/Makefile [$(build-bounded) = yes]
8529         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8530         * math/Makefile [$(build-bounded) = yes]
8531         ($(tests:%=$(objpfx)%-bp): Likewise.
8532         * misc/Makefile [$(build-bounded) = yes]
8533         ($(objpfx)tst-tsearch-bp): Likewise.
8534         * nptl/Makeconfig (bounded-thread-library): Remove variable.
8535         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8536         Remove dependency.
8537         * string/Makefile (o-objects.ob): Remove variable.
8538         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8539         (CFLAGS-.ob): Remove variable.
8540         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8541         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8542         both definitions of variable.
8543         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8544         (ASFLAGS-.ob): Remove variable.
8546 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
8548         [BZ #13550]
8549         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8550         Remove __BOUNDED_POINTERS__ from condition.
8551         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8552         * string/bits/string2.h [!__NO_STRING_INLINES &&
8553         !__BOUNDED_POINTERS__]: Likewise.
8554         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8555         Likewise.
8556         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8557         Remove conditional code.
8558         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8559         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8560         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8561         condition.
8563         [BZ #13550]
8564         * csu/libc-start.c: Do not include <bp-sym.h>.
8565         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8566         * elf/dl-open.c: Do not include <bp-sym.h>.
8567         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8568         * math/fegetenv.c: Do not include <bp-sym.h>.
8569         (fegetenv): Do not use BP_SYM in versioned symbols.
8570         * nptl/sysdeps/pthread/bits/libc-lockP.h
8571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8572         <bp-sym.h>.
8573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8574         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8576         (__pthread_mutex_destroy): Likewise.
8577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8578         (__pthread_mutex_lock): Likewise.
8579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8580         (__pthread_mutex_trylock): Likewise.
8581         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8582         (__pthread_mutex_unlock): Likewise.
8583         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8584         (__pthread_mutexattr_init): Likewise.
8585         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8586         (__pthread_mutexattr_destroy): Likewise.
8587         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8588         (__pthread_mutexattr_settype): Likewise.
8589         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8590         (__pthread_rwlock_init): Likewise.
8591         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8592         (__pthread_rwlock_destroy): Likewise.
8593         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8594         (__pthread_rwlock_rdlock): Likewise.
8595         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8596         (__pthread_rwlock_tryrdlock): Likewise.
8597         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8598         (__pthread_rwlock_wrlock): Likewise.
8599         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8600         (__pthread_rwlock_trywrlock): Likewise.
8601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8602         (__pthread_rwlock_unlock): Likewise.
8603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8604         (__pthread_key_create): Likewise.
8605         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8606         (__pthread_setspecific): Likewise.
8607         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8608         (__pthread_getspecific): Likewise.
8609         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8610         Likewise.
8611         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8612         (_pthread_cleanup_push_defer): Likewise.
8613         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8614         (_pthread_cleanup_pop_restore): Likewise.
8615         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8616         (pthread_setcancelstate): Likewise.
8617         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8618         <bp-sym.h>.
8619         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8620         (memchr): Do not use BP_SYM in weak_alias.
8621         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8622         (fegetenv): Do not use BP_SYM in versioned symbols.
8623         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8624         (fesetenv): Do not use BP_SYM in versioned symbols.
8625         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8626         (feupdateenv): Do not use BP_SYM in versioned symbols.
8627         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8628         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8629         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8630         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8631         (open64): Do not use BP_SYM in weak_alias.
8632         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8633         (fegetenv): Do not use BP_SYM in versioned symbols.
8634         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8635         (fesetenv): Do not use BP_SYM in versioned symbols.
8636         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8637         (feupdateenv): Do not use BP_SYM in versioned symbols.
8638         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8639         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8640         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8641         (feraiseexcept): Do not use BP_SYM in versioned symbols.
8642         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8643         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8644         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8645         <bp-sym.h>.
8646         (__libc_start_main): Do not use BP_SYM.
8648 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8650         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8651         redundant return line.
8652         (norm): Likewise.
8653         (denorm): Likewise.
8654         (dbl_mp): Likewise.
8655         (sub_magnitudes): Likewise.
8656         (__add): Likewise.
8657         (__sub): Likewise.
8658         (__mul): Likewise.
8659         (__inv): Likewise.
8660         (__dvd): Likewise.
8661         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8662         (norm): Likewise.
8663         (denorm): Likewise.
8664         (dbl_mp): Likewise.
8665         (sub_magnitudes): Likewise.
8666         (__add): Likewise.
8667         (__sub): Likewise.
8668         (__mul): Likewise.
8669         (__inv): Likewise.
8670         (__dvd): Likewise.
8672         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8673         instead of __mul.
8674         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8675         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8676         (cc32): Likewise.
8678         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8679         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8680         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8681         of __mul for squares.
8682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8683         function
8684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8685         Likewise.
8686         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8687         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8689 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
8691         [BZ #13550]
8692         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8693         code.
8694         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8695         prototype or function definition.  Rename ubp_* variables and
8696         parameters.  Remove argv definitions conditional on
8697         [__BOUNDED_POINTERS__].
8698         * debug/backtrace.c (__backtrace): Do not use __unbounded.
8699         * elf/dl-runtime.c (_dl_fixup): Likewise.
8700         * include/set-hooks.h (RUN_HOOK): Likewise.
8701         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8702         definition.
8703         * string/strcpy.c (strcpy): Do not use __unbounded.
8704         * sysdeps/generic/frame.h (struct layout): Likewise.
8705         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8706         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8707         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8708         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8709         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8710         (__backtrace): Likewise.
8711         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8712         use __ptrvalue.
8713         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8714         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8715         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8716         Likewise.
8717         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8718         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8719         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8720         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8721         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8722         Do not use __unbounded.
8723         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8724         Rename __unboundedrlimits parameter to rlimits in prototype.
8725         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8726         Do not use __unbounded.
8727         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8728         not use __ptrvalue.
8729         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8730         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8731         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8732         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8733         __ptrvalue or __unbounded.
8734         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8735         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8736         use __unbounded.
8737         (__new_msgctl): Do not use __ptrvalue.
8738         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8739         __unbounded.
8740         (__libc_msgrcv): Do not use __ptrvalue.
8741         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8742         startup_info): Do not use __unbounded.
8743         (__libc_start_main): Likewise.  Rename ubp_* variables and
8744         parameters.  Remove argv definitions conditional on
8745         [__BOUNDED_POINTERS__].
8746         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8747         __ptrvalue.
8748         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8749         use __unbounded.
8750         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8751         or __ptrvalue.
8752         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8753         use __unbounded.
8754         (__new_shmctl): Do not use __ptrvalue.
8755         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8756         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8757         Likewise.
8758         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8759         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8760         (__libc_sigaction): Likewise.
8761         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8762         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8763         Likewise.
8764         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8766 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
8768         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8770         * string/mempcpy.c: Implement by calling memcpy.
8772 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8776         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8777         evaluation.
8779         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8780         values in the mantissa.
8782         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8783         minimize writes to Z.
8784         (sub_magnitudes): Simplify code a bit.
8786 2013-02-12  Roland McGrath  <roland@hack.frob.com>
8788         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8789         from the message.  The linker prefixes all warnings with that already.
8791 2013-02-12  Andreas Schwab  <schwab@suse.de>
8793         [BZ #15078]
8794         * posix/regexec.c (extend_buffers): Add parameter min_len.
8795         (check_matching): Pass minimum needed length.
8796         (clean_state_log_if_needed): Likewise.
8797         (get_subexp): Likewise.
8798         * posix/Makefile (tests): Add bug-regex34.
8799         (bug-regex34-ENV): Define.
8800         * posix/bug-regex34.c: New file.
8802         [BZ #11561]
8803         * posix/regcomp.c (parse_bracket_exp): When looking up collating
8804         elements compare against the byte sequence of it, not its name.
8805         * posix/Makefile (tests): Add bug-regex35.
8806         (bug-regex35-ENV): Define.
8807         * posix/bug-regex35.c: New file.
8809 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8811         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
8812         comment.
8813         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8814         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8815         (CHECK_EOL): Add undef.
8817 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
8819         * bits/stdlib-bsearch.h: New file.
8820         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8821         * stdlib/stdlib.h: Likewise.
8823 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8825         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8826         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8827         declaration.
8828         * manual/search.texi (Array Search Function): Add missing const in
8829         lfind prototype.
8830         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8831         declaration to use rlim_t.
8832         (Basic Scheduling Functions): Remove erroneous const from
8833         sched_getparam prototype.  Remove erroneous * from
8834         sched_get_priority_max and sched_get_priority_min prototypes.
8835         (Resource Usage): Fix summary @comment on vtimes to refer to
8836         sys/vtimes.h rather than vtimes.h.
8837         Add missing *s in vtimes prototype.
8838         (Limits on Resources): Fix ulimit prototype to return long int.
8839         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8840         prototypes to use long int rather than double.
8841         (BSD Random): Fix initstate and setstate to use char *, not void *.
8842         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8843         prototype to make second argument 'struct aiocb64 *const[]'.
8844         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8845         (Status of AIO Operations): Remove erroneous const in aio_return and
8846         aio_return64 prototypes.
8847         (Synchronizing I/O): Fix sync prototype to return void.
8848         * manual/startup.texi (Suboptions): Remove an erroneous const in
8849         getsubopt prototype.
8850         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8851         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8852         use size_t rather than int.
8853         (Scanning All Users): Likewise for getpwent_r.
8854         (Setting Groups): Add missing const to setgroups prototype.
8855         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8856         * manual/socket.texi (Host Names): Fix gethostbyaddr and
8857         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8858         'const void *' rather than 'const char *'.
8859         (Host Address Functions): Likewise for inet_ntop.
8860         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8861         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8862         ssize_t for return value.
8863         (Sending Data): Likewise for send, sendto, sendmsg.
8864         (Socket Option Functions): Add a missing const in setsockopt prototype.
8865         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8866         use wchar_t for the argument.
8867         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8868         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8869         take no arguments.
8870         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8871         double/float/long double for second argument.
8872         Fix return types of significand, significandf, significandl.
8873         * manual/filesys.texi (Setting Permissions): Use mode_t for second
8874         argument in fchmod prototype.
8875         (File Owner): Use uid_t and gid_t in fchown prototype.
8876         (File Times): Add const to utimes, futimes, and lutimes prototypes.
8877         (Making Special Files): Use mode_t and dev_t in mknod prototype.
8878         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8879         use 'const struct dirent **' as argument types to CMP function pointer
8880         argument.
8881         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8882         (File Times): Fix summary magic @comment for struct utimbuf and utime
8883         to refer to utime.h, not time.h.
8884         * manual/string.texi (Argz Functions): Add missing const in
8885         argz_extract and argz_next prototypes.
8886         (Finding Tokens in a String): Likewise for basename.
8887         (String/Array Comparison): Fix typo in wcscasecmp prototype.
8888         (Copying and Concatenation): Fix typo in wmemmove prototype.
8889         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8890         (Signal Stack): Remove erroneous const in sigstack prototype.
8891         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8892         prototype.
8893         (Simple Calendar Time): Likewise for stime.
8894         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8895         prototype.
8896         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8897         say sys/sysctl.h instead.
8898         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8899         and vsyslog prototypes.
8901 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8903         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8904         Remove.
8906 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8908         * misc/sys/mman.h: Fix typo in mremap comment.
8910 2013-02-08  Roland McGrath  <roland@hack.frob.com>
8912         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8913         the '\0' terminator.
8915 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
8917         [BZ #13550]
8918         * debug/segfault.c: Don't include <bp-checks.h>.
8919         * sysdeps/generic/bp-checks.h: Remove file.
8920         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8921         (__GETDENTS): Don't use CHECK_N.
8922         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8923         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8924         (__getgroups): Don't use CHECK_N.
8925         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8926         (setgroups): Don't use CHECK_N.
8927         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8928         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8929         (__libc_msgrcv): Don't use CHECK_N.
8930         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8931         (__libc_msgsnd): Don't use CHECK_N.
8932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8933         <bp-checks.h>.
8934         (__libc_pread): Don't use CHECK_N.
8935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8936         include <bp-checks.h>.
8937         (__libc_pread64): Don't use CHECK_N.
8938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8939         include <bp-checks.h>.
8940         (__libc_pwrite): Don't use CHECK_N.
8941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8942         include <bp-checks.h>.
8943         (__libc_pwrite64): Don't use CHECK_N.
8944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8945         <bp-checks.h>.
8946         (__libc_pread): Don't use CHECK_N.
8947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8948         include <bp-checks.h>.
8949         (__libc_pread64): Don't use CHECK_N.
8950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8951         include <bp-checks.h>.
8952         (__libc_pwrite): Don't use CHECK_N.
8953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8954         include <bp-checks.h>.
8955         (__libc_pwrite64): Don't use CHECK_N.
8956         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8957         (do_pread): Don't use CHECK_N.
8958         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8959         (do_pread64): Don't use CHECK_N.
8960         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8961         (do_pwrite): Don't use CHECK_N.
8962         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8963         (do_pwrite64): Don't use CHECK_N.
8964         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8965         (__libc_readv): Don't use CHECK_N.
8966         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8967         (semop): Don't use CHECK_N.
8968         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8969         <bp-checks.h>.
8970         (semtimedop): Don't use CHECK_N.
8971         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8972         (__libc_pread): Don't use CHECK_N.
8973         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8974         <bp-checks.h>.
8975         (__libc_pread64): Don't use CHECK_N.
8976         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8977         <bp-checks.h>.
8978         (__libc_pwrite): Don't use CHECK_N.
8979         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8980         <bp-checks.h>.
8981         (__libc_pwrite64): Don't use CHECK_N.
8982         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8983         <bp-checks.h>.
8984         (__libc_msgrcv): Don't use CHECK_N.
8985         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8986         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
8987         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8988         (__libc_writev): Don't use CHECK_N.
8990 2013-02-08  Roland McGrath  <roland@hack.frob.com>
8992         * string/strcpy.c: Removed unused variable.
8994         * Makeconfig (+sysdep-includes): Define with := rather than =.
8995         Use an existing include/ subdir of each sysdeps dir before it.
8997 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8999         * nscd/connection.c (register_traced_file): Comment function.
9000         [HAVE_INOTIFY] (union __inev): Define.
9001         [HAVE_INOTIFY] (inotify_check_files): New function.
9002         [HAVE_INOTIFY] (clear_db_cache): Likewise.
9003         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9004         clear_db_cache.
9005         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9007 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9009         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9010         loaded if not already and that a failure is permanent.
9012 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9014         [BZ #15006]
9015         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9016         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9018 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9020         [BZ #13550]
9021         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9022         (CHECK_1_NULL_OK): Likewise.
9023         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9024         (__fxstat): Do not use CHECK_1.
9025         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9026         <bp-checks.h>.
9027         (___fxstat64): Do not use CHECK_1.
9028         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9029         <bp-checks.h>.
9030         (__fxstatat): Do not use CHECK_1.
9031         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9032         <bp-checks.h>.
9033         (__fxstatat64): Do not use CHECK_1.
9034         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9035         <bp-checks.h>.
9036         (__fxstat): Do not use CHECK_1.
9037         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9038         <bp-checks.h>.
9039         (__fxstatat): Do not use CHECK_1.
9040         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9041         <bp-checks.h>.
9042         (__getresgid): Do not use CHECK_1.
9043         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9044         <bp-checks.h>.
9045         (__getresuid): Do not use CHECK_1.
9046         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9047         <bp-checks.h>.
9048         (__lxstat): Do not use CHECK_1.
9049         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9050         <bp-checks.h>.
9051         (__old_msgctl): Do not use CHECK_1.
9052         (__new_msgctl): Likewise.
9053         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9054         <bp-checks.h>.
9055         (__new_setrlimit): Do not use CHECK_1.
9056         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9057         <bp-checks.h>.
9058         (__old_shmctl): Do not use CHECK_1.
9059         (__new_shmctl): Likewise.
9060         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9061         <bp-checks.h>.
9062         (__xstat): Do not use CHECK_1.
9063         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9064         (__lxstat): Do not use CHECK_1.
9065         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9066         <bp-checks.h>.
9067         (___lxstat64): Do not use CHECK_1.
9068         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9069         (__old_msgctl): Do not use CHECK_1.
9070         (__new_msgctl): Likewise.
9071         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9072         <bp-checks.h>.
9073         (__gettimeofday): Do not use CHECK_1.
9074         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9075         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9076         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9077         <bp-checks.h>.
9078         (__gettimeofday): Do not use CHECK_1.
9079         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9080         (__old_shmctl): Do not use CHECK_1_NULL_OK.
9081         (__new_shmctl): Do not use CHECK_1.
9082         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9083         <bp-checks.h>.
9084         (do_sigtimedwait): Do not use CHECK_1.
9085         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9086         <bp-checks.h>.
9087         (do_sigwaitinfo): Do not use CHECK_1.
9088         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9089         <bp-checks.h>.
9090         (msgctl): Do not use CHECK_1.
9091         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9092         <bp-checks.h>.
9093         (shmctl): Do not use CHECK_1.
9094         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9095         (ustat): Do not use CHECK_1.
9096         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9097         <bp-checks.h>.
9098         (__fxstat): Do not use CHECK_1.
9099         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9100         <bp-checks.h>.
9101         (__fxstatat): Do not use CHECK_1.
9102         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9103         <bp-checks.h>.
9104         (__lxstat): Do not use CHECK_1.
9105         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9106         <bp-checks.h>.
9107         (__xstat): Do not use CHECK_1.
9108         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9109         (__xstat): Do not use CHECK_1.
9110         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9111         (___xstat64): Do not use CHECK_1.
9113         [BZ #13550]
9114         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9115         definitions.
9116         (CHECK_BOUNDS_HIGH): Likewise.
9117         * string/strcpy.c: Do not include <bp-checks.h>.
9118         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9120 2013-02-07  Roland McGrath  <roland@hack.frob.com>
9122         * nscd/nscd-client.h (__nscd_drop_map_ref):
9123         Add __attribute__ ((unused)).
9124         * nis/nss-nisplus.h (niserr2nss): Likewise.
9126         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9127         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9129         * csu/libc-tls.c (init_static_tls, init_slotinfo):
9130         Remove inline keyword.
9131         * include/rounding-mode.h (round_away): Likewise.
9132         * libio/wfileops.c (adjust_wide_data): Likewise.
9133         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9134         (__m128i_strloadu_tolower): Likewise.
9135         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9136         (__m128i_strloadu_tolower): Likewise.
9137         * time/mktime.c (ydhms_diff): Likewise.
9138         * locale/elem-hash.h (elem_hash): Likewise.
9139         * locale/setlocale.c (setdata): Likewise.
9140         * posix/regex_internal.h (re_string_char_size_at): Likewise.
9141         (re_string_wchar_at): Likewise.
9142         (bitset_not, bitset_merge, bitset_mask): Likewise.
9143         [!(__GNUC__ > 3)] (inline): Remove macro.
9144         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9145         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9146         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9147         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9148         * string/memcmp.c (memcmp_bytes): Likewise.
9149         * locale/programs/locarchive.c (compute_hashval): Likewise.
9150         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9151         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9152         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9153         * nss/getent.c (print_rpc, print_protocols): Likewise.
9154         (print_passwd, print_group, print_aliases): Likewise.
9155         * nis/nss-nisplus.h (niserr2nss): Likewise.
9156         * nscd/connections.c (restart_p): Likewise.
9157         Change return type to bool.
9159 2013-02-05  Roland McGrath  <roland@hack.frob.com>
9161         * Makeconfig (all-Depend-files): Add existing
9162         $(sorted-subdirs:=/Depend) files.
9163         (all-subdirs): Remove nss.
9164         * sysdeps/unix/inet/Subdirs: Add it here instead.
9165         * hesiod/Depend: New file.
9167         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9168         instead of calling alloca.
9170         * io/lseek.c (__lseek): Rename to __libc_lseek.
9171         Define __lseek as an alias.
9173         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9175 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
9177         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9178         else clause and remove check for non-standard endianness.
9180 2013-02-04  David S. Miller  <davem@davemloft.net>
9182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9184 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
9186         [BZ #13550]
9187         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9188         (__ubp_memchr): Remove prototype.
9189         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9190         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9191         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9192         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9193         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9194         Remove alias.
9195         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9196         (__ubp_memchr): Likewise.
9197         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9198         (__ubp_memchr): Likewise.
9199         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9200         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9201         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9202         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9203         CHECK_STRING.
9204         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9205         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9206         (__getcwd): Do not use CHECK_STRING.
9207         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9208         <bp-checks.h>.
9209         (__real_chown): Do not use CHECK_STRING.
9210         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9211         <bp-checks.h>.
9212         (fchownat): Do not use CHECK_STRING.
9213         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9214         CHECK_STRING.
9215         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9216         <bp-checks.h>.
9217         (__lchown): Do not use CHECK_STRING.
9218         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9219         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9220         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9221         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9223         include <bp-checks.h>.
9224         (truncate64): Do not use CHECK_STRING.
9225         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9226         <bp-checks.h>.
9227         (__real_chown): Do not use CHECK_STRING.
9228         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9229         <bp-checks.h>.
9230         (__lchown): Do not use CHECK_STRING.
9231         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9232         <bp-checks.h>.
9233         (__chown): Do not use CHECK_STRING.
9234         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9235         <bp-checks.h>.
9236         (truncate64): Do not use CHECK_STRING.
9237         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9238         Likewise.
9239         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9240         (__xmknod): Do not use CHECK_STRING.
9241         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9242         <bp-checks.h>.
9243         (__xmknodat): Do not use CHECK_STRING.
9244         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9245         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9247 2013-02-04  Andreas Schwab  <schwab@suse.de>
9249         [BZ #14142]
9250         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9251         * include/netdb.h: Likewise for h_errno.
9252         * elf/tst-stackguard1.c: Include <tls.h>.
9254 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9256         * elf/link.h (struct link_map): Extend the l_addr comment.
9257         * include/link.h (struct link_map): Likewise.
9259 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
9261         [BZ #13550]
9262         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9263         (BOUNDED_1): Remove macro.
9264         * debug/backtrace.c: Don't include <bp-checks.h>.
9265         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9266         (__backtrace): Likewise.
9267         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9268         <bp-checks.h>.
9269         (__backtrace): Don't use BOUNDED_1.
9270         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9271         <bp-checks.h>.
9272         (__backtrace): Don't use BOUNDED_1.
9273         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9274         (__backtrace): Don't use BOUNDED_1.
9275         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9276         (shmat): Don't use BOUNDED_N.
9278 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
9280         [BZ #13550]
9281         * sysdeps/generic/bp-start.h: Remove file.
9282         * csu/libc-start.c: Don't include <bp-start.h>.
9283         (LIBC_START_MAIN): Set up __environ directly instead of using
9284         INIT_ARGV_and_ENVIRON.
9285         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9286         <bp-start.h>.
9288         [BZ #13550]
9289         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9290         definitions.
9291         (CHECK_FCNTL): Likewise.
9292         (CHECK_N_PAGES): Likewise.
9294         [BZ #13550]
9295         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9296         definitions.
9297         (CHECK_SIGSET_NULL_OK): Likewise.
9298         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9299         <bp-checks.h>.
9300         (sigpending): Don't use CHECK_SIGSET.
9301         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9302         <bp-checks.h>.
9303         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9304         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9305         <bp-checks.h>.
9306         (do_sigsuspend): Don't use CHECK_SIGSET.
9307         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9308         use CHECK_SIGSET.
9309         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9310         (do_sigwait): Don't use CHECK_SIGSET.
9311         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9312         use CHECK_SIGSET.
9313         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9314         include <bp-checks.h>.
9315         (sigpending): Don't use CHECK_SIGSET.
9316         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9317         include <bp-checks.h>.
9318         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9319         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9320         <bp-checks.h>.
9321         (sigpending): Don't use CHECK_SIGSET.
9322         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9323         <bp-checks.h>.
9324         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9326         [BZ #13550]
9327         * sysdeps/generic/bp-semctl.h: Remove file.
9328         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9329         <bp-checks.h> and <bp-semctl.h>.
9330         (__old_semctl): Don't use CHECK_SEMCTL.
9331         (__new_semctl): Likewise.
9332         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9333         and <bp-semctl.h>.
9334         (__old_semctl): Don't use CHECK_SEMCTL.
9335         (__new_semctl): Likewise.
9336         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9337         <bp-checks.h> and <bp-semctl.h>.
9338         (__old_semctl): Don't use CHECK_SEMCTL.
9339         (__new_semctl): Likewise.
9340         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9341         <bp-checks.h> and <bp-semctl.h>.
9342         (semctl): Don't use CHECK_SEMCTL.
9344         [BZ #13550]
9345         * Makerules (elide-bp-thunks): Remove variable.
9346         (elide-routines.oS): Don't use $(elide-bp-thunks).
9347         (elide-routines.os): Likewise.
9348         (elide-routines.o): Likewise.
9349         (elide-routines.op): Likewise.
9350         (elide-routines.og): Likewise.
9351         (objects): Don't use $(bp-thunks).
9352         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9353         include.
9354         (common-generated): Do not add s-proto-bp.d.
9355         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9356         (int): Likewise.
9357         (typ): Likewise.
9358         Do not generate makefile rules for bounded-pointer thunks.
9359         * sysdeps/generic/bp-thunks.h: Remove file.
9360         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9361         * sysdeps/unix/s-proto-bp.S: Likewise.
9363         [BZ #15062]
9364         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9365         parts of result separately when argument is not close to line from
9366         -i to i and one part of argument is small.
9367         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9368         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9369         * math/libm-test.inc (cacos_test): Add more tests.
9370         (casin_test): Likewise.
9371         (casinh_test): Likewise.
9372         * sysdeps/i386/fpu/libm-test-ulps: Update.
9373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9375 2013-01-31  David S. Miller  <davem@davemloft.net>
9377         * po/de.po: Update from translation team.
9379 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
9381         * time/tzfile.c: Include stdint.h for SIZE_MAX.
9383 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
9385         * configure.in (_AC_PROG_CC_C89): New definition.
9386         * configure: Regenerate.
9388         * configure.in (AC_PROG_CPP): New definition.
9389         * configure: Regenerate.
9391 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
9393         * debug/tst-backtrace.h: New file.
9394         * debug/tst-backtrace2.c: Include tst-backtrace.h.
9395         (ret): Remove variable.
9396         (x): Likewise.
9397         (FAIL): Remove macro.
9398         (NO_INLINE): Likewise.
9399         (fn1): Use match function instead of strstr.
9400         * debug/tst-backtrace3.c: Include tst-backtrace.h.
9401         (ret): Remove variable.
9402         (x): Likewise.
9403         (FAIL): Remove macro.
9404         (NO_INLINE): Likewise.
9405         (fn): Use match function instead of strstr.
9406         * debug/tst-backtrace4.c: Include tst-backtrace.h.
9407         (ret): Remove variable.
9408         (x): Likewise.
9409         (FAIL): Remove macro.
9410         (NO_INLINE): Likewise.
9411         (handle_signal): Use match function instead of strstr.
9412         * debug/tst-backtrace5.c: Include tst-backtrace.h.
9413         (ret): Remove variable.
9414         (x): Likewise.
9415         (FAIL): Remove macro.
9416         (NO_INLINE): Likewise.
9417         (handle_signal): Use match function instead of strstr.
9419 2013-01-23  Roland McGrath  <roland@hack.frob.com>
9421         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9423 2013-01-23  David S. Miller  <davem@davemloft.net>
9425         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9426         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9427         argument of CAS if possible.
9428         * sysdeps/sparc/sparc64/bits/atomic.h
9429         (__arch_compare_and_exchange_val_32_acq): Likewise.
9430         (__arch_compare_and_exchange_val_64_acq): Likewise.
9432 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
9434         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9435         * sysdeps/posix/ulimit.c: ... this.
9436         Include <limits.h>.
9437         * sysdeps/unix/bsd/ulimit.c: Remove file.
9439 2013-01-23  Adam Conrad  <adconrad@0c3.net>
9441         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9442         (LDFLAGS-tst-array5): Likewise.
9444 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
9446         [BZ #15036]
9447         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9448         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9449         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9450         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9452 2013-01-21  David S. Miller  <davem@davemloft.net>
9454         * sysdeps/sparc/backtrace.c: New file.
9455         * sysdeps/sparc/sparc32/backtrace.h: New file.
9456         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9457         * sysdeps/sparc/sparc64/backtrace.h: New file.
9458         * sysdeps/sparc/sparc64/backtrace.c: Delete.
9459         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9460         -funwind-tables.
9462 2013-01-21  Andreas Schwab  <schwab@suse.de>
9464         [BZ #15020]
9465         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9466         closed its stdout.
9468 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
9470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9471         "mpa2.h".
9472         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9474 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
9475             Mark Mitchell  <mark@codesourcery.com>
9476             Tom de Vries  <tom@codesourcery.com>
9477             Paul Pluzhnikov  <ppluzhnikov@google.com>
9479         * debug/tst-backtrace2.c: New file.
9480         * debug/tst-backtrace3.c: Likewise.
9481         * debug/tst-backtrace4.c: Likewise.
9482         * debug/tst-backtrace5.c: Likewise.
9483         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9484         (CFLAGS-tst-backtrace3.c): Likewise.
9485         (CFLAGS-tst-backtrace4.c): Likewise.
9486         (CFLAGS-tst-backtrace5.c): Likewise.
9487         (LDFLAGS-tst-backtrace2): Likewise.
9488         (LDFLAGS-tst-backtrace3): Likewise.
9489         (LDFLAGS-tst-backtrace4): Likewise.
9490         (LDFLAGS-tst-backtrace5): Likewise.
9491         (tests): Add new tests tst-backtrace2, tst-backtrace3,
9492         tst-backtrace4 and tst-backtrace5.
9494 2013-01-18  Anton Blanchard  <anton@samba.org>
9495             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9497         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9498         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9499         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9500         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9502         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9503         "+r" and remove output regs list as redundant.  Add explicit inline
9504         asm to specify register of return val to work around compiler codegen
9505         bug.  Remove (int) cast on return value.  Add return type parameter to
9506         use in macro so that this macro does not truncate return value for
9507         64-bit values.
9508         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9509         pass to INTERNAL_VSYSCALL_NCS.
9510         (INLINE_VSYSCALL): Add 'long int' as return type to
9511         INTERNAL_VSYSCALL_NCS macro invocation.
9512         (INTERNAL_VSYSCALL): Add 'long int' as return type to
9513         INTERNAL_VSYSCALL_NCS macro invocation.
9514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9516 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9518         [BZ #14496]
9519         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9520         Fix application of SIMD FP exception mask.
9522         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9523         mp_no from a power of two.
9524         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9525         __mpexp_twomm1.  Use __pow_mp.
9527         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9528         multiplication.
9530 2013-01-17  David S. Miller  <davem@davemloft.net>
9532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9534 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
9536         [BZ #15023]
9537         * include/complex.h: Condition contents on [!_COMPLEX_H].
9538         (__kernel_casinhf): New prototype.
9539         (__kernel_casinh): Likewise.
9540         (__kernel_casinhl): Likewise.
9541         * math/Makefile (libm_calls): Add k_casinh.
9542         * math/k_casinh.c: New file.
9543         * math/k_casinhf.c: Likewise.
9544         * math/k_casinhl.c: Likewise.
9545         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9546         finite nonzero arguments.
9547         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9548         finite nonzero arguments.
9549         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9550         finite nonzero arguments.
9551         * math/s_casinh.c: Do not include <float.h>.
9552         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9553         * math/s_casinhf.c: Do not include <float.h>.
9554         (__casinhf): Move code for finite nonzero arguments to
9555         k_casinhf.c.
9556         * math/s_casinhl.c: Do not include <float.h>.
9557         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9558         redefine.
9559         (__casinhl): Move code for finite nonzero arguments to
9560         k_casinhl.c.
9561         * math/libm-test.inc (cacos_test): Add more tests.
9562         * sysdeps/i386/fpu/libm-test-ulps: Update.
9563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9565 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
9567         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9568         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9569         [!HAVE_MREMAP]: Remove [defined linux] case.
9570         * malloc/arena.c: Do not include <malloc-sysdep.h>.
9572 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9574         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9576 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
9578         * elf/elf.h (R_386_SIZE32): New relocation.
9579         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9580         R_386_SIZE32.
9581         (elf_machine_rela): Likewise.
9582         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9583         R_X86_64_SIZE64 and R_X86_64_SIZE32.
9585 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
9587         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9588         (FP_FAST_FMA): Do not define.
9589         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9590         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9591         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9592         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9593         !_SOFT_FLOAT]: Likewise.
9594         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9595         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9596         value.
9597         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9598         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9599         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9600         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9601         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9602         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9603         file.
9605 2013-01-16  Andreas Schwab  <schwab@suse.de>
9607         [BZ #14327]
9608         * include/stdlib.h (__mktemp): Add declaration.
9609         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9610         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9612 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9614         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9615         definitions.
9616         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9617         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9618         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9619         definitions here.
9620         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9621         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9622         definitions.
9623         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9624         and ONE.
9625         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9626         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9627         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9628         definitions.
9629         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9630         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9631         definitions.
9632         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9634         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9636 2013-01-15  David S. Miller  <davem@davemloft.net>
9638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9639         trunc{,f} to libm-sysdep_routes.
9640         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9642         file.
9643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9645         file.
9646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9647         file.
9648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9650         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9651         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9652         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9653         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9654         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9655         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9658         nearbyint{,f} to libm-sysdep_routes.
9659         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9661         New file.
9662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9663         file.
9664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9665         New file.
9666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9667         file.
9668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9670         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9671         file.
9672         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9673         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9674         file.
9675         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9676         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9677         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9679         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9680         libc_feholdexcept and libc_fesetenv.
9682 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
9684         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9686 2013-01-14  David S. Miller  <davem@davemloft.net>
9688         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9689         (SPARC_ASM_VIS2_IFUNC): Likewise.
9690         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9692         use of 'siam' instruction.
9693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9694         Likewise.
9695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9696         Likewise.
9697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9698         Likewise.
9699         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9700         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9701         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9702         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9704         file.
9705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9706         file.
9707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9708         file.
9709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9710         file.
9711         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9712         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9713         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9714         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9716         new VIS2 routines.
9717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9720         Likewise.
9721         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9722         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9723         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9724         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9726         routines to libm-sysdep_routines.
9727         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9730         fdim/fdimf to libm-sysdep_routines.
9731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9732         file.
9733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9735         file.
9736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9739         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9740         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9741         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9742         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9744 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9746         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9747         to optimize copies.
9749         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9750         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9751         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9753         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9754         local variable MPTWO.
9755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9756         Likewise.
9758 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9760         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9761         GLOB_NOESCAPE.
9763 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9765         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9767 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9769         * manual/pattern.texi (glob_t): Document gl_flags.
9770         (glob64_t): Likewise.
9772 2013-01-11  David S. Miller  <davem@davemloft.net>
9774         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9775         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9776         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
9777         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9778         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9779         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9780         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9781         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9782         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9783         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9784         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9785         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9786         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9788         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9789         sparc V9 rather than using V8 code.
9790         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9791         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9793         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9794         Move to...
9795         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9796         Here.
9798 2013-01-11  Roland McGrath  <roland@hack.frob.com>
9800         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9801         not in the main loop.
9802         * configure: Regenerated.
9804 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
9806         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9807         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9808         to just #else.
9809         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
9810         [!__GLIBC_HAVE_LONG_LONG] case.
9811         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9812         condition to just #else.
9813         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9814         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9815         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9816         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9817         unconditional.
9818         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9819         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9820         #elif condition to just #else.
9821         * sysdeps/unix/sysv/linux/sys/sysmacros.h
9822         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9823         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9824         #elif condition to just #else.
9826 2013-01-11  Steve Ellcey  <sellcey@mips.com>
9828         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9829         (EF_MIPS_ARCH_64): Fix value.
9830         (EF_MIPS_ARCH_32R2): New.
9831         (EF_MIPS_ARCH_64R2): New.
9833 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
9835         * Makeconfig (+link-pie-before-libc): New.
9836         (+link-pie-after-libc): Likewise.
9837         (+link-pie-tests): Likewise.
9838         (+link-pie): Rewritten.
9839         (link-before-libc): Remove $(config-LDFLAGS).
9840         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9841         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9842         (config-LDFLAGS): Renamed to ...
9843         (rtld-LDFLAGS): This.
9844         (rtld-tests-LDFLAGS): New macro.
9845         (link-libc-rpath-link): Likewise.
9846         (link-libc-tests-rpath-link): Likewise.
9847         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9848         (link-libc): Prepand $(link-libc-rpath-link).
9849         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9850         (test-program-prefix): New macro.
9851         (test-via-rtld-prefix): Likewise.
9852         (test-program-cmd): Likewise.
9853         (host-test-program-cmd): Likewise.
9854         * Makefile ($(common-objpfx)testrun.sh): Replace
9855         $(run-program-prefix) with $(test-program-prefix).
9856         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9857         $(rtld-LDFLAGS).
9858         ($(common-objpfx)shlib.lds): Likewise.
9859         (build-module-helper): Likewise.
9860         ($(common-objpfx)format.lds): Likewise.
9861         * Rules (binaries-pie-tests): New.
9862         (binaries-pie-notests): Likewise.
9863         (binaries-pie): Rewritten.
9864         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9865         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9866         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9867         (make-test-out): Replace $(host-built-program-cmd) with
9868         $(host-test-program-cmd).
9869         * config.make.in (build-hardcoded-path-in-tests): New variable.
9870         * configure.in (--enable-hardcoded-path-in-tests): New configure
9871         option.
9872         (hardcoded_path_in_tests): New AC_SUBST.
9873         * configure: Regenerated.
9874         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9875         $(built-program-cmd) with $(test-program-cmd).
9876         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9877         (test_program_cmd): This.
9878         * elf/Makefile ($(objpfx)order.out): Run test with
9879         $(test-program-prefix).
9880         ($(objpfx)order2.out): Likewise.
9881         ($(objpfx)tst-initorder.out): Likewise.
9882         ($(objpfx)tst-initorder2.out): Likewise.
9883         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9884         $(test-program-cmd).
9885         ($(objpfx)tst-array1-static.out): Likewise.
9886         ($(objpfx)tst-array2.out): Likewise.
9887         ($(objpfx)tst-array3.out): Likewise.
9888         ($(objpfx)tst-array4.out): Likewise.
9889         ($(objpfx)tst-array5.out): Likewise.
9890         ($(objpfx)tst-array5-static.out): Likewise.
9891         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9892         $(test-program-cmd).
9893         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9894         $(run-program-prefix) with $(test-program-prefix).
9895         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9896         (test_program_prefix): This.
9897         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9898         $(run-program-prefix) with $(test-program-prefix).
9899         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9900         (test_program_prefix): This.
9901         * iconvdata/tst-tables.sh: Likewise.
9902         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9903         $(run-program-prefix) with $(test-program-prefix).
9904         ($(objpfx)tst-translit.out): Likewise.
9905         ($(objpfx)tst-gettext2.out): Likewise.
9906         ($(objpfx)tst-gettext4.out): Likewise.
9907         ($(objpfx)tst-gettext6.out): Likewise.
9908         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9909         (test_program_prefix): This.
9910         * intl/tst-gettext2.sh: Likewise.
9911         * intl/tst-gettext4.sh  Likewise.
9912         * intl/tst-gettext6.sh: Likewise.
9913         * intl/tst-translit.sh: Likewise.
9914         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9915         with $(test-program-cmd).
9916         * libio/Makefile ($(objpfx)test-freopen.out): Replace
9917         $(run-program-prefix) with $(test-program-prefix).
9918         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9919         (test_program_prefix): This.
9920         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9921         $(run-program-prefix) with $(test-program-prefix).
9922         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9923         (test_program_prefix): This.
9924         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9925         * posix/Makefile ($(objpfx)globtest.out): Replace
9926         $(run-via-rtld-prefix) and $(test-wrapper) with
9927         $(test-program-prefix) and $(test-via-rtld-prefix).
9928         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9929         $(test-program-prefix).
9930         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9931         $(host-test-program-cmd).
9932         (tst-spawn-ARGS): Likewise.
9933         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9934         $(test-program-prefix).
9935         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9936         (test_via_rtld_prefix): This.
9937         (test_wrapper): Renamed to ...
9938         (test_program_prefix): This.
9939         (run_program_prefix): Replaced by test_program_prefix.
9940         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9941         (test_program_prefix): This.
9942         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9943         with $(host-test-program-cmd).
9944         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9945         $(run-program-prefix) with $(test-program-prefix).
9946         ($(objpfx)tst-printf.out): Likewise.
9947         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9948         $(test-program-cmd).
9949         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9950         (test_program_prefix): This.
9951         * stdio-common/tst-unbputc.sh: Likewise.
9952         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9953         $(run-program-prefix) with $(test-program-prefix).
9954         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9955         (test_program_prefix): This.
9956         * string/Makefile ($(objpfx)tst-svc.out):  Replace
9957         $(built-program-cmd) with $(test-program-cmd).
9959 2013-01-11  Andreas Jaeger  <aj@suse.de>
9961         [BZ #15003]
9962         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9963         value. Sync with Linux 3.7.
9965 2013-01-10  David S. Miller  <davem@davemloft.net>
9967         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9968         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9969         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9971 2013-01-10  Roland McGrath  <roland@hack.frob.com>
9973         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9974         never set.
9975         * configure: Regenerated.
9977 2013-01-10  David S. Miller  <davem@davemloft.net>
9979         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9980         sparc V9 rather than using V8 code.
9981         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9982         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9984 2013-01-10  Roland McGrath  <roland@hack.frob.com>
9986         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9987         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9988         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9989         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9990         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9991         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9992         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9993         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9994         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9995         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9996         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9997         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9998         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9999         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10000         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10001         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10002         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10003         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10004         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10005         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10006         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10007         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10008         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10009         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10010         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10011         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10012         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10014 2013-01-10  David S. Miller  <davem@davemloft.net>
10016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10018 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10020         * posix/Makefile (tests-static): New variable.
10021         (tests): Add $(tests-static).
10022         (tst-exec-static-ARGS): New variable.
10023         (tst-spawn-static-ARGS): Likewise.
10024         * posix/tst-exec-static.c: New file.
10025         * posix/tst-spawn-static.c: Likewise.
10026         * posix/tst-exec.c: Support run directly.
10027         * posix/tst-spawn.c: Likewise.
10029 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
10031         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10032         long.
10033         * math/bits/mathcalls.h (llrint): Likewise.
10034         (llround): Likewise.
10035         * stdlib/stdlib.h (struct drand48_data): Likewise.
10036         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10037         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10038         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10039         Likewise.
10040         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10041         Likewise.
10042         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10043         (elf_greg_t): Likewise.
10044         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10045         (__jmp_buf): Likewise.
10046         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10047         definitions.
10048         (llrint): Likewise, for all definitions.
10049         (llrintl): Likewise.
10051         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10052         Remove [__GNUC__] condition.
10053         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10054         condition to just [__USE_ISOC99].
10055         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10057 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10059         [BZ #14200]
10060         * sysdeps/unix/sysv/linux/x86/bits/environments.h
10061         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10062         defined.
10063         (_POSIX_V6_ILP32_OFF32): Likewise.
10064         (_XBS5_ILP32_OFF32): Likewise.
10065         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10066         (__ILP32_OFFBIG_LDFLAGS): Likewise.
10068 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10070         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10072         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10073         doubles __mpexp_twomm1.  Adjust usage.
10074         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10075         Remove.
10077 2013-01-10  Andreas Schwab  <schwab@suse.de>
10079         [BZ #14964]
10080         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10081         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10083 2013-01-09  David S. Miller  <davem@davemloft.net>
10085         [BZ #15003]
10086         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10087         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10088         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10089         TCP_FASTOPEN): Define.
10090         (tcp_repair_opt): New structure.
10091         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10092         enum values.
10093         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10094         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10095         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10096         (tcp_cookie_transactions): New structure.
10098 2013-01-09  Anton Blanchard  <anton@samba.org>
10100         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10101         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10102         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10103         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10105 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
10107         * include/features.h (__USE_ANSI): Remove.
10109 2013-01-09  Roland McGrath  <roland@hack.frob.com>
10111         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10113         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10115 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
10117         * sysdeps/s390/fpu/libm-test-ulps: Update.
10119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10121         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10122         (__acr): Likewise.
10123         (__cpy): Likewise.
10124         (norm): Likewise.
10125         (denorm): Likewise.
10126         (__mp_dbl): Likewise.
10127         (__dbl_mp): Likewise.
10128         (add_magnitudes): Likewise.
10129         (sub_magnitudes): Likewise.
10130         (__add): Likewise.
10131         (__sub): Likewise.
10132         (__mul): Likewise.
10133         (__inv): Likewise.
10134         (__dvd): Likewise.
10135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10136         (__acr): Likewise.
10137         (__cpy): Likewise.
10138         (norm): Likewise.
10139         (denorm): Likewise.
10140         (__mp_dbl): Likewise.
10141         (__dbl_mp): Likewise.
10142         (add_magnitudes): Likewise.
10143         (sub_magnitudes): Likewise.
10144         (__add): Likewise.
10145         (__sub): Likewise.
10146         (__mul): Likewise.
10147         (__inv): Likewise.
10148         (__dvd): Likewise.
10149         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10150         (__acr): Likewise.
10151         (__cpy): Likewise.
10152         (norm): Likewise.
10153         (denorm): Likewise.
10154         (__mp_dbl): Likewise.
10155         (__dbl_mp): Likewise.
10156         (add_magnitudes): Likewise.
10157         (sub_magnitudes): Likewise.
10158         (__add): Likewise.
10159         (__sub): Likewise.
10160         (__mul): Likewise.
10161         (__inv): Likewise.
10162         (__dvd): Likewise.
10164 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
10166         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10167         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10168         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10169         2 && __USE_EXTERN_INLINES]: Likewise.
10171 2013-01-08  Andreas Jaeger  <aj@suse.de>
10173         [BZ# 14985]
10174         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10175         Remove.
10176         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10177         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10179 2013-01-07  Anton Blanchard  <anton@samba.org>
10181         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10182         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10183         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10184         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10185         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10186         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10187         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10188         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10190         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10191         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10192         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10193         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10194         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10195         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10196         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10197         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10198         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10199         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10200         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10201         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10202         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10203         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10204         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10205         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10206         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10207         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10208         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10209         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10210         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10211         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10213         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10214         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10215         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10216         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10217         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10218         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10219         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10220         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10221         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10222         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10223         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10225 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
10227         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10228         (__MALLOC_PMT): Likewise.
10229         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10230         [__GNUC__], only on [_LIBC].
10231         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10232         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10233         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10234         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10235         forward declaration.
10236         (realloc_hook_ini): Likewise.
10237         (memalign_hook_ini): Likewise.
10238         (__libc_memalign): Do not use __MALLOC_PMT in variable
10239         declaration.
10240         (__libc_valloc): Likewise.
10241         (__libc_pvalloc): Likewise.
10242         (__libc_calloc): Likewise.
10243         (__posix_memalign): Likewise.
10245         [BZ #14996]
10246         * math/s_casinh.c: Include <float.h>.
10247         (__casinh): Do not do computation with squaring and square root
10248         for large arguments.
10249         * math/s_casinhf.c: Include <float.h>.
10250         (__casinhf): Do not do computation with squaring and square root
10251         for large arguments.
10252         * math/s_casinhl.c: Include <float.h>.
10253         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10254         (__casinhl): Do not do computation with squaring and square root
10255         for large arguments.
10256         * math/libm-test.inc (casin_test): Add more tests.
10257         (casinh_test): Likewise.
10258         * sysdeps/i386/fpu/libm-test-ulps: Update.
10259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10261 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
10263         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10264         (__x86_64_raw_data_cache_size): Likewise.
10265         (__x86_64_data_cache_size_half): Likewise.
10266         (__x86_64_raw_data_cache_size_half): Likewise.
10267         (__x86_64_shared_cache_size): Likewise.
10268         (__x86_64_raw_shared_cache_size): Likewise.
10269         (__x86_64_shared_cache_size_half): Likewise.
10270         (__x86_64_raw_shared_cache_size_half): Likewise.
10271         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10272         to ...
10273         (__x86_data_cache_size): This.
10274         (__x86_64_raw_data_cache_size): Renamed to ...
10275         (__x86_raw_data_cache_size): This.
10276         (__x86_64_data_cache_size_half): Renamed to ...
10277         (__x86_data_cache_size_half): This.
10278         (__x86_64_raw_data_cache_size_half): Renamed to ...
10279         (__x86_raw_data_cache_size_half): This.
10280         (__x86_64_shared_cache_size): Renamed to ...
10281         (__x86_shared_cache_size): This.
10282         (__x86_64_raw_shared_cache_size): Renamed to ...
10283         (__x86_raw_shared_cache_size): This.
10284         (__x86_64_shared_cache_size_half): Renamed to ...
10285         (__x86_shared_cache_size_half): This.
10286         (__x86_64_raw_shared_cache_size_half): Renamed to ...
10287         (__x86_raw_shared_cache_size_half): This.
10288         * sysdeps/x86_64/memcpy.S: Updated.
10289         * sysdeps/x86_64/memset.S: Likewise.
10290         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10291         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10292         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10294 2013-01-04  David S. Miller  <davem@davemloft.net>
10296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10298 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
10300         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10301         1 to avoid redefinition warning.
10302         (__USE_GNU): Don't define.
10303         (init_signaling_nan): Protoize.
10305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10307 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10309         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10310         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10311         (__cpymn): Likewise.
10312         (norm): Remove commented code.
10313         (denorm): Likewise.
10314         (__mp_dbl): Likewise.
10315         (__inv): Likewise.
10316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10317         (__cpymn): Likewise.
10318         (norm): Remove commented code.
10319         (denorm): Likewise.
10320         (__mp_dbl): Likewise.
10321         (__inv): Likewise.
10323         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10324         mp_no value for 1.0 and 2.0.
10325         (norm): Use RADIXI instead of radixi.d.
10326         (denorm): Likewise.
10327         (__mul): Use 0.0 instead of zero.d.
10328         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10329         mp_no value for 1.0 and 2.0.
10330         (norm): Use RADIXI instead of radixi.d.
10331         (denorm): Likewise.
10332         (__mul): Use 0.0 instead of zero.d.
10334 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
10336         [BZ #14994]
10337         * math/s_casinh.c (__casinh): Reduce finite argument to first
10338         quadrant then set signs of results at the end.
10339         * math/s_casinhf.c (__casinhf): Likewise.
10340         * math/s_casinhl.c (__casinhl): Likewise.
10341         * math/libm-test.inc (casin_test): Add more tests.
10342         (casinh_test): Likewise.
10343         * sysdeps/i386/fpu/libm-test-ulps: Update.
10344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10346 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10348         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10350         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10352         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10353         declarations.
10354         (denorm): Likewise.
10355         (__mp_dbl): Likewise.
10356         (__inv): Likewise.
10358         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10359         and adjust the header comment.
10361         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10362         variable name from declaration.
10364 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
10366         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10367         Initialize COMMON_CPUID_INDEX_7 element.
10368         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10369         (CPUID_RTM): Likewise.
10370         (HAS_RTM): Likewise.
10371         (COMMON_CPUID_INDEX_7): New enum.
10373 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
10375         [BZ #14981]
10376         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10377         size is zero, record memory as freed.
10379 2013-01-03  Andreas Jaeger  <aj@suse.de>
10381         * po/ia.po: Add new Interlingua translation.
10383 2012-01-03  Allan McRae  <allan@archlinux.org>
10385         * locale/programs/localedef.c: Fix description of '--posix' flag.
10387 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
10389         * NEWS: Update dates in second copyright notice.
10390         * README: Update copyright dates in example.
10391         * manual/libc.texinfo: Update copyright dates.
10392         * scripts/test-installation.pl: Update copyright date in --version
10393         output.
10395         * hurd/ctty-input.c: Fix copyright notice formatting.
10396         * hurd/ctty-output.c: Likewise.
10397         * hurd/dtable.c: Likewise.
10398         * hurd/hurd-raise.c: Likewise.
10399         * hurd/hurdprio.c: Likewise.
10400         * hurd/msgportdemux.c: Likewise.
10401         * misc/sys/file.h: Likewise.
10402         * misc/sys/ioctl.h: Likewise.
10403         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10404         * sysdeps/mach/hurd/chdir.c: Likewise.
10405         * sysdeps/mach/hurd/fchdir.c: Likewise.
10406         * sysdeps/mach/hurd/rename.c: Likewise.
10407         * sysdeps/mach/hurd/rmdir.c: Likewise.
10408         * sysdeps/mach/hurd/seekdir.c: Likewise.
10409         * sysdeps/mach/hurd/setsid.c: Likewise.
10410         * sysdeps/posix/wait3.c: Likewise.
10412         * All files with FSF copyright notices: Update copyright dates
10413         using scripts/update-copyrights.
10414         * intl/plural.c: Regenerated.
10415         * locale/programs/charmap-kw.h: Likewise.
10416         * locale/programs/locfile-kw.h: Likewise.
10418 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10420         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10421         four values.
10423         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10424         calculation loop and add branch prediction.
10426         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10427         check access beyond bounds of m1np.
10429         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10430         MPTWO.
10431         (__inv): Remove local variable MPTWO to use the global
10432         constant.
10433         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10434         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10435         variable MPTWO.
10436         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10437         MP3HALFS static const.
10439 2013-01-01  David S. Miller  <davem@davemloft.net>
10441         * po/ca.po: Update from translation team.
10443 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
10445         * scripts/update-copyrights: New file.
10446         * Makeconfig: Reformat copyright notice.
10447         * ctype/ctype.h: Likewise.
10448         * debug/swprintf_chk.c: Likewise.
10449         * elf/dl-cache.c: Likewise.
10450         * elf/dl-debug.c: Likewise.
10451         * elf/dl-object.c: Likewise.
10452         * grp/initgroups.c: Likewise.
10453         * hurd/Makefile: Likewise.
10454         * hurd/hurd/signal.h: Likewise.
10455         * hurd/hurdfault.c: Likewise.
10456         * hurd/hurdioctl.c: Likewise.
10457         * hurd/hurdlookup.c: Likewise.
10458         * hurd/intr-msg.c: Likewise.
10459         * iconv/gconv_open.c: Likewise.
10460         * libio/swprintf.c: Likewise.
10461         * locale/lc-ctype.c: Likewise.
10462         * locale/nl_langinfo.c: Likewise.
10463         * mach/Machrules: Likewise.
10464         * mach/Makefile: Likewise.
10465         * malloc/obstack.h: Likewise.
10466         * manual/Makefile: Likewise.
10467         * manual/tsort.awk: Likewise.
10468         * misc/bits/stab.def: Likewise.
10469         * nis/nis_print_group_entry.c: Likewise.
10470         * nis/nis_table.c: Likewise.
10471         * nis/nss_compat/compat-pwd.c: Likewise.
10472         * nis/nss_compat/compat-spwd.c: Likewise.
10473         * po/Makefile: Likewise.
10474         * posix/fnmatch.c: Likewise.
10475         * posix/regex.h: Likewise.
10476         * resolv/Makefile: Likewise.
10477         * resolv/nss_dns/dns-network.c: Likewise.
10478         * resolv/res_hconf.c: Likewise.
10479         * scripts/gen-sorted.awk: Likewise.
10480         * soft-fp/soft-fp.h: Likewise.
10481         * stdio-common/printf.h: Likewise.
10482         * stdlib/monetary.h: Likewise.
10483         * stdlib/random.c: Likewise.
10484         * stdlib/random_r.c: Likewise.
10485         * sysdeps/generic/Makefile: Likewise.
10486         * sysdeps/gnu/Makefile: Likewise.
10487         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10488         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10489         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10490         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10491         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10492         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10493         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10494         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10495         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10496         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10497         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10498         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10499         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10500         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10501         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10502         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10503         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10504         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10505         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10506         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10507         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10508         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10509         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10510         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10511         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10512         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10513         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10514         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10515         * sysdeps/mach/hurd/errnos.awk: Likewise.
10516         * sysdeps/mach/hurd/fork.c: Likewise.
10517         * sysdeps/mach/hurd/getcwd.c: Likewise.
10518         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10519         * sysdeps/mach/hurd/mmap.c: Likewise.
10520         * sysdeps/mach/hurd/utimes.c: Likewise.
10521         * sysdeps/mach/hurd/xmknod.c: Likewise.
10522         * sysdeps/posix/profil.c: Likewise.
10523         * sysdeps/posix/readdir_r.c: Likewise.
10524         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10525         * sysdeps/powerpc/bits/setjmp.h: Likewise.
10526         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10527         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10528         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10529         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10530         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10531         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10532         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10533         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10534         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10535         * sysdeps/pthread/lio_listio.c: Likewise.
10536         * sysdeps/sparc/dl-procinfo.h: Likewise.
10537         * sysdeps/unix/i386/sysdep.S: Likewise.
10538         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10539         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10540         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10541         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10543         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10544         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10545         * sysdeps/unix/sysv/linux/speed.c: Likewise.
10546         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10547         * sysdeps/wordsize-32/divdi3.c: Likewise.
10548         * time/sys/time.h: Likewise.
10549         * wcsmbs/Makefile: Likewise.
10551 2013-01-01  David S. Miller  <davem@davemloft.net>
10553         * po/fr.po: Update from translation team.
10555         * catgets/gencat.c: Update copyright year.
10556         * csu/version.c: Likewise.
10557         * debug/catchsegv.sh: Likewise.
10558         * debug/pcprofiledump.c: Likewise.
10559         * debug/xtrace.sh: Likewise.
10560         * elf/ldconfig.c: Likewise.
10561         * elf/ldd.bash.in: Likewise.
10562         * elf/pldd.c: Likewise.
10563         * elf/sotruss.ksh: Likewise.
10564         * elf/sprof.c: Likewise.
10565         * iconv/iconv_prog.c: Likewise.
10566         * iconv/iconvconfig.c: Likewise.
10567         * locale/programs/locale.c: Likewise.
10568         * locale/programs/localedef.c: Likewise.
10569         * login/programs/pt_chown.c: Likewise.
10570         * malloc/memusage.sh: Likewise.
10571         * malloc/memusagestat.c: Likewise.
10572         * malloc/mtrace.pl: Likewise.
10573         * nscd/nscd.c: Likewise.
10574         * nss/getent.c: Likewise.
10575         * nss/makedb.c: Likewise.
10576         * posix/getconf.c: Likewise.
10578 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10580         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10581         numbers.
10583 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
10585         * math/bits/mathcalls.h (modf): Use __nonnull.
10587 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10589         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10590         (split): Use macro CN instead of the bare value.
10591         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10592         could be used.
10593         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10594         instead of the bare value.
10595         (power1): Likewise.
10597 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10599         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10600         __ATAN_TWOM.
10601         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10603         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10604         their values.
10605         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10606         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10607         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10608         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10610 2012-12-28  Andreas Jaeger  <aj@suse.de>
10612         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
10613         values are from Linux 3.7.
10615         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10616         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
10618 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10620         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10621         TRUE case.
10623         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10624         (norm): Likewise.
10625         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10626         variables with preprocessor constants.
10627         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10628         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10629         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10631 2012-12-27  Bruno Haible  <bruno@clisp.org>
10633         [BZ #14317]
10634         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10635         only if needed.
10637 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10639         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10640         and use variable directly.
10641         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10643         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10644         MPONE.
10645         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10646         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10647         variable MPONE.
10648         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10649         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10650         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10651         include directive.  Remove local variable MPONE.
10652         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10653         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10654         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10656 2012-12-25  David S. Miller  <davem@davemloft.net>
10658         * version.h (RELEASE): Set to "development".
10659         (VERSION): Set to "2.17.90".
10660         * NEWS: Add 2.18 section.
10662 2012-12-21  David S. Miller  <davem@davemloft.net>
10664         * po/hr.po: Update from translation team.
10666 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10668         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10670 2012-12-19  Steve Ellcey  <sellcey@mips.com>
10672         * NEWS:  Mention new memcpy for MIPS.
10674 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10676         * manual/contrib.texi (Contributors): Spelling correction.
10678 2012-12-15  David S. Miller  <davem@davemloft.net>
10680         * po/ru.po: Update from translation team.
10682 2012-12-13  David S. Miller  <davem@davemloft.net>
10684         * NEWS: Mention IFUNC testsuite enhancements.
10686         * po/pl.po: Update from translation team.
10687         * po/bg.po: Likewise.
10689         * manual/contrib.texi (Contributors): Update entries for Hongjiu
10690         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
10692 2012-12-11  David S. Miller  <davem@davemloft.net>
10694         * po/sv.po: Update from translation team.
10696         * po/vi.po: Update from translation team.
10698         * po/cs.po: Update from translation team.
10700         * po/de.po: Update from translation team.
10701         * po/eo.po: Likewise.
10702         * po/nl.po: Likewise.
10704 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10706         [BZ #14246]
10707         * manual/argp.texi (Argp Helper Functions): Move node to follow
10708         Argp Parsing State.
10710         [BZ #14872]
10711         * manual/conf.texi (Limits on File System Capacity): Mention if
10712         terminating null is included in the max size.
10714 2012-12-10  Andreas Jaeger  <aj@suse.de>
10716         * po/cs.po: Update from translation team.
10718 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10720         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10721         void pointer and cast to uintptr_t.
10722         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10723         path.
10724         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10725         * sysdeps/s390/s390-64/memset.S: Likewise.
10727 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
10729         [BZ #14833]
10730         * menual/message.texi (Message Translation): Fix typos.
10731         (Helper programs for gettext): Likewise.
10733 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
10735         [BZ #14898]
10736         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10737         Change to -1.
10739 2012-12-07  David S. Miller  <davem@davemloft.net>
10741         * po/libc.pot: Update.
10743 2012-12-07  Richard Henderson  <rth@redhat.com>
10745         [BZ #10114]
10746         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10747         normal/normal case to before the switch.
10748         (_FP_DIV): Likewise.
10750 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
10751             Mike Frysinger  <vapier@gentoo.org>
10753         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10754         check for __NR_fadvise64_64.
10756 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
10758         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10759         0, not just to plain "0" as a statement.
10760         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10761         with cw.
10763 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
10765         * NEWS: Use sourceware.org in Bugzilla URL.
10767 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10770         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10772         * stdio-common/tst-put-error.c (do_test): Add newline to the
10773         padded test to ensure flush.
10775 2012-12-05  Jeff Law  <law@redhat.com>
10777         * sunrpc/etc.rpc (fedfs_admin): Add entry.
10779 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
10781         * README: Don't refer to ports add-on as distributed separately.
10782         Mention AArch64 in list of systems supported in the ports add-on.
10784         * LICENSES: Add more non-FSF copyright and license notices.
10786         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10787         ((unused)).
10789         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10791         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10792         10000 as width of padded output.
10794 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10796         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10798         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10799         variable LX with __attribute__ ((unused)).
10800         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10801         Likewise.
10802         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10803         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10804         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10805         with __attribute__ ((unused)).
10807 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
10809         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10811 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10813         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10814         (CFLAGS-nldbl-acos.c): New variable.
10815         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10816         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10817         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10818         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10819         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10820         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10821         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10822         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10823         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10824         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10825         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10826         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10827         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10828         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10829         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10830         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10831         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10832         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10833         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10834         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10835         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10836         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10837         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10838         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10839         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10840         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10841         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10842         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10843         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10844         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10845         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10846         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10847         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10848         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10849         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10850         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10851         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10852         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10853         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10854         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10855         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10856         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10857         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10858         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10859         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10860         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10861         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10862         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10863         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10864         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10865         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10866         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10867         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10868         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10869         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10870         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10871         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10872         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10873         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10874         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10875         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10876         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10877         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10878         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10879         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10880         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10881         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10882         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10883         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10884         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10885         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10886         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10887         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10888         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10889         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10890         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10891         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10892         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10893         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10894         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10895         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10896         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10897         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10898         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10899         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10900         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10901         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10902         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10903         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10904         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10905         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10906         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10907         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10908         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10909         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10910         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10911         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10914         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10916         [BZ #14914]
10917         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10918         whole low double instead of just low 47 bits when splitting values
10919         into two parts.
10921 2012-12-03  Allan McRae  <allan@archlinux.org>
10923         * manual/stdio.texi (Predefined Printf Handlers): Remove
10924         @hsep and @vsep usage.
10926 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
10928         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10929         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10931 2012-12-03  Jeff Law  <law@redhat.com>
10933         * time/sys/time.h (settimeofday): Do not mark TV argument
10934         as __nonnull.
10936 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
10938         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10939         when currently writing and seek to current position when not.
10940         * libio/Makefile (tests): Remove bug-fclose1.
10941         * libio/bug-fclose1.c: Delete.
10943 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
10945         * manual/arith.texi (feenableexcept): Fix typo.
10946         (fedisableexcept): Likewise.
10948 2012-11-30  Roland McGrath  <roland@hack.frob.com>
10950         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10951         second, differently-typed declaration, rather than a cast.
10953 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10955         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10956         * include/rpc/svc.h: ... here.
10958 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
10960         [BZ #13013]
10961         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10962         depending n and resplen2 to catch cases where answer
10963         equals answerp2.
10965 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
10967         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10968         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10970 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
10972         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10974 2012-11-29  Roland McGrath  <roland@hack.frob.com>
10976         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10978 2012-11-28  Jeff Law  <law@redhat.com>
10980         [BZ #13761]
10981         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10982         dataset_temporary.  Track alloca usage into alloca_used.
10983         If dataset is large allocate and release it via malloc/free.
10985 2012-06-04  Florian Weimer  <fweimer@redhat.com>
10987         [BZ #14197]
10988         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10990 2012-11-28  David S. Miller  <davem@davemloft.net>
10992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10994 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
10996         [BZ #14803]
10997         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10998         of pi/2 rounded to nearest to 64 bits.
10999         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11000         nearest to 64 bits.
11001         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11002         bits.
11004 2012-11-28  Jeff Law <law@redhat.com>
11005             Martin Osvald <mosvald@redhat.com>
11007         [BZ #14889]
11008         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11009         * sunrpc/svc.c: Include time.h.
11010         (__svc_accept_failed): New function.
11011         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11012         any reason other than EINTR, call __svc_accept_failed.
11013         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11014         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11016 2012-11-28  Andreas Schwab  <schwab@suse.de>
11018         * scripts/abilist.awk: Also handle indirect functions in .opd
11019         section.
11021 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11023         [BZ #13881]
11024         * sysdeps/x86/fpu/powl_helper.c: New file.
11025         * sysdeps/x86/fpu/Makefile: Likewise.
11026         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11027         (p3): New object.
11028         (__ieee754_powl): Use __powl_helper for finite arguments except
11029         integer exponents below 8.
11030         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11031         (p3): New object.
11032         (__ieee754_powl): Use __powl_helper for finite arguments except
11033         integer exponents below 8.
11034         * math/libm-test.inc (pow_test): Add more tests and enable some
11035         previously disabled tests.
11036         * sysdeps/i386/fpu/libm-test-ulps: Update.
11037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11039 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11040             Carlos O'Donell  <carlos_odonell@mentor.com>
11042         * nss/makedb.c (is_prime): Assert that input is odd and greater
11043         than 4.  Note that fact in a comment too.
11044         (next_prime): Add 4 to input.
11046 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11048         [BZ #11741]
11049         * libio/Makefile (tests): Add test case tst-fwrite-error.
11050         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11051         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11052         * libio/tst-fwrite-error.c: New test case.
11054 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
11056         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11057         before casting to void *.
11058         * include/libc-internal.h (__pointer_type): New macro.
11059         (__integer_if_pointer_type_sub): Likewise.
11060         (__integer_if_pointer_type): Likewise.
11061         (cast_to_integer): Likewise.
11062         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11063         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11064         before casting to atomic64_t.
11065         (atomic_exchange_acq): Likewise.
11066         (__arch_exchange_and_add_body): Likewise.
11067         (__arch_add_body): Likewise.
11068         (atomic_add_negative): Likewise.
11069         (atomic_add_zero): Likewise.
11071 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
11073         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11074         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11075         (add_fdes): Likewise.
11076         (linear_search_fdes): Likewise.
11077         (binary_search_unencoded_fdes): Likewise.
11079 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
11081         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11083 2012-11-24  Adam Conrad  <adconrad@0c3.net>
11085         * configure.in: Autodetect C++ header directories.
11086         * configure: Regenerated.
11088 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
11090         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11092 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
11094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11096 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
11098         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11099         LDBL_MANT_DIG == 106]: Disable some tests.
11100         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11101         Likewise.
11102         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11103         Likewise.
11105         [BZ #14871]
11106         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11107         input for small inputs.  Return +/- pi/2 for large inputs.
11108         * math/libm-test.inc (atan_test): Add more tests.
11110         * sysdeps/generic/unwind-dw2-fde-glibc.c
11111         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11112         __attribute__ ((unused)).
11114         [BZ #14645]
11115         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11116         x * y if x and y are nonzero and z is zero.
11118         [BZ #14811]
11119         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11120         nonzero exponents with absolute value below 0x1p-117 to +/-
11121         0x1p-117.
11123         [BZ #14869]
11124         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11125         up arguments below 2**-450, not just those below 2**-500.
11126         * math/libm-test.inc (hypot_test): Add another test.
11128         [BZ #14868]
11129         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11130         Return a+b for ratio over 2**120, not 2**60.
11131         * math/libm-test.inc (hypot_test): Add another test.
11133         * math/libm-test.inc (clog_test): Use
11134         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11135         (clog10_test): Likewise.
11137         [BZ #6778]
11138         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11140 2012-11-22  Andreas Schwab  <schwab@suse.de>
11142         * sysdeps/i386/fpu/libm-test-ulps: Update.
11144 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
11146         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11147         printf output with newline.
11149 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
11151         [BZ #14865]
11152         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11153         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11154         -z nodlopen, -z initfirst and -z execstack support.
11155         * configure: Regenerated.
11157         * elf/elf.h (DF_1_NODIRECT): New macro.
11158         (DF_1_IGNMULDEF): Likewise.
11159         (DF_1_NOKSYMS): Likewise.
11160         (DF_1_NOHDR): Likewise.
11161         (DF_1_EDITED): Likewise.
11162         (DF_1_NORELOC): Likewise.
11163         (DF_1_SYMINTPOSE): Likewise.
11164         (DF_1_GLOBAUDIT): Likewise.
11165         (DF_1_SINGLETON): Likewise.
11166         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11167         DT_1_SUPPORTED_MASK bits.
11168         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11170 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
11172         * sysdeps/unix/make-syscalls.sh: Document prefixes.
11174 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
11176         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11177         macro.
11179         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11180         (sendmmsg): Move declarations...
11181         * socket/sys/socket.h: ... here.
11182         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11183         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11184         include it from...
11185         * socket/recvmmsg.c: ... this new file.
11186         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11187         (sendmmsg): Rename to __sendmmsg, create weak alias and make
11188         definition of __sendmmsg hidden.
11189         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11190         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11191         Move ENOSYS stub into and include it from...
11192         * socket/sendmmsg.c: ... this new file.
11193         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11194         (sysdep_routines): Move recvmmsg and sendmmsg...
11195         * socket/Makefile (routines): ... here.
11196         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11197         (GLIBC_PRIVATE): Add __sendmmsg.
11198         * include/sys/socket.h (__sendmmsg): Add declarations.
11199         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11200         sendmmsg.
11202 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
11204         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11205         variable I1 with __attribute__ ((unused)).
11206         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11208 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11210         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11211         DUMMY variables with __attribute__ ((unused)).
11213         * bits/byteswap.h: Include <bits/types.h>.
11214         (__bswap_64): Use __uint64_t instead of unsigned long long int.
11216 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11218         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11219         string_t.  Do not manually set errno.
11220         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11221         length with __strnlen.  Make sure to both set errno and return it on
11222         failure.
11224 2012-11-19  David S. Miller  <davem@davemloft.net>
11226         With help from Joseph Myers.
11227         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11228         very large arguments properly.
11229         * math/libm-test.inc (atan_test): New tests.
11230         (atan2_test): New tests.
11231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11234 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11236         [BZ #14856]
11237         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11238         Define to 3.
11240         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11241         [POSIX] (EADDRNOTAVAIL): Likewise.
11242         [POSIX] (EAFNOSUPPORT): Likewise.
11243         [POSIX] (EALREADY): Likewise.
11244         [POSIX] (ECONNABORTED): Likewise.
11245         [POSIX] (ECONNREFUSED): Likewise.
11246         [POSIX] (ECONNRESET): Likewise.
11247         [POSIX] (EDESTADDRREQ): Likewise.
11248         [POSIX] (EDQUOT): Likewise.
11249         [POSIX] (EHOSTUNREACH): Likewise.
11250         [POSIX] (EIDRM): Likewise.
11251         [POSIX] (EISCONN): Likewise.
11252         [POSIX] (ELOOP): Likewise.
11253         [POSIX] (EMULTIHOP): Likewise.
11254         [POSIX] (ENETDOWN): Likewise.
11255         [POSIX] (ENETUNREACH): Likewise.
11256         [POSIX] (ENOBUFS): Likewise.
11257         [POSIX] (ENODATA): Likewise.
11258         [POSIX] (ENOLINK): Likewise.
11259         [POSIX] (ENOMSG): Likewise.
11260         [POSIX] (ENOPROTOOPT): Likewise.
11261         [POSIX] (ENOSR): Likewise.
11262         [POSIX] (ENOSTR): Likewise.
11263         [POSIX] (ENOTCONN): Likewise.
11264         [POSIX] (ENOTSOCK): Likewise.
11265         [POSIX] (EOPNOTSUPP): Likewise.
11266         [POSIX] (EOVERFLOW): Likewise.
11267         [POSIX] (EPROTO): Likewise.
11268         [POSIX] (EPROTONOSUPPORT): Likewise.
11269         [POSIX] (EPROTOTYPE): Likewise.
11270         [POSIX] (ESTALE): Likewise.
11271         [POSIX] (ETIME): Likewise.
11272         [POSIX] (ETXTBSY): Likewise.
11273         [POSIX] (EWOULDBLOCK): Likewise.
11274         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11275         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11276         [POSIX] (SEEK_CUR): Likewise.
11277         [POSIX] (SEEK_END): Likewise.
11278         [POSIX || UNIX98] (mode_t): Do not require.
11279         [POSIX] (off_t): Likewise.
11280         [POSIX] (pid_t): Likewise.
11281         [POSIX] (sys/stat.h): Do not allow header.
11282         [POSIX] (unistd.h): Likewise.
11283         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11284         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11285         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11286         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11287         require.
11288         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11289         sigevent): Specify elements.
11290         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11291         entry.
11292         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11293         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11295         * conform/data/cpio.h-data [POSIX]: Disable whole file.
11296         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11297         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11298         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11299         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11300         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11301         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11302         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11303         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11304         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11305         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11306         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11307         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11308         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11309         Likewise.
11310         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11311         Likewise.
11312         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11313         Likewise.
11314         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11315         Likewise.
11316         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11317         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11318         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11319         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11320         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11321         Specify lower bound on value.
11322         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11323         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11324         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11325         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11326         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11327         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11328         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11329         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11330         value.
11331         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11332         as optional.
11333         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11334         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11335         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11336         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11337         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11338         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11339         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11340         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11341         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11342         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11343         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11344         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11345         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11346         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11347         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11348         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11349         entry.
11350         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11351         optional.
11352         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11353         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11354         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11355         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11356         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11357         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11358         Likewise.
11359         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11360         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11361         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11362         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11363         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
11364         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11365         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11366         as optional.
11367         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11368         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11369         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11370         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11371         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11372         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11373         specify as optional.
11374         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11375         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11376         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11377         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11378         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11379         [XPG3] (NL_LANGMAX): Likewise.
11380         [POSIX || XPG3] (NL_MSGMAX): Likewise.
11381         [POSIX || XPG3] (NL_NMAX): Likewise.
11382         [POSIX || XPG3] (NL_SETMAX): Likewise.
11383         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11384         [XPG3] (NZERO): Likewise.
11385         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11386         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11387         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11388         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11389         (REG_ERANGE): Expect.
11390         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11391         optional-constant.
11392         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11393         Use (void) in prototype.
11394         [POSIX] (*_t): Allow.
11395         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11396         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11397         (WRDE_BADVAL): Expect.
11399         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11400         expect.
11401         [XPG3 || XPG4] (O_RSYNC): Likewise.
11402         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11403         Likewise.
11404         [XPG3 || XPG4] (pthread_sigmask): Likewise.
11405         [XPG3 || XPG4] (sigqueue): Likewise.
11406         [XPG3 || XPG4] (sigtimedwait): Likewise.
11407         [XPG3 || XPG4] (sigwaitinfo): Likewise.
11408         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11409         [XPG3 || XPG4] (vsnprintf): Likewise.
11410         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11411         Likewise.
11412         [XPG3 || XPG4] (blksize_t): Likewise.
11413         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11414         Likewise.
11415         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11416         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11417         [XPG3 || XPG4] (struct itimerspec): Likewise.
11418         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11419         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11420         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11421         [XPG3 || XPG4] (clockid_t): Likewise.
11422         [XPG3 || XPG4] (timer_t): Likewise.
11423         [XPG3 || XPG4] (clock_getres): Likewise.
11424         [XPG3 || XPG4] (clock_gettime): Likewise.
11425         [XPG3 || XPG4] (clock_settime): Likewise.
11426         [XPG3 || XPG4] (nanosleep): Likewise.
11427         [XPG3 || XPG4] (timer_create): Likewise.
11428         [XPG3 || XPG4] (timer_delete): Likewise.
11429         [XPG3 || XPG4] (timer_gettime): Likewise.
11430         [XPG3 || XPG4] (timer_getoverrun): Likewise.
11431         [XPG3 || XPG4] (timer_settime): Likewise.
11432         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11433         [XPG3 || XPG4] (getlogin_r): Likewise.
11434         [XPG3 || XPG4] (pread): Likewise.
11435         [XPG3 || XPG4] (pthread_atfork): Likewise.
11436         [XPG3 || XPG4] (pwrite): Likewise.
11438         [BZ #14835]
11439         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11440         <bits/siginfo.h>.
11442 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11444         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11445         finalizing MALLSTREAM.
11447         * sysdeps/mach/hurd/syncfs.c: New file.
11449 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11451         [BZ #14719]
11452         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11453         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11454         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11455         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11456         (_nss_dns_gethostbyname4_r): Likewise.
11457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11458         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11460 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
11462         [BZ #13763]
11463         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11465 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
11467         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11468         * elf/cache.c (print_entry): Print ",AArch64" for
11469         FLAG_AARCH64_LIB64
11471         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11472         * elf/cache.c (print_entry): Print ",hard-float" for
11473         FLAG_ARM_LIBHF.
11475 2012-11-18  David S. Miller  <davem@davemloft.net>
11477         With help from Joseph Myers.
11478         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11479         cutoff to 2**-13.
11480         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11481         cutoff to 2**-25.
11482         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11483         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11484         small.
11485         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11486         * math/libm-test.inc (y0_test): New tests.
11487         (y1_test): New tests.
11488         * sysdeps/i386/fpu/libm-test-ulps: Update.
11489         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11492 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
11494         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11495         64-bit targets.
11496         * configure: Regenerated.
11498 2012-11-17  David S. Miller  <davem@davemloft.net>
11500         [BZ #14811]
11501         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11502         nonzero exponents with absolute value below 0x1p-128 to +/-
11503         0x1p-128.
11505 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
11507         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11509         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11511         * posix/getconf-speclist.c: New file.
11512         * posix/posix-envs.def: Likewise.
11513         * posix/confstr.c (START_ENV_GROUP): New macro.
11514         (END_ENV_GROUP): Likewise.
11515         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11516         (KNOWN_PRESENT_ENV_STRING): Likewise.
11517         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11518         (UNKNOWN_ENVIRONMENT): Likewise.
11519         (confstr): Include posix-envs.def instead of handling
11520         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11521         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11522         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11523         (END_ENV_GROUP): Likewise.
11524         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11525         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11526         (UNKNOWN_ENVIRONMENT): Likewise.
11527         (__sysconf): Include posix-envs.def instead of handling associated
11528         cases directly here.
11529         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11530         preprocessing getconf-speclist.c rather than running getconf or
11531         generating empty file.
11533 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
11535         * scripts/check-local-headers.sh: Ignore 'mach' headers.
11537 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
11539         [BZ #14672]
11540         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11542 2012-11-16  David S. Miller  <davem@davemloft.net>
11544         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11545         smaller than LDBL_EPSILON/2.0L, just return xm1.
11547 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
11549         * elf/tst-array1.c (init): Set constructor priority to 1000.
11550         (fini): Set destructor priority to 1000.
11551         * elf/tst-array2dep.c: Likewise.
11553 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11555         [BZ #11741]
11556         * libio/fileops.c (_IO_new_file_write): Correctly return error.
11557         (_IO_new_file_xsputn): Also return EOF if none of the input
11558         data was written when overflow failed.
11559         * libio/iopadn.c (_IO_padn): Likewise.
11560         * libio/iowpadn.c (_IO_wpadn): Likewise.
11561         * stdio-common/tst-put-error.c: Add copyright notice.
11562         (do_test): Add case for printing padded string.
11563         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11564         _IO_padn returned error.
11565         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11566         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11567         return EOF.
11569 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11571         * libio/libioP.h: Add comment note that the references to C++
11572         bits are now obsolete.
11574 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11576         * math/libm-test.inc (check_complex): Use asprintf.
11578 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
11580         * debug/pcprofiledump.c (print_version): Update copyright year.
11581         * malloc/memusagestat.c (print_version): Likewise.
11583 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11585         [BZ #14831]
11586         * elf/Makefile (tests): Add tst-audit8.
11587         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11588         ($(objpfx)tst-audit8.out): New target.
11589         (tst-audit8-ENV): New variable.
11590         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11591         audit if l_reloc_result is NULL.
11592         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11593         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11594         * elf/tst-audit8.c: New file.
11596 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11598         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11599         * misc/Makefile (CFLAGS-select.c): Define.
11600         * posix/Makefile (CFLAGS-pause.c): Define.
11602 2012-11-13  David S. Miller  <davem@davemloft.net>
11604         * crypt/Makefile: Move test targets after toplevel Rules
11605         inclusion.  Grab any necessary sysdep routines when linking.
11606         * crypt/md5.c (md5_process_block): Remove define, we will always
11607         name it __md5_process_block.
11608         (md5_finish_ctx): Update md5_process_block call.
11609         (md5_stream): Likewise.
11610         (md5_process_bytes): Likewise.
11611         (md5_process_block): Rename to __md5_process_block and move to ...
11612         * crypt/md5-block.c: ... here.
11613         * crypt/sha256.c (sha256_process_block): Move to ...
11614         * crypt/sha256-block.c: ... here.
11615         * crypt/sha512.c (sha512_process_block): Move to ...
11616         * crypt/sha512-block.c: ... here.
11617         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11618         path.
11619         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11620         * sysdeps/sparc/sparc64/multiarch/Makefile
11621         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11622         crypt subdir.
11623         (localedef-aux): Add md5 crypto assembler when in locale subdir.
11624         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11625         multiarch changes.
11626         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11627         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11628         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11629         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11630         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11631         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11632         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11633         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11634         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11635         file.
11636         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11637         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11638         file.
11639         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11641 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
11643         * timezone/tzselect.ksh: Update from tzcode git revision
11644         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11645         * timezone/zdump.c: Likewise.
11646         * timezone/zic.c: Likewise.
11647         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11648         in TZVERSION setting, not $(PKGVERSION).
11649         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
11650         REPORT_BUGS_TO settings.
11652         [BZ #14838]
11653         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11654         macro.
11656 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11658         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11659         detection to immediately after _FP_ROUND().
11660         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11661         bits are 0.
11663 2012-11-11  David S. Miller  <davem@davemloft.net>
11665         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11666         inttypes.h
11667         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11668         __close rather than their public counterparts.
11670 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
11672         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11673         file.
11674         [UNIX98] (sem_timedwait): Do not expect.
11675         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11676         [XPG4 || UNIX98] (sockatmark): Do not expect.
11677         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11678         (clock_getcpuclockid): Do not expect.
11679         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11680         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11681         Do not expect.
11682         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11683         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11684         [UNIX98] (vwscanf): Likewise.
11685         [UNIX98] (vswscanf): Likewise.
11687 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
11689         * timezone/version.h: Remove file.
11690         * timezone/README: Do not refer to version.h.
11691         * timezone/Makefile ($(objpfx)zic.o): New dependency on
11692         $(objpfx)version.h.
11693         ($(objpfx)zdump.o): Likewise.
11694         ($(objpfx)version.h): New target.
11696         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11697         2012i.
11698         * timezone/README: Don't mention modification to tzselect.ksh.
11699         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11700         work on unmodified tzselect.ksh.  Substitute version numbers in
11701         tzselect.ksh.
11703         * Makefile (format-me): Remove.
11704         (INSTALL): Adjust indentation.  Use commands directly instead of
11705         using $(format-me).
11707         * aclocal.m4 (ACX_PKGVERSION): New macro.
11708         (ACX_BUGURL): Likewise.
11709         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11710         (PKGVERSION): New AC_DEFINE_UNQUOTED.
11711         (REPORT_BUGS_TO): Likewise.
11712         * configure: Regenerated.
11713         * config.h.in (PKGVERSION): New macro.
11714         (REPORT_BUGS_TO): Likewise.
11715         * config.make.in (PKGVERSION): New variable.
11716         (PKGVERSION_TEXI): Likewise.
11717         (REPORT_BUGS_TO): Likewise.
11718         (REPORT_BUGS_TEXI): Likewise.
11719         * Makefile (format-me): Use -I$(common-objpfx)manual.
11720         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11721         ($(common-objpfx)manual/%): New target.
11722         (manual/%): Remove target.
11723         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11724         (print_version): Use PKGVERSION.
11725         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11726         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11727         and REPORT_BUGS_TO.
11728         ($(objpfx)xtrace): Likewise.
11729         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11730         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11731         (print_version): Use PKGVERSION.
11732         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11733         (do_version): Use PKGVERSION.
11734         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11735         REPORT_BUGS_TO.
11736         (common-ldd-rewrite): Likewise.
11737         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11738         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11739         (print_version): Use PKGVERSION.
11740         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11741         * elf/pldd.c (argp_program_bug_address): Remove variable.
11742         (more_help): New function.
11743         (argp): Use more_help.
11744         (print_version): Use PKGVERSION.
11745         * elf/sln.c (main): Use PKGVERSION.
11746         (usage): Use REPORT_BUGS_TO.
11747         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11748         (top level): Use PKGVERSION.
11749         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11750         (print_version): Use PKGVERSION.
11751         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11752         (print_version): Use PKGVERSION.
11753         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11754         (print_version): Use PKGVERSION.
11755         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11756         (print_version): Use PKGVERSION.
11757         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11758         (print_version): Use PKGVERSION.
11759         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11760         (print_version): Use PKGVERSION.
11761         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11762         and BUGURL.
11763         ($(objpfx)memusage): Likewise.
11764         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11765         (do_version): Use PKGVERSION.
11766         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11767         (print_version): Use PKGVERSION.
11768         * malloc/mtrace.pl ($PACKAGE): Remove variable.
11769         ($PKGVERSION): New variable.
11770         ($REPORT_BUGS_TO): Likewise.
11771         (usage): Use $REPORT_BUGS_TO.
11772         (top level): Use $PKGVERSION.
11773         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11774         ($(objpfx)pkgvers.texi): New rule.
11775         ($(objpfx)stamp-pkgvers): Likewise.
11776         * manual/install.texi: Include pkgvers.texi.
11777         (--with-pkgversion): Document new configure option.
11778         (--with-bugurl): Likewise.
11779         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11780         than necessarily for this particular distribution.  Use
11781         REPORT_BUGS_TO for where to report bugs.
11782         * INSTALL: Regenerated.
11783         * manual/libc.texinfo: Include pkgvers.texi.
11784         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11785         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11786         (print_version): Use PKGVERSION.
11787         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11788         (print_version): Use PKGVERSION.
11789         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11790         (print_version): Use PKGVERSION.
11791         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11792         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11793         macro.
11794         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11795         (print_version): Use PKGVERSION.
11796         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11797         (print_version): Use PKGVERSION.
11798         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11799         and PKGVERSION.
11801         * timezone/checktab.awk: Update from tzcode 2012i.
11802         * timezone/ialloc.c: Likewise.
11803         * timezone/private.h: Likewise.
11804         * timezone/scheck.c: Likewise.
11805         * timezone/tzfile.h: Likewise.
11806         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11807         (TZVERSION): Hardcode tzcode version number.
11808         * timezone/zdump.c: Update from tzcode 2012i.
11809         * timezone/zic.c: Likewise.
11810         * timezone/version.h: New file.
11811         * timezone/README: Describe version.h.  Update upstream location.
11813         [BZ #14824]
11814         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11815         (mktemp): Enable declaration.
11816         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11817         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11818         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11819         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11820         Likewise.
11821         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11822         Likewise.
11823         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11824         Likewise.
11825         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11826         Likewise.
11827         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11828         Likewise.
11829         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11830         Likewise.
11832         [BZ #14821]
11833         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11834         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
11835         for copies of such integer values.
11836         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11837         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11839 2012-11-09  Andreas Jaeger  <aj@suse.de>
11841         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11842         definitions and declarations that are provided by
11843         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11845 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11847         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11848         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11849         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11850         definition.
11852 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11854         * elf/elf.h: Update comment before AArch64 relocations.
11856 2012-11-07  David S. Miller  <davem@davemloft.net>
11858         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11859         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11860         (__start_context): Declare.
11861         (__makecontext_ret): Delete.
11862         (__makecontext): Hook up __start_context instead of
11863         __makecontext_ret.
11864         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11865         (sysdep_routines): Add __start_context when in stdlib.
11867 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11869         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11870         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11871         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
11872         hardcoded "nm".
11873         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
11874         (READELF): New variable.  Use it instead of hardcoded "readelf".
11876 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11878         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11879         * sysdeps/x86/Makefile: Here.
11880         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11881         * sysdeps/x86/tst-xmmymm.sh: This.
11883 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11885         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11886         expectations.
11887         [UNIX98] (pthread_barrier_t): Do not expect.
11888         [UNIX98] (pthread_barrierattr_t): Likewise.
11889         [UNIX98] (pthread_spinlock_t): Likewise.
11890         [UNIX98] (pthread_barrier_destroy): Likewise.
11891         [UNIX98] (pthread_barrier_init): Likewise.
11892         [UNIX98] (pthread_barrier_wait): Likewise.
11893         [UNIX98] (pthread_barrierattr_destroy): Likewise.
11894         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11895         [UNIX98] (pthread_barrierattr_init): Likewise.
11896         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11897         [UNIX98] (pthread_getcpuclockid): Likewise.
11898         [UNIX98] (pthread_mutex_timedlock): Likewise.
11899         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11900         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11901         [UNIX98] (pthread_sigmask): Likewise.
11902         [UNIX98] (pthread_spin_destroy): Likewise.
11903         [UNIX98] (pthread_spin_init): Likewise.
11904         [UNIX98] (pthread_spin_lock): Likewise.
11905         [UNIX98] (pthread_spin_trylock): Likewise.
11906         [UNIX98] (pthread_spin_unlock): Likewise.
11907         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11908         Do not expect.
11909         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11910         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11911         [XPG3 || XPG4] (pthread_cond_t): Likewise.
11912         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11913         [XPG3 || XPG4] (pthread_key_t): Likewise.
11914         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11915         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11916         [XPG3 || XPG4] (pthread_once_t): Likewise.
11917         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11918         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11919         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11920         [XPG3 || XPG4] (pthread_t): Likewise.
11922         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11923         not expect.
11924         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11926         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11927         Change function return type to int.
11929         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11930         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11931         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11932         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11933         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11934         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11935         [!POSIX] (posix_madvise): Likewise.
11936         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11937         && !UNIX98].
11938         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11939         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11940         (mode_t): Likewise.
11941         (posix_mem_offset): Likewise.
11942         (posix_typed_mem_get_info): Likewise.
11943         (posix_typed_mem_open): Likewise.
11945         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11946         Change condition to [XOPEN2K8].
11948         * conform/conformtest.pl: Preprocess allow-header data with -x c
11949         instead of from stdin.
11950         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11951         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11952         [C99-based standards] (cerfc): Likewise.
11953         [C99-based standards] (cexp2): Likewise.
11954         [C99-based standards] (cexpm1): Likewise.
11955         [C99-based standards] (clog10): Likewise.
11956         [C99-based standards] (clog1p): Likewise.
11957         [C99-based standards] (clog2): Likewise.
11958         [C99-based standards] (clgamma): Likewise.
11959         [C99-based standards] (ctgamma): Likewise.
11960         [C99-based standards] (cerff): Likewise.
11961         [C99-based standards] (cerfcf): Likewise.
11962         [C99-based standards] (cexp2f): Likewise.
11963         [C99-based standards] (cexpm1f): Likewise.
11964         [C99-based standards] (clog10f): Likewise.
11965         [C99-based standards] (clog1pf): Likewise.
11966         [C99-based standards] (clog2f): Likewise.
11967         [C99-based standards] (clgammaf): Likewise.
11968         [C99-based standards] (ctgammaf): Likewise.
11969         [C99-based standards] (cerfl): Likewise.
11970         [C99-based standards] (cerfcl): Likewise.
11971         [C99-based standards] (cexp2l): Likewise.
11972         [C99-based standards] (cexpm1l): Likewise.
11973         [C99-based standards] (clog10l): Likewise.
11974         [C99-based standards] (clog1pl): Likewise.
11975         [C99-based standards] (clog2l): Likewise.
11976         [C99-based standards] (clgammal): Likewise.
11977         [C99-based standards] (ctgammal): Likewise.
11978         * conform/data/inttypes.h-data [C99-based standards]: Include
11979         stdint.h-data.  Remove all expectations for stdint.h contents.
11980         [C99-based standards] (PRI*): Do not allow.
11981         [C99-based standards] (SCN*): Likewise.
11982         [C99-based standards] (*_t): Likewise.
11983         [C99-based-standards] (PRId8): Expect macro.
11984         [C99-based-standards] (PRIi8): Likewise.
11985         [C99-based-standards] (PRIo8): Likewise.
11986         [C99-based-standards] (PRIu8): Likewise.
11987         [C99-based-standards] (PRIx8): Likewise.
11988         [C99-based-standards] (PRIX8): Likewise.
11989         [C99-based-standards] (SCNd8): Likewise.
11990         [C99-based-standards] (SCNi8): Likewise.
11991         [C99-based-standards] (SCNo8): Likewise.
11992         [C99-based-standards] (SCNu8): Likewise.
11993         [C99-based-standards] (SCNx8): Likewise.
11994         [C99-based-standards] (PRIdLEAST8): Likewise.
11995         [C99-based-standards] (PRIiLEAST8): Likewise.
11996         [C99-based-standards] (PRIoLEAST8): Likewise.
11997         [C99-based-standards] (PRIuLEAST8): Likewise.
11998         [C99-based-standards] (PRIxLEAST8): Likewise.
11999         [C99-based-standards] (PRIXLEAST8): Likewise.
12000         [C99-based-standards] (SCNdLEAST8): Likewise.
12001         [C99-based-standards] (SCNiLEAST8): Likewise.
12002         [C99-based-standards] (SCNoLEAST8): Likewise.
12003         [C99-based-standards] (SCNuLEAST8): Likewise.
12004         [C99-based-standards] (SCNxLEAST8): Likewise.
12005         [C99-based-standards] (PRIdFAST8): Likewise.
12006         [C99-based-standards] (PRIiFAST8): Likewise.
12007         [C99-based-standards] (PRIoFAST8): Likewise.
12008         [C99-based-standards] (PRIuFAST8): Likewise.
12009         [C99-based-standards] (PRIxFAST8): Likewise.
12010         [C99-based-standards] (PRIXFAST8): Likewise.
12011         [C99-based-standards] (SCNdFAST8): Likewise.
12012         [C99-based-standards] (SCNiFAST8): Likewise.
12013         [C99-based-standards] (SCNoFAST8): Likewise.
12014         [C99-based-standards] (SCNuFAST8): Likewise.
12015         [C99-based-standards] (SCNxFAST8): Likewise.
12016         [C99-based-standards] (PRId16): Likewise.
12017         [C99-based-standards] (PRIi16): Likewise.
12018         [C99-based-standards] (PRIo16): Likewise.
12019         [C99-based-standards] (PRIu16): Likewise.
12020         [C99-based-standards] (PRIx16): Likewise.
12021         [C99-based-standards] (PRIX16): Likewise.
12022         [C99-based-standards] (SCNd16): Likewise.
12023         [C99-based-standards] (SCNi16): Likewise.
12024         [C99-based-standards] (SCNo16): Likewise.
12025         [C99-based-standards] (SCNu16): Likewise.
12026         [C99-based-standards] (SCNx16): Likewise.
12027         [C99-based-standards] (PRIdLEAST16): Likewise.
12028         [C99-based-standards] (PRIiLEAST16): Likewise.
12029         [C99-based-standards] (PRIoLEAST16): Likewise.
12030         [C99-based-standards] (PRIuLEAST16): Likewise.
12031         [C99-based-standards] (PRIxLEAST16): Likewise.
12032         [C99-based-standards] (PRIXLEAST16): Likewise.
12033         [C99-based-standards] (SCNdLEAST16): Likewise.
12034         [C99-based-standards] (SCNiLEAST16): Likewise.
12035         [C99-based-standards] (SCNoLEAST16): Likewise.
12036         [C99-based-standards] (SCNuLEAST16): Likewise.
12037         [C99-based-standards] (SCNxLEAST16): Likewise.
12038         [C99-based-standards] (PRIdFAST16): Likewise.
12039         [C99-based-standards] (PRIiFAST16): Likewise.
12040         [C99-based-standards] (PRIoFAST16): Likewise.
12041         [C99-based-standards] (PRIuFAST16): Likewise.
12042         [C99-based-standards] (PRIxFAST16): Likewise.
12043         [C99-based-standards] (PRIXFAST16): Likewise.
12044         [C99-based-standards] (SCNdFAST16): Likewise.
12045         [C99-based-standards] (SCNiFAST16): Likewise.
12046         [C99-based-standards] (SCNoFAST16): Likewise.
12047         [C99-based-standards] (SCNuFAST16): Likewise.
12048         [C99-based-standards] (SCNxFAST16): Likewise.
12049         [C99-based-standards] (PRId32): Likewise.
12050         [C99-based-standards] (PRIi32): Likewise.
12051         [C99-based-standards] (PRIo32): Likewise.
12052         [C99-based-standards] (PRIu32): Likewise.
12053         [C99-based-standards] (PRIx32): Likewise.
12054         [C99-based-standards] (PRIX32): Likewise.
12055         [C99-based-standards] (SCNd32): Likewise.
12056         [C99-based-standards] (SCNi32): Likewise.
12057         [C99-based-standards] (SCNo32): Likewise.
12058         [C99-based-standards] (SCNu32): Likewise.
12059         [C99-based-standards] (SCNx32): Likewise.
12060         [C99-based-standards] (PRIdLEAST32): Likewise.
12061         [C99-based-standards] (PRIiLEAST32): Likewise.
12062         [C99-based-standards] (PRIoLEAST32): Likewise.
12063         [C99-based-standards] (PRIuLEAST32): Likewise.
12064         [C99-based-standards] (PRIxLEAST32): Likewise.
12065         [C99-based-standards] (PRIXLEAST32): Likewise.
12066         [C99-based-standards] (SCNdLEAST32): Likewise.
12067         [C99-based-standards] (SCNiLEAST32): Likewise.
12068         [C99-based-standards] (SCNoLEAST32): Likewise.
12069         [C99-based-standards] (SCNuLEAST32): Likewise.
12070         [C99-based-standards] (SCNxLEAST32): Likewise.
12071         [C99-based-standards] (PRIdFAST32): Likewise.
12072         [C99-based-standards] (PRIiFAST32): Likewise.
12073         [C99-based-standards] (PRIoFAST32): Likewise.
12074         [C99-based-standards] (PRIuFAST32): Likewise.
12075         [C99-based-standards] (PRIxFAST32): Likewise.
12076         [C99-based-standards] (PRIXFAST32): Likewise.
12077         [C99-based-standards] (SCNdFAST32): Likewise.
12078         [C99-based-standards] (SCNiFAST32): Likewise.
12079         [C99-based-standards] (SCNoFAST32): Likewise.
12080         [C99-based-standards] (SCNuFAST32): Likewise.
12081         [C99-based-standards] (SCNxFAST32): Likewise.
12082         [C99-based-standards] (PRId64): Likewise.
12083         [C99-based-standards] (PRIi64): Likewise.
12084         [C99-based-standards] (PRIo64): Likewise.
12085         [C99-based-standards] (PRIu64): Likewise.
12086         [C99-based-standards] (PRIx64): Likewise.
12087         [C99-based-standards] (PRIX64): Likewise.
12088         [C99-based-standards] (SCNd64): Likewise.
12089         [C99-based-standards] (SCNi64): Likewise.
12090         [C99-based-standards] (SCNo64): Likewise.
12091         [C99-based-standards] (SCNu64): Likewise.
12092         [C99-based-standards] (SCNx64): Likewise.
12093         [C99-based-standards] (PRIdLEAST64): Likewise.
12094         [C99-based-standards] (PRIiLEAST64): Likewise.
12095         [C99-based-standards] (PRIoLEAST64): Likewise.
12096         [C99-based-standards] (PRIuLEAST64): Likewise.
12097         [C99-based-standards] (PRIxLEAST64): Likewise.
12098         [C99-based-standards] (PRIXLEAST64): Likewise.
12099         [C99-based-standards] (SCNdLEAST64): Likewise.
12100         [C99-based-standards] (SCNiLEAST64): Likewise.
12101         [C99-based-standards] (SCNoLEAST64): Likewise.
12102         [C99-based-standards] (SCNuLEAST64): Likewise.
12103         [C99-based-standards] (SCNxLEAST64): Likewise.
12104         [C99-based-standards] (PRIdFAST64): Likewise.
12105         [C99-based-standards] (PRIiFAST64): Likewise.
12106         [C99-based-standards] (PRIoFAST64): Likewise.
12107         [C99-based-standards] (PRIuFAST64): Likewise.
12108         [C99-based-standards] (PRIxFAST64): Likewise.
12109         [C99-based-standards] (PRIXFAST64): Likewise.
12110         [C99-based-standards] (SCNdFAST64): Likewise.
12111         [C99-based-standards] (SCNiFAST64): Likewise.
12112         [C99-based-standards] (SCNoFAST64): Likewise.
12113         [C99-based-standards] (SCNuFAST64): Likewise.
12114         [C99-based-standards] (SCNxFAST64): Likewise.
12115         [C99-based-standards] (PRIdMAX): Likewise.
12116         [C99-based-standards] (PRIiMAX): Likewise.
12117         [C99-based-standards] (PRIoMAX): Likewise.
12118         [C99-based-standards] (PRIuMAX): Likewise.
12119         [C99-based-standards] (PRIxMAX): Likewise.
12120         [C99-based-standards] (PRIXMAX): Likewise.
12121         [C99-based-standards] (SCNdMAX): Likewise.
12122         [C99-based-standards] (SCNiMAX): Likewise.
12123         [C99-based-standards] (SCNoMAX): Likewise.
12124         [C99-based-standards] (SCNuMAX): Likewise.
12125         [C99-based-standards] (SCNxMAX): Likewise.
12126         [C99-based-standards] (PRIdPTR): Likewise.
12127         [C99-based-standards] (PRIiPTR): Likewise.
12128         [C99-based-standards] (PRIoPTR): Likewise.
12129         [C99-based-standards] (PRIuPTR): Likewise.
12130         [C99-based-standards] (PRIxPTR): Likewise.
12131         [C99-based-standards] (PRIXPTR): Likewise.
12132         [C99-based-standards] (SCNdPTR): Likewise.
12133         [C99-based-standards] (SCNiPTR): Likewise.
12134         [C99-based-standards] (SCNoPTR): Likewise.
12135         [C99-based-standards] (SCNuPTR): Likewise.
12136         [C99-based-standards] (SCNxPTR): Likewise.
12137         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12138         allow.
12139         * conform/data/stdint.h-data: Update comments to clarify
12140         requirements.
12141         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
12142         type.
12143         [C99-based standards] (INT8_MAX): Likewise.
12144         [C99-based standards] (INT16_MIN): Likewise.
12145         [C99-based standards] (INT16_MAX): Likewise.
12146         [C99-based standards] (INT32_MIN): Likewise.
12147         [C99-based standards] (INT32_MAX): Likewise.
12148         [C99-based standards] (INT64_MIN): Likewise.
12149         [C99-based standards] (INT64_MAX): Likewise.
12150         [C99-based standards] (UINT8_MAX): Likewise.
12151         [C99-based standards] (UINT16_MAX): Likewise.
12152         [C99-based standards] (UINT32_MAX): Likewise.
12153         [C99-based standards] (UINT64_MAX): Likewise.
12154         [C99-based standards] (INT_LEAST8_MIN): Likewise.
12155         [C99-based standards] (INT_LEAST8_MAX): Likewise.
12156         [C99-based standards] (INT_LEAST16_MIN): Likewise.
12157         [C99-based standards] (INT_LEAST16_MAX): Likewise.
12158         [C99-based standards] (INT_LEAST32_MIN): Likewise.
12159         [C99-based standards] (INT_LEAST32_MAX): Likewise.
12160         [C99-based standards] (INT_LEAST64_MIN): Likewise.
12161         [C99-based standards] (INT_LEAST64_MAX): Likewise.
12162         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12163         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12164         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12165         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12166         [C99-based standards] (INT_FAST8_MIN): Likewise.
12167         [C99-based standards] (INT_FAST8_MAX): Likewise.
12168         [C99-based standards] (INT_FAST16_MIN): Likewise.
12169         [C99-based standards] (INT_FAST16_MAX): Likewise.
12170         [C99-based standards] (INT_FAST32_MIN): Likewise.
12171         [C99-based standards] (INT_FAST32_MAX): Likewise.
12172         [C99-based standards] (INT_FAST64_MIN): Likewise.
12173         [C99-based standards] (INT_FAST64_MAX): Likewise.
12174         [C99-based standards] (UINT_FAST8_MAX): Likewise.
12175         [C99-based standards] (UINT_FAST16_MAX): Likewise.
12176         [C99-based standards] (UINT_FAST32_MAX): Likewise.
12177         [C99-based standards] (UINT_FAST64_MAX): Likewise.
12178         [C99-based standards] (INTPTR_MIN): Likewise.
12179         [C99-based standards] (INTPTR_MAX): Likewise.
12180         [C99-based standards] (UINTPTR_MAX): Likewise.
12181         [C99-based standards] (INTMAX_MIN): Likewise.
12182         [C99-based standards] (INTMAX_MAX): Likewise.
12183         [C99-based standards] (UINTMAX_MAX): Likewise.
12184         [C99-based standards] (PTRDIFF_MIN): Likewise.
12185         [C99-based standards] (PTRDIFF_MAX): Likewise.
12186         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12187         [C99-based standards] (SIZE_MAX): Likewise.
12188         [C99-based standards] (WCHAR_MAX): Likewise.
12189         [C99-based standards] (WINT_MAX): Likewise.
12190         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
12191         constraint on value.
12192         [C99-based standards] (WCHAR_MIN): Likewise.
12193         [C99-based standards] (WINT_MIN): Likewise.
12194         [C99-based standards] (*_t): Allow.
12195         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12196         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12197         Include math.h-data and complex.h-data.  Remove all expectations
12198         of math.h and complex.h contents.
12199         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12200         at end of line.
12201         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12202         (struct tm): Expect tag.
12203         [C99-based-standards] (wcstof): Expect function.
12204         [C99-based-standards] (wcstold): Likewise.
12205         [C99-based-standards] (wcstoll): Likewise.
12206         [C99-based-standards] (wcstoull): Likewise.
12207         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12208         macro-int-constant.  Specify type.
12209         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
12210         constraint on value.
12211         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12212         Specify type.
12213         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12214         Specify value.
12215         [ISO C standards]: Do not allow headers.
12216         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12217         wcs[abcdefghijklmnopqrstuvwxyz]*.
12218         [ISO C standards] (*_t): Do not allow.
12219         * conform/data/wctype.h-data [C99-based standards] (iswblank):
12220         Expect function.
12221         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12222         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12223         Specify type.
12224         [ISO C standards]: Do not allow headers.
12225         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12226         is[abcdefghijklmnopqrstuvwxyz]*.
12227         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12228         to[abcdefghijklmnopqrstuvwxyz]*.
12229         [ISO C standards] (*_t): Do not allow.
12230         * conform/data/stdalign.h-data: New file.
12231         * conform/data/stdbool.h-data: Likewise.
12232         * conform/data/stdnoreturn.h-data: Likewise.
12234 2012-11-07  Roland McGrath  <roland@hack.frob.com>
12236         [BZ #14815]
12237         * manual/filesys.texi (Directory Entries): Typo fix.
12238         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12240 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12242         * elf/elf.h (EM_AARCH64): New macro.
12243         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12244         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12245         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12246         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12247         (R_AARCH64_TLSDESC): Likewise.
12248         (NT_ARM_TLS): Likewise.
12249         (NT_ARM_HW_BREAK): Likewise.
12250         (NT_ARM_HW_WATCH): Likewise.
12252 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12254         [BZ #14811]
12255         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12256         (__ieee754_powl): Saturate nonzero exponents with absolute value
12257         below 0x1p-79 to +/- 0x1p-79.
12258         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12259         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12260         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12261         nonzero exponents with absolute value below 0x1p-32 to +/-
12262         0x1p-32.
12263         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12264         (__ieee754_powl): Saturate nonzero exponents with absolute value
12265         below 0x1p-79 to +/- 0x1p-79.
12266         * math/libm-test.inc (pow_test): Add more tests.
12268 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12270         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12271         _dl_s390_cap_flags with kernel. Increase string length.
12272         (_dl_s390_platforms): Add z196 and zEC12.
12274 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12276         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12277         Change XOPEN21K to XOPEN2K.
12279 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
12281         * string/memmove.c: Use memcpy when possible.
12283 2012-11-06  Andreas Jaeger  <aj@suse.de>
12285         * po/eo.po: Update from translation team.
12287 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
12289         [BZ #14793]
12290         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12291         exponent and small x and y exponents, scale x or y up.  Increase
12292         by 2 the exponent used in scaling up.
12293         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12294         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12295         * math/libm-test.inc (fma_test): Add more tests.
12296         (fma_test_towardzero): Likewise.
12297         (fma_test_downward): Likewise.
12298         (fma_test_upward): Likewise.
12300 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
12302         [BZ #14805]
12303         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12304         fenv_t *.
12306         [BZ #14801]
12307         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12308         namespace for names of struct fields.
12309         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12310         fenv_t fields.
12311         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12312         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12314 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12316         [BZ #3665]
12317         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12319 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12321         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12322         PTR_DEMANGLE.
12324         [BZ #5246]
12325         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12326         PTR_DEMANGLE.
12328 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
12330         [BZ #14797]
12331         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12332         definitely overflow as x * y not x * y + z.
12333         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12334         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12335         * math/libm-test.inc (fma_test): Add more tests.
12336         (fma_test_towardzero): Likewise.
12337         (fma_test_downward): Likewise.
12338         (fma_test_upward): Likewise.
12340 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12342         [BZ #157]
12344         * include/stub-tag.h: Remove file.
12345         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12346         '#include' of it.
12347         * manual/maint.texi (Porting): Don't reference it.
12348         * Makerules ($(objpfx)stubs): Likewise.
12349         * dirent/closedir.c: Don't include <stub-tag.h>.
12350         * dirent/dirfd.c: Likewise.
12351         * dirent/fdopendir.c: Likewise.
12352         * dirent/getdents.c: Likewise.
12353         * dirent/getdents64.c: Likewise.
12354         * dirent/opendir.c: Likewise.
12355         * dirent/readdir.c: Likewise.
12356         * dirent/readdir64.c: Likewise.
12357         * dirent/readdir64_r.c: Likewise.
12358         * dirent/readdir_r.c: Likewise.
12359         * dirent/rewinddir.c: Likewise.
12360         * dirent/seekdir.c: Likewise.
12361         * dirent/telldir.c: Likewise.
12362         * gmon/profil.c: Likewise.
12363         * grp/setgroups.c: Likewise.
12364         * inet/if_index.c: Likewise.
12365         * io/access.c: Likewise.
12366         * io/chdir.c: Likewise.
12367         * io/chmod.c: Likewise.
12368         * io/chown.c: Likewise.
12369         * io/close.c: Likewise.
12370         * io/dup.c: Likewise.
12371         * io/dup2.c: Likewise.
12372         * io/dup3.c: Likewise.
12373         * io/euidaccess.c: Likewise.
12374         * io/faccessat.c: Likewise.
12375         * io/fchdir.c: Likewise.
12376         * io/fchmod.c: Likewise.
12377         * io/fchmodat.c: Likewise.
12378         * io/fchown.c: Likewise.
12379         * io/fchownat.c: Likewise.
12380         * io/fcntl.c: Likewise.
12381         * io/flock.c: Likewise.
12382         * io/fstatfs.c: Likewise.
12383         * io/fstatfs64.c: Likewise.
12384         * io/fstatvfs.c: Likewise.
12385         * io/fstatvfs64.c: Likewise.
12386         * io/futimens.c: Likewise.
12387         * io/fxstat.c: Likewise.
12388         * io/fxstat64.c: Likewise.
12389         * io/fxstatat.c: Likewise.
12390         * io/fxstatat64.c: Likewise.
12391         * io/getcwd.c: Likewise.
12392         * io/isatty.c: Likewise.
12393         * io/lchmod.c: Likewise.
12394         * io/lchown.c: Likewise.
12395         * io/link.c: Likewise.
12396         * io/linkat.c: Likewise.
12397         * io/lseek.c: Likewise.
12398         * io/lseek64.c: Likewise.
12399         * io/lxstat64.c: Likewise.
12400         * io/mkdir.c: Likewise.
12401         * io/mkdirat.c: Likewise.
12402         * io/mkfifo.c: Likewise.
12403         * io/mkfifoat.c: Likewise.
12404         * io/open.c: Likewise.
12405         * io/open64.c: Likewise.
12406         * io/openat.c: Likewise.
12407         * io/openat64.c: Likewise.
12408         * io/pipe.c: Likewise.
12409         * io/pipe2.c: Likewise.
12410         * io/poll.c: Likewise.
12411         * io/posix_fadvise.c: Likewise.
12412         * io/posix_fadvise64.c: Likewise.
12413         * io/posix_fallocate.c: Likewise.
12414         * io/posix_fallocate64.c: Likewise.
12415         * io/read.c: Likewise.
12416         * io/readlink.c: Likewise.
12417         * io/readlinkat.c: Likewise.
12418         * io/rmdir.c: Likewise.
12419         * io/sendfile.c: Likewise.
12420         * io/sendfile64.c: Likewise.
12421         * io/statfs.c: Likewise.
12422         * io/statfs64.c: Likewise.
12423         * io/statvfs.c: Likewise.
12424         * io/statvfs64.c: Likewise.
12425         * io/symlink.c: Likewise.
12426         * io/symlinkat.c: Likewise.
12427         * io/ttyname.c: Likewise.
12428         * io/ttyname_r.c: Likewise.
12429         * io/umask.c: Likewise.
12430         * io/unlink.c: Likewise.
12431         * io/unlinkat.c: Likewise.
12432         * io/utime.c: Likewise.
12433         * io/utimensat.c: Likewise.
12434         * io/write.c: Likewise.
12435         * io/xmknod.c: Likewise.
12436         * io/xmknodat.c: Likewise.
12437         * io/xstat.c: Likewise.
12438         * io/xstat64.c: Likewise.
12439         * login/getpt.c: Likewise.
12440         * login/grantpt.c: Likewise.
12441         * login/unlockpt.c: Likewise.
12442         * math/e_acoshl.c: Likewise.
12443         * math/e_acosl.c: Likewise.
12444         * math/e_asinl.c: Likewise.
12445         * math/e_atan2l.c: Likewise.
12446         * math/e_atanhl.c: Likewise.
12447         * math/e_coshl.c: Likewise.
12448         * math/e_expl.c: Likewise.
12449         * math/e_fmodl.c: Likewise.
12450         * math/e_gammal_r.c: Likewise.
12451         * math/e_hypotl.c: Likewise.
12452         * math/e_j0l.c: Likewise.
12453         * math/e_j1l.c: Likewise.
12454         * math/e_jnl.c: Likewise.
12455         * math/e_lgammal_r.c: Likewise.
12456         * math/e_log10l.c: Likewise.
12457         * math/e_log2l.c: Likewise.
12458         * math/e_logl.c: Likewise.
12459         * math/e_powl.c: Likewise.
12460         * math/e_rem_pio2l.c: Likewise.
12461         * math/e_sinhl.c: Likewise.
12462         * math/e_sqrtl.c: Likewise.
12463         * math/fclrexcpt.c: Likewise.
12464         * math/fedisblxcpt.c: Likewise.
12465         * math/feenablxcpt.c: Likewise.
12466         * math/fegetenv.c: Likewise.
12467         * math/fegetexcept.c: Likewise.
12468         * math/fegetround.c: Likewise.
12469         * math/feholdexcpt.c: Likewise.
12470         * math/fesetenv.c: Likewise.
12471         * math/fesetround.c: Likewise.
12472         * math/feupdateenv.c: Likewise.
12473         * math/fgetexcptflg.c: Likewise.
12474         * math/fraiseexcpt.c: Likewise.
12475         * math/fsetexcptflg.c: Likewise.
12476         * math/ftestexcept.c: Likewise.
12477         * math/k_cosl.c: Likewise.
12478         * math/k_rem_pio2l.c: Likewise.
12479         * math/k_sinl.c: Likewise.
12480         * math/k_tanl.c: Likewise.
12481         * math/s_asinhl.c: Likewise.
12482         * math/s_atanl.c: Likewise.
12483         * math/s_cbrtl.c: Likewise.
12484         * math/s_erfl.c: Likewise.
12485         * math/s_expm1l.c: Likewise.
12486         * math/s_log1pl.c: Likewise.
12487         * math/s_tanhl.c: Likewise.
12488         * misc/acct.c: Likewise.
12489         * misc/brk.c: Likewise.
12490         * misc/chflags.c: Likewise.
12491         * misc/chroot.c: Likewise.
12492         * misc/fchflags.c: Likewise.
12493         * misc/fgetxattr.c: Likewise.
12494         * misc/flistxattr.c: Likewise.
12495         * misc/fremovexattr.c: Likewise.
12496         * misc/fsetxattr.c: Likewise.
12497         * misc/fsync.c: Likewise.
12498         * misc/ftruncate.c: Likewise.
12499         * misc/futimes.c: Likewise.
12500         * misc/futimesat.c: Likewise.
12501         * misc/getdomain.c: Likewise.
12502         * misc/getdtsz.c: Likewise.
12503         * misc/gethostid.c: Likewise.
12504         * misc/gethostname.c: Likewise.
12505         * misc/getloadavg.c: Likewise.
12506         * misc/getpagesize.c: Likewise.
12507         * misc/getsysstats.c: Likewise.
12508         * misc/getxattr.c: Likewise.
12509         * misc/gtty.c: Likewise.
12510         * misc/ioctl.c: Likewise.
12511         * misc/lgetxattr.c: Likewise.
12512         * misc/listxattr.c: Likewise.
12513         * misc/llistxattr.c: Likewise.
12514         * misc/lremovexattr.c: Likewise.
12515         * misc/lsetxattr.c: Likewise.
12516         * misc/lutimes.c: Likewise.
12517         * misc/madvise.c: Likewise.
12518         * misc/mincore.c: Likewise.
12519         * misc/mlock.c: Likewise.
12520         * misc/mlockall.c: Likewise.
12521         * misc/mmap.c: Likewise.
12522         * misc/mprotect.c: Likewise.
12523         * misc/msync.c: Likewise.
12524         * misc/munlock.c: Likewise.
12525         * misc/munlockall.c: Likewise.
12526         * misc/munmap.c: Likewise.
12527         * misc/preadv.c: Likewise.
12528         * misc/preadv64.c: Likewise.
12529         * misc/ptrace.c: Likewise.
12530         * misc/pwritev.c: Likewise.
12531         * misc/pwritev64.c: Likewise.
12532         * misc/readv.c: Likewise.
12533         * misc/reboot.c: Likewise.
12534         * misc/remap_file_pages.c: Likewise.
12535         * misc/removexattr.c: Likewise.
12536         * misc/revoke.c: Likewise.
12537         * misc/select.c: Likewise.
12538         * misc/setdomain.c: Likewise.
12539         * misc/setegid.c: Likewise.
12540         * misc/seteuid.c: Likewise.
12541         * misc/sethostid.c: Likewise.
12542         * misc/sethostname.c: Likewise.
12543         * misc/setregid.c: Likewise.
12544         * misc/setreuid.c: Likewise.
12545         * misc/setxattr.c: Likewise.
12546         * misc/sstk.c: Likewise.
12547         * misc/stty.c: Likewise.
12548         * misc/swapoff.c: Likewise.
12549         * misc/swapon.c: Likewise.
12550         * misc/sync.c: Likewise.
12551         * misc/syncfs.c: Likewise.
12552         * misc/syscall.c: Likewise.
12553         * misc/truncate.c: Likewise.
12554         * misc/ualarm.c: Likewise.
12555         * misc/usleep.c: Likewise.
12556         * misc/ustat.c: Likewise.
12557         * misc/utimes.c: Likewise.
12558         * misc/vhangup.c: Likewise.
12559         * misc/writev.c: Likewise.
12560         * posix/_exit.c: Likewise.
12561         * posix/alarm.c: Likewise.
12562         * posix/execve.c: Likewise.
12563         * posix/fexecve.c: Likewise.
12564         * posix/fork.c: Likewise.
12565         * posix/fpathconf.c: Likewise.
12566         * posix/getaddrinfo.c: Likewise.
12567         * posix/getegid.c: Likewise.
12568         * posix/geteuid.c: Likewise.
12569         * posix/getgid.c: Likewise.
12570         * posix/getgroups.c: Likewise.
12571         * posix/getlogin.c: Likewise.
12572         * posix/getlogin_r.c: Likewise.
12573         * posix/getpgid.c: Likewise.
12574         * posix/getpid.c: Likewise.
12575         * posix/getppid.c: Likewise.
12576         * posix/getresgid.c: Likewise.
12577         * posix/getresuid.c: Likewise.
12578         * posix/getsid.c: Likewise.
12579         * posix/getuid.c: Likewise.
12580         * posix/glob64.c: Likewise.
12581         * posix/nanosleep.c: Likewise.
12582         * posix/pathconf.c: Likewise.
12583         * posix/pause.c: Likewise.
12584         * posix/posix_madvise.c: Likewise.
12585         * posix/pread.c: Likewise.
12586         * posix/pread64.c: Likewise.
12587         * posix/pwrite.c: Likewise.
12588         * posix/pwrite64.c: Likewise.
12589         * posix/sched_getaffinity.c: Likewise.
12590         * posix/sched_getp.c: Likewise.
12591         * posix/sched_gets.c: Likewise.
12592         * posix/sched_primax.c: Likewise.
12593         * posix/sched_primin.c: Likewise.
12594         * posix/sched_rr_gi.c: Likewise.
12595         * posix/sched_setaffinity.c: Likewise.
12596         * posix/sched_setp.c: Likewise.
12597         * posix/sched_sets.c: Likewise.
12598         * posix/sched_yield.c: Likewise.
12599         * posix/setgid.c: Likewise.
12600         * posix/setlogin.c: Likewise.
12601         * posix/setpgid.c: Likewise.
12602         * posix/setresgid.c: Likewise.
12603         * posix/setresuid.c: Likewise.
12604         * posix/setsid.c: Likewise.
12605         * posix/setuid.c: Likewise.
12606         * posix/sleep.c: Likewise.
12607         * posix/spawni.c: Likewise.
12608         * posix/sysconf.c: Likewise.
12609         * posix/times.c: Likewise.
12610         * posix/wait.c: Likewise.
12611         * posix/wait3.c: Likewise.
12612         * posix/wait4.c: Likewise.
12613         * posix/waitpid.c: Likewise.
12614         * resolv/gai_sigqueue.c: Likewise.
12615         * resource/getpriority.c: Likewise.
12616         * resource/getrlimit.c: Likewise.
12617         * resource/getrusage.c: Likewise.
12618         * resource/nice.c: Likewise.
12619         * resource/setpriority.c: Likewise.
12620         * resource/setrlimit.c: Likewise.
12621         * resource/ulimit.c: Likewise.
12622         * rt/aio_cancel.c: Likewise.
12623         * rt/aio_fsync.c: Likewise.
12624         * rt/aio_read.c: Likewise.
12625         * rt/aio_sigqueue.c: Likewise.
12626         * rt/aio_suspend.c: Likewise.
12627         * rt/aio_write.c: Likewise.
12628         * rt/clock_getres.c: Likewise.
12629         * rt/clock_gettime.c: Likewise.
12630         * rt/clock_nanosleep.c: Likewise.
12631         * rt/clock_settime.c: Likewise.
12632         * rt/lio_listio.c: Likewise.
12633         * rt/mq_close.c: Likewise.
12634         * rt/mq_getattr.c: Likewise.
12635         * rt/mq_notify.c: Likewise.
12636         * rt/mq_open.c: Likewise.
12637         * rt/mq_receive.c: Likewise.
12638         * rt/mq_send.c: Likewise.
12639         * rt/mq_setattr.c: Likewise.
12640         * rt/mq_timedreceive.c: Likewise.
12641         * rt/mq_timedsend.c: Likewise.
12642         * rt/mq_unlink.c: Likewise.
12643         * rt/shm_open.c: Likewise.
12644         * rt/shm_unlink.c: Likewise.
12645         * rt/timer_create.c: Likewise.
12646         * rt/timer_delete.c: Likewise.
12647         * rt/timer_getoverr.c: Likewise.
12648         * rt/timer_gettime.c: Likewise.
12649         * rt/timer_settime.c: Likewise.
12650         * setjmp/__longjmp.c: Likewise.
12651         * setjmp/setjmp.c: Likewise.
12652         * signal/kill.c: Likewise.
12653         * signal/killpg.c: Likewise.
12654         * signal/raise.c: Likewise.
12655         * signal/sigaction.c: Likewise.
12656         * signal/sigaltstack.c: Likewise.
12657         * signal/sigblock.c: Likewise.
12658         * signal/sigignore.c: Likewise.
12659         * signal/sigintr.c: Likewise.
12660         * signal/signal.c: Likewise.
12661         * signal/sigpause.c: Likewise.
12662         * signal/sigpending.c: Likewise.
12663         * signal/sigqueue.c: Likewise.
12664         * signal/sigreturn.c: Likewise.
12665         * signal/sigset.c: Likewise.
12666         * signal/sigsetmask.c: Likewise.
12667         * signal/sigstack.c: Likewise.
12668         * signal/sigsuspend.c: Likewise.
12669         * signal/sigtimedwait.c: Likewise.
12670         * signal/sigvec.c: Likewise.
12671         * signal/sigwait.c: Likewise.
12672         * signal/sigwaitinfo.c: Likewise.
12673         * signal/sysv_signal.c: Likewise.
12674         * socket/accept.c: Likewise.
12675         * socket/accept4.c: Likewise.
12676         * socket/bind.c: Likewise.
12677         * socket/connect.c: Likewise.
12678         * socket/getpeername.c: Likewise.
12679         * socket/getsockname.c: Likewise.
12680         * socket/getsockopt.c: Likewise.
12681         * socket/isfdtype.c: Likewise.
12682         * socket/listen.c: Likewise.
12683         * socket/recv.c: Likewise.
12684         * socket/recvfrom.c: Likewise.
12685         * socket/recvmsg.c: Likewise.
12686         * socket/send.c: Likewise.
12687         * socket/sendmsg.c: Likewise.
12688         * socket/sendto.c: Likewise.
12689         * socket/setsockopt.c: Likewise.
12690         * socket/shutdown.c: Likewise.
12691         * socket/sockatmark.c: Likewise.
12692         * socket/socket.c: Likewise.
12693         * socket/socketpair.c: Likewise.
12694         * stdio-common/ctermid.c: Likewise.
12695         * stdio-common/cuserid.c: Likewise.
12696         * stdio-common/remove.c: Likewise.
12697         * stdio-common/rename.c: Likewise.
12698         * stdio-common/renameat.c: Likewise.
12699         * stdio-common/tempname.c: Likewise.
12700         * stdlib/getcontext.c: Likewise.
12701         * stdlib/makecontext.c: Likewise.
12702         * stdlib/setcontext.c: Likewise.
12703         * stdlib/swapcontext.c: Likewise.
12704         * stdlib/system.c: Likewise.
12705         * streams/fattach.c: Likewise.
12706         * streams/fdetach.c: Likewise.
12707         * streams/getmsg.c: Likewise.
12708         * streams/getpmsg.c: Likewise.
12709         * streams/putmsg.c: Likewise.
12710         * streams/putpmsg.c: Likewise.
12711         * sysdeps/unix/bsd/getpt.c: Likewise.
12712         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12713         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12714         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12716         Likewise.
12717         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12718         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12719         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12720         * sysvipc/msgctl.c: Likewise.
12721         * sysvipc/msgget.c: Likewise.
12722         * sysvipc/msgrcv.c: Likewise.
12723         * sysvipc/msgsnd.c: Likewise.
12724         * sysvipc/semctl.c: Likewise.
12725         * sysvipc/semget.c: Likewise.
12726         * sysvipc/semop.c: Likewise.
12727         * sysvipc/semtimedop.c: Likewise.
12728         * sysvipc/shmat.c: Likewise.
12729         * sysvipc/shmctl.c: Likewise.
12730         * sysvipc/shmdt.c: Likewise.
12731         * sysvipc/shmget.c: Likewise.
12732         * termios/tcdrain.c: Likewise.
12733         * termios/tcflow.c: Likewise.
12734         * termios/tcflush.c: Likewise.
12735         * termios/tcgetattr.c: Likewise.
12736         * termios/tcgetpgrp.c: Likewise.
12737         * termios/tcsendbrk.c: Likewise.
12738         * termios/tcsetattr.c: Likewise.
12739         * termios/tcsetpgrp.c: Likewise.
12740         * time/adjtime.c: Likewise.
12741         * time/clock.c: Likewise.
12742         * time/getitimer.c: Likewise.
12743         * time/gettimeofday.c: Likewise.
12744         * time/setitimer.c: Likewise.
12745         * time/settimeofday.c: Likewise.
12746         * time/stime.c: Likewise.
12747         * time/time.c: Likewise.
12749 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
12751         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12752         /usr/old/bin.
12754         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12755         instead of spaces.
12756         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12758 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
12760         [BZ #14796]
12761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12762         FE_TONEAREST before applying Dekker multiplication and Knuth
12763         addition.  Clear inexact exceptions and check for exact zero
12764         results afterwards.
12765         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12766         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12767         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12768         * math/libm-test.inc (fma_test): Add more tests.
12769         (fma_test_towardzero): Likewise.
12770         (fma_test_downward): Likewise.
12771         (fma_test_upward): Likewise.
12772         * sysdeps/generic/math_private.h (default_libc_fesetround): New
12773         function.
12774         (libc_fesetround): New macro.
12775         (libc_fesetroundf): Likewise.
12776         (libc_fesetroundl): Likewise.
12777         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12778         function.
12779         (libc_fesetround_387): Likewise.
12780         (libc_fesetroundf): New macro.
12781         (libc_fesetround): Likewise.
12782         (libc_fesetroundl): Likewise.
12783         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12784         function.
12785         (libc_fesetroundf): New macro.
12786         (libc_fesetround): Likewise.
12787         (libc_fesetroundl): Likewise.
12788         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12789         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12790         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12791         libm_hidden_ver.
12792         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12793         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12794         libm_hidden_def.
12795         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12796         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12797         libm_hidden_ver.
12798         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12799         libm_hidden_def.
12801         [BZ #3439]
12802         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12803         integer constant usable in #if and use that to give value to enum
12804         constant.
12805         (FE_DIVBYZERO): Likewise.
12806         (FE_UNDERFLOW): Likewise.
12807         (FE_OVERFLOW): Likewise.
12808         (FE_INVALID): Likewise.
12809         (FE_INVALID_SNAN): Likewise.
12810         (FE_INVALID_ISI): Likewise.
12811         (FE_INVALID_IDI): Likewise.
12812         (FE_INVALID_ZDZ): Likewise.
12813         (FE_INVALID_IMZ): Likewise.
12814         (FE_INVALID_COMPARE): Likewise.
12815         (FE_INVALID_SOFTWARE): Likewise.
12816         (FE_INVALID_SQRT): Likewise.
12817         (FE_INVALID_INTEGER_CONVERSION): Likewise.
12818         (FE_TONEAREST): Likewise.
12819         (FE_TOWARDZERO): Likewise.
12820         (FE_UPWARD): Likewise.
12821         (FE_DOWNWARD): Likewise.
12822         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12823         (FE_DIVBYZERO): Likewise.
12824         (FE_OVERFLOW): Likewise.
12825         (FE_UNDERFLOW): Likewise.
12826         (FE_INEXACT): Likewise.
12827         (FE_TONEAREST): Likewise.
12828         (FE_DOWNWARD): Likewise.
12829         (FE_UPWARD): Likewise.
12830         (FE_TOWARDZERO): Likewise.
12831         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12832         (FE_UNDERFLOW): Likewise.
12833         (FE_OVERFLOW): Likewise.
12834         (FE_DIVBYZERO): Likewise.
12835         (FE_INVALID): Likewise.
12836         (FE_TONEAREST): Likewise.
12837         (FE_TOWARDZERO): Likewise.
12838         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12839         (FE_OVERFLOW): Likewise.
12840         (FE_UNDERFLOW): Likewise.
12841         (FE_DIVBYZERO): Likewise.
12842         (FE_INEXACT): Likewise.
12843         (FE_TONEAREST): Likewise.
12844         (FE_TOWARDZERO): Likewise.
12845         (FE_UPWARD): Likewise.
12846         (FE_DOWNWARD): Likewise.
12847         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12848         (FE_DIVBYZERO): Likewise.
12849         (FE_OVERFLOW): Likewise.
12850         (FE_UNDERFLOW): Likewise.
12851         (FE_INEXACT): Likewise.
12852         (FE_TONEAREST): Likewise.
12853         (FE_DOWNWARD): Likewise.
12854         (FE_UPWARD): Likewise.
12855         (FE_TOWARDZERO): Likewise.
12857 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
12859         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12861 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
12863         * scripts/cross-test-ssh.sh (command): Use newlines to separate
12864         commands.  Quote $PWD.
12865         (blacklist_exports): Don't use remove_newlines.  Replace "declare
12866         -x" by "export".
12867         (remove_newlines): Remove.
12869 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
12871         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12872         * stdlib/stdlib.h (atof): Moved to ...
12873         * include/bits/stdlib-float.h: Here.  New file.
12874         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12875         * stdlib/bits/stdlib-float.h: New file.
12876         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12877         -mno-sse -mno-mmx.
12878         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12879         <xmmintrin.h>.
12881 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
12883         * conform/conformtest.pl (@headers): Add fenv.h.
12884         * conform/data/fenv.h-data: New file.
12885         * include/fenv.h [_ISOMAC]: Disable all contents of file except
12886         include of <math/fenv.h>.
12888         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12889         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12890         && !UNIX98].  Enables tests for XOPEN2K8.
12891         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12892         POSIX2008]: Likewise.
12894         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12895         (struct rusage): Do not expect type or its members.
12897         [BZ #3439]
12898         * math/math.h (FP_NAN): Define macro to integer constant usable in
12899         #if and use that to give value to enum constant.
12900         (FP_INFINITE): Likewise.
12901         (FP_ZERO): Likewise.
12902         (FP_SUBNORMAL): Likewise.
12903         (FP_NORMAL): Likewise.
12905 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
12907         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12908         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12909         arguments.
12911 2012-11-02  Roland McGrath  <roland@hack.frob.com>
12913         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12914         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12915         autoconf-time if not.
12916         * configure.in: Remove AC_PREREQ.
12918 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12920         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12921         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12922         of the internal implementation.
12924 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
12926         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12927         except include of <misc/sys/syslog.h>.
12929 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12932         function returns with a NULL context exit with zero.
12934 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12936         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12938 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
12940         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12941         (run_program_cmd): This.
12942         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12943         (tst_langinfo): New variable.  Use it.
12945 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
12947         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12948         floating point opcodes.
12950 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12952         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12953         variable.
12955         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12957         * sysdeps/mach/hurd/powerpc: Remove directory.
12958         * sysdeps/mach/powerpc: Likewise.
12960 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12962         * scripts/check-local-headers.sh: Ignore c++ headers.
12964 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12966         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12967         __libc_cleanup_region_start argument.
12969 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
12971         [BZ #14784]
12972         [BZ #14785]
12973         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12974         x * y using scaling, not as x * y + z.
12975         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12976         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12977         * math/libm-test.inc (fma_test): Add more tests.
12978         (fma_test_towardzero): Likewise.
12979         (fma_test_downward): Likewise.
12980         (fma_test_upward): Likewise.
12982 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12984         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12986 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
12988         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12989         New variable.
12991 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
12993         * rt/tst-shm.c (worker): Correct checking for mmap failure.
12995 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
12997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12998         Fix sort order.
12999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13000         Likewise.
13002 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13005         Fix the order of the list for glibc 2.17.
13006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13007         Likewise.
13009 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13013 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13015         [BZ #14610]
13016         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13017         for low part of x being zero before using __atanl (y).
13018         * math/libm-test.inc (atan2_test): Add another test.
13020         * manual/install.texi (Configuring and compiling): Document
13021         general use of test-wrapper and test-wrapper-env.
13022         * INSTALL: Regenerated.
13024         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13025         (__fma): Do not extract and scale down low bits on after-rounding
13026         systems when result rounded to normal precision would have normal
13027         exponent.
13028         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13029         (__fmal): Do not extract and scale down low bits on after-rounding
13030         systems when result rounded to normal precision would have normal
13031         exponent.
13032         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13033         (__fmal): Do not extract and scale down low bits on after-rounding
13034         systems when result rounded to normal precision would have normal
13035         exponent.
13036         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13037         macro.
13038         (fma_test): Add more tests.
13039         (fma_test_towardzero): Likewise.
13040         (fma_test_downward): Likewise.
13041         (fma_test_upward): Likewise.
13043 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
13045         * sysdeps/i386/tininess.h: Renamed to ...
13046         * sysdeps/x86/tininess.h: This.
13047         * sysdeps/x86_64/tininess.h: Removed.
13049 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13051         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13052         input.  Use $(build-program-cmd).
13053         ($(objpfx)tst-array1-static.out): Likewise.
13054         ($(objpfx)tst-array2.out): Likewise.
13055         ($(objpfx)tst-array3.out): Likewise.
13056         ($(objpfx)tst-array4.out): Likewise.
13057         ($(objpfx)tst-array5.out): Likewise.
13058         ($(objpfx)tst-array5-static.out): Likewise.
13060 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
13062         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13063         if defined.
13065         * nss/nsswitch.h (nss_interface_function): Provide new
13066         macro for use with NSS functions.
13067         * grp/initgroups.c: Use new macro.
13068         * nss/getXXbyYY.c: Likewise.
13069         * nss/getXXbyYY_r.c: Likewise.
13070         * nss/getXXent.c: Likewise.
13071         * nss/getXXent_r.c: Likewise.
13072         * sysdeps/posix/getaddrinfo.c: Likewise.
13074 2012-10-30  Andreas Jaeger  <aj@suse.de>
13076         * po/ru.po: Update Russion translation from translation project.
13078 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13080         [BZ #14152]
13081         [BZ #14783]
13082         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13083         result and shift together with sticky bit instead of replicating
13084         round-to-nearest rounding.
13085         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13086         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13087         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
13088         missing underflow exceptions.
13089         (fma_test_towardzero): Add more tests.
13090         (fma_test_downward): Likewise.
13091         (fma_test_upward): Likewise.
13093         [BZ #14047]
13094         * sysdeps/generic/tininess.h: New file.
13095         * sysdeps/i386/tininess.h: Likewise.
13096         * sysdeps/sh/tininess.h: Likewise.
13097         * sysdeps/x86_64/tininess.h: Likewise.
13098         * stdlib/tst-strtod-underflow.c: Likewise.
13099         * stdlib/tst-tininess.c: Likewise.
13100         * stdlib/strtod_l.c: Include <tininess.h>.
13101         (round_and_return): Do not set errno for exact underflow cases.
13102         Force an underflow exception when setting errno for underflow.
13103         Determine underflow based on rounding to normal precision if
13104         TININESS_AFTER_ROUNDING.
13105         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13106         ERANGE for exact underflow cases.
13107         * stdlib/Makefile (tests): Add tst-tininess and
13108         tst-strtod-underflow.
13109         ($(objpfx)tst-tininess): Use $(link-libm).
13110         ($(objpfx)tst-strtod-underflow): Likewise.
13112 2012-10-30  Andreas Jaeger  <aj@suse.de>
13114         [BZ#14767]
13115         * elf/Makefile (tests): Remove conditional for have-initfini-array
13116         since this is now always required and the variable does not exist
13117         anymore.
13118         (tests-static): Likewise.
13119         (modules-names): Likewise.
13121         * po/eo.po: Add Esperanto translation from translation project.
13123         * elf/tst-array1.c (fini_array): Make writeable so that it can be
13124         merged with constructor/destructor.
13125         (init_array): Likewise.
13126         * elf/tst-array2dep.c (fini_array): Likewise.
13127         (init_array): Likewise.
13129 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
13131         * manual/message.texi: Delete @cartouche tags.
13133 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
13135         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13136         EOPNOTSUPP.
13137         * sysdeps/mach/hurd/fsync.c: Likewise.
13139         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13140         [_POSIX_REALTIME_SIGNALS]: Change condition to
13141         [_POSIX_REALTIME_SIGNALS > 0].
13143 2012-10-27  Andreas Jaeger  <aj@suse.de>
13145         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13146         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13147         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13148         [__WORDSIZE != 64]: Likewise.
13150 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
13152         *  iconvdata/tst-table.sh: Remove ${SHELL}.
13153         *  iconvdata/tst-tables.sh: Likewise.
13155 2012-10-25  David S. Miller  <davem@davemloft.net>
13157         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13158         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13159         of strtoull.
13161         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13162         ifunc-impl-list.c
13163         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13164         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13165         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13166         file.
13168 2012-10-25  Roland McGrath  <roland@hack.frob.com>
13170         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13171         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13172         __getdirentries.
13174 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13175             Jim Blandy  <jimb@codesourcery.com>
13177         * scripts/cross-test-ssh.sh: New file.
13178         * manual/install.texi (Configuring and compiling): Document use of
13179         cross-test-ssh.sh.
13180         * INSTALL: Regenerated.
13182 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
13184         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13185         EOPNOTSUPP.
13187 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13189         * Makeconfig (run-program-prefix): Fix comment.
13191 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13192             Jim Blandy  <jimb@codesourcery.com>
13194         * Makeconfig (test-wrapper): New variable,
13195         (test-wrapper-env): Likewise.
13196         [$(cross-compiling) = yes && $(test-wrapper) != ""]
13197         (run-built-tests): Define to yes.
13198         (run-program-prefix): Use $(test-wrapper).
13199         (built-program-cmd): Likewise.
13200         * Rules (make-test-out): Use $(test-wrapper-env) and
13201         $(host-built-program-cmd).
13202         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13203         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13204         tst-pathopt.sh.
13205         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13206         $(test-wrapper-env) to tst-rtld-load-self.sh.
13207         ($(objpfx)order2.out): Use $(test-wrapper).
13208         ($(objpfx)tst-initorder.out): Likewise.
13209         ($(objpfx)tst-initorder2.out): Likewise.
13210         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13211         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13212         (test_wrapper_env): New variable.  Use it to run ld.so.
13213         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13214         Use it to run ld.so.
13215         (test_wrapper_env): Likewise.
13216         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13217         $(test-wrapper) to run-iconv-test.sh.
13218         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13219         (ICONV): Use $test_wrapper.
13220         * posix/Makefile ($(objpfx)globtest.out): Pass
13221         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13222         globtest.sh, not $(run-program-prefix).
13223         * posix/globtest.sh (run_via_rtld_prefix): New variable.
13224         (test_wrapper): Likewise.
13225         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
13226         set together with run_via_rtld_prefix.
13227         (run_program_prefix): Define in terms of test_wrapper and
13228         run_via_rtld_prefix.
13230 2012-10-24  Roland McGrath  <roland@hack.frob.com>
13232         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13233         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13234         Targets removed.
13236         [BZ #14743]
13237         * include/time.h: Remove librt_hidden_proto (clock_gettime).
13238         Declare __clock_getres, __clock_gettime, __clock_settime,
13239         __clock_nanosleep, and __clock_getcpuclockid.
13240         * rt/clock_gettime.c: Define __clock_gettime as an alias.
13241         Remove librt_hidden_def (clock_gettime).
13242         * sysdeps/unix/clock_gettime.c: Likewise.
13243         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13244         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13245         * rt/clock_getres.c: Define __clock_getres as an alias.
13246         * sysdeps/posix/clock_getres.c: Likewise.
13247         * rt/clock_settime.c: Define __clock_settime as an alias.
13248         * sysdeps/unix/clock_settime.c: Likewise.
13249         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13250         * sysdeps/unix/clock_nanosleep.c: Likewise.
13251         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13252         * rt/clock-compat.c: New file.
13253         * rt/Makefile (librt-routines): Add clock-compat and move
13254         $(clock-routines) to ...
13255         (routines): ... here, new variable.
13256         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13257         Don't add get_clockfreq here.
13258         * rt/Versions (libc: GLIBC_2.17): New version set.
13259         Add clock_* symbols here.
13260         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
13261         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13262         (GLIBC_2.17): Add clock_* symbols.
13263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13265         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13267         Likewise.
13268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13269         Likewise.
13270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13274         * NEWS: Mention the move.
13276         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13277         Use __open, __read, __close rather than their public counterparts.
13278         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13279         (__get_clockfreq_via_cpuinfo): Likewise.
13280         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13281         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13283         * config.h.in (HAVE_IFUNC): New #undef.
13284         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13285         was successful.
13286         * configure: Regenerated.
13288 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
13290         * configure.in: Move READELF check to start of file.
13291         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13292         libc_cv_asm_gnu_indirect_function in the process.
13293         * configure: Regenerated.
13295 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
13297         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13298         send the output to /dev/null.
13299         (libc_cv_cc_with_libunwind): Likewise.
13300         (libc_cv_as_noexecstack): Likewise.
13301         * configure: Regenerate.
13303 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13305         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13307         * posix/globtest.sh (TMPDIR): Do not set.
13308         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13309         (testout): Likewise.
13311 2012-10-24  Andreas Jaeger  <aj@suse.de>
13313         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13314         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13315         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13316         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13317         posix_fadvise64, posix_fallocate64.
13319         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13320         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13321         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13322         Likewise.
13323         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13324         Likewise.
13325         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13327         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13328         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13329         <bits/fcntl-linux.h>.
13330         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13332         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13333         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13334         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13335         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13336         [__WORDSIZE != 64]: Likewise.
13338 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
13340         * Makeconfig (run-built-tests): New variable.
13341         * Rules [$(cross-compiling) = yes]: Change condition to
13342         [$(run-built-tests) = no].
13343         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13344         to [$(run-built-tests) = yes].
13345         * elf/Makefile [$(cross-compiling) = no]: Likewise
13346         * grp/Makefile [$(cross-compiling) = no]: Likewise.
13347         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13348         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13349         * intl/Makefile [$(cross-compiling) = no]: Likewise.
13350         * io/Makefile [$(cross-compiling) = no]: Likewise.
13351         * libio/Makefile [$(cross-compiling) = no]: Likewise.
13352         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13353         * misc/Makefile [$(cross-compiling) = no]: Likewise.
13354         * posix/Makefile [$(cross-compiling) = no]: Likewise.
13355         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13356         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13357         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13358         * string/Makefile [$(cross-compiling) = no]: Likewise.
13360         * posix/Makefile ($(objpfx)globtest.out): Pass
13361         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13362         $(rtld-installed-name).
13363         * posix/globtest.sh (elf_objpfx): Remove variable.
13364         (rtld_installed_name): Likewise.
13365         (library_path): Likewise.
13366         (run_program_prefix): New variable.  Use for running globtest
13367         binary.
13369 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
13370             Joseph Myers  <joseph@codesourcery.com>
13372         * Makeconfig (host-built-program-cmd): New variable.
13373         * elf/Makefile (tst-stackguard1-ARGS): Use
13374         $(host-built-program-cmd).
13375         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13376         (tst-spawn-ARGS): Likewise.
13377         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13379 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
13380             Jim Blandy  <jimb@codesourcery.com>
13382         * Makeconfig (run-via-rtld-prefix): New variable.
13383         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13384         (built-program-cmd): Likewise.
13386 2012-10-22  Andreas Jaeger  <aj@suse.de>
13388         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13389         __O_RSYNC if it exists, otherwise to O_SYNC.
13391 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
13392             Joseph Myers  <joseph@codesourcery.com>
13394         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13395         /dev/null.
13396         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13397         from /dev/null
13398         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13399         /dev/null.
13401 2012-10-22  Andreas Jaeger  <aj@suse.de>
13403         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13404         Define always.
13405         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13407         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13408         bits/fcntl-linux.h.
13410         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13411         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13413         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13414         to __O_LARGEFILE.
13415         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13416         to __O_LARGEFILE.
13418 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
13419             Joseph Myers  <joseph@codesourcery.com>
13421         * config.make.in (NM): New variable.
13423 2012-10-21  Andreas Jaeger  <aj@suse.de>
13425         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13426         definitions and declarations that are provided by
13427         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13429 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
13431         [BZ #14683]
13432         * elf/Makefile (tests-static): Add tst-leaks1-static.
13433         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13434         ($(objpfx)tst-leaks1-static): New rule.
13435         ($(objpfx)tst-leaks1-static-mem): Likewise.
13436         (tst-leaks1-static-ENV): New macro.
13437         * elf/dl-open.c (dl_open_worker): Check the main application
13438         only if SHARED is defined.
13439         * elf/tst-leaks1-static.c: New file.
13441 2012-10-20  Andreas Jaeger  <aj@suse.de>
13443         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13444         generic values for Linux.
13445         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13446         and declarations that are provided by <bits/fcntl-linux.h> and
13447         include <bits/fcntl-linux.h>.
13448         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13449         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13451 2012-10-20  Roland McGrath  <roland@hack.frob.com>
13453         * io/fcntl.h: Move include of <bits/types.h> to the top and
13454         include it unconditionally.
13456 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
13458         * wcsmbs/Makefile (tests-ifunc): New variable.
13459         (tests): Add $(tests-ifunc).
13460         * wcsmbs/test-wcschr-ifunc.c: New file.
13461         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13462         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13463         * wcsmbs/test-wcslen-ifunc.c: Likewise.
13464         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13465         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13467         * string/Makefile (tests-ifunc): New variable.
13468         (tests): Add $(tests-ifunc).
13469         * string/test-memccpy.c (TEST_NAME): New macro.
13470         * string/test-memchr.c (TEST_NAME): Likewise.
13471         * string/test-memcmp.c (TEST_NAME): Likewise.
13472         * string/test-memcpy.c (TEST_NAME): Likewise.
13473         * string/test-memmem.c (TEST_NAME): Likewise.
13474         * string/test-memmove.c (TEST_NAME): Likewise.
13475         * string/test-memset.c (TEST_NAME): Likewise.
13476         * string/test-rawmemchr.c (TEST_NAME): Likewise.
13477         * string/test-stpcpy.c (TEST_NAME): Likewise.
13478         * string/test-stpncpy.c (TEST_NAME): Likewise.
13479         * string/test-strcasecmp.c (TEST_NAME): Likewise.
13480         * string/test-strcasestr.c (TEST_NAME): Likewise.
13481         * string/test-strcat.c (TEST_NAME): Likewise.
13482         * string/test-strchr.c (TEST_NAME): Likewise.
13483         * string/test-strcmp.c(TEST_NAME): Likewise.
13484         * string/test-strcpy.c (TEST_NAME): Likewise.
13485         * string/test-strcspn.c (TEST_NAME): Likewise.
13486         * string/test-strlen.c (TEST_NAME): Likewise.
13487         * string/test-strncasecmp.c (TEST_NAME): Likewise.
13488         * string/test-strncmp.c (TEST_NAME): Likewise.
13489         * string/test-strncpy.c (TEST_NAME): Likewise.
13490         * string/test-strnlen.c (TEST_NAME): Likewise.
13491         * string/test-strpbrk.c (TEST_NAME): Likewise.
13492         * string/test-strrchr.c (TEST_NAME): Likewise.
13493         * string/test-strspn.c (TEST_NAME): Likewise.
13494         * string/test-strstr.c (TEST_NAME): Likewise.
13495         * string/test-bcopy-ifunc.c: New file.
13496         * string/test-bzero-ifunc.c: Likewise.
13497         * string/test-memccpy-ifunc.c: Likewise.
13498         * string/test-memchr-ifunc.c: Likewise.
13499         * string/test-memcmp-ifunc.c: Likewise.
13500         * string/test-memcpy-ifunc.c: Likewise.
13501         * string/test-memmem-ifunc.c: Likewise.
13502         * string/test-memmove-ifunc.c: Likewise.
13503         * string/test-mempcpy-ifunc.c: Likewise.
13504         * string/test-memset-ifunc.c: Likewise.
13505         * string/test-rawmemchr-ifunc.c: Likewise.
13506         * string/test-stpcpy-ifunc.c: Likewise.
13507         * string/test-stpncpy-ifunc.c: Likewise.
13508         * string/test-strcasecmp-ifunc.c: Likewise.
13509         * string/test-strcasestr-ifunc.c: Likewise.
13510         * string/test-strcat-ifunc.c: Likewise.
13511         * string/test-strchr-ifunc.c: Likewise.
13512         * string/test-strchrnul-ifunc.c: Likewise.
13513         * string/test-strcmp-ifunc.c: Likewise.
13514         * string/test-strcpy-ifunc.c: Likewise.
13515         * string/test-strcspn-ifunc.c: Likewise.
13516         * string/test-strlen-ifunc.c: Likewise.
13517         * string/test-strncasecmp-ifunc.c: Likewise.
13518         * string/test-strncat-ifunc.c: Likewise.
13519         * string/test-strncmp-ifunc.c: Likewise.
13520         * string/test-strncpy-ifunc.c: Likewise.
13521         * string/test-strnlen-ifunc.c: Likewise.
13522         * string/test-strpbrk-ifunc.c: Likewise.
13523         * string/test-strrchr-ifunc.c: Likewise.
13524         * string/test-strspn-ifunc.c: Likewise.
13525         * string/test-strstr-ifunc.c: Likewise.
13527         * debug/Makefile (tests-ifunc): New variable.
13528         (tests): Add $(tests-ifunc).
13529         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13530         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13531         * debug/test-stpcpy_chk-ifunc.c: New file.
13532         * debug/test-strcpy_chk-ifunc.c: Likewise.
13534 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13536         [BZ #13601]
13537         * elf/dl-load.c (open_verify): Retry read if the entire ELF
13538         header is not read in.
13540 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
13542         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
13543         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
13544         directly.  Pass built executable to script as
13545         $(built-program-cmd).
13546         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
13547         $testprogram without using LD_LIBRARY_PATH and $ldso.
13549         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13550         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13551         $(rtld-installed-name).
13552         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13553         (rtld_installed_name): Likewise.
13554         (library_path): Likewise.
13555         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
13556         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13557         $(run-program-prefix) to tst-tables.sh.
13558         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
13559         it to run tst-table-from and tst-table-to.
13560         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13561         Pass it to tst-table.sh.
13562         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13563         $(run-program-prefix) to tst-gettext.sh.
13564         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13565         tst-translit.sh.
13566         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13567         tst-gettext2.sh.
13568         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
13569         to run tst-gettext.
13570         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
13571         to run tst-gettext2.
13572         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
13573         to run tst-translit.
13574         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13575         $(run-program-prefix) to tst-mtrace.sh.
13576         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
13577         to run tst-mtrace.
13578         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13579         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13580         $(rtld-installed-name).
13581         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13582         (rtld_installed_name): Likewise.
13583         (run_program_prefix): New variable.  Use it to run wordexp-test.
13585         * Makeconfig (ARCH): Remove all definitions.
13586         (machine): Likewise.
13587         [ARCH]: Remove conditional code.
13588         [!objdir]: Give error.
13589         [!objdir] (objpfx): Remove.
13590         [!objdir] (common-objpfx): Likewise.
13591         [!objdir] (common-objdir): Likewise.
13592         * configure.in (config_makefile): Remove.  Hardcode Makefile in
13593         AC_CONFIG_FILES call.
13594         * configure: Regenerated.
13596         [BZ #13888]
13597         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13598         or TMPDIR.
13599         (testout): Likewise.
13601         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13602         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13603         $(rtld-installed-name).
13604         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13605         (rtld_installed_name): Likwise.
13606         (runit): Remove function.
13607         (run_getconf): New variable,  Use it for running getconf binary.
13609 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
13611         [BZ #14716]
13612         * string/test-memmem.c (check_result): New function.
13613         (do_one_test): Use it.
13614         (check1): New function.
13615         (test_main): Use it.
13617 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
13619         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13621 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
13623         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13624         (_G_LSEEK64): Likewise.
13625         (_G_MMAP64): Likewise.
13626         (_G_FSTAT64): Likewise.
13627         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13628         (_G_LSEEK64): Likewise.
13629         (_G_MMAP64): Likewise.
13630         (_G_FSTAT64): Likewise.
13631         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13632         unconditional.  Call __mmap64 directly.
13633         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13634         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
13635         __lseek64 directly.
13636         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13637         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
13638         __mmap64 directly.
13639         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13640         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13641         __lseek64 directly.
13642         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13643         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13644         __lseek64 directly.
13645         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13646         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
13647         __lseek64 directly.
13648         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13649         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
13650         __fxstat64 directly.
13651         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13652         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13653         unconditional.
13654         (freopen64) [!_G_OPEN64]: Remove conditional code.
13655         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13656         unconditional.
13657         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13658         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13659         unconditional.
13660         (ftello64) [!_G_LSEEK64]: Remove conditional code.
13661         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13662         unconditional.
13663         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13664         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13665         unconditional.
13666         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13667         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13668         unconditional.
13669         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13670         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13671         unconditional.
13672         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13673         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13674         unconditional.
13675         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13677 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13679         [BZ #12140]
13680         * manual/memory.texi (Malloc Tunable Parameters): Add note
13681         about free list pointers overwriting some perturb bytes.
13682         Wording suggested by Roland McGrath.
13684 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
13686         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13687         (lgamma_test): Likewise.
13688         (tgamma_test): Likewise.
13690 2012-10-16  Florian Weimer  <fweimer@redhat.com>
13692         [BZ #14700]
13693         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13694         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13696 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
13698         * NEWS: Mention BZ #14716.
13699         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13700         when removing AVAILABLE1_USES_J macro.
13702 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
13704         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13705         (__bswap_64): __uint64_t for unsigned 64-bit int.
13707 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
13709         * include/string.h (memmem): Declare libc hidden alias.
13710         * string/memmem.c (memmem): Define libc hidden alias.
13711         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13712         __read, __close instead of open, read, close.
13714 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
13716         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13717         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13718         global and hidden.
13719         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13720         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13721         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13722         Likewise.
13723         (__rawmemchr_sse2): Likewise.
13724         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13725         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13726         (__strchr_sse2): Likewise.
13727         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13728         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13729         (__strcasecmp_sse2): Likewise.
13730         (__strncasecmp_sse2): Likewise.
13731         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13732         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13733         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13734         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13735         (__strrchr_sse2): Likewise.
13736         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13737         ifunc-impl-list.c.
13738         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13739         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13740         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13741         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13742         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13743         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13744         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13745         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13746         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13747         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13748         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13749         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13750         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13751         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13752         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13753         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13754         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13755         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13756         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13757         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13758         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13759         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13760         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13761         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13762         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13763         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13764         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13765         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13766         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13767         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13769         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13770         global and hidden.
13771         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13772         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13773         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13774         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13775         Likewise.
13776         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13777         Likewise.
13778         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13779         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13780         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13781         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13782         ifunc-impl-list.c.
13783         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13784         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13785         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13786         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13787         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13788         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13789         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13790         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13791         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13792         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13793         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13794         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13795         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13796         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13797         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13798         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13799         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13800         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13801         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13802         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13803         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13804         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13805         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13806         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13807         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13808         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13809         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13810         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13811         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13812         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13813         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13814         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13815         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13816         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13817         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13818         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13819         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13820         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13821         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13822         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13823         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13825         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13826         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13827         * include/ifunc-impl-list.h: New file.
13828         * misc/ifunc-impl-list.c: Likewise.
13829         * misc/Makefile (routines): Add ifunc-impl-list.
13830         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13831         * string/test-string.h: Include <ifunc-impl-list.h>.
13832         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13833         impl_array): New variables.
13834         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13835         are defined.
13836         (test_init): Call __libc_ifunc_impl_list to initialize
13837         func_list if TEST_IFUNC and TEST_NAME are defined.
13839         * string/Makefile (strop-tests): Add bcopy and bzero.
13840         * string/test-bcopy.c: New file.
13841         * string/test-bzero.c: Likewise.
13842         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13843         defined.
13844         * string/test-memset.c: Support bzero test if TEST_BZERO is
13845         defined.
13846         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13847         __libc_memmove.
13848         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13849         __libc_memset.
13850         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13851         of memset.
13853 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
13855         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13856         * configure: Regenerated.
13858         * Makeconfig (+link-static-before-libc): Don't include
13859         $(link-static-libc).
13861         * libio/libio.h (_IO_pos_t): Remove.
13863 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13865         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
13866         McGrath.
13868 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13870         * crypt/crypt-entry.c: Include fips-private.h.
13871         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13872         * crypt/md5c-test.c (main): Tolerate disabled MD5.
13873         * sysdeps/unix/sysv/linux/fips-private.h: New file.
13874         * sysdeps/generic/fips-private.h: New file, dummy fallback.
13876 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13878         * crypt/crypt-private.h: Include stdbool.h.
13879         (_ufc_setup_salt_r): Return bool.
13880         * crypt/crypt-entry.c: Include errno.h.
13881         (__crypt_r): Return NULL with EINVAL for bad salt.
13882         * crypt/crypt_util.c (bad_for_salt): New.
13883         (_ufc_setup_salt_r): Check that salt is long enough and within
13884         the specified alphabet.
13885         * crypt/badsalttest.c: New file.
13886         * crypt/Makefile (tests): Add it.
13887         ($(objpfx)badsalttest): New.
13889 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
13891         * NEWS: Add entry for BZ #14602.
13893 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13895         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13896         type-generic.
13897         * math/libm-test.inc: Update comment listing what functions and
13898         macros are tested.
13899         (isgreater_test): New function.
13900         (isgreaterequal_test): Likewise.
13901         (isless_test): Likewise.
13902         (islessequal_test): Likewise.
13903         (islessgreater_test): Likewise.
13904         (isunordered_test): Likewise.
13905         (main): Call the new functions.
13907 2012-10-09  Roland McGrath  <roland@hack.frob.com>
13909         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13910         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13911         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13912         * sysdeps/i386/configure: Regenerated.
13913         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13914         * sysdeps/mach/configure: Regenerated.
13915         * sysdeps/mach/hurd/configure: Regenerated.
13916         * sysdeps/powerpc/configure: Regenerated.
13917         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13918         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13919         * sysdeps/s390/s390-32/configure: Regenerated.
13920         * sysdeps/s390/s390-64/configure: Regenerated.
13921         * sysdeps/sh/configure: Regenerated.
13922         * sysdeps/sparc/configure: Regenerated.
13923         * sysdeps/unix/sysv/linux/configure: Regenerated.
13924         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13925         * sysdeps/x86_64/configure: Regenerated.
13927         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13928         defined.  Don't check if MAP is NULL.
13930 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13932         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13933         (_G_stat64): Likewise.
13934         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13935         (_G_stat64): Likewise.
13936         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13937         instead of struct _G_stat64.
13938         * libio/fileops.c (mmap_remap_check): Likewise.
13939         (decide_maybe_mmap): Likewise.
13940         (_IO_new_file_seekoff): Likewise.
13941         (_IO_file_stat): Likewise.
13942         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13943         _G_off64_t.
13944         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13945         instead of struct _G_stat64.
13946         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13948 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
13950         [BZ #14602]
13951         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13952         Replace with ...
13953         (CHECK_EOL): New macro.
13954         (two_way_short_needle): Check beginning of haystack for EOL.  Use
13955         CHECK_EOL.
13956         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13957         Replace with CHECK_EOL.
13958         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13959         Replace with CHECK_EOL.
13961 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
13963         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13964         type-generic.
13965         * math/libm-test.inc: Update comment listing what functions and
13966         macros are tested.
13967         (finite_test): New function.
13968         (isinf_test): Likewise.
13969         (isnan_test): Likewise.
13970         (fpclassify_test): Test subnormal input.
13971         (isfinite_test): Likewise.
13972         (isnormal_test): Likewise.
13973         (main): Call the new functions.
13975 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
13977         [BZ #14660]
13978         * Makerules (%.dynsym): Force C locale when running
13979         $(OBJDUMP) --dynamic-syms.
13981 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
13983         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13984         <stdint.h>.
13986 2012-10-06  David S. Miller  <davem@davemloft.net>
13988         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13989         upper 32-bits of the length value in %o2 since we use branch-on-register
13990         tests which consider the entire 64-bit register.
13992 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
13994         * string/test-strstr.c (check2): Add a test for page boundary.
13996 2012-10-05  David S. Miller  <davem@davemloft.net>
13998         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13999         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14000         file.
14001         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14002         sysdep_routines.
14003         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14004         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14005         and bzero when HWCAP_SPARC_CRYPTO is present.
14007 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
14009         [BZ #14602]
14010         * string/test-strstr.c (check2): New function.
14011         (test_main): Call check2.
14013         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14014         and bug-strchr1.
14015         * string/bug-strcasestr1.c (do_test): Moved to ...
14016         * string/test-strcasestr.c (check1): Here.  New function.
14017         (do_one_test): Break out result checking code into ...
14018         (check_result): This.  New function.
14019         (do_one_test): Call check_result.
14020         (test_main): Call check1.
14021         * string/bug-strchr1.c (do_test): Moved to ...
14022         * string/test-strchr.c (check1): Here.  New function.
14023         (do_one_test): Break out result checking code into ...
14024         (check_result): This.  New function.
14025         (do_one_test): Call check_result.
14026         (test_main): Call check1.
14027         * string/bug-strstr1.c (main): Moved to ...
14028         * string/test-strstr.c (check1): Here.  New function.
14029         (do_one_test): Break out result checking code into ...
14030         (check_result): This.  New function.
14031         (do_one_test): Call check_result.
14032         (test_main): Call check1.
14033         * string/bug-strcasestr1.c: Removed.
14034         * string/bug-strchr1.c: Likewise.
14035         * string/bug-strstr1.c: Likewise.
14037         * elf/Makefile (dl-routines): Add hwcaps.
14038         * elf/dl-support.c (_dl_important_hwcaps): Removed.
14039         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14040         (_dl_important_hwcaps): Moved to ...
14041         * elf/dl-hwcaps.c: Here.  New file.
14042         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14044         [BZ #14557]
14045         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14046         if IS_IN_rtld isn't defined.
14048         * elf/dl-support.c (_dl_sysinfo_map): New.
14049         Include "get-dynamic-info.h" and "setup-vdso.h".
14050         (_dl_non_dynamic_init): Call setup_vdso.
14051         * elf/dynamic-link.h: Don't include <assert.h>.
14052         (elf_get_dynamic_info): Moved to ...
14053         * elf/get-dynamic-info.h: Here.  New file.
14054         * elf/dynamic-link.h: Include "get-dynamic-info.h".
14055         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14056         * elf/setup-vdso.h: Here.  New file.
14057         * elf/rtld.c: Include "setup-vdso.h".
14058         (dl_main): Call setup_vdso.
14060 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
14062         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14063         creal in comment listing functions tested.  List finite, isinf,
14064         isnan, isless, islessequal, isgreater, isgreaterequal,
14065         islessgreater, isunordered, lgamma_r and pow10 as functions and
14066         macros not tested.  Mention which functions not tested are aliases
14067         for other functions.  Fix typo.  Note that signs of NaNs are not
14068         tested.
14070         * scripts/config.guess: Update from config.git.
14071         * scripts/config.sub: Likewise.
14073 2012-10-04  Roland McGrath  <roland@hack.frob.com>
14075         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14076         * misc/madvise.c (madvise): Renamed to __madvise.
14077         Make madvise a weak alias.
14078         * include/sys/mman.h: Declare __madvise.
14079         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14080         * sysdeps/unix/syscalls.list
14081         (madvise): Make __madvise the strong name, and madvise a weak alias.
14082         * sysdeps/unix/sysv/linux/syscalls.list
14083         (madvise, mmap): Remove redundant entries.
14084         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14085         * malloc/malloc.c (mtrim): Likewise.
14086         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14088 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14090         * sysdeps/mach/hurd/dl-cache.c: File removed.
14091         * config.h.in (USE_LDCONFIG): New #undef.
14092         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14093         * configure: Regenerated.
14094         * elf/Makefile (dl-routines): Add dl-cache only under
14095         [$(use-ldconfig) = yes].
14096         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14097         cache on [USE_LDCONFIG].
14098         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14099         [USE_LDCONFIG].
14100         * elf/rtld.c (dl_main): Likewise.
14102 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
14104         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14105         _SC_LEVEL4_CACHE_LINESIZE.
14107 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14109         * sysdeps/unix/bsd/confstr.h: File removed.
14111 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
14113         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14114         sys/sdt-config.h.
14116 2012-10-02  Roland McGrath  <roland@hack.frob.com>
14118         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14119         Make 'mapoff' field ElfW(Off) rather than off_t.
14121 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
14123         * nscd/Makefile: Remove nscd-cflags and all its users.
14124         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14125         (CFLAGS-nonlib): Add compiler flags for nscd modules.
14127         [BZ #10631]
14128         * malloc.c (malloc_printerr): Clarify error message.
14130 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
14132         [BZ #14648]
14133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14134         Set bit_FMA_Usable if FMA is supported.
14135         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14136         macro.
14137         (bit_FMA4_Usable): Updated.
14138         (index_FMA_Usable): New macro.
14139         (CPUID_FMA): Likewise
14140         (HAS_FMA): Defined with bit_FMA_Usable.
14142 2012-10-01  Roland McGrath  <roland@hack.frob.com>
14144         * bits/types.h (__swblk_t): Type removed.
14145         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14146         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14147         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14148         (__SWBLK_T_TYPE): Likewise.
14149         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14150         (__SWBLK_T_TYPE): Likewise.
14151         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14152         (__SWBLK_T_TYPE): Likewise.
14153         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14154         (__SWBLK_T_TYPE): Likewise.
14156 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
14157             Honza Horak <hhorak@redhat.com>
14159         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14160         (xdr_mapname): Use YPMAXMAP as maxsize.
14161         (xdr_peername): Use YPMAXPEER as maxsize.
14162         (xdr_keydat): Use YPAXRECORD as maxsize.
14163         (xdr_valdat): Use YPMAXRECORD as maxsize.
14165 2012-10-01  Roland McGrath  <roland@hack.frob.com>
14167         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14169         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14170         * csu/init-first.c: ... here.
14171         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14172         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14173         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14174         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14175         * sysdeps/i386/init-first.c: File removed.
14176         * sysdeps/sh/init-first.c: File removed.
14178 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
14180         [BZ #14645]
14181         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14182         if x * y might underflow to zero and z is zero.
14183         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14184         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14185         * math/libm-test.inc (min_subnorm_value): New variable.
14186         (fma_test): Add more tests.
14187         (fma_test_towardzero): Likewise.
14188         (fma_test_downward): Likewise
14189         (fma_test_upward): Likewise.
14190         (initialize): Set min_subnorm_value.
14192 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
14194         [BZ #14638]
14195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14196         0 + 0.
14197         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14198         mode for addition resulting in exact zero.
14199         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14200         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14201         exact 0 + 0.
14202         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14203         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14204         * math/libm-test.inc (fma_test): Add more tests.
14205         (fma_test_towardzero): New function.
14206         (fma_test_downward): Likewise.
14207         (fma_test_upward): Likewise.
14208         (main): Call the new functions.
14210 2012-09-28  David S. Miller  <davem@davemloft.net>
14212         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14214 2012-09-28  Roland McGrath  <roland@hack.frob.com>
14216         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14217         instead of SIGALRM.
14219         * sysdeps/gnu/_G_config.h: Moved to ...
14220         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14221         * sysdeps/mach/hurd/_G_config.h: Moved to ...
14222         * sysdeps/generic/_G_config.h: ... here.
14224         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
14226         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14228         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14229         Conditionalize target on [libnss_test1.so-version].
14231         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14233         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14234         (elfobjdir): Move out of conditionals.
14236         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14237         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14238         (__nss_lookup_function): Conditionalize label remove_from_tree on
14239         [!DO_STATIC_NSS || SHARED], matching its only use.
14241 2012-09-28  David S. Miller  <davem@davemloft.net>
14243         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14244         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14245         file.
14246         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14247         sysdep_routines.
14248         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14249         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14250         when HWCAP_SPARC_CRYPTO is present.
14252 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14254         * io/tst-mknodat.c: Create a FIFO instead of a socket.
14256 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
14258         [BZ #6530]
14259         * stdio-common/vfprintf.c (process_string_arg): Revert
14260         2000-07-22 change.
14262 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
14264         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14265         for testcase.
14266         * stdio-common/tst-sprintf.c: Include <locale.h>
14267         (main): Test sprintf's handling of incomplete multibyte
14268         characters.
14270 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
14272         * elf/dl-runtime.c (VERSYMIDX): Removed.
14273         * elf/dl-version.c (VERSYMIDX): Likewise.
14274         * elf/do-rel.h (VERSYMIDX): Likewise.
14275         (VALIDX): Likewise.
14276         * elf/dynamic-link.h (VERSYMIDX): Likewise.
14277         * elf/rtld.c (VALIDX): Likewise.
14278         (ADDRIDX): Likewise.
14279         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14280         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14281         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14282         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14283         (VALIDX): Likewise.
14284         (ADDRIDX): Likewise.
14286 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14288         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14290 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
14292         [BZ #11438]
14293         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14294         to global scope.
14295         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14296         addresses are in the same scope as 192.0.2/24.
14297         * posix/gai.conf: Document new scope table defaults.
14299 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14301         [BZ #5298]
14302         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14303         for ftell.  Compute offsets from write pointers instead.
14304         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14306 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14308         [BZ #14543]
14309         * libio/Makefile (tests): New test case tst-fseek.
14310         * libio/tst-fseek.c: New test case to verify that fseek/ftell
14311         combination works in wide mode.
14312         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14313         state when the external buffer state changes.
14315 2012-09-27  David S. Miller  <davem@davemloft.net>
14317         [BZ #14376]
14318         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14319         pass reloc->r_addend in as the 'high' argument to
14320         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14324 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14326         * rt/tst-aio2.c: Include <pthread.h>.
14327         * rt/tst-aio3.c: Likewise.
14329 2012-09-27  Steve Ellcey  <sellcey@mips.com>
14331         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14333 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
14335         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14336         contents on [SHARED].
14338 2012-09-26  Marek Polacek  <polacek@redhat.com>
14340         [BZ #14530]
14341         [BZ #13741]
14342         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14343         for C++ and GCC <4.3 as well as for non GCC compilers.
14345 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
14347         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14349 2012-09-25  Roland McGrath  <roland@hack.frob.com>
14351         * Makefile.in (all, install): Declare with .PHONY.
14352         Reported by Michael Hope <michael.hope@linaro.org>.
14354 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14356         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14357         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14358         system header.
14359         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14360         Likewise.
14361         (sydep_routines): Add the new and the internal functions.
14362         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14363         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14365         (GLIBC_2.17): Add the new function.
14366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14367         (GLIBC_2.17): Likewise.
14368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14369         (GLIBC_2.17): Likewise.
14370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14371         (GLIBC_2.17): Likewise.
14372         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14374 2012-09-25  Alan Modra  <amodra@gmail.com>
14376         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14377         Add release barrier before setting once_control to say
14378         initialisation is done.  Add hints on lwarx.  Use macro in
14379         place of isync.
14380         (clear_once_control): Add release barrier.
14382 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
14384         [BZ #13629]
14385         * math/s_clog.c (__clog): Handle more values close to |z| = 1
14386         specially.
14387         * math/s_clog10.c (__clog10): Likewise.
14388         * math/s_clog10f.c (__clog10f): Likewise.
14389         * math/s_clog10l.c (__clog10l): Likewise.
14390         * math/s_clogf.c (__clogf): Likewise.
14391         * math/s_clogl.c (__clogl): Likewise.
14392         * math/Makefile (libm-calls): Add x2y2m1.
14393         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14394         (__x2y2m1): Likewise.
14395         (__x2y2m1l): Likewise.
14396         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14397         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14398         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14399         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14400         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14401         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14402         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14403         * sysdeps/i386/fpu/libm-test-ulps: Update.
14404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14406         [BZ #14621]
14407         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14408         int as type of variable DEPTH.
14409         (glob): Use size_t instead of int as type of variables NEWCOUNT
14410         and OLD_PATHC.
14412 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14414         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14415         Add s_sincosf-sse2.
14416         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14417         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14418         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14419         macros for using routine as __sincosf_ia32.
14420         Use macro for function declaration and weak_alias.
14421         * sysdeps/i386/fpu/libm-test-ulps: Update.
14423         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14426         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14427         subnormal argument.
14428         * math/s_cexpf.c (__cexpf): Likewise.
14429         * math/s_csinf.c (__csinf): Likewise.
14430         * math/s_csinhf.c (__csinhf): Likewise.
14431         * math/s_ctanf.c (__ctanf): Likewise.
14432         * math/s_ctanhf.c (__ctanhf): Likewise.
14433         * math/s_ccosh.c (__ccoshf): Likewise.
14434         * math/s_cexp.c (__cexpl): Likewise.
14435         * math/s_csin.c (__csin): Likewise.
14436         * math/s_csinh.c (__csinh): Likewise.
14437         * math/s_ctan.c (__ctan): Likewise.
14438         * math/s_ctanh.c (ctanh): Likewise.
14439         * math/s_ccoshl.c (__ccoshl): Likewise.
14440         * math/s_cexpl.c (__cexpl): Likewise.
14441         * math/s_csinl.c (__csinl): Likewise.
14442         * math/s_csinhl.c (__csinhl): Likewise.
14443         * math/s_ctanl.c (__ctanl): Likewise.
14444         * math/s_ctanhl.c (__ctanhl): Likewise.
14446 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
14448         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14449         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14450         (_IO_off_t): Define to __off_t, not _G_off_t.
14451         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14452         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14453         (_IO_wint_t): Define to wint_t, not _G_wint_t.
14454         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14455         type of __dummy and __dummy2 fields.
14456         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14457         (_G_ssize_t): Likewise.
14458         (_G_off_t): Likewise.
14459         (_G_pid_t): Likewise.
14460         (_G_uid_t): Likewise.
14461         (_G_wchar_t): Likewise.
14462         (_G_wint_t): Likewise.
14463         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14464         (_G_ssize_t): Likewise.
14465         (_G_off_t): Likewise.
14466         (_G_pid_t): Likewise.
14467         (_G_uid_t): Likewise.
14468         (_G_wchar_t): Likewise.
14469         (_G_wint_t): Likewise.
14470         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14471         (_G_ssize_t): Likewise.
14472         (_G_off_t): Likewise.
14473         (_G_pid_t): Likewise.
14474         (_G_uid_t): Likewise.
14475         (_G_wchar_t): Likewise.
14476         (_G_wint_t): Likewise.
14478 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14480         * malloc/arena.c: Include malloc-sysdep.h.
14481         (shrink_heap): Use check_may_shrink_heap to decide if madvise
14482         is sufficient to shrink the heap or an unmap is needed.
14483         * sysdeps/generic/malloc-sysdep.h: New file.  Define
14484         new function check_may_shrink_heap.
14485         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
14486         new function check_may_shrink_heap.
14488 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14490         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14491         comments.
14493 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
14495         * catgets/test-gencat.sh: Add "set -e".
14496         * elf/tst-pathopt.sh: Likewise.
14497         * grp/tst_fgetgrent.sh: Likewise.
14498         * iconvdata/run-iconv-test.sh: Likewise.
14499         * intl/tst-gettext.sh: Likewise.
14500         * intl/tst-gettext2.sh: Likewise.
14501         * intl/tst-gettext4.sh: Likewise.
14502         * intl/tst-gettext6.sh: Likewise.
14503         * intl/tst-translit.sh: Likewise.
14504         * io/ftwtest-sh: Likewise.
14505         * libio/test-freopen.sh: Likewise.
14506         * malloc/tst-mtrace.sh: Likewise.
14507         * posix/globtest.sh: Likewise.
14508         * posix/tst-getconf.sh: Likewise.
14509         * posix/wordexp-tst.sh: Likewise.
14510         * stdio-common/tst-printf.sh: Likewise.
14511         * stdio-common/tst-unbputc.sh: Likewise.
14512         * stdlib/tst-fmtmsg.sh: Likewise.
14513         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14514         * catgets/Makefile: Do not specify -e option when running
14515         testsuite shell scripts.
14516         * elf/Makefile: Likewise.
14517         * grp/Makefile: Likewise.
14518         * iconvdata/Makefile: Likewise.
14519         * intl/Makefile: Likewise.
14520         * io/Makefile: Likewise.
14521         * libio/Makefile: Likewise.
14522         * malloc/Makefile: Likewise.
14523         * posix/Makefile: Likewise.
14524         * stdio-common/Makefile: Likewise.
14525         * stdlib/Makefile: Likewise.
14526         * sysdeps/x86_64/Makefile: Likewise.
14528         * io/ftwtest-sh: Add copyright header.
14529         * posix/globtest.sh: Likewise.
14530         * posix/tst-getconf.sh: Likewise.
14531         * posix/wordexp-tst.sh: Likewise.
14532         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14534 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
14536         [BZ #13679]
14537         * Makeconfig (+link): Defined as $(+link-static) if
14538         $(build-shared) isn't yes.
14539         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14540         isn't yes.
14541         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14543         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14545         [BZ #14562]
14546         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14547         new chunk size with MALLOC_ALIGN_MASK.
14549 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
14551         [BZ #5044]
14552         * stdio-common/printf_fphex.c: Include <stdbool.h> and
14553         <rounding-mode.h>.
14554         (__printf_fphex): Determine rounding using get_rounding_mode and
14555         round_away.
14556         * stdio-common/tst-printf-round.c (struct hex_test): New
14557         structure.
14558         (hex_tests): New variable.
14559         (test_hex_in_one_mode): New function.
14560         (do_test): Also run tests for hex float output.
14562 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
14564         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14565         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14566         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14567         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14568         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14569         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14570         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14571         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14573 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
14575         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14576         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14577         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14578         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14580 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
14582         [BZ #14579]
14583         * elf/rtld.c (dl_main): Limit the check for self loading to normal
14584         mode only.
14585         * elf/tst-rtld-load-self.sh: New test.
14586         * elf/Makefile: Run it.
14588 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
14590         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14591         (tst-writev-ENV): Remove.
14592         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14594 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
14596         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14598 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
14600         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14601         unconditional.
14602         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14603         Likewise.
14604         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14605         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14606         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14607         Likewise.
14609 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
14611         [BZ #14587]
14612         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14613         * config.make.in (have-cpp-asm-debuginfo): Removed.
14614         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14615         * configure: Regenerated.
14617 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
14619         [BZ #5044]
14620         * stdio-common/printf_fp.c: Include <stdbool.h> and
14621         <rounding-mode.h>.
14622         (___printf_fp): Determine rounding using get_rounding_mode and
14623         round_away.
14624         * stdio-common/tst-printf-round.c: New file.
14625         * stdio-common/Makefile (tests): Add tst-printf-round.
14626         (link-libm): New variable.
14627         ($(objpfx)tst-printf-round): Depend in $(link-libm).
14629 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
14631         [BZ #14576]
14632         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14633         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14634         Likewise.
14635         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14636         Likewise.
14638 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
14640         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14641         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14642         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14643         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14645 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
14647         [BZ #14518]
14648         * include/rounding-mode.h: New file.
14649         * sysdeps/generic/get-rounding-mode.h: Likewise.
14650         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14651         * stdlib/strtod_l.c: Include <rounding-mode.h>.
14652         (MAX_VALUE): New macro.
14653         (MIN_VALUE): Likewise.
14654         (overflow_value): New function.
14655         (underflow_value): Likewise.
14656         (round_and_return): Use overflow_value and underflow_value to
14657         determine return values in overflow and underflow cases.  Use
14658         round_away to determine rounding depending on rounding mode.
14659         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14660         determine return values in overflow and underflow cases.
14661         * stdlib/tst-strtod-round.c: Include <fenv.h>.
14662         (struct test_results): New structure.
14663         (struct test): Use struct test_results to store expected results
14664         for all rounding modes.
14665         (TEST): Include expected results for all rounding modes.
14666         (test_in_one_mode): New function.
14667         (do_test): Use test_in_one_mode to compute and check results.
14668         Check results for all rounding modes.
14669         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14670         $(link-libm).
14672 2012-12-09  Allan McRae  <allan@archlinux.org>
14674         * sysdeps/i386/fpu/libm-test-ulps: Update
14676 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
14678         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14679         (_G_int32_t): Likewise.
14680         (_G_uint16_t): Likewise.
14681         (_G_uint32_t): Likewise.
14682         (_G_HAVE_BOOL): Likewise.
14683         (_G_HAVE_ATEXIT): Likewise.
14684         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14685         (_G_HAVE_IO_FILE_OPEN): Likewise.
14686         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14687         (_G_int32_t): Likewise.
14688         (_G_uint16_t): Likewise.
14689         (_G_uint32_t): Likewise.
14690         (_G_HAVE_BOOL): Likewise.
14691         (_G_HAVE_ATEXIT): Likewise.
14692         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14693         (_G_HAVE_IO_FILE_OPEN): Likewise.
14694         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14695         (_G_int32_t): Likewise.
14696         (_G_uint16_t): Likewise.
14697         (_G_uint32_t): Likewise.
14698         (_G_HAVE_BOOL): Likewise.
14699         (_G_HAVE_ATEXIT): Likewise.
14700         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14701         (_G_HAVE_IO_FILE_OPEN): Likewise.
14703 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
14705         * csu/libc-tls.c: Update copyright years.
14707 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
14709         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14710         [!_G_USING_THUNKS]: Remove conditional code.
14711         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14712         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14714         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14715         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14716         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14717         (_G_VTABLE_LABEL_PREFIX): Likewise.
14718         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14719         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14720         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14721         (_G_VTABLE_LABEL_PREFIX): Likewise.
14722         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14723         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14724         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14725         (_G_VTABLE_LABEL_PREFIX): Likewise.
14726         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14728 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
14730         * libio/Makefile: Include ../Makeconfig before tests.
14731         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14732         only if $(build-shared) is yes.
14734         * iconv/gconv_db.c: Update copyright years.
14736 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14738         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14739         unwind info if defined PIC. Fix special cases description.
14740         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14742         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14743         DP_HI_MASK entry.
14744         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14746 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
14748         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14750         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14751         is NULL.
14753         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14754         (LDLIBS-tst-chk4): This.
14755         (LDFLAGS-tst-chk5): Renamed to ...
14756         (LDLIBS-tst-chk5): This.
14757         (LDFLAGS-tst-chk6): Renamed to ...
14758         (LDLIBS-tst-chk6): This.
14759         (LDFLAGS-tst-lfschk4): Renamed to ...
14760         (LDLIBS-tst-lfschk4): This.
14761         (LDFLAGS-tst-lfschk5): Renamed to ...
14762         (LDLIBS-tst-lfschk5): This.
14763         (LDFLAGS-tst-lfschk6): Renamed to ...
14764         (LDLIBS-tst-lfschk6): This.
14766         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14767         on $(common-objpfx)soversions.mk.
14769 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
14771         [BZ #10014]
14772         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14773         example host name.
14775 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14777         * malloc/arena.c (arena_get_retry): New function that gets
14778         another arena for the caller to try its request on.
14779         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14780         current arena cannot fulfill the request.
14781         (__libc_memalign): Likewise.
14782         (__libc_memalign): Likewise.
14783         (__libc_pvalloc): Likewise.
14784         (__libc_calloc): Likewise.
14786 2012-09-05  John Tobey  <john.tobey@gmail.com>
14788         [BZ #13542]
14789         * manual/arith.texi (Operations on Complex): Fix description
14790         of carg branch cut.
14792 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14794         [BZ #10014]
14795         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14796         host name.
14798         [BZ #10038]
14799         * manual/memory.texi (Memory): Make order of menu items match
14800         order of sections.
14802 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14804         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14805         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
14806         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14808 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14810         * csu/libc-tls.c (static_dtv): Renamed to ...
14811         (_dl_static_dtv): This.  Make it global.
14812         (_dl_initial_dtv): Removed.
14813         (__libc_setup_tls): Updated.
14814         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14815         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14816         DL_INITIAL_DTV.
14818 2012-09-06  Petr Machata  <pmachata@redhat.com>
14820         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14821         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14822         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14823         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14825 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14827         [BZ #14545]
14828         * csu/libc-tls.c (_dl_initial_dtv): New variable.
14829         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14830         freeing dtv[-1].
14832 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14834         [BZ #14544]
14835         * Makeconfig (link-static-before-libc): Replace $(+prector)
14836         with $(+prectorT).
14837         (link-static-after-libc): Replace $(+postctor) with
14838         $(+postctorT).
14839         (link-bounded): Replace $(+prector)/$(+postctor) with
14840         $(+prectorT)/$(+postctorT).
14841         (+prectorT): New macro.
14842         (+postctorT): Likewise.
14844 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14846         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14847         (round_str): Handle values above the maximum for IBM long double
14848         as inexact.
14849         * stdlib/tst-strtod-round.c (tests): Regenerated.
14851 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14853         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14854         assembler flag.
14855         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14856         zarch_nohighgprs around the zarch optimized routines.
14857         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14858         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14859         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14860         for zarch.
14862 2012-09-05  David S. Miller  <davem@davemloft.net>
14864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14866         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14867         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14868         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14869         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14870         entries.
14872 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14874         * malloc/arena.c: Fold copyright years.
14875         * malloc/mcheck.c, malloc/memusage.c: Likewise.
14877 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14879         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14881 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14883         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
14885 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14887         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14888         change internal state upon failure.
14890 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14892         * malloc/mcheck.c (mcheck_check_all): Fix typo.
14893         * malloc/memusage.c (mmap): Likewise.
14894         (mmap64, mremap): Likewise.  Adjust name in comment.
14896 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14898         * libio/fileops.c: Fix typos in comments.
14899         * libio/oldfileops.c: Likewise.
14900         * libio/wfileops.c: Likewise.
14902 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14904         [BZ #1349]
14905         * malloc/Makefile (tests): Add tst-malloc-usable test case.
14906         (tst-malloc-usable-ENV): Set environment for test case.
14907         * malloc/hooks.c (malloc_check_get_size): New function to get
14908         requested size.
14909         * malloc/malloc.c (musable): Use malloc_check_get_size.
14910         * malloc/tst-malloc-usable.c: New test case.
14912 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14914         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14916 2012-09-05  Allan McRae  <allan@archlinux.org>
14918         [BZ #13966]
14919         * configure.in (CXX_SYSINCLUDES): Use compiler output to
14920         determine header location.
14921         * configure: Regenerated.
14923 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14925         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14926         float format.
14927         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14928         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14929         format.
14930         (test): Regenerate.
14932 2012-09-04  David S. Miller  <davem@davemloft.net>
14934         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14935         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14936         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14938 2012-09-04  Florian Weimer  <fweimer@redhat.com>
14940         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14941         failures.
14943         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14945 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
14947         [BZ #9914]
14948         * libio/iogetdelim.c: Include <limits.h>.
14949         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14950         + len + 1 would overflow.
14952 2012-09-03  Andreas Jaeger  <aj@suse.de>
14954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14955         * sysdeps/i386/fpu/libm-test-ulps: Update.
14957 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14959         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14960         Add s_sinf-sse2, s_conf-sse2.
14962         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14963         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14964         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14965         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14967         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14968         for using routine as __sinf_ia32.
14969         Use macro for function declaration and weak_alias.
14970         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14971         for using routine as __cosf_ia32.
14972         Use macro for function declaration and weak_alias.
14974         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14975         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14977         * sysdeps/x86_64/fpu/s_sinf.S: New file.
14978         * sysdeps/x86_64/fpu/s_cosf.S: New file.
14979         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14981         * math/libm-test.inc (cos_test): Add more test cases.
14982         (sin_test): Likewise.
14983         (sincos_test): Likewise.
14985 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14987         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14988         (IFUNC_RESOLVE): Make pointers to the specialized implementations
14989         hidden.
14990         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14992 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
14994         [BZ #14538]
14995         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14996         first element of the GOT.
14997         (elf_machine_load_address): Return the difference between
14998         the runtime address of _DYNAMIC and elf_machine_dynamic ().
15000 2012-09-01  Allan McRae  <allan@archlinux.org>
15002         [BZ #13412]
15003         * configure.in (AWK): Require gawk version 3.0 or later.
15004         * configure: Regenerated.
15006 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
15008         * sysdeps/unix/sysv/linux/kernel-features.h
15009         (__ASSUME_POSIX_CPU_TIMERS): Remove.
15010         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15011         [__NR_clock_getres]: Make code unconditional.
15012         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15013         (clock_getcpuclockid): Remove code left unreachable by removal of
15014         conditionals.
15015         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15016         code unconditional.
15017         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15018         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15019         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15020         Make code unconditional.
15021         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15022         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15023         * sysdeps/unix/sysv/linux/clock_settime.c
15024         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15025         conditional code.
15026         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15027         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15029 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
15031         [BZ #14476]
15032         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15033         scripts/test-installation.pl.
15035         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15036         and $ld_so_version if it is set.
15038 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15040         [BZ #14516]
15041         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15042         failure if reading from procfs failed.
15043         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15045 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15047         * sysdeps/unix/sysv/linux/kernel-features.h
15048         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15049         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15050         Remove conditional code.
15051         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15052         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15053         Remove conditional code.
15054         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15055         * sysdeps/unix/sysv/linux/i386/fxstat.c
15056         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15057         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15058         * sysdeps/unix/sysv/linux/i386/fxstatat.c
15059         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15060         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15061         * sysdeps/unix/sysv/linux/i386/lxstat.c
15062         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15063         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15064         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15065         Remove conditional code.
15066         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15067         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15068         Remove conditional code.
15069         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15070         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15071         <kernel-features.h>.
15072         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15073         Remove.
15074         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15075         Remove conditional code.
15076         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15077         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15078         Remove conditional.
15080 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
15082         [BZ #5400]
15083         * NEWS: Add fixed bug number.
15085 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15087         [BZ #14519]
15088         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15089         underflowing exponent in case of negative sign.
15090         * stdlib/tst-strtod-round-data: Add more tests.
15091         * stdlib/tst-strtod-round.c (tests): Regenerated.
15093         [BZ #3479]
15094         * stdlib/strtod_l.c (NDIG): Remove.
15095         (HEXNDIG): Likewise.
15096         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15097         smallest representable value.
15098         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15099         lie within an exact representation of 1/2 ulp of the result.
15100         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15101         unconditionally.
15102         (TENS_P9_IDX): Define unconditionally.
15103         (TENS_P9_SIZE): Likewise.
15104         (TENS_P10_IDX): Likewise.
15105         (TENS_P10_SIZE): Likewise.
15106         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15107         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15108         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15109         entries for 10^2^13 and 10^2^14.
15110         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15111         (TENS_P13_IDX): Define.
15112         (TENS_P13_SIZE): Likewise.
15113         (TENS_P14_IDX): Likewise.
15114         (TENS_P14_SIZE): Likewise.
15115         (_fpioconst_pow10): Change array size to
15116         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
15117         unconditional.
15118         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15119         1024]: Add entries for 10^2^13 and 10^2^14.
15120         [LAST_POW10 > _LAST_POW10]: Remove #error.
15121         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15122         (_fpioconst_pow10): Change array size to
15123         FPIOCONST_POW10_ARRAY_SIZE.
15124         * stdlib/gen-fpioconst.c: New file.
15125         * stdlib/gen-tst-strtod-round.c: Likewise.
15126         * stdlib/tst-strtod-round-data: Likewise.
15127         * stdlib/tst-strtod-round.c: Likewise.
15128         * stdlib/Makefile (tests): Add tst-strtod-round.
15130         [BZ #14459]
15131         * stdlib/strtod_l.c: Include <stdint.h>.
15132         (NDEBUG): Do not define.
15133         (round_and_return): Change EXPONENT parameter to type intmax_t.
15134         Rearrange calculations to avoid internal overflow possibilities.
15135         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15136         Rearrange calculations to avoid internal overflow possibilities.
15137         Assert that number fits inside MPNSIZE limbs.
15138         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15139         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
15140         calculations and add assertions to avoid internal overflow
15141         possibilities.  Add casts to avoid signed/unsigned operations.
15142         * stdlib/tst-strtod-overflow.c: New file.
15143         * stdlib/Makefile (tests): Add tst-strtod-overflow.
15145 2012-08-25  Marek Polacek  <polacek@redhat.com>
15147         * time/time.h: Fix some typos in comments.
15149 2012-08-23  Roland McGrath  <roland@hack.frob.com>
15151         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15152         * posix/tst-rfc3484-2.c: Likewise.
15153         * posix/tst-rfc3484-3.c: Likewise.
15155 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
15157         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15158         (EF_ARM_ABI_FLOAT_HARD): Likewise.
15160 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
15162         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15163         #include of fxstatat64.c.
15165 2012-08-22  Roland McGrath  <roland@hack.frob.com>
15167         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15168         * shadow/getspent_r.c: Likewise.
15169         * shadow/getspnam.c: Likewise.
15170         * shadow/getspnam_r.c: Likewise.
15171         * gshadow/getsgent.c: Likewise.
15172         * gshadow/getsgent_r.c: Likewise.
15173         * gshadow/getsgnam.c: Likewise.
15174         * gshadow/getsgnam_r.c: Likewise.
15175         * inet/getnetbyad.c: Likewise.
15176         * inet/getnetbyad_r.c: Likewise.
15177         * inet/getnetbynm.c: Likewise.
15178         * inet/getnetbynm_r.c: Likewise.
15179         * inet/getnetent.c: Likewise.
15180         * inet/getnetent_r.c: Likewise.
15181         * inet/getproto.c: Likewise.
15182         * inet/getproto_r.c: Likewise.
15183         * inet/getprtent.c: Likewise.
15184         * inet/getprtent_r.c: Likewise.
15185         * inet/getprtname.c: Likewise.
15186         * inet/getprtname_r.c: Likewise.
15187         * inet/getrpcbyname.c: Likewise.
15188         * inet/getrpcbyname_r.c: Likewise.
15189         * inet/getrpcbynumber.c: Likewise.
15190         * inet/getrpcbynumber_r.c: Likewise.
15191         * inet/getrpcent.c: Likewise.
15192         * inet/getrpcent_r.c: Likewise.
15193         * inet/getaliasent.c: Likewise.
15194         * inet/getaliasent_r.c: Likewise.
15195         * inet/getaliasname.c: Likewise.
15196         * inet/getaliasname_r.c: Likewise.
15197         * nscd/getgrgid_r.c: Likewise.
15198         * nscd/getgrnam_r.c: Likewise.
15199         * nscd/gethstbyad_r.c: Likewise.
15200         * nscd/gethstbynm3_r.c: Likewise.
15201         * nscd/getpwnam_r.c: Likewise.
15202         * nscd/getpwuid_r.c: Likewise.
15203         * nscd/getsrvbynm_r.c: Likewise.
15204         * nscd/getsrvbypt_r.c: Likewise.
15205         * nscd/gai.c: Likewise.
15207         * configure.in (build_nscd): New substituted variable, set
15208         by --disable-build-nscd and defaults to $use_nscd.
15209         * configure: Regenerated.
15210         * config.make.in (build-nscd): New substituted variable.
15211         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15212         Change conditional to require [$(build-nscd) = yes] as well.
15213         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15215         [BZ# 13696]
15216         * configure.in (use_nscd): New substituted variable, set by
15217         --disable-nscd.  If enabled, define USE_NSCD.
15218         * configure: Regenerated.
15219         * config.h.in: Add USE_NSCD.
15220         * config.make.in (use-nscd): New substituted variable.
15221         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15222         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15223         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15224         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15225         (CFLAGS-getgrnam_r.c): Likewise.
15226         (CFLAGS-initgroups.c): Likewise.
15227         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15228         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15229         Variables removed.
15230         * inet/getnetgrent_r.c
15231         (nscd_setnetgrent): New function, broken out of ...
15232         (setnetgrent): ... here.  Call it.
15233         (innetgr): Conditionalize nscd bits on [USE_NSCD].
15234         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15235         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15236         * nscd/Makefile (routines, aux): Move definitions after include of
15237         Makeconfig.  Conditionalize on [$(use-nscd) != no].
15238         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15239         Conditionalize on [USE_NSCD].
15240         (is_nscd, nscd_init_cb): Likewise.
15241         (nss_load_library): Conditionalize init callback on [USE_NSCD].
15242         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15243         * nss/nss_db/db-init.c: Likewise.
15244         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15245         [USE_NSCD].
15246         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15247         (make_request): Use it.
15248         (cache_valid_p): New function.
15249         (__check_pf): Use it.
15250         * NEWS: Add item for --disable-nscd.
15252 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
15254         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15255         to support sed >= 4.2.1-20-ga9bf076.
15256         * configure: Regenerated.
15258 2012-08-22  Roland McGrath  <roland@hack.frob.com>
15260         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15261         Conditionalize whole body on [IREL].
15263 2012-08-22  Jeff Law <law@redhat.com>
15265         [BZ #14505]
15266         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15267         if the family is PF_UNSPEC.
15269 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
15271         * Makerules (lib-version): Rename from V.
15272         (install-lib-nosubdir): Change V to lib-version.
15274 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
15276         [BZ #14252]
15277         * powerpc32/power6/wcschr.c: New file.
15278         * powerpc32/power6/wcscpy.c: New file.
15279         * powerpc32/power6/wcsrchr.c: New file.
15280         * powerpc64/power6/wcschr.c: New file.
15281         * powerpc64/power6/wcscpy.c: New file.
15282         * powerpc64/power6/wcsrchr.c: New file.
15284 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15286         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15287         (two_way_short_needle): Use it.
15288         * string/strstr.c (AVAILABLE1_USES_J): Define.
15289         * string/strcasestr.c: Likewise.
15291         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15292         array references.
15293         * string/strcasestr.c (TOLOWER): Make side-effect safe.
15295         [BZ #11607]
15296         * NEWS: Add an entry.
15297         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15298         define their defaults.
15299         (two_way_short_needle): Detect end-of-string on-the-fly.
15300         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15301         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15302         * string/bug-strcasestr1.c: New test.
15303         * string/Makefile: Run it.
15305 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15307         [BZ #11607]
15308         * string/str-two-way.h (two_way_short_needle): Optimize matching of
15309         the first character.
15311 2012-08-21  Roland McGrath  <roland@hack.frob.com>
15313         * csu/elf-init.c (__libc_csu_irel): Function removed.
15314         * csu/libc-start.c (apply_irel): New function.
15315         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15317 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
15319         * sysdeps/unix/sysv/linux/kernel-features.h
15320         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15321         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15322         <kernel-features.h>.
15323         [__NR_fadvise64_64]: Make code unconditional.
15324         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15325         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15326         !__NR_fadvise64_64)]: Likewise.
15327         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15328         !__NR_fadvise64_64))]: Likewise.
15329         [__NR_fadvise64]: Make code unconditional.
15330         [!__NR_fadvise64]: Remove conditional code.
15331         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15332         <kernel-features.h>.
15333         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15334         unconditional.
15335         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15336         conditional code.
15337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15338         not include <kernel-features.h>.
15339         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15340         unconditional.
15341         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15342         conditional code.
15343         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15344         include <kernel-features.h>.
15345         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15346         unconditional.
15347         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15348         conditional code.
15350 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
15352         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15353         slight instruction rearrangements per scrollpipe analysis.
15354         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15356 2012-08-20  Roland McGrath  <roland@hack.frob.com>
15358         * manual/syslog.texi (syslog; vsyslog, closelog):
15359         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15360         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15362         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15363         DSOCAPS to match condition on defining it.
15365 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
15367         * sysdeps/unix/sysv/linux/kernel-features.h
15368         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15370         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15371         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15373         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15374         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15376         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15377         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15379         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15380         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15382         * sysdeps/unix/sysv/linux/kernel-features.h
15383         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15384         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15385         unconditional.
15386         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15387         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15388         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15389         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15390         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15391         Make code unconditional.
15392         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15393         (__mmap64) [!__NR_mmap2]: Likewise.
15394         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15395         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15396         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15397         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15398         [__NR_mmap2]: Make code unconditional.
15399         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15400         (__mmap64) [!__NR_mmap2]: Likewise.
15402 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15404         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15406 2012-08-18  Andreas Jaeger  <aj@suse.de>
15408         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15410 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
15412         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15413         * include/unistd.h (__have_sock_cloexec): Likewise.
15414         (__have_pipe2): Likewise.
15415         (__have_dup3): Likewise.
15417 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
15419         [BZ #9685]
15420         * include/unistd.h (__have_pipe2): Change define into an extern int.
15421         (__have_dup3): Likewise.
15422         * socket/have_sock_cloexec.c: Include fcntl.h.
15423         (__have_pipe2): New variable.
15424         (__have_dup3): Likewise.
15426 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
15428         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15430 2012-08-17  Marek Polacek  <polacek@redhat.com>
15432         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15433         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15435 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15437         * configure.in: Add AC_SUBST for sysheaders.
15438         * configure: Regenerated.
15439         * config.make.in (sysheaders): New substituted variable.
15441         * sysdeps/unix/mkfifo.c: Moved ...
15442         * sysdeps/posix/mkfifo.c: ... here.
15443         * sysdeps/unix/mkfifoat.c: Moved ...
15444         * sysdeps/posix/mkfifoat.c: ... here.
15446         * sysdeps/unix/utime.c: Moved ...
15447         * sysdeps/posix/utime.c: ... here.
15449         * sysdeps/unix/time.c: Moved ...
15450         * sysdeps/posix/time.c: ... here.
15451         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15452         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15454         * sysdeps/unix/nice.c: Moved ...
15455         * sysdeps/posix/nice.c: ... here.
15457         * sysdeps/unix/alarm.c: Moved ...
15458         * sysdeps/posix/alarm.c: ... here.
15460         * intl/Makefile ($(codeset_mo)): Depend on the input file.
15462 2012-08-17  Jeff Law <law@redhat.com>
15464         * intl/Makefile (codeset_mo): New variable.
15465         ($(codeset_mo)): New target.
15466         (tst-codeset.out): Depend on that.  Remove explicit rule.
15467         (tst-gettext3.out, tst-gettext5.out): Likewise.
15468         (LOCPATH-ENV, tst-codeset-ENV): New variables.
15469         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15470         * intl/tst-codeset.sh: Remove.
15471         * intl/tst-gettext3.sh: Likewise.
15472         * intl/tst-gettext5.sh: Likewise.
15474 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15476         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
15477         * sysdeps/unix/syscalls.list: ... here.
15479         * sysdeps/posix/getaddrinfo.c
15480         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15481         (gaiconf_init, gaiconf_reload): Use them.
15482         [!_STATBUF_ST_NSEC]
15483         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15484         Define using time_t rather than struct timespec.
15486         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15487         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15488         Macros removed.
15489         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15490         [!NO_THREADS].
15491         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15492         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15493         Likewise.
15495         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15496         __libc_cleanup_push argument.
15498         * bits/param.h: New file.
15499         * misc/sys/param.h: New file.
15500         * include/sys/param.h: New file.
15501         * misc/Makefile (headers): Add bits/param.h.
15502         * sysdeps/generic/sys/param.h: File removed.
15503         * sysdeps/unix/sysv/linux/bits/param.h: New file.
15504         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15505         * sysdeps/mach/hurd/bits/param.h: New file.
15506         * sysdeps/mach/hurd/sys/param.h: File removed.
15508         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15509         last change.
15511         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15512         [_IO_MTSAFE_IO].
15513         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15514         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15515         New macros.
15517         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15518         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15519         rather than -D_IO_MTSAFE_IO conditionally.
15520         * stdio-common/Makefile (CPPFLAGS): Likewise.
15521         * wcsmbs/Makefile (CPPFLAGS): Likewise.
15522         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15523         Use $(libio-mtsafe).
15524         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15525         of -D_IO_MTSAFE_IO.
15526         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15527         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15528         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15529         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15530         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15531         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15532         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15533         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15534         (CFLAGS-fread_u_chk.c): Likewise.
15535         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15536         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15537         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15538         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15539         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15540         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15541         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15542         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15543         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15545         * libio/Makefile: Test [$(libc-reentrant) = yes]
15546         instead of [$(filter %REENTRANT, $(defines)) nonempty].
15548         * Makeconfig
15549         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15550         * sysdeps/pthread/configure: File removed.
15551         * sysdeps/pthread/Makeconfig: New file.
15552         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15553         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15555 2012-08-16  Gary Benson  <gbenson@redhat.com>
15557         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15558         unmapping the first object in a namespace.
15560 2012-08-16  Roland McGrath  <roland@hack.frob.com>
15562         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15563         (__internal_setnetgrent): ... this.  Add internal_function to
15564         definition.  Add libc_hidden_def.
15565         (setnetgrent): Update caller.
15566         (internal_endnetgrent): Renamed to ...
15567         (__internal_endnetgrent): ... this.  Add internal_function to
15568         definition.  Add libc_hidden_def.
15569         (endnetgrent): Update caller.
15570         (internal_getnetgrent_r): Renamed to ...
15571         (__internal_getnetgrent_r): ... this.  Add internal_function to
15572         definition.  Add libc_hidden_def.
15573         (__getnetgrent_r): Update caller.
15574         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
15576 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
15578         * stdlib/longlong.h: Update from GCC.
15580 2012-08-16  Roland McGrath  <roland@hack.frob.com>
15582         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15583         on _QL, which is set by umul_ppmm but never used.
15584         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15585         variables, which are set by GMP macros but never used.
15586         * stdio-common/_itowa.c (_itowa): Likewise.
15587         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15588         * stdlib/mod_1.c (mpn_mod_1): Likewise.
15590 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
15592         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15593         struct La_sh_regs is not constant.
15594         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15595         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15596         and struct La_sparc64_regs are not constant.
15598 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
15600         * sysdeps/unix/sysv/linux/kernel-features.h
15601         (__ASSUME_POSIX_TIMERS): Remove.
15602         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15603         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15604         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15605         Make code unconditional.
15606         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15607         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15608         Make code unconditional.
15609         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15610         * sysdeps/unix/sysv/linux/clock_nanosleep.c
15611         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15612         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15613         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15614         Make code unconditional.
15615         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15616         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15617         (__libc_missing_posix_timers): Remove.
15619 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15621         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15622         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15624         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15626         * elf/dl-sym.c: Include <stdlib.h>.
15628         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15629         constants, which avoids warnings in 32-bit builds.
15631         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15632         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15634         * misc/lseek.c: File moved to ...
15635         * io/lseek.c: ... here.
15637         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15639         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15640         shifting LEN more than 31 bits at once.
15642 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15644         [BZ #14195]
15645         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15646         segmentation fault for a case of two empty input strings.
15647         * string/test-strncasecmp.c (check1): Renamed to...
15648         (bz12205): ...this.
15649         (bz14195): Add new testcase for two empty input strings and N > 0.
15650         (test_main): Call new testcase, adapt for renamed function.
15652 2012-08-15  Andreas Jaeger  <aj@suse.de>
15654         [BZ #14090]
15655         * crypt/md5test2.c: New test, based on test supplied by Serge
15656         Belyshev <belyshev@depni.sinp.msu.ru>.
15657         * crypt/Makefile (xtests): Add md5test-giant..
15658         * crypt/Makefile ($(objpfx)md5test-giant): Add.
15660 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
15662         [BZ #14090]
15663         * crypt/md5.c (md5_process_block): Don't assume the buffer
15664         length is less than 2**32.
15665         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15666         length is less than 2**64.
15668 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15670         * string/str-two-way.h: Include <sys/param.h>.
15671         (MAX): Macro removed.
15673         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15674         Move #define and #undef of memmove to just before and after
15675         including <string.h>.
15677         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15678         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15679         and after including <string.h>.  Move declarations of
15680         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15681         to before #include "string/memmove.c".
15683         * include/dirent.h: Declare __getdirentries.
15685         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15686         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15688 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
15690         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15691         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15692         * sysdeps/i386/configure: Regenerated.
15693         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15694         STABS_CURRENT_FILE, and STABS_FUN.
15695         (END): Remove call to STABS_FUN_END.
15696         (STABS_CURRENT_FILE1): Delete.
15697         (STABS_CURRENT_FILE): Likewise.
15698         (STABS_FUN): Likewise.
15699         (STABS_FUN_END): Likewise.
15700         (STABS_FUN2): Likewise.
15701         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15702         * sysdeps/x86_64/configure: Regenerated.
15704 2012-08-14  Roland McGrath  <roland@hack.frob.com>
15706         * elf/dl-open.c: Include <atomic.h>.
15707         * elf/dl-lookup.c: Likewise.
15709 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
15711         * sysdeps/unix/sysv/linux/kernel-features.h
15712         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15713         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15714         unconditionally.
15715         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15716         unconditionally.
15717         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15718         condition on __ASSUME_CLONE_THREAD_FLAGS.
15720 2012-08-14  Andreas Jaeger  <aj@suse.de>
15722         * sysdeps/i386/fpu/libm-test-ulps: Update.
15724 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
15726         * include/atomic.h (atomic_exchange_and_add): Split into ...
15727         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15728         New atomic macros.
15730 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
15732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15734 2012-08-13  Jeff Law <law@redhat.com>
15736         * manual/stdio.texi (snprintf): Clarify handling of the trailing
15737         null byte in the output string.
15739 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
15741         * sysdeps/unix/sysv/linux/kernel-features.h
15742         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15743         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15744         (__ASSUME_ARG_MAX_STACK_BASED): Define.
15745         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15746         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15747         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
15748         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15750 2012-08-09  Jeff Law <law@redhat.com>
15752         [BZ #13939]
15753         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15754         When avoid_arena is set, don't retry in the that arena.  Pick the
15755         next one, whatever it might be.
15756         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15757         (arena_lock): Pass in new parameter to arena_get2.
15758         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15759         arena_get2.
15760         (__libc_malloc): Unify retrying after main arena failure with
15761         __libc_memalign version.
15762         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15764 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15766         [BZ #14166]
15767         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15768         to __redirect_strstr.
15769         (__strstr_sse42): Use typeof __redirect_strstr.
15770         (__strstr_ia32): Likewise.
15771         (__libc_strstr): New prototype.
15772         (strstr): Renamed to ...
15773         (__libc_strstr): This.
15774         (strstr): New strong alias of __libc_strstr.
15775         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15776         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15777         __redirect_time.
15778         Include <time.h>.
15779         (__libc_time): New prototype.
15780         (time_ifunc): Replace time with __libc_time.
15781         (time): New strong alias and hidden definition of __libc_time.
15782         (__GI_time): Remove strong alias.
15783         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15784         Include <stddef.h>.
15785         (memmove): Redefined to __redirect_memmove.
15786         (__memmove_sse2): Use typeof __redirect_memmove.
15787         (__memmove_ssse3): Likewise.
15788         (__memmove_ssse3_back): Likewise.
15789         (__libc_memmove): New prototype.
15790         (memmove): Renamed to ...
15791         (__libc_memmove): This.
15792         (memmove): New strong alias of __libc_memmove.
15794 2012-08-08  Mark Salter  <msalter@redhat.com>
15796         * elf/elf.h
15797         (R_MN10300_TLS_GD): Define.
15798         (R_MN10300_TLS_LD): Likewise.
15799         (R_MN10300_TLS_LDO): Likewise.
15800         (R_MN10300_TLS_GOTIE): Likewise.
15801         (R_MN10300_TLS_IE): Likewise.
15802         (R_MN10300_TLS_LE): Likewise.
15803         (R_MN10300_TLS_DTPMOD): Likewise.
15804         (R_MN10300_TLS_DTPOFF): Likewise.
15805         (R_MN10300_TLS_TPOFF): Likewise.
15806         (R_MN10300_SYM_DIFF): Likewise.
15807         (R_MN10300_ALIGN): Likewise.
15808         (R_MN10300_NUM): Update.
15810 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
15812         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15813         Remove.
15815 2012-08-08  Roland McGrath  <roland@hack.frob.com>
15817         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15819         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15820         sysdeps/unix -> sysdeps/posix move.
15821         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15823 2012-08-07      Allan McRae     <allan@archlinux.org>
15825         [BZ #14303]
15826         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15827         (SUNOS_CPP): Likewise.
15828         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15829         not found.
15830         (open_input): Call CPP using execvp.
15832 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15834         * sysdeps/unix/sysv/linux/kernel-features.h
15835         (__ASSUME_PROT_GROWSUPDOWN): Remove.
15836         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15837         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15838         (__ASSUME_WAITID_SYSCALL): Likewise.
15839         * sysdeps/unix/sysv/linux/dl-execstack.c
15840         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15841         code unconditional.
15842         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15843         conditional code.
15844         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15845         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15846         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15847         code.
15848         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15849         unconditional.
15850         [__ASSUME_WAITID_SYSCALL]: Likewise.
15851         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15853 2012-08-07  Roland McGrath  <roland@hack.frob.com>
15855         * sysdeps/unix/closedir.c: Renamed to ...
15856         * sysdeps/posix/closedir.c: ... here.
15857         * sysdeps/unix/dirfd.c: Renamed to ...
15858         * sysdeps/posix/dirfd.c: ... here.
15859         * sysdeps/unix/dirstream.h: Renamed to ...
15860         * sysdeps/posix/dirstream.h: ... here.
15861         * sysdeps/unix/fdopendir.c: Renamed to ...
15862         * sysdeps/posix/fdopendir.c: ... here.
15863         * sysdeps/unix/opendir.c: Renamed to ...
15864         * sysdeps/posix/opendir.c: ... here.
15865         * sysdeps/unix/readdir.c: Renamed to ...
15866         * sysdeps/posix/readdir.c: ... here.
15867         * sysdeps/unix/readdir_r.c: Renamed to ...
15868         * sysdeps/posix/readdir_r.c: ... here.
15869         * sysdeps/unix/rewinddir.c: Renamed to ...
15870         * sysdeps/posix/rewinddir.c: ... here.
15871         * sysdeps/unix/seekdir.c: Renamed to ...
15872         * sysdeps/posix/seekdir.c: ... here.
15873         * sysdeps/unix/telldir.c: Renamed to ...
15874         * sysdeps/posix/telldir.c: ... here.
15875         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15876         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15877         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15878         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15880         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15881         * bits/fcntl.h: ... here.
15883         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15884         not 0.
15885         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15886         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15887         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15888         (struct flock): Move l_start, l_len to the beginning.
15889         Use __pid_t for l_pid.
15890         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15891         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15892         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15893         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15894         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15895         [__USE_LARGEFILE64] (struct flock64): New type.
15896         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15898         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15899         * bits/dirent.h: ... here.
15901         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15902         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15904 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15906         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15907         Change from 2.6.0 to 2.6.16.
15908         * sysdeps/unix/sysv/linux/configure: Regenerated.
15909         * sysdeps/unix/sysv/linux/kernel-features.h
15910         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15911         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15912         version.
15913         (__ASSUME_UTIMES): Likewise.
15914         (__ASSUME_CLONE_STOPPED): Remove.
15915         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15916         architectures, not kernel version.
15917         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15918         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15919         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15920         (__ASSUME_WAITID_SYSCALL): Likewise.
15921         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15922         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15923         * README: State 2.6.16 as minimum Linux kernel version.  Do not
15924         refer to older versions.
15926 2012-08-06  Roland McGrath  <roland@hack.frob.com>
15928         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15929         Define alphasort64 as an alias.
15930         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15931         Define versionsort64 as an alias.
15932         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15933         Define scandir64 as an alias.
15934         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15935         Define scandirat64 as an alias.
15936         * dirent/alphasort64.c (alphasort64):
15937         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15938         * dirent/versionsort64.c: Likewise.
15939         * dirent/scandir64.c: Likewise.
15940         * dirent/scandirat64.c: Likewise.
15941         * sysdeps/wordsize-64/alphasort.c: File removed.
15942         * sysdeps/wordsize-64/alphasort64.c: File removed.
15943         * sysdeps/wordsize-64/scandir.c: File removed.
15944         * sysdeps/wordsize-64/scandir64.c: File removed.
15945         * sysdeps/wordsize-64/scandirat.c: File removed.
15946         * sysdeps/wordsize-64/scandirat64.c: File removed.
15947         * sysdeps/wordsize-64/versionsort.c: File removed.
15948         * sysdeps/wordsize-64/versionsort64.c: File removed.
15949         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15950         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15951         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15952         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15953         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15954         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15955         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15956         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15958         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15959         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15960         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15961         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15962         [defined __arch64__ || defined __sparcv9]
15963         (__INO_T_MATCHES_INO64_T): New macro.
15964         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15965         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15966         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15967         * sysdeps/unix/sysv/linux/bits/dirent.h
15968         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15969         (_DIRENT_MATCHES_DIRENT64): New macro.
15971         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15972         Define lockf64 as an alias.
15973         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15974         Define fseeko64 as an alias.
15975         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15976         Define ftello64 as an alias.
15977         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15978         Define _IO_fgetpos64 and fgetpos64 as aliases.
15979         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15980         Define _IO_fsetpos64 and fsetpos64 as aliases.
15981         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15982         Conditionalize body on this.
15983         * libio/fseeko64.c: Likewise.
15984         * libio/ftello64.c: Likewise.
15985         * libio/iofgetpos64.c: Likewise.
15986         * libio/iofsetpos64.c: Likewise.
15987         * sysdeps/wordsize-64/lockf.c: File removed.
15988         * sysdeps/wordsize-64/lockf64.c: File removed.
15989         * sysdeps/wordsize-64/fseeko.c: File removed.
15990         * sysdeps/wordsize-64/fseeko64.c: File removed.
15991         * sysdeps/wordsize-64/ftello.c: File removed.
15992         * sysdeps/wordsize-64/ftello64.c: File removed.
15993         * sysdeps/wordsize-64/iofgetpos.c: File removed.
15994         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15995         * sysdeps/wordsize-64/iofsetpos.c: File removed.
15996         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15997         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15998         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15999         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16000         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16001         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16002         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16003         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16004         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16005         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16006         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16008         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16009         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16010         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16011         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16012         [defined __arch64__ || defined __sparcv9]
16013         (__OFF_T_MATCHES_OFF64_T): New macro.
16014         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16015         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16016         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16017         (__OFF_T_MATCHES_OFF64_T): New macro.
16019 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16021         * stdlib/secure-getenv.c (__secure_getenv): Replace
16022         GLIBC_2_16 with GLIBC_2_17.
16024 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16026         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16027         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16029 2012-08-03  David S. Miller  <davem@davemloft.net>
16031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16033 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16035         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16036         Remove.
16037         (__ASSUME_CORRECT_SI_PID): Likewise.
16038         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16039         (__ASSUME_TMPFS_NAME): Likewise.
16040         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16041         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16042         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16043         (HAVE_AUX_SECURE): Make definition unconditional.
16044         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16045         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16047 2012-08-03  Roland McGrath  <roland@hack.frob.com>
16049         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16050         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16051         * sysdeps/mach/hurd/eloop-threshold.h: New file.
16052         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16053         __eloop_threshold instead of SYMLOOP_MAX.
16055         * sysdeps/generic/eloop-threshold.h: New file.
16056         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16057         of MAXSYMLINKS.
16058         * elf/chroot_canon.c (chroot_canon): Likewise.
16060 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16062         [BZ #13717]
16063         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16064         Change to 2.6.0 everywhere.
16065         * sysdeps/unix/sysv/linux/configure: Regenerated.
16066         * sysdeps/unix/sysv/linux/kernel-features.h
16067         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16068         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16069         kernel versions.
16070         (__ASSUME_POSIX_TIMERS): Define unconditionally.
16071         (__ASSUME_FUTEX_REQUEUE): Remove.
16072         (__ASSUME_STATFS64): Define unconditionally.
16073         (__ASSUME_AT_SECURE): Likewise.
16074         (__ASSUME_CORRECT_SI_PID): Likewise.
16075         (__ASSUME_TGKILL): Define without depending on kernel version for
16076         i386.
16077         (__ASSUME_UTIMES): Likewise.
16078         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16079         kernel version.
16080         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16081         (__ASSUME_TMPFS_NAME): Likewise.
16082         * README: Update reference to Linux kernel versions.
16084 2012-08-02  Marek Polacek  <polacek@redhat.com>
16086         [BZ# 14150]
16087         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
16088         libc_cv_asm_type_prefix with %.
16089         * configure: Regenerated.
16090         * include/libc-symbols.h: Remove comment about
16091         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16092         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16093         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16094         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16095         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16096         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16097         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16098         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16099         * elf/tst-unique2mod1.c: Likewise.
16100         * elf/tst-unique1mod2.c: Likewise.
16101         * elf/tst-unique1mod1.c: Likewise.
16102         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16103         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16104         Replace ASM_TYPE_DIRECTIVE with .type.
16105         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16106         * sysdeps/i386/sysdep.h: Likewise.
16107         * sysdeps/x86_64/sysdep.h: Likewise.
16108         * sysdeps/sh/sysdep.h: Likewise.
16109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16110         Do not define ASM_TYPE_DIRECTIVE.
16111         * sysdeps/powerpc/sysdep.h: Likewise.
16112         * sysdeps/powerpc/powerpc32/sysdep.h:
16113         Replace ASM_TYPE_DIRECTIVE with .type.
16114         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16115         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16116         * sysdeps/i386/fpu/e_powf.S: Likewise.
16117         * sysdeps/i386/fpu/e_expl.S: Likewise.
16118         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16119         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16120         * sysdeps/i386/fpu/e_pow.S: Likewise.
16121         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16122         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16123         * sysdeps/i386/fpu/s_expm1.S: Likewise.
16124         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16125         * sysdeps/i386/fpu/e_log2.S: Likewise.
16126         * sysdeps/i386/fpu/e_log2l.S: Likewise.
16127         * sysdeps/i386/fpu/e_scalb.S: Likewise.
16128         * sysdeps/i386/fpu/e_powl.S: Likewise.
16129         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16130         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16131         * sysdeps/i386/fpu/e_logl.S: Likewise.
16132         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16133         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16134         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16135         * sysdeps/i386/fpu/e_log2f.S: Likewise.
16136         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16137         * sysdeps/i386/fpu/e_log.S: Likewise.
16138         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16139         * sysdeps/i386/fpu/e_logf.S: Likewise.
16140         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16141         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16142         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16143         * sysdeps/i386/fpu/e_log10.S: Likewise.
16144         * sysdeps/i386/fpu/s_frexp.S: Likewise.
16145         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16146         * sysdeps/i386/fpu/s_asinh.S: Likewise.
16147         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16148         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16149         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16150         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16151         * sysdeps/i386/i686/strtok.S: Likewise.
16152         * sysdeps/i386/i386-mcount.S: Likewise.
16153         * sysdeps/i386/strtok.S: Likewise.
16154         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16155         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16156         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16157         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16158         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16159         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16160         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16161         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16162         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16163         * sysdeps/x86_64/_mcount.S: Likewise.
16164         * sysdeps/x86_64/strtok.S: Likewise.
16165         * sysdeps/sh/_mcount.S: Likewise.
16167 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16169         * libio/iofopen.c: Include <fcntl.h>.
16170         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16171         (_IO_fopen64, fopen64): Define as aliases.
16172         * libio/iofopen64.c: Include <fcntl.h>.
16173         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16174         Conditionalize body on this.
16175         * sysdeps/wordsize-64/iofopen.c: File removed.
16176         * sysdeps/wordsize-64/iofopen64.c: File removed.
16178 2012-08-01  Marek Polacek  <polacek@redhat.com>
16180         * libc/Makeconfig: Use elf in place of binfmt-subdir.
16181         Use dlfcn directly instead of a variable.
16182         (binfmt-subdir): Do not define.
16183         (dlfcn): Likewise.
16185 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
16187         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16188         Remove all definitions.
16189         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16190         <kernel-features.h>.
16191         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16192         (miss_F_GETOWN_EX): Remove all definitions.
16193         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16194         macro definition.
16195         [!__ASSUME_FCNTL64]: Remove conditional code.
16196         [__ASSUME_FCNTL64]: Make code unconditional.
16197         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16198         <kernel-features.h>.
16199         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16200         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16201         (lockf64) [__NR_fcntl64]: Make code unconditional.
16202         (lockf64) [__ASSUME_FCNTL64]: Likewise.
16204         * sysdeps/unix/sysv/linux/kernel-features.h
16205         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16206         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16207         Make code unconditional.
16208         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16209         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16211         [__NR_vfork]: Make code unconditional.
16212         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16213         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16215         [__NR_vfork]: Make code unconditional.
16216         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16217         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16219 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16221         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16222         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16224         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16225         Define mkstemp64 as an alias.
16226         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16227         Define mkstemps64 as an alias.
16228         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16229         Define mkostemp64 as an alias.
16230         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16231         Define mkostemps64 as an alias.
16232         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16233         Conditionalize body on this.
16234         * misc/mkostemp64.c: Likewise.
16235         * misc/mkostemps64.c: Likewise.
16236         * misc/mkstemps64.c: Likewise.
16237         * sysdeps/wordsize-64/mkstemp64.c: File removed.
16238         * sysdeps/wordsize-64/mkostemp64.c: File removed.
16239         * sysdeps/wordsize-64/mkostemp.c: File removed.
16240         * sysdeps/wordsize-64/mkstemp.c: File removed.
16241         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16242         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16243         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16244         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16246         [BZ #14138]
16247         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16248         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16249         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16250         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16252         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16253         compat_symbol macros from <shlib-compat.h> rather than the underlying
16254         default_symbol_version and symbol_version macros, so that DEFAULT
16255         lines in shlib-versions are respected.
16256         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16258 2012-08-01  Florian Weimer  <fweimer@redhat.com>
16260         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16261         Declare with warn_unused_result.
16262         (setgid, setregid, setegid, setresgid): Likewise.
16263         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16264         Likewise.
16265         * WUR-REPORT: Remove set*id functions.
16267 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
16269         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16271 2012-07-31  Roland McGrath  <roland@hack.frob.com>
16273         [BZ #10191]
16274         * include/sys/socket.h (__libc_accept, __libc_accept4):
16275         Add attribute_hidden.
16276         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16278         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16279         use of PTR_MANGLE.
16280         * inet/getnetgrent_r.c (setup): Likewise.
16282         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16284 2012-07-31  David S. Miller  <davem@davemloft.net>
16286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16288 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
16290         [BZ #13629]
16291         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16292         value between 1.0 and 2.0 and smaller part has absolute value less
16293         than 1.0.
16294         * math/s_clog10.c (__clog10): Likewise.
16295         * math/s_clog10f.c (__clog10f): Likewise.
16296         * math/s_clog10l.c (__clog10l): Likewise.
16297         * math/s_clogf.c (__clogf): Likewise.
16298         * math/s_clogl.c (__clogl): Likewise.
16299         * math/libm-test.inc (clog_test): Add more tests.
16300         (clog10_test): Likewise.
16301         * sysdeps/i386/fpu/libm-test-ulps: Update.
16302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16304 2012-07-31  Florian Weimer  <fweimer@redhat.com>
16306         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16307         Exit with zero in case no suitable GID is found, and write a
16308         message to standard error.
16310 2012-07-30  Roland McGrath  <roland@hack.frob.com>
16312         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16313         rather than to 1.
16314         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16315         (MAXPATHLEN): Removed.
16316         (NOGROUP, NODEV): New macros.
16317         (setbit, clrbit, isset, isclr): New macros.
16318         (howmany, roundup, powerof2): New macros.
16319         (DEV_BSIZE): New macro.
16321         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16322         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16324         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16325         definition on [!__NO_LONG_DOUBLE_MATH].
16327         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16328         PTR_MANGLE and PTR_DEMANGLE.
16330         * socket/accept4.c (accept4): Rename to __libc_accept4.
16331         Define accept4 as a weak alias.
16333         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16334         on [_DIRENT_HAVE_D_TYPE].
16335         * io/ftw.c (ftw_dir): Likewise.
16337         * io/xmknod.c (__xmknod): Don't check PATH for being null.
16339         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16341         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16342         Use the BSD numbers rather than the arbitrary ones we had.
16343         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16344         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16345         (SIGXCPU, SIGXFSZ): New macros.
16346         (_NSIG): Now 32.
16348         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16349         initializer on [_LIBC_REENTRANT].
16351         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16352         definitions inside [_POSIX_MAPPED_FILES].
16354         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16356         * dirent/opendir.c: Include <fcntl.h>.
16358         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16359         (__libc_getspecific): Likewise.
16360         (__libc_key_create): Likewise.
16362         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16363         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16364         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16365         (tmpfile64): Define as alias.
16366         * sysdeps/wordsize-64/tmpfile.c: File removed.
16367         * sysdeps/wordsize-64/tmpfile64.c: File removed.
16368         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16369         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16371         * stdio-common/vfscanf.c: Include <stdbool.h>.
16372         * nss/makedb.c: Likewise.
16373         * stdio-common/_i18n_number.h: Likewise.
16374         * argp/argp-help.c: Likewise.
16375         * posix/wordexp.c: Likewise.
16376         * sysdeps/posix/spawni.c: Likewise.
16377         * nss/nss_files/files-initgroups.c: Likewise.
16378         * stdio-common/reg-modifier.c: Include <stdlib.h>.
16379         * nss/nss_files/files-initgroups.c: Likewise.
16380         * nss/nss_db/db-netgrp.c: Likewise.
16381         * nss/nss_db/db-initgroups.c: Likewise.
16382         * io/fchmodat.c: Include <sys/stat.h>.
16384         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16385         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16387         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16388         [HAVE_MMAP].
16390         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16391         Add multiple inclusion protection.
16393 2012-07-27  David S. Miller  <davem@davemloft.net>
16395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16397 2012-07-27  Gary Benson  <gbenson@redhat.com>
16399         [BZ #14298]
16400         * elf/rtld.c: Include <stap-probe.h>.
16401         (dl_main): Added static probes "init_start" and "init_complete".
16402         * elf/dl-load.c: Include <stap-probe.h>.
16403         (lose): Take new parameter "nsid".
16404         Added static probe "map_failed".
16405         (_dl_map_object_from_fd): Pass namespace id to lose.
16406         Added static probe "map_start".
16407         (open_verify): Pass namespace id to lose.
16408         * elf/dl-open.c: Include <stap-probe.h>.
16409         (dl_open_worker) Added static probes "map_complete", "reloc_start"
16410         and "reloc_complete".
16411         * elf/dl-close.c: Include <stap-probe.h>.
16412         (_dl_close_worker): Added static probes "unmap_start" and
16413         "unmap_complete".
16414         * elf/rtld-debugger-interface.txt: New file documenting the above.
16416 2012-07-26  Roland McGrath  <roland@hack.frob.com>
16418         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16419         rather than a string variable.
16420         * sunrpc/rpc_main.c (h_output): Likewise.
16421         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16423 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
16425         * inet/check_native.c: New file.
16427 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
16429         [BZ #13629]
16430         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16431         if larger part has absolute value 1.0.
16432         * math/s_clog10.c (__clog10): Likewise.
16433         * math/s_clog10f.c (__clog10f): Likewise.
16434         * math/s_clog10l.c (__clog10l): Likewise.
16435         * math/s_clogf.c (__clogf): Likewise.
16436         * math/s_clogl.c (__clogl): Likewise.
16437         * math/libm-test.inc (clog_test): Add more tests.
16438         (clog10_test): Likewise.
16439         * sysdeps/i386/fpu/libm-test-ulps: Update.
16440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16442         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16443         (pltexit): Likewise.
16444         (La_regs): Likewise.
16445         (La_retval): Likewise.
16446         (int_retval): Likewise.
16447         Update #error for removed macros to refer only to definitions in
16448         tst-audit.h.
16449         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16450         macro.
16451         (pltexit): Likewise.
16452         (La_regs): Likewise.
16453         (La_retval): Likewise.
16454         (int_retval): Likewise.
16455         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16456         macro.
16457         (pltexit): Likewise.
16458         (La_regs): Likewise.
16459         (La_retval): Likewise.
16460         (int_retval): Likewise.
16461         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16462         macro.
16463         (pltexit): Likewise.
16464         (La_regs): Likewise.
16465         (La_retval): Likewise.
16466         (int_retval): Likewise.
16467         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16468         macro.
16469         (pltexit): Likewise.
16470         (La_regs): Likewise.
16471         (La_retval): Likewise.
16472         (int_retval): Likewise.
16473         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16474         macro.
16475         (pltexit): Likewise.
16476         (La_regs): Likewise.
16477         (La_retval): Likewise.
16478         (int_retval): Likewise.
16479         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16480         macro.
16481         (pltexit): Likewise.
16482         (La_regs): Likewise.
16483         (La_retval): Likewise.
16484         (int_retval): Likewise.
16485         * sysdeps/generic/tst-audit.h: Update comment to refer only to
16486         macro definitions in tst-audit.h.
16487         * sysdeps/i386/tst-audit.h: New file.
16488         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16489         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16490         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16491         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16492         * sysdeps/sh/tst-audit.h: Likewise.
16493         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16494         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16495         * sysdeps/x86_64/tst-audit.h: Likewise.
16497 2012-07-26  Andreas Jaeger  <aj@suse.de>
16499         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16500         ptrace.
16502         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16503         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16504         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16505         PTRACE_O_MASK.
16506         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16507         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16508         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16510         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16511         value.
16513         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16514         _sigsys.
16515         (si_call_addr, si_syscall, si_arch): Define new macro.
16516         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16517         _sigsys.
16518         (si_call_addr, si_syscall, si_arch): Define new marcro.
16519         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16520         _sigsys.
16521         (si_call_addr, si_syscall, si_arch): Define new macro.
16522         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16523         _sigsys.
16524         (si_call_addr, si_syscall, si_arch): Define new macro.
16526 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
16528         [BZ #13717]
16529         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16530         Change to 2.4.21 where previously 2.4.1.
16531         * sysdeps/unix/sysv/linux/configure: Regenerated.
16532         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16533         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16534         Linux kernel version.
16535         (__ASSUME_STD_AUXV): Remove.
16536         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16537         kernel version.
16538         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16539         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16540         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16541         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16542         (__ASSUME_NETLINK_SUPPORT): Likewise.
16543         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16544         (__no_netlink_support): Remove conditional definition.
16545         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16546         Remove.
16547         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16548         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16549         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16550         (if_nameindex_ioctl): Remove.
16551         (if_nameindex_netlink): Do not handle __no_netlink_support.
16552         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16553         code.
16554         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16555         Remove conditional code.
16556         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16557         code.
16558         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16559         unconditional.
16560         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16561         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16562         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16563         Remove.
16564         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16565         [!__ASSUME_STD_AUXV]: Remove conditional code.
16566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16567         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16568         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16570         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16571         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16572         code.
16573         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16575         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16576         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16577         conditional code.
16578         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16580         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16581         code.
16582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16583         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16584         conditional code.
16585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16586         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16587         code unconditional.
16588         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16589         conditional code.
16590         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16591         unconditional.
16592         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16593         conditional code.
16594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16595         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16596         unconditional.
16597         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16598         conditional code.
16599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16600         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16601         code unconditional.
16602         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16603         conditional code.
16604         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16605         unconditional.
16606         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16607         conditional code.
16608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16609         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16610         code unconditional.
16611         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16612         conditional code.
16613         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16614         unconditional.
16615         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16616         conditional code.
16618 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
16620         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16621         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16622         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16623         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16624         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16625         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16626         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16627         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16628         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16629         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16630         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16631         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16632         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16633         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16634         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16635         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16636         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16637         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16638         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16639         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16640         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16641         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16642         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16644 2012-07-25  Florian Weimer  <fweimer@redhat.com>
16646         * Versions.def: Add GLIBC_2.17.
16647         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16648         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16649         Introduce __libc_secure_getenv.
16650         * stdlib/Versions (2.17): Add secure_getenv
16651         (GLIBC_PRIVATE): Add __libc_secure_getenv.
16652         * stdlib/secure-getenv.c: Rename __secure_getenv to
16653         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
16654         symbol __secure_getenv for GLIBC_2.0.
16655         * stdlib/tst-secure-getenv.c: New.
16656         * stdlib/Makefile (tests): Add testcase.
16657         * manual/startup.texi (Environment Access): Document
16658         secure_getenv.
16659         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16660         __libc_secure_getenv.
16661         * inet/ruserpass.c (ruserpass): Likewise.
16662         * malloc/mtrace.c (mtrace): Likewise.
16663         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16664         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16665         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16666         * sysdeps/posix/tempname.c: Likewise.  Evaluate
16667         HAVE_SECURE_GETENV.
16668         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16669         __secure_getenv to __libc_secure_getenv.
16670         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16672         Likewise.
16673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16674         Likewise.
16675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16677         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16683 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
16685         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16686         (struct La_i86_retval): Likewise.
16687         (struct La_x86_64_regs): Likewise.
16688         (struct La_x86_64_retval): Likewise.
16689         (struct La_x32_regs): Likewise.
16690         (struct La_x32_retval): Likewise.
16691         (struct La_ppc32_regs): Likewise.
16692         (struct La_ppc32_retval): Likewise.
16693         (struct La_ppc64_regs): Likewise.
16694         (struct La_ppc64_retval): Likewise.
16695         (struct La_sh_regs): Likewise.
16696         (struct La_sh_retval): Likewise.
16697         (struct La_s390_32_regs): Likewise.
16698         (struct La_s390_32_retval): Likewise.
16699         (struct La_s390_64_regs): Likewise.
16700         (struct La_s390_64_retval): Likewise.
16701         (struct La_sparc32_regs): Likewise.
16702         (struct La_sparc32_retval): Likewise.
16703         (struct La_sparc64_regs): Likewise.
16704         (struct La_sparc64_retval): Likewise.
16705         (struct audit_ifaces): Remove architecture-specific pltenter and
16706         pltexit members.
16707         * sysdeps/i386/ldsodefs.h: New file.
16708         * sysdeps/powerpc/ldsodefs.h: Likewise.
16709         * sysdeps/s390/ldsodefs.h: Likewise.
16710         * sysdeps/sh/ldsodefs.h: Likewise.
16711         * sysdeps/sparc/ldsodefs.h: Likewise.
16712         * sysdeps/x86_64/ldsodefs.h: Likewise.
16714 2012-07-25  Marek Polacek  <polacek@redhat.com>
16716         [BZ #6808]
16717         * math/libm-test.inc (yn_test): Add another test.
16718         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16719         to ERANGE when the result is +-Inf.
16720         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16721         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16722         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16723         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16725 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
16727         * conform/data/time.h-data (NULL): Use macro-constant.  Require
16728         equal to 0.
16729         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
16730         clock_t.
16731         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
16733 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
16735         * configure.in <sysdeps resolving>: Correct printing
16736         Implies_before.
16737         * configure: Regenerate.
16739 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
16741         * math/w_ilogb.c: Include <limits.h>.
16742         * math/w_ilogbl.c: Likewise.
16744 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16746         * manual/lang.texi (__va_copy): Document primarily as ISO C99
16747         va_copy.  Document allowing for unavailable va_copy only as
16748         pre-C99 compatibility.
16749         * manual/string.texi (Copying and Concatenation): Use va_copy
16750         instead of __va_copy in concat example.
16752 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
16754         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16755         (__sendto): Use create_address_port.  Initialize APORT and deallocate
16756         it if not null.
16758         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16759         with O_NOLINK passed to __file_name_lookup.
16761         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16762         with O_NOLINK passed to __file_name_lookup.
16764         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16765         negative N or less than NGIDS.
16767         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16768         type to string_t.  Set ERANGE as errno and return it if NAME is not big
16769         enough.  Use memcpy instead of strncpy.
16771 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16773         * elf/Makefile (check-data): Remove.
16774         (localplt.data): New vpath directive.
16775         ($(objpfx)check-localplt.out): Use localplt.data from vpath
16776         instead of $(check-data).
16777         * scripts/data/localplt-generic.data: Move to ...
16778         * sysdeps/generic/localplt.data: ... here.
16779         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16780         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16781         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16783         ... here.
16784         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16786         ... here.
16787         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16789         ... here.
16790         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16792         ... here.
16793         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16795         ... here.
16796         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16798         ... here.
16800 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16802         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16803         PPC32 and PPC64 files.
16804         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16805         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16807 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16809         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16810         __makecontext_ret to ...
16811         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16812         ... here and call exit if uc_link is NULL.  New file.
16813         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16814         __makecontext_ret.S.
16815         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16816         __makecontext_ret to ...
16817         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16818         ... here and call exit if uc_link is NULL.  New file.
16819         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16820         __makecontext_ret.S.
16822 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16824         * elf/elf.h (R_390_IRELATIVE): New definition.
16825         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16826         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
16827         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16828         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16829         (elf_machine_lazy_rel): Likewise.
16830         * sysdeps/s390/dl-irel.h: New file.
16831         * sysdeps/s390/s390-64/memcpy.S: New asm code.
16832         * sysdeps/s390/s390-64/memset.S: New asm code.
16833         * sysdeps/s390/s390-64/memcmp.S: New asm code.
16834         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16835         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16836         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16837         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16838         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16839         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16840         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16841         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16842         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16843         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16844         * sysdeps/s390/s390-32/memcpy.S: New asm code.
16845         * sysdeps/s390/s390-32/memset.S: New asm code.
16846         * sysdeps/s390/s390-32/memcmp.S: New asm code.
16848 2012-07-17  Marek Polacek  <polacek@redhat.com>
16850         [BZ #14349]
16851         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16852         * sysdeps/s390/s390-64/configure.in: Likewise.
16853         * sysdeps/sparc/configure.in: Likewise.
16854         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16855         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16856         * sysdeps/i386/configure.in: Likewise.
16857         * sysdeps/x86_64/configure.in: Likewise.
16858         * sysdeps/sh/configure.in: Likewise.
16859         * sysdeps/s390/s390-32/configure: Regenerated.
16860         * sysdeps/s390/s390-64/configure: Likewise.
16861         * sysdeps/x86_64/configure: Likewise.
16862         * sysdeps/sh/configure: Likewise.
16863         * sysdeps/powerpc/powerpc64/configure: Likewise.
16864         * sysdeps/powerpc/powerpc32/configure: Likewise.
16865         * sysdeps/sparc/configure: Likwise.
16866         * sysdeps/i386/configure: Likewise.
16868         * elf/dl-open.c: Comment fixes.
16870 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
16872         * Makefile [CXX] (check-data): Remove.
16873         [CXX] (c++-types.data): New vpath directive.
16874         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16875         vpath.  Do not allow for C++ type data being missing.
16876         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16877         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16878         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16879         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16880         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16881         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16882         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16884         ... here.
16885         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16887         ... here.
16888         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16890         ... here.
16891         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16893         ... here.
16894         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16896         ... here.
16897         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16899         ... here.
16900         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16902         ... here.
16903         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16906         * elf/tls-macros.h (TLS_LE): Move architecture-specific
16907         definitions to architecture-specific files.
16908         (TLS_IE): Likewise.
16909         (TLS_LD): Likewise.
16910         (TLS_GD): Likewise.
16911         * sysdeps/i386/tls-macros.h: New file.
16912         * sysdeps/powerpc/tls-macros.h: Likewise.
16913         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16914         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16915         * sysdeps/sh/tls-macros.h: Likewise.
16916         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16917         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16918         * sysdeps/x86_64/tls-macros.h: Likewise.
16920 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16922         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16923         zero value for regular exit case.
16925         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16926         (__start_context): Preserve zero value for regular exit case.
16928 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16929             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16931         * manual/setjmp.texi (setcontext): Clarify normal process
16932         termination when uc_link is the null pointer.
16933         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16934         exit call.
16936 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
16938         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16939         preprocessor.  Test for each exception mask separately.
16941 2012-07-16  Andreas Jaeger  <aj@suse.de>
16943         * po/ru.po: Update from translation team.
16945 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
16947         * conform/data/string.h-data (NULL): Use macro-constant.  Require
16948         equal to 0.
16949         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16950         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16951         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16952         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16953         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16955 2012-07-13  Andreas Jaeger  <aj@suse.de>
16957         * po/fr.po: Update from translation team.
16959 2012-07-12  Marek Polacek  <polacek@redhat.com>
16961         [BZ #14173]
16962         * math/libm-test.inc (yn_test): Add test for BZ #14173.
16963         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16964         loop condition.
16966 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
16968         [BZ #13717]
16969         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16970         Change to 2.4.1 where previously 2.4.0.
16971         * sysdeps/unix/sysv/linux/configure: Regenerated.
16972         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16973         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16974         version.
16975         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16976         (__ASSUME_AT_CLKTCK): Remove.
16977         (__ASSUME_AT_PAGESIZE): Likewise.
16978         (__ASSUME_AT_XID): Likewise.
16979         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16980         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16981         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16982         unconditionally.
16983         (HAVE_AUX_PAGESIZE): Likewise.
16984         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16985         [__ASSUME_AT_CLKTCK]: Make code unconditional.
16986         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16988 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
16990         [BZ #14307]
16991         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16992         the temporary buffer used to invoke __gethostbyname2_r,
16993         __gethostbyaddr_r and gethostbyname4_r to make room for struct
16994         host_data / struct gaih_addrtuple.
16995         * resolv/nss_dns/dns-host.c (global scope): Move definition of
16996         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16997         header file nss/nsswitch.h.
16998         * nss/nsswitch.h (global scope): Add definition of implementation
16999         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17000         resolv/nss_dns/dns-host.c).
17002 2012-07-11  Andreas Jaeger  <aj@suse.de>
17004         * po/fr.po: Update from translation team.
17006         * po/sv.po: Update from translation team
17007         * po/fr.po: Another update from translation team.
17009 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17011         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17012         for subnormals or multiply small sinh result by itself.
17013         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17016 2012-07-11  David S. Miller  <davem@davemloft.net>
17018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17020 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
17022         [BZ #14347]
17023         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17024         (INTERNAL_MARK): Shift it here.
17026 2012-07-10  Marek Polacek  <polacek@redhat.com>
17028         [BZ #14151]
17029         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
17030         libc_cv_asm_global_directive with .globl.
17031         * configure: Regenerated.
17032         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17033         with .globl.
17034         * sysdeps/i386/configure: Regenerated.
17035         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17036         with .globl.
17037         * sysdeps/x86_64/configure: Regenerated.
17038         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17039         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17040         * elf/tst-unique2mod2.c: Likewise.
17041         * elf/tst-unique2mod1.c: Likewise.
17042         * elf/tst-unique1mod2.c: Likewise.
17043         * elf/tst-unique1mod1.c: Likewise.
17044         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17045         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17046         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17047         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17048         * sysdeps/mach/sysdep.h: Likewise.
17049         * sysdeps/i386/sysdep.h: Likewise.
17050         * sysdeps/i386/i386-mcount.S: Likewise.
17051         * sysdeps/x86_64/_mcount.S: Likewise.
17052         * sysdeps/x86_64/sysdep.h: Likewise.
17053         * sysdeps/sh/_mcount.S: Likewise.
17054         * sysdeps/sh/sysdep.h: Likewise.
17055         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17056         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17057         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17058         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17059         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17060         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17061         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17062         * locale/localeinfo.h: Likewise.
17063         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17064         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17066 2012-07-09  Roland McGrath  <roland@hack.frob.com>
17068         [BZ #14336]
17069         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17070         system".
17071         * manual/message.texi (The Uniforum approach): Likewise.
17072         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17073         (glibc iconv Implementation): Likewise.
17075 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
17077         [BZ #14337]
17078         * math/s_clog.c (__clog): Avoid scaling a value down where that
17079         could result in underflow.
17080         * math/s_clog10.c (__clog10): Likewise.
17081         * math/s_clog10f.c (__clog10f): Likewise.
17082         * math/s_clog10l.c (__clog10l): Likewise.
17083         * math/s_clogf.c (__clogf): Likewise.
17084         * math/s_clogl.c (__clogl): Likewise.
17085         * math/libm-test.inc (clog_test): Add more tests.
17086         (clog10_test): Likewise.
17087         * sysdeps/i386/fpu/libm-test-ulps: Update.
17088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17090 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
17092         [BZ #14283]
17093         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17094         by 7 not 8 to examine high bit of fractional part.
17096         [BZ #14042]
17097         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17098         for call to __mcount_internal.
17099         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17100         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17101         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17103 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
17105         [BZ #14154]
17106         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17107         approximation for values within 0x1p-13f of an odd multiple of
17108         pi/4.
17109         * math/libm-test.inc (tan_test): Do not allow spurious underflow
17110         exception.  Add more tests.
17111         * sysdeps/i386/fpu/libm-test-ulps: Update.
17113         [BZ #6778]
17114         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17115         inputs and return -1 for them.  Do not check for +Inf in case not
17116         reachable for +Inf.
17117         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17118         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17119         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17120         and return -1 for them.  Do not check for +Inf in case not
17121         reachable for +Inf.
17122         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17123         define.
17124         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17125         and return -1 for them.  Do not check for +Inf in case not
17126         reachable for +Inf.
17127         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
17128         spurious underflow.
17129         * sysdeps/i386/fpu/libm-test-ulps: Update.
17130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17132 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
17134         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17136 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
17138         [BZ #14157]
17139         [BZ #14331]
17140         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17141         could result in spurious underflow.  Scale down values above
17142         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17143         * math/s_csqrtf.c (__csqrtf): Likewise.
17144         * math/s_csqrtl.c (__csqrtl): Likewise.
17145         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
17146         spurious underflow.
17147         * sysdeps/i386/fpu/libm-test-ulps: Update.
17148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17150 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17152         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17153         xopen-msg.sed.
17154         * catgets/xopen-msg.awk: New file.
17155         * catgets/xopen-msg.sed: Removed.
17157         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17158         po2text.sed.
17159         * intl/po2test.awk: New file.
17160         * intl/po2test.sed: Removed.
17162 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
17164         [BZ #14328]
17165         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17166         or multiply small sinh result by itself.
17167         * math/s_ctanf.c (__ctanf): Likewise.
17168         * math/s_ctanh.c (__ctanh): Likewise.
17169         * math/s_ctanhf.c (__ctanhf): Likewise.
17170         * math/s_ctanhl.c (__ctanhl): Likewise.
17171         * math/s_ctanl.c (__ctanl): Likewise.
17172         * math/libm-test.inc (ctan_test_tonearest): New function.
17173         (ctan_test_towardzero): Likewise.
17174         (ctan_test_downward): Likewise.
17175         (ctan_test_upward): Likewise.
17176         (ctanh_test_tonearest): Likewise.
17177         (ctanh_test_towardzero): Likewise.
17178         (ctanh_test_downward): Likewise.
17179         (ctanh_test_upward): Likewise.
17180         (main): Call these new functions.
17181         * sysdeps/i386/fpu/libm-test-ulps: Update.
17182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17184 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
17186         * .gitignore: Delete /ports entry.
17188 2012-07-03  Andreas Jaeger  <aj@suse.de>
17190         * po/bg.po: Update from translation team.
17191         * po/cs.po: Likewise.
17192         * po/de.po: Likewise.
17193         * po/hr.po: Likewise.
17194         * po/nl.pl: Likewise.
17195         * po/pl.po: Likewise.
17196         * po/vi.po: Likewise.
17198 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
17200         * Makeconfig [!+link] (+link-before-libc): New variable.
17201         [!+link] (+link-after-libc): Likewise.
17202         [!+link] (+link-tests): Likewise.
17203         [!+link] (+link): Define in terms of $(+link-before-libc) and
17204         $(+link-after-libc).
17205         [!+link-static] (+link-static-before-libc): New variable.
17206         [!+link-static] (+link-static-after-libc): Likewise.
17207         [!+link-static] (+link-static-tests): Likewise.
17208         [!+link-static] (+link-static): Define in terms of
17209         $(+link-static-before-libc) and $(+link-static-after-libc).
17210         [build-shared] (link-libc-before-gnulib): New variable.
17211         [build-shared] (link-libc-tests): Likewise.
17212         [build-shared] (link-libc): Define in terms of
17213         $(link-libc-before-gnulib).
17214         [!build-shared] (link-libc-tests): New variable.
17215         (link-libc-static-tests): New variable.
17216         [!gnulib] (gnulib-arch): New variable.
17217         [!gnulib] (gnulib-tests): Likewise.
17218         [!gnulib] (static-gnulib-arch): Likewise.
17219         [!gnulib] (static-gnulib-tests): Likewise.
17220         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
17221         Define with "=" instead of ":=".
17222         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
17223         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
17224         * Rules (binaries-all-notests): New variable.
17225         (binaries-all-tests): Likewise.
17226         (binaries-static-notests): Likewise.
17227         (binaries-static-tests): Likewise.
17228         (binaries-all): Define using $(binaries-all-notests) and
17229         $(binaries-all-tests).
17230         (binaries-static): Define using $(binaries-static-notests) and
17231         $(binaries-static-tests).
17232         (binaries-shared-tests): New variable.
17233         (binaries-shared-notests): Likewise.
17234         (binaries-shared): Remove variable.
17235         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17236         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17237         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17238         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17239         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17240         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17241         * elf/Makefile (sln-modules): New variable.
17242         (extra-objs): Add $(sln-modules:=.o).
17243         (ldconfig-modules): Add static-stubs.
17244         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17245         * elf/static-stubs.c: New file.
17247         [BZ #14283]
17248         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17249         by 7 not 8 to examine high bit of fractional part.  Use volatile
17250         variables when splitting into final array of floats if
17251         __FLT_EVAL_METHOD__ != 0.
17252         * math/libm-test.inc (cos_test): Add another test.
17253         (sin_test): Likewise.
17254         * sysdeps/i386/fpu/libm-test-ulps: Update.
17256         [BZ #14273]
17257         * math/libm-test.inc (cosh_test): Add more tests.
17259         * version.h (RELEASE): Set to "development".
17260         (VERSION): Set to "2.16.90".
17262 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
17264         * NEWS: Update copyright. Remove last-updated date.
17265         Mention math library bug fixes and timezone data changes.
17266         * README: Mention GNU/Hurd, x32, and HPPA support status.
17268 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
17270         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17272 2012-06-27  Andreas Jaeger  <aj@suse.de>
17274         * manual/contrib.texi (Contributors): Add Samuel Thibault.
17276 2012-06-25  Andreas Jaeger  <aj@suse.de>
17278         * sysdeps/s390/fpu/libm-test-ulps: Update.
17280 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
17281             Thomas Schwinge  <thomas@codesourcery.com>
17283         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17284         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17285         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17286         fanotify_mark.
17288 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
17290         * sysdeps/mach/start.c: Remove file.
17291         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17292         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17293         * sysdeps/sh/init-first.c: Likewise.
17295         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17296         registers for frame unwinding purposes, add CFI directives.
17297         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17298         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17299         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17300         Likewise.
17302         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17303         __fortify_fail returning.
17304         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17306         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17307         sysdeps/sh/____longjmp_chk.S.
17308         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17309         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17310         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17311         (gen-as-const-headers): Append sigaltstack-offsets.sym.
17313         * sysdeps/sh/abort-instr.h: New file.
17314         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17315         process in case exit returns.
17317         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17318         initialize the GOT register before use.
17320         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17321         calculation of ARGC > 4.
17323         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17324         meaningful names to some local labels.
17326 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17327             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17329         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17330         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17331         (__arch_compare_and_exchange_val_16_acq): Likewise.
17332         (__arch_compare_and_exchange_val_32_acq): Likewise.
17333         (atomic_exchange_and_add): Fix gUSA sequence.
17334         (atomic_add): Likewise.
17335         (atomic_add_negative): Likewise.
17336         (atomic_add_zero): Likewise.
17337         (atomic_bit_test_set): Likewise.
17339 2012-06-22  Andreas Schwab  <schwab@redhat.com>
17341         [BZ #13579]
17342         * include/link.h (struct link_map): Add l_free_initfini.
17343         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17344         l_initfini.
17345         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17346         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17347         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17348         set.
17350 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
17352         * configure.in: Use AC_LANG_SOURCE.
17353         * configure: Regenerate.
17355 2012-06-22  Roland McGrath  <roland@hack.frob.com>
17357         * configure.in (libc_cv_localstatedir): New substituted variable.
17358         * configure: Regenerated.
17359         * config.make.in (localstatedir): New variable, substituted from
17360         libc_cv_localstatedir.
17361         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17362         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17363         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17364         * sysdeps/gnu/configure: Regenerated.
17366 2012-06-21  Jeff Law  <law@redhat.com>
17368         [BZ #14277]
17369         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17370         free.  Simplify list management for _LIBC case.
17372 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
17374         [BZ #14273]
17375         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17376         Clear sign bit of 64-bit integer value before comparing against
17377         overflow value.
17379         * sysdeps/mach/configure: Regenerated.
17381 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
17383         [BZ #14278]
17384         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17386 2012-06-21  Jeff Law  <law@redhat.com>
17388         [BZ #13882]
17389         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
17390         uint16_t for elements in the "seen" array to avoid char overflows.
17391         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17392         * elf/dl-open.c (dl_open_worker): Likewise.
17394 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
17396         * scripts/list-sources.sh: Scan PORTS for translations.
17397         * po/libc.pot: Regenerated.
17399 2012-06-21  Andreas Jaeger  <aj@suse.de>
17401         [BZ #12194]
17402         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17403         warning.
17404         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17405         * bits/byteswap-16.h (__bswap_16): Likewise.
17406         * bits/byteswap.h (__bswap_constant_16): Likewise.
17408 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
17410         [BZ #14117]
17411         * sysdeps/i386/fpu_control.h: Removed.
17412         * sysdeps/x86_64/fpu_control.h: Moved to ...
17413         * sysdeps/x86/fpu_control.h: Here.
17415         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17416         (_FPU_SETCW): Likewise.
17418 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
17420         [BZ #14117]
17421         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17422         * sysdeps/x86/fpu/bits/mathinline.h: This.
17423         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17425         [BZ #14050]
17426         [BZ #14117]
17427         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17428         functions if __x86_64__ is defined.
17430 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
17432         * string/endian.h: Add !__ASSEMBLER__ condition for including
17433         conversion interfaces.
17435 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
17437         [BZ #14241]
17438         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17439         of ABS(x) in calculating zero to negative powers other than odd
17440         integers.
17441         * math/libm-test.inc (pow_test): Add more tests.
17443 2012-06-15  Andreas Jaeger  <aj@suse.de>
17445         * manual/contrib.texi (Contributors): Update entry of Liubov
17446         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17447         Machado Filho.
17449 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
17451         * string/string.h: Add __wur to GNU version of strerror_r.
17453 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
17455         [BZ #14229]
17456         * string/Makefile (tests): Add tst-strtok_r.
17457         * string/tst-strtok_r.c: New file.
17458         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17459         RAX_LP/RDX_LP on SAVE_PTR.
17461 2012-06-14  Roland McGrath  <roland@hack.frob.com>
17463         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17465 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
17467         * libm_test.inc (csqrt_test): Allow more spurious underflow
17468         exceptions.
17469         (j0_test): Likewise.
17470         (j1_test): Likewise.
17471         (y0_test): Likewise.
17472         (y1_test): Likewise.
17474 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
17476         * po/Makefile (libc.pot): Use UTF-8 charset.
17478 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
17480         [BZ #14210]
17481         Suppress sign-conversion warning from FD_SET.
17482         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17483         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17484         not unsigned long int.
17485         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17487 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
17489         [BZ #14050]
17490         [BZ #14117]
17491         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17492         __extern_always_inline instead of __extern_inline.
17493         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17494         (__signbit): Likewise.
17495         (__signbitl): Support C++ namespace.
17496         (lrintf): New inline function.
17497         (lrint): Likewise.
17498         (llrintf): Likewise.
17499         (llrint): Likewise.
17500         (fmaxf): Likewise.
17501         (fmax): Likewise.
17502         (fminf): Likewise.
17503         (fmin): Likewise.
17504         (rint): Likewise.
17505         (rintf): Likewise.
17506         (ceil): Likewise.
17507         (ceilf): Likewise.
17508         (floor): Likewise.
17509         (floorf): Likewise.
17510         (nearbyint): Likewise.
17511         (nearbyintf): Likewise.
17513 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
17515         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17516         non-default versions.
17518 2012-06-11  Roland McGrath  <roland@hack.frob.com>
17520         [BZ #14218]
17521         * manual/argp.texi (Argp): Reword argp_parse description slightly.
17523 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
17525         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17526         (FE_UPWARD, FE_DOWNWARD): Don't define.
17527         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17528         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17530         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17531         reading it.
17532         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17533         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17535 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17537         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17538         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17539         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17540         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17542 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
17544         [BZ #14117]
17545         * sysdeps/i386/fpu/bits/fenv.h: Removed.
17546         * sysdeps/i386/fpu/Implies: New file.
17547         * sysdeps/x86_64/fpu/Implies: Likewise.
17548         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17549         * sysdeps/x86/fpu/bits/fenv.h: This.
17551         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17552         __SSE_MATH__.
17554 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17556         [BZ #14134]
17557         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17558         character 0xffff that matches the last element of the
17559         conversion table.
17561 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17563         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17564         fmodl commit.
17566 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17568         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17569         values higher than 25.6283.
17571 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17573         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17574         subnormal exponent extraction and add some __builtin_expect.
17575         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17576         Fix for subnormal mantissa calculation.
17578 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
17580         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17581         cpu2 is -1 and errno is not ENOSYS.
17583 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
17585         [BZ #14117]
17586         * sysdeps/i386/i486/bits/string.h: Renamed to ...
17587         * sysdeps/x86/bits/string.h: This.
17588         * sysdeps/x86_64/bits/string.h: Removed.
17590         * sysdeps/i386/i486/bits/string.h: Define inline functions only
17591         if not compiling for x86-64, but compiling for >= i486.
17593         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17594         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17596         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17597         New macro from Linux kernel 3.4.0.
17598         (FP_XSTATE_MAGIC2): Likewise.
17599         (FP_XSTATE_MAGIC2_SIZE): Likewise.
17600         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17601         (struct _fpx_sw_bytes): New struct.
17602         (struct _xsave_hdr): Likewise.
17603         (struct _ymmh_state): Likewise.
17604         (struct _xstate): Likewise.
17606         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17607         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17608         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17609         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17610         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17611         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17613         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17614         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17615         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17616         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17617         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17618         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17620 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17622         [BZ #13743]
17623         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17624         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17625         (sysdep_headers): Include sys/platform/ppc.h.
17626         * sysdeps/powerpc/test-gettimebase.c: Test for
17627         __ppc_get_timebase() to catch future ISA opcode/insn changes.
17628         * manual/Makefile (appendices): Include platform.texi.
17629         * manual/contrib.texi (Contributors): Update @node pointers.
17630         * manual/maint.texi (Maintenance): Likewise.
17631         (Platform): New node.
17632         * manual/platform.texi: New file.  Document the new features.
17634 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17635             Jakub Jelinek  <jakub@redhat.com>
17637         [BZ #14188]
17638         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17639         where __builtin_expect is unavailable.
17641 2012-06-03  David S. Miller  <davem@davemloft.net>
17643         * stdlib/longlong.h: Updated from GCC.
17645 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
17647         [BZ #14042]
17648         * sysdeps/powerpc/powerpc32/mcount.c: New file.
17649         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17650         __mcount_internal.
17651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17652         (GLIBC_2.16): Likewise.
17654 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17656         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17658 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17661         (default-abi): New variable.
17662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17663         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17664         variable.
17665         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17666         Likewise.
17667         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17668         Likewise.
17669         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17670         Likewise.
17672         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17673         definition.  Document in comment.
17675 2012-06-01  David S. Miller  <davem@davemloft.net>
17677         * stdlib/longlong.h: Updated from GCC.
17679 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17681         [BZ #14117]
17682         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17683         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17684         sys/debugreg.h sys/io.h here.
17685         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17686         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17687         sys/io.h.
17688         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17689         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17690         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17691         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17692         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17693         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17695         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17696         Define only if __x86_64__ is defined.
17698 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17700         [BZ #14048]
17701         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17702         Use int64_t for variable i.
17703         * math/libm-test.inc (fmod_test): Add more tests.
17705         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17706         z computation is not scheduled after fetestexcept.
17707         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17708         Use math_force_eval instead of asm to ensure calculation scheduled
17709         before exception test.
17710         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17711         Ensure a1 + u.d computation is not scheduled after fetestexcept.
17713 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
17715         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17716         computation is not scheduled after fetestexcept.
17718 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17720         [BZ #14117]
17721         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17722         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17724 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17726         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17727         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17729 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17731         [BZ #14117]
17732         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17733         <bits/wordsize.h>.
17734         (__WCHAR_MIN): Support __WORDSIZE == 64.
17735         (__WCHAR_MAX): Likewise.
17737         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17738         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17740         [BZ #14183]
17741         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17742         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17744         [BZ #14117]
17745         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17746         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17748         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17749         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17751         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17752         Defined to 1 if __x86_64__ isn't defined.
17753         (_STAT_VER_LINUX_OLD): New.
17754         (st_atime): Remove duplicate.
17755         (st_mtime): Likewise.
17756         (st_ctime): Likewise.
17758 2012-05-31  David S. Miller  <davem@davemloft.net>
17760         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17761         entries.
17763 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
17765         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17766         gen-libm-test.pl.
17768         [BZ #14132]
17769         * elf/dl-reloc.c: Include <_itoa.h>.
17770         (_dl_reloc_bad_type): Remove use of INTUSE.
17771         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17772         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17773         * stdio-common/psiginfo.c (psiginfo): Likewise.
17774         * stdio-common/psignal.c (psignal): Likewise.
17775         * string/strsignal.c (strsignal): Likewise.
17776         * include/signal.h (_sys_siglist): Declare hidden proto.
17777         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
17778         INTVARDEF with libc_hidden_data_def.
17779         * stdio-common/itoa-udigits.c: Likewise.
17780         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17781         (_itoa_lower_digits_internal): Remove declaration.
17782         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17783         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17784         (_sys_sigabbrev_internal): Remove aliases.
17785         (_sys_siglist): Define hidden alias.
17787 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
17789         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17790         bits/sysctl.h.
17792 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17794         [BZ #14117]
17795         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17796         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17798         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17799         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17800         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17801         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17802         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17803         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17805         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17806         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17807         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17809         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17810         with __addr.
17811         (insw): Likewise.
17812         (insl): Likewise.
17813         (outsb): Likewise.
17814         (outsw): Likewise.
17815         (outsl): Likewise.
17817         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17818         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17819         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17821         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17822         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17823         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17824         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17825         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17826         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17828         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17829         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17831         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17832         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17834         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17835         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17836         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17838         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17839         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17840         to ...
17841         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17843         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17844         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17845         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17847         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17848         for x86-64.
17849         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17851 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
17853         * math/math.h (M_El): Use two more decimal places.
17854         (M_LOG2El): Likewise.
17855         (M_LOG10El): Likewise.
17856         (M_LN2l): Likewise.
17857         (M_LN10l): Likewise.
17858         (M_PIl): Likewise.
17859         (M_PI_2l): Likewise.
17860         (M_PI_4l): Likewise.
17861         (M_1_PIl): Likewise.
17862         (M_2_PIl): Likewise.
17863         (M_2_SQRTPIl): Likewise.
17864         (M_SQRT2l): Likewise.
17865         (M_SQRT1_2l): Likewise.
17867 2012-05-31  David S. Miller  <davem@davemloft.net>
17869         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17870         values between float registers.
17871         * sysdeps/sparc/sparc64/memset.S: Likewise.
17872         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17874 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
17876         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17877         -D_FORTIFY_SOURCE=1.
17878         (CPPFLAGS-tst-longjmp_chk.c): Define.
17879         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17880         (CPPFLAGS-tst-longjmp_chk2.c): Define.
17881         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17882         CFLAGS-tst-wchar-h.c.
17884 2012-05-31  Marek Polacek  <polacek@redhat.com>
17886         [BZ #14132]
17887         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17888         __endmntent_internal): Remove declaration.
17889         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17890         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17891         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17893 2012-05-30  David S. Miller  <davem@davemloft.net>
17895         * sysdeps/sparc/sparc32/soft-fp/q_util.c
17896         (___Q_simulate_exceptions): Use real FP ops rather than writing
17897         into the %fsr.
17898         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17899         Likewise.
17901 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17903         [BZ #14117]
17904         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17905         * sysdeps/x86/bits/xtitypes.h: This.
17907         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17908         * sysdeps/x86/bits/wordsize.h: This.
17910         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17911         * sysdeps/x86/bits/huge_vall.h: This.
17913         * sysdeps/i386/bits/select.h: Removed.
17914         * sysdeps/x86_64/bits/select.h: Renamed to ...
17915         * sysdeps/x86/bits/select.h: This.
17917         * sysdeps/i386/bits/setjmp.h: Removed.
17918         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17919         * sysdeps/x86/bits/setjmp.h: This.
17921         * sysdeps/i386/bits/mathdef.h: Removed.
17922         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17923         * sysdeps/x86/bits/mathdef.h: This.
17925 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
17927         [BZ #14132]
17928         * include/sys/socket.h (__connect_internal)
17929         (__libc_sa_len_internal): Remove declaration.
17930         (__connect, __libc_sa_len): Declare hidden_proto.
17931         (SA_LEN): Remove use of INTUSE.
17932         * socket/connect.c: Add libc_hidden_def.
17933         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17934         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17935         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17936         alias.
17937         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17938         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17939         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17940         of adding _internal alias.
17942 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17944         [BZ #14117]
17945         * sysdeps/i386/bits/link.h: Removed.
17946         * sysdeps/i386/bits/linkmap.h: Likewise.
17947         * sysdeps/x86_64/bits/link.h: Renamed to ...
17948         * sysdeps/x86/bits/link.h: This.
17949         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17950         * sysdeps/x86/bits/linkmap.h: This.
17952         * sysdeps/i386/bits/endian.h: Removed.
17953         * sysdeps/x86_64/bits/endian.h: Renamed to ...
17954         * sysdeps/x86/bits/endian.h: This.
17956         * sysdeps/i386/bits/byteswap.h: Removed.
17957         * sysdeps/i386/bits/byteswap-16.h: Likewise.
17958         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17959         * sysdeps/x86/bits/byteswap.h: This.
17960         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17961         * sysdeps/x86/bits/byteswap-16.h: This.
17962         * sysdeps/i386/Implies: Add x86.
17963         * sysdeps/x86_64/Implies: Likewise.
17965 2012-05-30  David S. Miller  <davem@davemloft.net>
17967         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17968         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17969         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17970         (FP_TRAPPING_EXCEPTIONS): Define.
17971         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17972         (FP_TRAPPING_EXCEPTIONS): Define.
17973         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17974         subnormals only when inexact has been signalled or underflow
17975         exceptions are enabled.
17976         (_FP_PACK_CANONICAL): Likewise.
17978 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17980         [BZ #14183]
17981         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17982         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17984 2012-05-30  Richard Henderson  <rth@twiddle.net>
17986         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17987         with #ifndef NOT_IN_libc.
17989         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
17990         marked to avoid plt entry.
17992 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17994         [BZ #14112]
17995         * Makeconfig (default-abi): New macro.
17996         (abi-includes): Likewise.
17997         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
17998         $(abi-$(default-abi)-lib-soname) for soname if defined.
17999         ($(common-objpfx)gnu/lib-names.stmp): Generate from
18000         abi-variants.
18001         * Makefile (installed-stubs): Likewise.
18002         * include/stubs-biarch.h: Removed.
18003         * scripts/lib-names.awk: Only handle one library at a time.
18004         * scripts/soversions.awk: Remove WORDSIZE support.
18005         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18006         entries.
18007         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18008         Removed.
18009         (syscall-list-default-condition): Likewise.
18010         (syscall-list-default-condition): Likewise.
18011         (syscall-list-includes): Likewise.
18012         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18013         syscall-list-* with abi-*.  Handle undefined abi-variants.
18014         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18015         * sysdeps/unix/sysv/linux/i386/Implies: New file.
18016         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18017         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18018         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18019         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18020         Removed.
18021         (syscall-list-32-options): Likewise.
18022         (syscall-list-32-condition): Likewise.
18023         (syscall-list-64-options): Likewise.
18024         (syscall-list-64-condition): Likewise.
18025         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18026         macro.
18027         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18028         Renamed to ...
18029         (abi-*): This.
18030         (abi-64-ld-soname): New macro.
18031         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18032         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18033         Renamed to ...
18034         (abi-*): This.
18035         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18036         * sysdeps/x86_64/x32/shlib-versions: Likewise.
18038 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
18040         * sysdeps/unix/sysv/linux/kernel-features.h
18041         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18042         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18043         include <kernel-features.h>.
18044         [!__NR_ftruncate64]: Remove conditional code.
18045         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18046         [__NR_ftruncate64]: Make code unconditional.
18047         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18048         * sysdeps/unix/sysv/linux/truncate64.c: Do not
18049         include <kernel-features.h>.
18050         [!__NR_ftruncate64]: Remove conditional code.
18051         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18052         [__NR_ftruncate64]: Make code unconditional.
18053         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18055         include <kernel-features.h>.
18056         [!__NR_ftruncate64]: Remove conditional code.
18057         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18058         [__NR_ftruncate64]: Make code unconditional.
18059         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18061         include <kernel-features.h>.
18062         [!__NR_ftruncate64]: Remove conditional code.
18063         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18064         [__NR_ftruncate64]: Make code unconditional.
18065         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18067         * configure.in (libc_cv_fpie): Weaken to a compile test using
18068         LIBC_TRY_CC_OPTION.
18069         * configure: Regenerated.
18071 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18077         Refreshed.
18078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18084         Refreshed.
18086 2012-05-27  David S. Miller  <davem@davemloft.net>
18088         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18089         (___Q_zero): New.
18090         (__Q_simulate_exceptions): Return void.  Change to simulate
18091         exceptions by writing into the %fsr.
18092         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18093         (__Qp_handle_exceptions): Likewise.
18094         (numbers): Delete.
18095         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18096         __Qp_handle_exceptions.
18097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18098         __Qp_handle_exceptions.
18099         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18100         as unused and give dummy FP_RND_NEAREST initializer.
18101         (FP_INHIBIT_RESULTS): Define.
18102         (___Q_simulate_exceptions): Update declaration.
18103         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18104         formatting.
18105         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18106         as unused and give dummy FP_RND_NEAREST initializer.
18107         (__Qp_handle_exceptions): Update declaration.
18108         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18109         formatting.
18111 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
18113         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18114         the temporary FPU control word.
18115         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18116         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18117         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18118         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18119         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18120         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18121         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18122         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18123         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18124         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18125         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18127 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18129         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18130         fields.
18132 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
18134         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18135         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18136         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18137         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18138         Likewise.
18139         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18140         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18141         Likewise.
18143 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
18145         * po/h.po: Update from translation team.
18147 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
18149         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18151         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18152         handling of denormals.
18153         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18154         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18155         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18156         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18157         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18158         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18159         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18160         Likewise.
18162 2012-05-26  Marek Polacek  <polacek@redhat.com>
18164         [BZ #14152]
18165         * math/libm-test.inc (fma_test): Don't always expect underflow
18166         exception.
18168 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18170         [BZ #12416]
18171         * elf/tst-execstack.c: Include stackinfo.h.
18172         (do_test): Adjust test case to ensure that pthread_getattr_np
18173         behaviour remains the same after marking stack executable.
18175 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
18177         * sysdeps/unix/sysv/linux/kernel-features.h
18178         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18179         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18180         kernel-features.h.
18181         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18182         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18183         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18184         kernel-features.h.
18185         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18186         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18188 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
18190         * configure.in: Define the default includes to being none.
18191         * configure: Regenerated.
18193 2012-05-25  Roland McGrath  <roland@hack.frob.com>
18195         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18196         * sysdeps/x86_64/setjmp.S: Likewise.
18197         * sysdeps/i386/bsd-setjmp.S: Likewise.
18198         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18199         * sysdeps/i386/setjmp.S: Likewise.
18200         * sysdeps/i386/__longjmp.S: Likewise.
18201         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18202         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18204         * include/stap-probe.h: New file.
18205         * configure.in: Handle --enable-systemtap.
18206         * configure: Regenerated.
18207         * config.h.in (USE_STAP_PROBE): New #undef.
18208         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18209         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18210         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18212 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
18214         [BZ #13717]
18215         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18216         to 2.4.0 where earlier.
18217         * sysdeps/unix/sysv/linux/configure: Regenerated.
18218         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18219         <kernel-features.h>.
18220         [__ASSUME_32BITUIDS]: Make code unconditional.
18221         [!__ASSUME_32BITUIDS]: Remove conditional code.
18222         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18223         <kernel-features.h>.
18224         [__ASSUME_32BITUIDS]: Make code unconditional.
18225         [!__ASSUME_32BITUIDS]: Remove conditional code.
18226         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18227         [__ASSUME_32BITUIDS]: Make code unconditional.
18228         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18229         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18230         <kernel-features.h>.
18231         [__ASSUME_32BITUIDS]: Make code unconditional.
18232         [!__ASSUME_32BITUIDS]: Remove conditional code.
18233         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18234         <kernel-features.h>.
18235         [__ASSUME_32BITUIDS]: Make code unconditional.
18236         [!__ASSUME_32BITUIDS]: Remove conditional code.
18237         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18238         <kernel-features.h>.
18239         [__ASSUME_32BITUIDS]: Make code unconditional.
18240         [!__ASSUME_32BITUIDS]: Remove conditional code.
18241         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18242         <kernel-features.h>.
18243         [__ASSUME_32BITUIDS]: Make code unconditional.
18244         [!__ASSUME_32BITUIDS]: Remove conditional code.
18245         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18246         <kernel-features.h>.
18247         [__ASSUME_32BITUIDS]: Make code unconditional.
18248         [!__ASSUME_32BITUIDS]: Remove conditional code.
18249         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18250         <kernel-features.h>.
18251         [__ASSUME_32BITUIDS]: Make code unconditional.
18252         [!__ASSUME_32BITUIDS]: Remove conditional code.
18253         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18254         <kernel-features.h>.
18255         [__ASSUME_32BITUIDS]: Make code unconditional.
18256         [!__ASSUME_32BITUIDS]: Remove conditional code.
18257         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18258         <kernel-features.h>.
18259         [__ASSUME_32BITUIDS]: Make code unconditional.
18260         [!__ASSUME_32BITUIDS]: Remove conditional code.
18261         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18262         <kernel-features.h>.
18263         [__ASSUME_32BITUIDS]: Make code unconditional.
18264         [!__ASSUME_32BITUIDS]: Remove conditional code.
18265         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18266         <kernel-features.h>.
18267         [__ASSUME_32BITUIDS]: Make code unconditional.
18268         [!__ASSUME_32BITUIDS]: Remove conditional code.
18269         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18270         <kernel-features.h>.
18271         [__NR_setresgid] (__setresgid): Do not declare.
18272         [__ASSUME_32BITUIDS]: Make code unconditional.
18273         [!__ASSUME_32BITUIDS]: Remove conditional code.
18274         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18275         <kernel-features.h>.
18276         [__NR_setresuid] (__setresuid): Do not declare.
18277         [__ASSUME_32BITUIDS]: Make code unconditional.
18278         [!__ASSUME_32BITUIDS]: Remove conditional code.
18279         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
18320         (__ASSUME_SETRESUID_SYSCALL): Remove.
18321         (__ASSUME_SETRESGID_SYSCALL): Likewise.
18322         (__ASSUME_32BITUIDS): Likewise.
18323         (__ASSUME_LDT_WORKS): Likewise.
18324         (__ASSUME_O_DIRECTORY): Likewise.
18325         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18326         architecture but not kernel version.
18327         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18328         (__ASSUME_MMAP2_SYSCALL): Likewise.
18329         (__ASSUME_STAT64_SYSCALL): Likewise.
18330         (__ASSUME_IPC64): Likewise.
18331         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18332         <kernel-features.h>.
18333         [__ASSUME_32BITUIDS]: Make code unconditional.
18334         [!__ASSUME_32BITUIDS]: Remove conditional code.
18335         * sysdeps/unix/sysv/linux/opendir.c: Do not include
18336         <kernel-features.h>.
18337         [__ASSUME_O_DIRECTORY]: Make code unconditional.
18338         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18339         132096]: Remove conditional code.
18340         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18341         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
18350         <kernel-features.h>.
18351         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18352         unconditional.
18353         (__setresgid): Do not declare.
18354         [__ASSUME_32BITUIDS]: Make code unconditional.
18355         [!__ASSUME_32BITUIDS]: Remove conditional code.
18356         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18357         <kernel-features.h>.
18358         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18359         unconditional.
18360         (__setresuid): Do not declare.
18361         [__ASSUME_32BITUIDS]: Make code unconditional.
18362         [!__ASSUME_32BITUIDS]: Remove conditional code.
18363         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18364         <kernel-features.h>.
18365         [__ASSUME_32BITUIDS]: Make code unconditional.
18366         [!__ASSUME_32BITUIDS]: Remove conditional code.
18367         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18368         <kernel-features.h>.
18369         [__ASSUME_32BITUIDS]: Make code unconditional.
18370         [!__ASSUME_32BITUIDS]: Remove conditional code.
18372 2012-05-25  Richard Henderson  <rth@twiddle.net>
18374         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18375         dl_hwcap to ifunc resolver.
18376         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18377         elf_ifunc_invoke.
18378         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18379         dl_hwcap to ifunc resolver.
18380         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18382 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18384         [BZ #14153]
18385         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18386         for |x| <= 2**-26, not 2**-57.
18387         * math/libm-test.inc (acos_test): Do not allow spurious underflow
18388         exception.
18390 2012-05-24  Jeff Law  <law@redhat.com>
18392         * stdio-common/Makefile (tests): Add bug25.
18393         * stdio-common/bug25.c: New test.
18395 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18397         [BZ #13576]
18398         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18399         multiple of MALLOC_ALIGNMENT in size.
18400         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18402 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18404         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18405         Require >= 256.
18406         (FILENAME_MAX): Use macro-int-constant.
18407         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
18408         (_IOFBF): Use macro-int-constant.
18409         (_IOLBF): Likewise.
18410         (_IONBF): Likewise.
18411         (SEEK_CUR): Likewise.
18412         (SEEK_END): Likewise.
18413         (SEEK_SET): Likewise.
18414         (TMP_MAX): Likewise.
18415         (EOF): Use macro-int-constant.  Require < 0.
18416         (NULL): Use macro-constant.  Require == 0.
18417         (stdin): Require type to be FILE *.
18418         (stdout): Likewise.
18419         (stderr): Likewise.
18420         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18421         macro-int-constant.
18422         (EXIT_SUCCESS): Likewise.
18423         (NULL): Use macro-constant.  Require == 0.
18424         (RAND_MAX): Use macro-int-constant.
18425         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18426         [C99-based standards] (strtof): Require function.
18427         [C99-based standards] (strtold): Likewise.
18428         [C99-based standards] (strtoll): Likewise.
18429         [C99-based standards] (strtoull): Likewise.
18430         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18431         [ISO || ISO99 || ISO11] (limits.h): Likewise.
18432         [ISO || ISO99 || ISO11] (math.h): Likewise.
18433         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18434         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18435         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18437 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
18439         [BZ #14132]
18440         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18441         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18442         * intl/dgettext.c (DCGETTEXT): Likewise.
18443         * intl/gettext.c (DCGETTEXT): Likewise.
18444         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18445         * posix/regex_internal.h (gettext): Likewise.
18446         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18447         Remove declaration.
18448         * include/argz.h (__argz_count_internal)
18449         (__argz_stringify_internal): Remove declaration.
18450         (__argz_count, __argz_stringify): Declare hidden proto.
18451         * intl/dcgettext.c: Remove use of INTDEF.
18452         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18453         * string/argz-stringify.c: Likewise.
18454         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18455         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18456         Declare hidden proto.
18457         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18458         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18459         Declare hidden proto.
18460         * include/stdio.h (__asprintf_internal): Don't declare.
18461         (__asprintf): Don't define as macro.  Declare hidden proto.
18462         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18463         (__fsetlocking): Declare hidden proto.
18464         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18465         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18466         hidden proto.
18467         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18468         (_IO_setlinebuf): Remove use of INTUSE.
18469         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18470         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18471         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18472         Remove declaration.
18473         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18474         (_IO_do_flush): Remove use of INTUSE.
18475         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18476         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18477         (_IO_adjust_column, _IO_least_wmarker)
18478         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18479         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18480         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18481         (_IO_default_doallocate, _IO_wdefault_doallocate)
18482         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18483         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18484         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18485         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18486         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18487         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18488         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18489         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18490         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18491         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18492         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18493         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18494         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18495         proto.
18496         (_IO_flush_all_internal, _IO_adjust_column_internal)
18497         (_IO_default_uflow_internal, _IO_default_finish_internal)
18498         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18499         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18500         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18501         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18502         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18503         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18504         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18505         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18506         (_IO_file_close_internal, _IO_file_close_it_internal)
18507         (_IO_file_underflow_internal, _IO_file_overflow_internal)
18508         (_IO_file_init_internal, _IO_file_attach_internal)
18509         (_IO_file_fopen_internal, _IO_file_read_internal)
18510         (_IO_file_sync_internal, _IO_file_seek_internal)
18511         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18512         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18513         (_IO_str_underflow_internal, _IO_str_overflow_internal)
18514         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18515         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18516         (_IO_list_all_internal, _IO_link_in_internal)
18517         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18518         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18519         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18520         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18521         (_IO_do_write_internal, _IO_padn_internal)
18522         (_IO_getline_info_internal, _IO_getline_internal)
18523         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18524         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18525         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18526         (_IO_vfscanf_internal, _IO_vfprintf_internal)
18527         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18528         (_IO_init_internal, _IO_un_link_internal): Don't declare.
18529         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18530         with libc_hidden_ver, remove use of INTUSE.
18531         * libio/genops.c: Likewise.
18532         * libio/freopen.c: Likewise.
18533         * libio/freopen64.c: Likewise.
18534         * libio/iofclose.c: Likewise.
18535         * libio/iofdopen.c: Likewise.
18536         * libio/iofflush.c: Likewise.
18537         * libio/iofflush_u.c: Likewise.
18538         * libio/iofgets.c: Likewise.
18539         * libio/iofgets_u.c: Likewise.
18540         * libio/iofopen.c: Likewise.
18541         * libio/iofopncook.c: Likewise.
18542         * libio/iofread.c: Likewise.
18543         * libio/iofread_u.c: Likewise.
18544         * libio/ioftell.c: Likewise.
18545         * libio/iofwrite.c: Likewise.
18546         * libio/iogetline.c: Likewise.
18547         * libio/iogets.c: Likewise.
18548         * libio/iogetwline.c: Likewise.
18549         * libio/iopadn.c: Likewise.
18550         * libio/iopopen.c: Likewise.
18551         * libio/ioseekoff.c: Likewise.
18552         * libio/ioseekpos.c: Likewise.
18553         * libio/iosetbuffer.c: Likewise.
18554         * libio/iosetvbuf.c: Likewise.
18555         * libio/ioungetc.c: Likewise.
18556         * libio/ioungetwc.c: Likewise.
18557         * libio/iovdprintf.c: Likewise.
18558         * libio/iovsprintf.c: Likewise.
18559         * libio/iovsscanf.c: Likewise.
18560         * libio/memstream.c: Likewise.
18561         * libio/obprintf.c: Likewise.
18562         * libio/oldfileops.c: Likewise.
18563         * libio/oldiofclose.c: Likewise.
18564         * libio/oldiofdopen.c: Likewise.
18565         * libio/oldiofopen.c: Likewise.
18566         * libio/oldiopopen.c: Likewise.
18567         * libio/oldstdfiles.c: Likewise.
18568         * libio/putc.c: Likewise.
18569         * libio/setbuf.c: Likewise.
18570         * libio/setlinebuf.c: Likewise.
18571         * libio/stdfiles.c: Likewise.
18572         * libio/strops.c: Likewise.
18573         * libio/vasprintf.c: Likewise.
18574         * libio/vscanf.c: Likewise.
18575         * libio/vsnprintf.c: Likewise.
18576         * libio/vswprintf.c: Likewise.
18577         * libio/wfiledoalloc.c: Likewise.
18578         * libio/wfileops.c: Likewise.
18579         * libio/wgenops.c: Likewise.
18580         * libio/wmemstream.c: Likewise.
18581         * libio/wstrops.c: Likewise.
18582         * libio/__fpurge.c: Likewise.
18583         * libio/__fsetlocking.c: Likewise.
18584         * assert/assert.c: Likewise.
18585         * debug/fgets_chk.c: Likewise.
18586         * debug/fgets_u_chk.c: Likewise.
18587         * debug/fread_chk.c: Likewise.
18588         * debug/fread_u_chk.c: Likewise.
18589         * debug/gets_chk.c: Likewise.
18590         * debug/obprintf_chk.c: Likewise.
18591         * debug/vasprintf_chk.c: Likewise.
18592         * debug/vdprintf_chk.c: Likewise.
18593         * debug/vsnprintf_chk.c: Likewise.
18594         * debug/vsprintf_chk.c: Likewise.
18595         * malloc/mtrace.c: Likewise.
18596         * misc/error.c: Likewise.
18597         * misc/syslog.c: Likewise.
18598         * stdio-common/asprintf.c: Likewise.
18599         * stdio-common/fxprintf.c: Likewise.
18600         * stdio-common/getw.c: Likewise.
18601         * stdio-common/isoc99_fscanf.c: Likewise.
18602         * stdio-common/isoc99_scanf.c: Likewise.
18603         * stdio-common/isoc99_vfscanf.c: Likewise.
18604         * stdio-common/isoc99_vscanf.c: Likewise.
18605         * stdio-common/isoc99_vsscanf.c: Likewise.
18606         * stdio-common/printf-prs.c: Likewise.
18607         * stdio-common/printf_fp.c: Likewise.
18608         * stdio-common/printf_fphex.c: Likewise.
18609         * stdio-common/printf_size.c: Likewise.
18610         * stdio-common/putw.c: Likewise.
18611         * stdio-common/scanf.c: Likewise.
18612         * stdio-common/sprintf.c: Likewise.
18613         * stdio-common/tmpfile.c: Likewise.
18614         * stdio-common/vfprintf.c: Likewise.
18615         * stdio-common/vfscanf.c: Likewise.
18616         * stdlib/strfmon_l.c: Likewise.
18617         * sunrpc/openchild.c: Likewise.
18618         * sunrpc/xdr_stdio.c: Likewise.
18619         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18620         * sysdeps/mach/hurd/tmpfile.c: Likewise.
18622 2012-05-24  Roland McGrath  <roland@hack.frob.com>
18624         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18626         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18627         in the third column, to generate for the shared library an IFUNC
18628         that uses _dl_vdso_vsym.
18629         * Makerules (COMPILE.c, compile-stdin.c): New variables.
18630         * Makeconfig (object-suffixes-noshared): New variable.
18632         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18633         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18634         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18635         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18637         [BZ #14132]
18638         * include/sys/time.h (__gettimeofday): Remove macro.
18639         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18640         * time/gettimeofday.c (__gettimeofday): Remove #undef.
18641         Remove INTDEF.
18642         (__gettimeofday): Add libc_hidden_def.
18643         (gettimeofday): Add libc_hidden_weak.
18644         * sysdeps/mach/gettimeofday.c: Likewise.
18645         * sysdeps/posix/gettimeofday.c: Likewise.
18646         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18647         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18648         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18649         (__gettimeofday_internal): Remove strong_alias.
18650         (__gettimeofday): Add libc_hidden_def.
18651         (gettimeofday): Add libc_hidden_weak.
18652         * sysdeps/unix/syscalls.list (gettimeofday):
18653         Remove __gettimeofday_internal alias.
18655 2012-05-24  Daniel Jacobowitz  <drow@false.org>
18656             H.J. Lu  <hongjiu.lu@intel.com>
18658         [BZ #12495]
18659         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18660         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18661         (largebin_index_32_big): New.
18662         (largebin_index): Use it for 16-byte alignment.
18663         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
18664         correction with front_misalign.
18666 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18670         Likewise.
18671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18672         Likewise.
18673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18674         Likewise.
18675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18676         Likewise.
18677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18678         Likewise.
18679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18680         Likewise.
18681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18682         Likewise.
18683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18684         Likewise.
18685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18686         Likewise.
18687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18688         Likewise.
18689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18690         Likewise.
18691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18692         Likewise.
18694         * scripts/data/c++-types-x32-linux-gnu.data: New file.
18695         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18697 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18699         [BZ #10846]
18700         [BZ #14036]
18701         * math/libm-test.inc (exp_test): Add test from bug 14036.
18702         (pow_test): Add test from bug 10846.
18704         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18705         and other flags.
18706         (special_function): Do not include flags in test name.
18707         (parse_args): Likewise.
18708         * sysdeps/i386/fpu/libm-test-ulps: Update.
18709         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18710         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18711         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18714         * math/gen-libm-test.pl (%beautify): Add entries for underflow
18715         exceptions.
18716         * math/libm-test.inc ("Philosophy"): Update comment about
18717         exception testing.
18718         (UNDERFLOW_EXCEPTION): New macro.
18719         (UNDERFLOW_EXCEPTION_OK): Likewise.
18720         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18721         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18722         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18723         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18724         (INVALID_EXCEPTION_OK): Update value.
18725         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18726         (OVERFLOW_EXCEPTION_OK): Likewise.
18727         (IGNORE_ZERO_INF_SIGN): Likewise.
18728         (test_exceptions): Handle underflow exceptions.
18729         (acos_test): Update for underflow exception expectations.
18730         (cexp_test): Likewise.
18731         (clog_test): Likewise.
18732         (clog10_test): Likewise.
18733         (csqrt_test): Likewise.
18734         (ctan_test): Likewise.
18735         (ctanh_test): Likewise.
18736         (exp_test): Likewise.
18737         (exp10_test): Likewise.
18738         (exp2_test): Likewise.
18739         (expm1_test): Likewise.
18740         (fma_test): Likewise.
18741         (j0_test): Likewise.
18742         (jn_test): Likewise.
18743         (nexttoward_test): Likewise.
18744         (pow_test): Likewise.
18745         (scalbn_test): Likewise.
18746         (scalbln_test): Likewise.
18747         (tan_test): Likewise.
18748         (y1_test): Likewise.
18749         * sysdeps/i386/fpu/libm-test-ulps: Update.
18750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18752 2012-05-23  David S. Miller  <davem@davemloft.net>
18754         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18755         (__libc_sigaction): Remove unused local variables.
18757 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18759         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18761 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
18763         mktime: avoid signed integer overflow
18764         * time/mktime.c (__mktime_internal): Do not mishandle the case
18765         where diff == INT_MIN.
18767         mktime: simplify computation of average
18768         * time/mktime.c (ranged_convert): Use new time_t_avg function
18769         instead of rolling our own (probably-slower) code.
18771         mktime: do not assume signed right shift propagates sign bit
18772         * time/mktime.c (isdst_differ): New static function.
18773         (__mktime_internal): No need to normalize tm_isdst now.
18774         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18775         tm_isdst values.
18777         mktime: merge another wrapv change from gnulib
18778         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18779         from some compilers.
18781         mktime: remove incorrect attempt at unusual arithmetics
18782         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18783         The code didn't really work on such machines anyway.
18784         (TYPE_MINIMUM): Assume two's complement.
18785         (twos_complement_arithmetic): Verify that long_int and time_t
18786         are two's complement (or unsigned, in the latter case).
18788         mktime: check signed shifts on long_int and time_t, too
18789         * time/mktime.c (SHR): Check that shifts work as desired
18790         on the types long_int and time_t too, as SHR is used on
18791         such types.
18793         mktime: do not assume 'long' is wide enough
18794         * time/mktime.c (verify): Move decl up.
18795         (long_int): New type.
18796         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18797         to remove assumption in the code that 'long' is wide enough to
18798         store year values.  This assumption is not true on x32 and on
18799         some non-glibc platforms.
18801         mktime: merge wrapv change from gnulib
18802         * time/mktime.c (WRAPV): New macro.
18803         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18804         (guess_time_tm, __mktime_internal): Do not assume that signed
18805         integer overflow wraps around; modern compilers generate code
18806         where this assumption is no longer valid.
18808 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18810         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18811         Replace "jmp L(pseudo_end)" with "ret".
18812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18813         Likewise.
18815 2012-05-23  Andreas Jaeger  <aj@suse.de>
18817         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18818         * sysdeps/unix/sysv/linux/poll.c: Remove file.
18820 2012-05-23  Andreas Jaeger  <aj@suse.de>
18821             Maximilian Attems  <max@stro.at>
18823         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18824         New macros.
18826 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18828         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18829         code so that pseudo_end is just ret and the stack pointer is
18830         correct also for static library in error case.
18832 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
18834         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18835         move to syscalls.list.
18836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18841         * manual/install.texi (Running make install): Do not mention Linux
18842         kernel version for which pt_chown is not needed.
18843         (Linux): Do not mention problems with nscd with 2.0 kernels.
18844         * INSTALL: Regenerated.
18846 2012-05-23  Andreas Jaeger  <aj@suse.de>
18848         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18849         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18850         macro.
18851         * sysdeps/unix/sysv/linux/s390/bits/mman.h
18852         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18853         * sysdeps/unix/sysv/linux/sh/bits/mman.h
18854         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18855         * sysdeps/unix/sysv/linux/i386/bits/mman.h
18856         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18857         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18858         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18859         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18860         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18861         * sysdeps/unix/sysv/linux/bits/in.h
18862         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18864 2012-05-22  Roland McGrath  <roland@hack.frob.com>
18866         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18867         (PREPARE_VERSION): Just use assert instead, it will be elided
18868         under [NDEBUG] anyway.
18870 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18872         * sysdeps/unix/sysv/linux/Makefile: Include
18873         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18874         (sysdep_routines): Remove sysctl.
18875         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18876         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18877         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18878         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18879         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18881 2012-05-22  Andreas Jaeger  <aj@suse.de>
18883         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18884         that pseudo_end is just ret and the stack pointer is correct also
18885         for static library in error case.
18887 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18889         [BZ #14122]
18890         * nss/nsswitch.c (defconfig_entries): New variable.
18891         (__nss_database_lookup): Don't leak defconfig entries.
18892         (nss_parse_service_list): Don't leak on error paths.
18893         (free_database_entries): New function.
18894         (free_defconfig): New function.
18895         (free_mem): Move common code to free_database_entries.
18897 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18899         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18900         Add arch_prctl.
18901         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18903         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18904         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18905         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18906         New macro.
18907         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18908         (INTERNAL_SYSCALL_TYPES): Likewise.
18909         (LOAD_ARGS_TYPES_[1-6]): Likewise.
18910         (LOAD_REGS_TYPES_[1-6]): Likewise.
18911         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18912         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18914 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18916         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18917         copysignl for GLIBC_2_0.
18918         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18919         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18920         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18921         logbl for GLIBC_2_0.
18922         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18923         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18925 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18927         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18928         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18930         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18931         Use "neg %eax".
18933         * time/mktime.c: Update copyright years.
18935 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18937         mktime: merge comment-quoting-style change from gnulib
18938         * time/mktime.c: Quote 'like this' in comments.
18939         The GNU coding standards suggest that we no longer quote `like this',
18940         as "`" and "'" are typically rendered asymmetrically nowadays.
18941         The typical gnulib style is to quote 'like this' when quoting
18942         code, and "like this" when quoting English.
18944         * time/mktime.c (compile-command): Add "-I.".
18946         mktime: merge mktime-internal.h change from gnulib
18947         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18949         mktime: merge time_r change from gnulib
18950         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18952         mktime: merge DEBUG change from gnulib
18953         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18954         case system <time.h> has a #define.
18956         mktime: merge <sys/types.h> change from gnulib
18957         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18958         since <time.t> is now guaranteed to define time_t.
18960         mktime: merge HAVE_CONFIG_H change from gnulib
18961         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18963 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18965         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18966         Use "neg %eax".
18968         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18969         __rlim_t cast.
18970         (struct rusage): Use anonymous union to pad each field to
18971         __syscall_slong_t.
18973 2012-05-21  David S. Miller  <davem@davemloft.net>
18975         * Makefules (o-iterator): Remove .s cases.
18976         (compile-command.s): Delete.
18977         (COMPILE.s): Delete.
18978         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18980 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
18982         * configure.in (libc_cv_predef_stack_protector): Only consider
18983         "foobar" and "__stack_chk_fail" lines in libc_undefs.
18984         * configure: Regenerated.
18986 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18988         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18989         New macro.  Use R*LP on int and pointer.
18990         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18991         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18992         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18993         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18995         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18996         [__WORDSIZE_TIME64_COMPAT32] instead of
18997         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18998         (struct utmp): Likewise.
18999         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19000         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19001         Renamed to ...
19002         (__WORDSIZE_TIME64_COMPAT32): This.
19003         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19004         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19005         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19006         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19007         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19008         (__WORDSIZE_TIME64_COMPAT32): New macro.
19010 2012-05-21  Andreas Jaeger  <aj@suse.de>
19012         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19013         only if [SHARED]. Add prototype for __wcschr_ia32.
19015 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19017         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19018         of %rbp unmolested in the jmp_buf while mangling the low bits.
19019         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19020         unmolested high bits of %rbp while demangling the low bits.
19021         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19023 2012-05-21  Andreas Jaeger  <aj@suse.de>
19025         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19026         * sunrpc/svc_simple.c: Use it for registerrpc.
19027         * sunrpc/xcrypt.c: Use it for passwd2des.
19029         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19031 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19033         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19034         Don't define if [__SYSCALL_WORDSIZE != 32].
19035         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19036         New macro.
19038 2012-05-21  Bruno Haible  <bruno@clisp.org>
19039             Andreas Jaeger  <aj@suse.de>
19041         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19042         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19043         inptr and inend for must_buffer_ch.
19044         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19045         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19046         * stdio-common/Makefile (tests): Remove bug15.
19047         (bug15-ENV): Remove macro.
19048         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19049         anymore.
19051 2012-05-19  Andreas Jaeger  <aj@suse.de>
19052             Roland McGrath  <roland@hack.frob.com>
19054         * manual/contrib.texi: Completely rewritten. It contains now an
19055         alphabetical list of contributors and their contributions.
19057 2012-05-21  Richard Henderson  <rth@twiddle.net>
19059         * misc/getauxval.c (__getauxval): Use unsigned long int.
19060         * misc/sys/auxv.h: Include <sys/cdefs.h>.
19061         (getauxval): Use unsigned long int.
19063 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19065         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19067 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19069         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19070         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19071         __alignof__ (long double).
19073 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19077 2012-05-20  Richard Henderson  <rth@twiddle.net>
19079         * misc/getauxval.c: New file.
19080         * misc/sys/auxv.h: New file.
19081         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19082         (routines): Add getauxval.
19083         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19084         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19085         * elf/dl-sysdep.c (_dl_auxv): Remove.
19086         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19087         * elf/dl-support.c (_dl_auxv): New variable.
19088         (_dl_aux_init): Initialize it.
19089         * manual/startup.texi (Auxiliary Vector): New node.
19090         * sysdeps/generic/bits/hwcap.h: New file.
19091         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19092         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
19093         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19094         * sysdeps/sparc/sysdep.h: ... here.  Include it.
19095         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19096         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19098         Update.
19099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19102         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19108 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19112 2012-05-19  David S. Miller  <davem@davemloft.net>
19114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19116 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
19118         [BZ #14123]
19119         * math/s_ccosh.c: Include <float.h>
19120         (__ccosh): Avoid internal overflow calculating sinh and cosh
19121         values before multiplying by sin and cos values.
19122         * math/s_ccoshf.c: Likewise.
19123         * math/s_ccoshl.c: Likewise.
19124         * math/s_csin.c: Likewise.
19125         * math/s_csinf.c: Likewise.
19126         * math/s_csinl.c: Likewise.
19127         * math/s_csinh.c: Likewise.
19128         * math/s_csinhf.c: Likewise.
19129         * math/s_csinhl.c: Likewise.
19130         * math/libm-test.inc (ccos_test): Add more tests.
19131         (ccosh_test): Likewise.
19132         (csin_test): Likewise.
19133         (csinh_test): Likewise.
19134         * sysdeps/i386/fpu/libm-test-ulps: Update.
19135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19137 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19139         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19140         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19142         * sysdeps/x86_64/x32/_itoa.h: Add comment.
19144 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
19146         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19147         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19148         * sysdeps/powerpc/soft-fp/Versions: Likewise.
19149         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19150         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19151         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19152         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19153         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19154         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19155         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19156         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19157         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19158         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19159         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19160         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19161         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19162         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19163         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19164         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19165         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19166         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19167         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19168         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19169         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19170         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19171         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19172         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19173         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19174         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19175         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19176         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19178 2012-05-18  Andreas Jaeger  <aj@suse.de>
19180         * csu/.gitignore: Delete.
19182 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19184         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19185         (timex): Use __syscall_slong_t.
19187 2012-05-18  Andreas Jaeger  <aj@suse.de>
19188             Carlos O'Donell  <carlos_odonell@mentor.com>
19190         * manual/install.texi (Configuring and compiling): Update
19191         description about files modified in the source directory.
19192         * INSTALL: Regenerated.
19194 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19196         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19197         value.  Use "or" to set return value to -1.
19198         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19199         negate return value.
19201 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19203         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19204         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19205         failure if the compiler has Graphite support disabled.
19206         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19207         Likewise.
19208         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19209         CFLAGS-memmove.c): Likewise.
19210         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19211         Likewise.
19213 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19215         * sysdeps/x86_64/x32/_itoa.h: New file.
19217         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19218         getdents system call only if kernel and user dirents have the
19219         same d_ino and d_off.
19221         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19222         LLONG_MAX != LONG_MAX.
19223         (_itoa_word): Use _ITOA_WORD_TYPE on value.
19224         (_fitoa_word): Likewise.
19226         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19227         years.
19228         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19229         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19230         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19232         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19233         include <bits/wordsize.h>.  Check __x86_64__ instead of
19234         __WORDSIZE.
19235         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19236         if __x86_64__ is defined.  Use anonymous union on fpstate.
19238         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19239         anonymous union.
19241 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
19243         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19244         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19245         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19246         Refer to _rtld_local_ro instead of _rtld_global_ro.
19247         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19248         Likewise.
19249         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19250         Likewise.
19251         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19252         Likewise.
19253         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19254         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19255         of _rtld_global, and rtld_progname instead of _dl_argv[0].
19257         * sysdeps/powerpc/powerpc32/dl-machine.c
19258         (__elf_machine_runtime_setup) [PROF]: Don't reference
19259         _dl_prof_resolve.
19261 2012-05-18  Andreas Jaeger  <aj@suse.de>
19263         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19264         function only available for GCCs before 3.4 since GCC 3.4
19265         introduced a builtin.
19266         (lrint): Likewise.
19267         (llrintf): Likewise.
19268         (llrint): Likewise.
19269         (fmaxf): Likewise.
19270         (fmax): Likewise.
19271         (fminf): Likewise.
19272         (fmin): Likewise.
19273         (rint): Likewise.
19274         (rintf): Likewise.
19275         (nearbyint): Likewise.
19276         (nearbyintf): Likewise.
19277         (ceil): Likewise.
19278         (ceilf): Likewise.
19279         (floor): Likewise.
19280         (floorf): Likewise.
19282 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19284         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19285         on both fields and cast pointer to __syscall_ulong_t.
19287         * bits/types.h (__fsword_t): New type.
19288         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19289         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19290         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19291         (__FSWORD_T_TYPE): Likewise.
19292         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19293         (__FSWORD_T_TYPE): Likewise.
19294         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19295         (__FSWORD_T_TYPE): Likewise.
19296         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19297         (__FSWORD_T_TYPE): Likewise.
19298         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19299         __SWORD_TYPE with __fsword_t.
19300         (statfs64): Likewise.
19302 2012-05-17  David S. Miller  <davem@davemloft.net>
19304         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19306 2012-05-17  Andreas Jaeger  <aj@suse.de>
19308         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19309         warning.
19311 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19313         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19315 2012-05-17  Andreas Jaeger  <aj@suse.de>
19317         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19318         when it is used.
19320 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
19322         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19324 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19326         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19327         * sysdeps/x86_64/tst-mallocalign1.c: New file.
19329 2012-05-17  Andreas Jaeger  <aj@suse.de>
19330             Carlos O'Donell  <carlos_odonell@mentor.com>
19332         [BZ #14059]
19333         * sysdeps/x86_64/multiarch/init-arch.h
19334         (bit_YMM_Usable): Rename to...
19335         (bit_AVX_Usable): ... this.
19336         (bit_FMA4_Usable): New macro.
19337         (bit_XMM_state): New macro.
19338         (bit_YMM_state): New macro.
19339         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19340         [__ASSEMBLER__] (index_AVX_Usable): ... this.
19341         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19342         (CPUID_OSXSAVE): New macro.
19343         (CPUID_AVX): New macro.
19344         (CPUID_FMA4): New macro.
19345         (index_YMM_Usable): Rename to...
19346         (index_AVX_Usable): ... this.
19347         (HAS_AVX): Use HAS_ARCH_FEATURE.
19348         (HAS_FMA4): Likewise.
19349         (HAS_YMM_USABLE): Remove.
19350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19351         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19352         are present.
19353         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19354         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19355         * sysdeps/x86_64/multiarch/Makefile: Likewise.
19356         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19357         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19359 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
19361         * math/libm-test.c: Support platforms without multiple rounding modes.
19362         * math/bug-nextafter.c: Support platforms without FP exceptions.
19363         * math/bug-nexttoward.c: Likewise.
19364         * math/test-fenv.c: Likewise.
19365         * math/test-misc.c: Likewise.
19366         * stdlib/bug-getcontext.c: Likewise.
19368 2012-05-17  Andreas Jaeger  <aj@suse.de>
19370         * manual/examples/search.c (critter_cmp): Change signature to
19371         avoid warnings.
19372         * manual/string.texi (Collation Functions): Likewise.
19374 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19376         * bits/types.h: Fold copyright years.
19377         * bits/typesizes.h: Likewise.
19378         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19379         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19380         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19381         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19382         * time/time.h: Likewise.
19384 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
19386         [BZ #208]
19387         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19388         in instead of returning them.  Return void.
19389         (__libc_mallinfo): Accumulate over all arenas.
19390         (__malloc_stats): Adjust for change in int_mallinfo interface.
19392 2012-05-16  Roland McGrath  <roland@hack.frob.com>
19394         [BZ #10375]
19395         * configure.in (NM): Add AC_CHECK_TOOL for it.
19396         (libc_extra_cflags): New substituted variable.
19397         Check for -fstack-protector being used implicitly.
19398         * configure: Regenerated.
19399         * config.make.in (config-extra-cflags): New variable,
19400         gets @libc_extra_cflags@.
19401         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19403         [BZ #10375]
19404         * configure.in: Check for _FORTIFY_SOURCE being predefined.
19405         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19406         * configure: Regenerated.
19407         * config.make.in (CPPUNDEFS): New substituted variable.
19408         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19409         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19410         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19412 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19414         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19415         (mq_attr): Use __syscall_slong_t.
19417 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19419         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19420         Check __x86_64__ instead of __WORDSIZE.
19421         (_STAT_VER_LINUX): Likewise.
19422         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
19423         __syscall_ulong_t and __syscall_slong_t.
19424         (stat64): Likewise.
19426 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19428         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19430 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19432         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19434 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19436         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19437         __syscall_ulong_t.
19439         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19440         include <bits/wordsize.h>.  Check __x86_64__ instead of
19441         __WORDSIZE.
19442         (greg_t): Use "__extension__ long long int" if __x86_64__ is
19443         defined.
19444         (mcontext_t): Replace "unsigned long" with "unsigned long long".
19446         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19447         include <bits/wordsize.h>.  Check __x86_64__ instead of
19448         __WORDSIZE.
19449         (user_regs_struct): Use "__extension__ unsigned long long"
19450         instead of "unsigned long" if __x86_64__ is defined.
19451         (user): Likewise.  Pad after pointer field if __ILP32__ is
19452         defined.
19454 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
19456         * configure.in (makeinfo): Require version 4.5 or later.  Allow
19457         versions 5 to 9.
19458         * configure: Regenerated.
19459         * manual/install.texi (texinfo): Increase version requirement to
19460         4.5 or later.
19461         * INSTALL: Regenerated.
19463         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19465 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19467         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19469         * sysdeps/x86_64/x32/ffs.c: New file.
19471         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19472         __syscall_ulong_t.
19473         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19474         defined.  Use __syscall_ulong_t.
19475         (shminfo): Use __syscall_ulong_t.
19476         (shm_info): Likewise.
19478         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19479         __syscall_ulong_t.
19481         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19482         <bits/wordsize.h>.
19483         (msgqnum_t): Use __syscall_ulong_t.
19484         (msglen_t): Likewise.
19485         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
19486         __syscall_ulong_t.
19488         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19489         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19491         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19493         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19494         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19496         * sysvipc/sys/msg.h (msgbuf): Replace long int with
19497         __syscall_slong_t.
19499         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19500         include <bits/wordsize.h>.  Check __x86_64__ instead of
19501         __WORDSIZE.
19503         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19504         "unsigned long long int" if __x86_64__ is defined.
19505         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19507         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19508         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19509         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19511         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19512         <stdint.h>.
19513         (GET_PC): Cast to uintptr_t first.
19514         (GET_FRAME): Likewise.
19515         (GET_STACK): Likewise.
19517         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19518         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19519         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19520         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19521         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19522         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19523         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19524         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19525         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19526         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19527         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19528         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19529         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19530         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19531         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19532         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19533         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19534         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19535         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19536         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19537         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19538         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19539         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19540         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19541         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19542         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19543         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19544         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19545         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19547 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
19549         * Makerules (+depfiles): Also collect depfiles from .oS in
19550         $(extra-objs).
19551         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19552         .oS, $(libnldbl-routines)).
19554         * Makerules (native-compile-mkdep-flags): Define.
19555         * sunrpc/Makefile (extra-objs): Add $(addprefix
19556         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19557         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19558         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
19559         calling $(make-target-directory).
19561 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19563         * bits/types.h (__snseconds_t): Removed.
19564         * time/time.h (struct timespec): Replace __snseconds_t with
19565         __syscall_slong_t.
19566         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19567         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19568         Likewise.
19569         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19570         (__SNSECONDS_T_TYPE): Likewise.
19571         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19572         (__SNSECONDS_T_TYPE): Likewise.
19573         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19574         (__SNSECONDS_T_TYPE): Likewise.
19576 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19578         * sysdeps/mach/hurd/bits/typesizes.h
19579         (__SYSCALL_SLONG_TYPE): New macro.
19580         (__SYSCALL_ULONG_TYPE): Likewise.
19582 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19584         * bits/types.h (__syscall_slong_t): New type.
19585         (__syscall_ulong_t): Likewise.
19587         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19588         (__SYSCALL_ULONG_TYPE): Likewise.
19589         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19590         (__SYSCALL_SLONG_TYPE): Likewise.
19591         (__SYSCALL_ULONG_TYPE): Likewise.
19592         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19593         (__SYSCALL_SLONG_TYPE): Likewise.
19594         (__SYSCALL_ULONG_TYPE): Likewise.
19595         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19596         (__SYSCALL_SLONG_TYPE): Likewise.
19597         (__SYSCALL_ULONG_TYPE): Likewise.
19599 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19601         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19602         Add sigaltstack-offsets.sym.
19603         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19604         <sigaltstack-offsets.h>.
19605         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
19606         longjmp_msg pointer.
19607         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
19608         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19609         signal stack.
19610         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19612 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19614         * elf/stackguard-macros.h: Remove file.
19615         * sysdeps/generic/stackguard-macros.h: New file.
19616         * sysdeps/i386/stackguard-macros.h: Likewise.
19617         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19618         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19619         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19620         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19621         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19622         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19623         * sysdeps/x86_64/stackguard-macros.h: Likewise.
19624         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19625         <elf/stackguard-macros.h>.
19627         [BZ #14109]
19628         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19629         __aligned__ in attribute.
19630         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19631         (gregset_t): Likewise.
19633 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19635         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19636         * sysdeps/x86_64/64/Implies-after: Here.  New file.
19637         * sysdeps/x86_64/x32/Implies-after: New file.
19639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19641         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19642         and access return value for _dl_profile_fixup.  Use R10_LP to
19643         load frame size.
19645 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19647         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19649 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19651         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19652         * sysdeps/x86_64/x32/sysdep.h: New file.
19654 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19656         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19657         * sysdeps/x86_64/setjmp.S: Likewise.
19659 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19661         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19662         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19663         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19664         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19665         remove unused global constant.
19667 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
19669         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19670         include of <not-cancel.h>.
19672 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19674         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19676 2012-05-15  Jeff Law  <law@redhat.com>
19677             Andreas Jaeger  <aj@suse.de>
19679         [BZ #13594]
19680         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19681         out from...
19682         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19683         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19684         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19685         code changing __hst_map_handle.map.
19687 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19689         * configure.in (sysnames): Look for Implies-before and Implies-after
19690         files.
19691         * configure: Regenerated.
19693 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19695         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19696         8-byte data alignment with LP_SIZE alignment.
19698 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19700         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19701         into R10_LP.
19703 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19705         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19707 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19709         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19710         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19711         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19712         Likewise.
19713         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19717         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19718         (stackinfo_sub_sp): Likewise.
19720 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19722         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19723         RAX_LP.
19725 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19727         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19728         into R*_LP.
19730 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19732         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19733         sizes into R*_LP.
19735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19737         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19741         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19742         into R11_LP and load __x86_64_shared_cache_size_half into
19743         R8_LP.
19745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19747         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19748         R8_LP.
19750 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19752         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19753         logb for POWER7.
19754         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19755         logbf for POWER7.
19756         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19757         logbl for POWER7.
19758         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19759         powerpc32/power7/fpu/s_logb.c via #include.
19760         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19761         powerpc32/power7/fpu/s_logbf.c via #include.
19762         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19763         powerpc32/power7/fpu/s_logbl.c via #include.
19765 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19767         * README.libm: Remove file.
19769 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19771         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19772         count for x32.  Use R*_LP and omit operand-size suffix.
19774 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19776         * shlib-versions: Move x86_64-.*-linux.* entries to ...
19777         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
19778         * sysdeps/x86_64/x32/shlib-versions: New file.
19780 2012-05-14  Roland McGrath  <roland@hack.frob.com>
19782         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19783         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19784         Use _dl_fatal_printf instead.
19786 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19788         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19789         set if not set by the user.  Do not allow for being unset.
19790         * sysdeps/unix/sysv/linux/configure: Regenerated.
19792 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19794         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19795         the `q' suffix from lea and replace .quad with ASM_ADDR.
19797 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19799         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19800         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
19801         instead of $17.
19802         (PTR_DEMANGLE): Likewise.
19804 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19806         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19807         (LP_OP): Likewise.
19808         (ASM_ADDR): Likewise.
19809         (RAX_LP): Likewise.
19810         (RBP_LP): Likewise.
19811         (RBX_LP): Likewise.
19812         (RCX_LP): Likewise.
19813         (RDI_LP): Likewise.
19814         (RSI_LP): Likewise.
19815         (RSP_LP): Likewise.
19816         (R8_LP): Likewise.
19817         (R9_LP): Likewise.
19818         (R10_LP): Likewise.
19819         (R10_LP): Likewise.
19820         (R11_LP): Likewise.
19821         (R12_LP): Likewise.
19822         (R13_LP): Likewise.
19823         (R14_LP): Likewise.
19824         (R15_LP): Likewise.
19826 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19828         * sysdeps/x86_64/x32/dl-machine.h: New file.
19830 2012-05-14  Andreas Jaeger  <aj@suse.de>
19832         * manual/Makefile (subdir): Remove export of subdir.
19833         (all): Remove target.
19834         (.PHONY): Remove all from list.
19835         (mkinstalldirs): Remove.
19836         (.PHONY): Remove installdirs from list.
19837         ($(inst_infodir)/libc.info): Use make-target-directory.
19838         (installdirs): Remove.
19839         (subdir_%): Remove.
19840         (glibc-targets): Remove.
19841         (lib): Remove.
19842         (stubs): Remove.
19843         ($(objpfx)stubs ../po/manual.pot): Remove.
19844         ($(objpfx)stamp%): Remove.
19845         (make-target-directory): Remove.
19846         (subdir_install): Remove.
19847         (routines): Remove.
19848         (aux): Remove.
19849         (sources): Remove.
19850         (objects): Remove.
19851         (headers): Remove.
19853         [BZ #13750]
19854         * manual/.gitignore: Remove, it's not needed anymore.
19855         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19856         all files in it.
19857         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19858         directory.
19859         (texis): Renamed to $(objpfx)texis.
19860         (texis-path): New, contains path to generated files.
19861         (chapters.%): Use texis-path for complete path, add extra argument
19862         libc-texinfo.sh.
19863         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19864         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19865         (summary,texi, stamp-summary): Use complete path of
19866         files. Generate files in build dir.
19867         (dir-add.texi): Build in build dir.
19868         (libm-err.texi,stamp-libm-err): Likewise.
19869         (version.texi, stamp-version): Likewise.
19870         (.%c.texi): Likewise.
19871         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19872         (mostlyclean): Remove target.
19873         (realclean): Remove target.
19874         (generated): Add new variable with contents from mostlyclean and
19875         realclean, remove entries duplicated in common-mostlyclean, add
19876         stamp-libm-err and stamp-version.
19877         (generated-dirs): Add libc directory.
19878         ($(inst_infodir)/libc.info): Install files from build dir.
19880         * manual/install.texi (Configuring and compiling): Adjust since
19881         the info files are not part of the tar ball anymore.
19883 2012-05-14  Andreas Jaeger  <aj@suse.de>
19885         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19886         variable.
19888 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19890         [BZ #13717]
19891         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19892         to 2.2.0 where earlier.
19893         * sysdeps/unix/sysv/linux/configure: Regenerated.
19894         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19895         Remove conditional code.
19896         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19897         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19898         Remove conditional code.
19899         [!__NR_lchown]: Likewise.
19900         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19901         [__NR_lchown]: Likewise.
19902         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19903         comment referencing __ASSUME_LCHOWN_SYSCALL.
19904         * sysdeps/unix/sysv/linux/i386/sigaction.c
19905         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19906         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19907         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19908         Remove conditional code.
19909         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19910         (__protocol_available): Remove #if 0 code.
19911         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19912         conditional code.
19913         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19914         * sysdeps/unix/sysv/linux/kernel-features.h
19915         (__ASSUME_GETCWD_SYSCALL): Don't define.
19916         (__ASSUME_REALTIME_SIGNALS): Likewise.
19917         (__ASSUME_PREAD_SYSCALL): Likewise.
19918         (__ASSUME_PWRITE_SYSCALL): Likewise.
19919         (__ASSUME_POLL_SYSCALL): Likewise.
19920         (__ASSUME_LCHOWN_SYSCALL): Likewise.
19921         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19922         non-SPARC.
19923         (__ASSUME_SIOCGIFNAME): Don't define.
19924         (__ASSUME_MSG_NOSIGNAL): Likewise.
19925         (__ASSUME_SENDFILE): Define unconditionally.
19926         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19927         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19928         conditional code.
19929         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19930         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19931         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19932         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19933         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19934         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19935         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19937         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19938         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19940         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19941         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19943         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19944         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19946         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19947         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19949         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19950         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19952         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19953         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19955         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19956         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19958         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19959         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19960         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19961         Remove conditional code.
19962         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19963         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19964         Remove conditional code.
19965         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19966         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19967         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19968         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19969         Remove conditional code.
19970         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19971         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19972         Remove conditional code.
19973         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19974         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19975         Remove conditional code.
19976         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19977         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19978         Remove conditional code.
19979         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19980         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19981         Remove conditional code.
19982         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19983         * sysdeps/unix/sysv/linux/sh/pwrite64.c
19984         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19985         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19986         * sysdeps/unix/sysv/linux/sigaction.c
19987         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19988         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19989         * sysdeps/unix/sysv/linux/sigpending.c
19990         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19991         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19992         * sysdeps/unix/sysv/linux/sigprocmask.c
19993         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19994         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19995         * sysdeps/unix/sysv/linux/sigsuspend.c
19996         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19997         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19998         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19999         (__libc_missing_rt_sigs): Remove.
20000         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20001         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20002         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20003         Remove conditional code.
20004         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20005         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20006         return 1.
20007         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20008         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20009         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20010         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20012 2012-05-14  Andreas Jaeger  <aj@suse.de>
20014         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20015         it's not used in glibc.
20016         (__coshm1): Likewise.
20017         (__acosh1p): Likewise.
20018         (__sgn): Likewise.
20020         * manual/string.texi (Copying and Concatenation): Add missing
20021         variable in concat example.
20022         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20024 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20026         [BZ #14103]
20027         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20028         __builtin_clzl with __builtin_clzll.
20030 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20032         [BZ #14104]
20033         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20034         libc_freeres_ptr.
20036 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20038         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20039         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20040         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20041         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20043 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
20045         * NEWS: Update ia64 info.
20047 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
20049         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20050         used as bcopy.
20052 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
20054         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20055         * sysdeps/unix/syscalls.list (dup3): Likewise.
20056         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20057         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20059 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20061         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20062         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20064 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20066         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20067         thread pointer.
20068         (TLS_IE): Use mov/add instead of movq/addq to load thread
20069         pointer.
20070         (TLS_GD_PREFIX): New.
20071         (TLS_GD): Use it.
20073 2012-05-11  David S. Miller  <davem@davemloft.net>
20075         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20076         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20077         (_FPU_SETCW): Likewise.
20079 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20081         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20082         is 32-byte aligned.
20084 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
20086         [BZ #11837]
20087         * iconvdata/gb18030.c: Update tables.
20088         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
20089         characters specially.
20090         (BODY for TO_LOOP): Add encoding of missing ranges.
20092 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
20094         [BZ #13673]
20095         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20096         * sysdeps/mach/hurd/dup3.c: Likewise.
20097         * sysdeps/mach/hurd/readlinkat.c: Likewise.
20098         * sysdeps/powerpc/memmove.c:: Likewise.
20100 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20102         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20103         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20105 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20107         * elf/elf.h (R_X86_64_RELATIVE64): New.
20108         (R_X86_64_NUM): Updated.
20109         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20110         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
20111         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20112         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20113         tst-quad1pie tst-quad2pie
20114         (modules-names): Add tst-quadmod1 tst-quadmod2.
20115         ($(objpfx)tst-quad1): New dependency.
20116         ($(objpfx)tst-quad2): Likewise.
20117         ($(objpfx)tst-quad1pie): Likewise.
20118         ($(objpfx)tst-quad2pie): Likewise.
20119         * sysdeps/x86_64/tst-quad1.c: New file.
20120         * sysdeps/x86_64/tst-quad1pie.c: New file.
20121         * sysdeps/x86_64/tst-quad2.c: Likewise.
20122         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20123         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20124         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20125         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20126         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20128 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20130         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20131         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20132         * streams/stropts.h (t_scalar_t): Define type.
20134         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20135         (_PATH_PRESERVE): Set to "/var/lib".
20136         (_PATH_RWHODIR): Set to "/var/spool/rwho".
20138         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20139         instead of int.
20141         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20142         if __dir_mkfile succeeded.
20144         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20145         checking for _hurd_dtablesize.  Unlock it right after having
20146         finished _hurd_dtable allocation.
20148 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20150         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20151         * sysdeps/mach/hurd/configure: Regenerated.
20152         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20153         special-casing to...
20154         * sysdeps/gnu/configure.in: ... this new file.
20155         * sysdeps/unix/sysv/linux/configure: Regenerated.
20156         * sysdeps/gnu/configure: New generated file.
20158         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20159         for Linux: use nsec instead of usec, as well as:
20160         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20161         members of type struct timespec.
20162         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20163         New macros.
20164         (struct stat64): Likewise.
20165         (_STATBUF_ST_NSEC): New macro.
20166         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20168         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20169         __strtoul_internal rather than strtoul.
20171 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20173         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20174         and reject them.
20176 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20178         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20179         which preserves existing values.
20180         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20182 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20184         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20185         TIMEOUT values.  Return EINVAL for NFDS values either negative or
20186         greater than FD_SETSIZE.
20188 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20190         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20191         allocated, call __vm_protect to finish enabling the existing space, and
20192         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20193         allocate the remainder.
20195 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20197         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20198         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
20200 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20202         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20203         sysdeps/mach/hurd/readlink.c.
20205         * posix/tst-sysconf.c (posix_options): Only use
20206         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20207         _POSIX_SYNCHRONIZED_IO when they are defined
20208         * sysdeps/mach/hurd/bits/posix_opt.h:
20209         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20210         (_XOPEN_REALTIME): Undefine macro.
20211         (_XOPEN_REALTIME_THREADS): Undefine macro.
20212         (_XOPEN_SHM): Undefine macro.
20213         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20214         macro to -1.
20215         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20216         macro to -1.
20217         (_POSIX_ASYNC_IO): Undefine macro.
20218         (_POSIX_PRIORITIZED_IO): Undefine macro.
20219         (_POSIX_SPIN_LOCKS): Define macro to -1.
20221         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20222         SA_NODEFER, SA_RESETHAND.
20223         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20224         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20225         F_DUPFD_CLOEXEC.
20227 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20229         * elf/Makefile (pldd-modules): Define unconditionally.
20231 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20233         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20235 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20237         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20238         Return ENOENT when name is empty.
20239         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20241 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20243         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20245         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20247 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20249         Fix mlock in all cases except non-readable pages.
20250         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20251         instead of VM_PROT_ALL as parameter to __vm_wire function.
20253         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20254         (__mkdir): When path is `/', just fail with EEXIST.
20255         * sysdeps/mach/hurd/mkdirat.c: Likewise.
20257 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20259         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20260         <sys/uio.h> (for writev).
20261         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20262         and <sys/param.h> (for MIN).
20264 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20266         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20267         REQUESTED_TIME.  Properly set the remaining time and return EINTR
20268         if interrupted.
20270 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20272         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20273         Depend on against $(link-rpcuserlibs).
20275 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20277         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20278         (__libc_stack_end): Do not use attribute_relro.
20279         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20280         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20281         to libthread-provided value.
20282         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20283         attribute_relro.
20285 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20287         [BZ #3748]
20288         * bits/libc-lock.h (__libc_once_get): New macro.
20289         * sysdeps/mach/bits/libc-lock.h: Likewise.
20290         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20291         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20292         instead of using implementation details.
20294         * libio/fileops.c: Unconditionally include <kernel-features.h>.
20295         * libio/freopen.c: Likewise.
20296         * libio/freopen64.c: Likewise.
20297         * misc/syslog.c: Likewise.
20298         * nscd/connections.c: Likewise.
20299         * nscd/netgroupcache.c: Likewise.
20300         * sysdeps/posix/getcwd.c: Likewise.
20302 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20304         * math/w_ilogbf.c: Add #include <limits.h>.
20306 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20308         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20309         path instead of returning without unlocking.
20311         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20312         immediate-write ioctls.
20313         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20315 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20317         * sysdeps/mach/hurd/i386/init-first.c (init): Use
20318         __builtin_frame_address instead of making assumptions about the
20319         location of the return address relative to DATA.  Force early load of
20320         the return address.
20321         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20322         __builtin_frame_address.
20324         dup3 for GNU Hurd.
20325         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20326         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
20327         implement dup3 and do some further code clean-ups.
20328         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20329         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20331 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20333         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20335         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20336         HURD_CRITICAL_END around holding _hurd_dtable_lock.
20337         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20338         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20339         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20340         d->port.lock.
20342         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20343         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
20344         when handler == SIG_ERR, not when handler != SIG_ERR.
20346 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20348         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20349         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20350         definitions.
20352         accept4 for GNU Hurd.
20353         * include/sys/socket.h (__libc_accept4): New prototype.
20354         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
20355         to implement __libc_accept4.
20356         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20357         __libc_accept4.
20358         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20360         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20361         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20362         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20363         signal-defines.sym.
20365 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20367         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20369 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20371         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20372         assertion on O_CLOEXEC flag.
20373         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20374         * hurd/intern-fd.c: Likewise.
20375         * hurd/port2fd.c: Likewise.
20377 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20379         [BZ #3906]
20380         * bits/in.h (IPV6_PKTINFO): Define new macro.
20381         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20383 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20385         [BZ #13954]
20386         [BZ #13955]
20387         [BZ #13956]
20388         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20389         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20390         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20391         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20392         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20393         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20394         * math/libm-test.inc (logb_test) : Additional logb tests.
20396 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
20397             Andreas Jaeger  <aj@suse.de>
20399         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20400         * configure: Regenerated.
20401         * config.h.in (LINK_OBSOLETE_RPC): New macro.
20402         * config.make.in (link-obsolete-rpc): New substituted variable.
20403         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20404         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20405         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20406         (shared-only-routines): Don't set it under [link-obsolete-rpc],
20407         so that libc.a contains the symbols.
20408         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20409         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20410         * sunrpc/auth_none.c: Likewise.
20411         * sunrpc/auth_unix.c: Likewise.
20412         * sunrpc/authdes_prot.c: Likewise.
20413         * sunrpc/authuxprot.c: Likewise.
20414         * sunrpc/clnt_gen.c: Likewise.
20415         * sunrpc/clnt_perr.c: Likewise.
20416         * sunrpc/clnt_raw.c: Likewise.
20417         * sunrpc/clnt_simp.c: Likewise.
20418         * sunrpc/clnt_tcp.c: Likewise.
20419         * sunrpc/clnt_udp.c: Likewise.
20420         * sunrpc/clnt_unix.c: Likewise.
20421         * sunrpc/des_crypt.c: Likewise.
20422         * sunrpc/des_soft.c: Likewise.
20423         * sunrpc/get_myaddr.c: Likewise.
20424         * sunrpc/key_call.c: Likewise.
20425         * sunrpc/key_prot.c: Likewise.
20426         * sunrpc/netname.c: Likewise.
20427         * sunrpc/pm_getmaps.c: Likewise.
20428         * sunrpc/pm_getport.c: Likewise.
20429         * sunrpc/pmap_clnt.c: Likewise.
20430         * sunrpc/pmap_prot.c: Likewise.
20431         * sunrpc/pmap_prot2.c: Likewise.
20432         * sunrpc/pmap_rmt.c: Likewise.
20433         * sunrpc/publickey.c: Likewise.
20434         * sunrpc/rpc_cmsg.c: Likewise.
20435         * sunrpc/rpc_common.c: Likewise.
20436         * sunrpc/rpc_dtable.c: Likewise.
20437         * sunrpc/rpc_prot.c: Likewise.
20438         * sunrpc/rpc_thread.c: Likewise.
20439         * sunrpc/rtime.c: Likewise.
20440         * sunrpc/svc.c: Likewise.
20441         * sunrpc/svc_auth.c: Likewise.
20442         * sunrpc/svc_raw.c: Likewise.
20443         * sunrpc/svc_run.c: Likewise.
20444         * sunrpc/svc_tcp.c: Likewise.
20445         * sunrpc/svc_udp.c: Likewise.
20446         * sunrpc/svc_unix.c: Likewise.
20447         * sunrpc/svcauth_des.c: Likewise.
20448         * sunrpc/xcrypt.c: Likewise.
20449         * sunrpc/xdr.c: Likewise.
20450         * sunrpc/xdr_array.c: Likewise.
20451         * sunrpc/xdr_float.c: Likewise.
20452         * sunrpc/xdr_intXX_t.c: Likewise.
20453         * sunrpc/xdr_mem.c: Likewise.
20454         * sunrpc/xdr_rec.c: Likewise.
20455         * sunrpc/xdr_ref.c: Likewise.
20456         * sunrpc/xdr_sizeof.c: Likewise.
20457         * sunrpc/xdr_stdio.c: Likewise.
20459 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20461         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20462         change.  Update copyright years.
20464 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
20466         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20468 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
20469             Joseph Myers  <joseph@codesourcery.com>
20470             Paul Pluzhnikov  <ppluzhnikov@google.com>
20472         [BZ #14012]
20473         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20474         requiring rpcgen.
20475         [cross-compiling] (extra-libs): Likewise.
20476         [cross-compiling] (extra-libs-others): Likewise.
20477         [cross-compiling] (librpcsvc-routines): Likewise.
20478         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20479         [cross-compiling] (omit-deps): Likewise.
20480         (sunrpc-CPPFLAGS): New variable.
20481         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20482         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20483         (cross-rpcgen-objs): New variable.
20484         (extra-objs): Append $(cross-rpcgen-objs).
20485         ($(cross-rpcgen-objs)): New rule.
20486         ($(objpfx)cross-rpcgen): Likewise.
20487         (rpcgen-cmd): Define to use $(built-program-file).  Expand
20488         comment.
20489         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20490         ($(objpfx)x%.stmp): Likewise.
20491         * sunrpc/proto.h [IS_IN_build] (_): Define.
20492         [IS_IN_build] (_libc_intl_domainname): Likewise.
20494 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20496         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20497         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20498         and R_X86_64_TPOFF64.
20500 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
20502         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20503         sysdeps/unix/sysv/syscalls.list.
20504         (stime): Likewise.
20505         (utime): Likewise.
20506         * sysdeps/unix/sysv/syscalls.list: Remove file.
20508 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
20510         [BZ #3440]
20511         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20512         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20513         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20514         (__LC_IDENTIFICATION): Make these macros useful in #if
20515         expressions, as required by C99.
20517 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
20519         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20520         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
20521         after this.
20523 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
20525         * stdlib/longlong.h: Updated from GCC.
20527 2012-05-09  Andreas Jaeger  <aj@suse.de>
20529         * nscd/nscd.c (run_modes): Make named enum, reorder so that
20530         default is first entry.
20531         (run_mode): Set type.
20532         (main): Remove informal message about syslog.
20533         (options): Fix typo.
20535         [BZ #14053]
20536         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20537         to asm.
20538         (lrint): Likewise.
20539         (llrintf): Likewise.
20540         (llrint): Likewise.
20541         (rint): Likewise.
20542         (rintf): Likewise.
20543         (nearbyint): Likewise.
20544         (nearbyintf): Likewise.
20546 2012-05-09  Andreas Jaeger  <aj@suse.de>
20547             Pedro Alves  <palves@redhat.com>
20549         * nscd/nscd.c (run_mode): Use enum.
20550         (main): Cleanup coding style issue.
20552 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
20553             Andreas Jaeger  <aj@suse.de>
20555         * nscd/nscd.c (go_background): Replaced with...
20556         (run_mode): ... this.
20557         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20558         (options): Add -F --foreground.
20559         (main): Implement it.
20560         (parse_opt): Parse it.
20562 2012-05-09  Andreas Jaeger  <aj@suse.de>
20564         [BZ #14083]
20565         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20566         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20567         -Wconversion warning.
20568         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20569         Likewise.
20571 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
20573         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
20574         == 0.
20575         (LC_ALL): Use macro-int-constant.
20576         (LC_COLLATE): Likewise.
20577         (LC_CTYPE): Likewise.
20578         (LC_MESSAGES): Likewise.
20579         (LC_MONETARY): Likewise.
20580         (LC_NUMERIC): Likewise.
20581         (LC_TIME): Likewise.
20582         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20583         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20584         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20585         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20586         Specify type.
20587         [C99-based standards] (float_t): Expect type.
20588         [C99-based standards] (double_t): Expect type.
20589         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
20590         type.
20591         [C99-based standards] (HUGE_VALL): Likewise.
20592         [C99-based standards] (INFINITY): Likewise.
20593         [C99-based standards] (NAN): Likewise.
20594         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20595         [C99-based standards] (FP_NAN): Likewise.
20596         [C99-based standards] (FP_NORMAL): Likewise.
20597         [C99-based standards] (FP_SUBNORMAL): Likewise.
20598         [C99-based standards] (FP_ZERO): Likewise.
20599         [C99-based standards] (FP_FAST_FMA): Use
20600         optional-macro-int-constant.  Specify type.  Require == 1.
20601         [C99-based standards] (FP_FAST_FMAF): Likewise.
20602         [C99-based standards] (FP_FAST_FMAL): Likewise.
20603         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20604         [C99-based standards] (FP_ILOGBNAN): Likewise.
20605         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20606         Specify type.
20607         [C99-based standards] (MATH_ERREXCEPT): Likewise.
20608         [C99-based standards] (math_errhandling): Specify type.
20609         [ISO99 || ISO11] (signgam): Do not allow.
20610         [non-C99-based standards] (copysignf): Do not allow.
20611         [non-C99-based standards] (exp2f): Likewise.
20612         [non-C99-based standards] (log2f): Likewise.
20613         [non-C99-based standards] (modff): Allow.
20614         [non-C99-based standards] (erff): Do not allow.
20615         [non-C99-based standards] (erfcf): Likewise.
20616         [non-C99-based standards] (gammaf): Likewise.
20617         [non-C99-based standards] (hypotf): Likewise.
20618         [non-C99-based standards] (j0f): Likewise.
20619         [non-C99-based standards] (j1f): Likewise.
20620         [non-C99-based standards] (jnf): Likewise.
20621         [non-C99-based standards] (lgammaf): Likewise.
20622         [non-C99-based standards] (tgammaf): Likewise.
20623         [non-C99-based standards] (y0f): Likewise.
20624         [non-C99-based standards] (y1f): Likewise.
20625         [non-C99-based standards] (ynf): Likewise.
20626         [non-C99-based standards] (isnanf): Likewise.
20627         [non-C99-based standards] (acoshf): Likewise.
20628         [non-C99-based standards] (asinhf): Likewise.
20629         [non-C99-based standards] (atanhf): Likewise.
20630         [non-C99-based standards] (cbrtf): Likewise.
20631         [non-C99-based standards] (expm1f): Likewise.
20632         [non-C99-based standards] (ilogbf): Likewise.
20633         [non-C99-based standards] (log1pf): Likewise.
20634         [non-C99-based standards] (logbf): Likewise.
20635         [non-C99-based standards] (nextafterf): Likewise.
20636         [non-C99-based standards] (remainderf): Likewise.
20637         [non-C99-based standards] (rintf): Likewise.
20638         [non-C99-based standards] (scalbf): Likewise.
20639         [non-C99-based standards] (copysignl): Likewise.
20640         [non-C99-based standards] (exp2l): Likewise.
20641         [non-C99-based standards] (log2l): Likewise.
20642         [non-C99-based standards] (modfl): Allow.
20643         [non-C99-based standards] (erfl): Do not allow.
20644         [non-C99-based standards] (erfcl): Likewise.
20645         [non-C99-based standards] (gammal): Likewise.
20646         [non-C99-based standards] (hypotl): Likewise.
20647         [non-C99-based standards] (j0l): Likewise.
20648         [non-C99-based standards] (j1l): Likewise.
20649         [non-C99-based standards] (jnl): Likewise.
20650         [non-C99-based standards] (lgammal): Likewise.
20651         [non-C99-based standards] (tgammal): Likewise.
20652         [non-C99-based standards] (y0l): Likewise.
20653         [non-C99-based standards] (y1l): Likewise.
20654         [non-C99-based standards] (ynl): Likewise.
20655         [non-C99-based standards] (isnanl): Likewise.
20656         [non-C99-based standards] (acoshl): Likewise.
20657         [non-C99-based standards] (asinhl): Likewise.
20658         [non-C99-based standards] (atanhl): Likewise.
20659         [non-C99-based standards] (cbrtl): Likewise.
20660         [non-C99-based standards] (expm1l): Likewise.
20661         [non-C99-based standards] (ilogbl): Likewise.
20662         [non-C99-based standards] (log1pl): Likewise.
20663         [non-C99-based standards] (logbl): Likewise.
20664         [non-C99-based standards] (nextafterl): Likewise.
20665         [non-C99-based standards] (remainderl): Likewise.
20666         [non-C99-based standards] (rintl): Likewise.
20667         [non-C99-based standards] (scalbl): Likewise.
20668         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20669         [non-C99-based standards] (FP_*): Do not allow.
20670         [C99-based standards] (FP_*): Change to
20671         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20672         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20673         allow.
20674         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20675         (SIG_ERR): Likewise.
20676         [X/Open-based standards] (SIG_HOLD): Likewise.
20677         (SIG_IGN): Likewise.
20678         (SIGABRT): Use macro-int-constant.  Specify type.  Require
20679         positive value.
20680         (SIGFPE): Likewise.
20681         (SIGILL): Likewise.
20682         (SIGINT): Likewise.
20683         (SIGSEGV): Likewise.
20684         (SIGTER): Likewise.
20685         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20686         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20687         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20688         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20689         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20690         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20691         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20692         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20693         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20694         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20695         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20696         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20697         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20698         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20699         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20700         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20701         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20702         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20703         [X/Open-based standards] (SIGTRAP): Likewise.
20704         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20705         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20706         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20707         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20708         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20709         allow.
20711 2012-05-08  Ian Wienand  <ianw@vmware.com>
20713         [BZ #14080]
20714         * time/tzset.c (__tzset_parse_tz): Update default rules for
20715         daylight time changes in the Energy Policy Act of 2005.
20717 2012-05-09  Andreas Jaeger  <aj@suse.de>
20719         [BZ #13983]
20720         * elf/ldconfig.c (parse_conf): Change string to make clear that
20721         ldconfig only issued a warning if ld.so.conf does not exist.
20723 2012-05-08  David S. Miller  <davem@davemloft.net>
20725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20726         movxtod instead of popping the value on the stack.
20728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20730 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
20732         * config.h.in: Add HAVE_ARM_PCS_VFP.
20734 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
20736         [BZ #13979]
20737         * include/features.h: Warn if user requests __FORTIFY_SOURCE
20738         checking but the checks are disabled for any reason.
20740 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20742         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20743         and ELF64_R_TYPE with ELFW(R_TYPE).
20745 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
20747         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20748         (ulimit): Likewise.
20750         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20751         (settimeofday): Likewise.
20753 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
20755         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
20756         a struct th_u2 inside the union, and move tu_block/tu_code into
20757         a new th_u3 union of tu_block/tu_code inside of that.  Move
20758         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
20759         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
20760         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20761         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20762         (th_stuff): Change to th_u1.tu_stuff.
20763         (th_data): Define.
20764         (th_msg): Change to th_u1.th_u2.tu_data.
20766 2012-05-07  David S. Miller  <davem@davemloft.net>
20768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20770         [BZ #14074]
20771         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20772         (SETUP_PIC_REG): Use it.
20773         (SETUP_PIC_REG_LEAF): Use it.
20775 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
20777         [BZ #13885]
20778         [BZ #13923]
20779         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20780         USE_AS_EXPM1L.
20781         (EXPL_FINITE): Likewise.
20782         (FLDLOG): Likewise.
20783         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20784         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20785         e_expl.S.
20786         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20787         USE_AS_EXPM1L.
20788         (EXPL_FINITE): Likewise.
20789         (FLDLOG): Likewise.
20790         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20791         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20792         e_expl.S.
20793         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
20794         test of -max_value argument for long double.
20795         * sysdeps/i386/fpu/libm-test-ulps: Update.
20796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20798 2012-05-06  David S. Miller  <davem@davemloft.net>
20800         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20801         quad soft-float symbols whose references which are compiler
20802         generated.
20803         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20805 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
20807         [BZ #13884]
20808         [BZ #13914]
20809         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20810         USE_AS_EXP10L.
20811         (EXPL_FINITE): Likewise.
20812         (FLDLOG): Likewise.
20813         (c0): Likewise.
20814         (c1): Likewise.
20815         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20816         Adjust comments for base varying.
20817         (__expl_finite): Change alias to EXPL_FINITE.
20818         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20819         e_expl.S.
20820         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20821         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20822         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20823         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20824         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20825         USE_AS_EXP10L.
20826         (EXPL_FINITE): Likewise.
20827         (FLDLOG): Likewise.
20828         (c0): Likewise.
20829         (c1): Likewise.
20830         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20831         Adjust comments for base varying.
20832         (__expl_finite): Change alias to EXPL_FINITE.
20833         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
20834         tests for bugs.
20835         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20837         [BZ #14064]
20838         * math/libm-test.inc (check_float_internal): Correct ulp
20839         calculation for subnormal expected results.
20841 2012-05-06  Andreas Jaeger  <aj@suse.de>
20843         * Makeconfig (+math-flags): New, set to -frounding-math.
20844         (+cflags): Add +math-flags so that all of glibc gets compiled with
20845         it.
20847         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20849 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
20851         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20852         Disable one test.
20854         [BZ #13787]
20855         [BZ #13922]
20856         [BZ #14036]
20857         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20858         (__ieee754_expl): Allow for and saturate large arguments.
20859         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20860         (u_threshold): Likewise.
20861         (__exp): Call __ieee754_exp before checking for overflow and
20862         underflow.
20863         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20864         (u_threshold): Likewise.
20865         (__expf): Call __ieee754_expf before checking for overflow and
20866         underflow.
20867         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20868         (u_threshold): Likewise.
20869         (__expl): Call __ieee754_expl before checking for overflow and
20870         underflow.
20871         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20872         (__ieee754_expl): Allow for and saturate large arguments.
20873         * math/libm-test.inc (exp_test): Add another test.  Do not allow
20874         missing overflow exception on overflow.
20875         (expm1_test): Do not allow missing overflow exception on overflow.
20877         * sysdeps/i386/fpu/e_expl.c: Move to ...
20878         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
20879         rather than using inline asm.
20880         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20881         * sysdeps/x86_64/fpu/e_expl.S: Copy from
20882         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20884         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20885         (nice): Likewise.
20886         (poll): Likewise.
20887         (signal): Likewise.
20888         (time): Likewise.
20889         (times): Likewise.
20891 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20893         * sysdeps/unix/syscalls.list (adjtime): Add entry from
20894         sysdeps/unix/common/syscalls.list.
20895         (fchmod): Likewise.
20896         (fchown): Likewise.
20897         (ftruncate): Likewise.
20898         (getrusage): Likewise.
20899         (gettimeofday): Likewise.
20900         (setpgid): Likewise.
20901         (setregid): Likewise.
20902         (setreuid): Likewise.
20903         (sigaction): Likewise.
20904         (truncate): Likewise.
20905         (vhangup): Likewise.
20906         * sysdeps/unix/common/syscalls.list: Remove file.
20907         * sysdeps/unix/bsd/Implies: Don't include unix/common.
20908         * sysdeps/unix/sysv/linux/Implies: Likewise.
20910 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
20912         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20914         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20915         Moved to ...
20916         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20917         Here.
20918         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20919         to ...
20920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20921         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20922         to ...
20923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20924         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20925         to ...
20926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20927         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20928         to ...
20929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20930         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20931         to ...
20932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20933         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20934         to ...
20935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20936         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20937         to ...
20938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20939         Here.
20940         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20941         to ...
20942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20943         Here.
20944         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20945         to ...
20946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20947         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20948         Moved to ...
20949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20950         Here.
20951         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20952         to ...
20953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20955 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20957         * sysdeps/unix/common/bits/dirent.h: Remove file.
20958         * sysdeps/unix/common/bits/fcntl.h: Likewise.
20960         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20961         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20962         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20963         * sysdeps/unix/bsd/isatty.c: Likewise.
20964         * sysdeps/unix/bsd/tcdrain.c: Likewise.
20965         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20966         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20968 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20970         [BZ #13563]
20971         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20972         long double comparison inaccuracies.
20973         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20976 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
20978         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20979         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20981 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20983         [BZ #14049]
20984         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20985         nonzero digits before rounding a hex value.
20986         * stdlib/tst-strtod.c (tests): Add another test.
20988 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20990         * sysdeps/s390/fpu/libm-test-ulps: Update.
20992 2012-05-03  Andreas Jaeger  <aj@suse.de>
20994         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20995         does not get optimized out.
20996         (malloc_opt_barrier): New.
20998 2012-05-03  Andreas Jaeger  <aj@suse.de>
20999             Roland McGrath  <roland@hack.frob.com>
21001         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21002         intermediate file deletion.
21003         (generated): Add .symlist files.
21005 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
21007         [BZ #13775]
21008         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21009         Redirect under this condition.
21010         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21011         [__USE_GNU] (__dprintf_chk): Not under this condition.
21012         [__USE_GNU] (__vdprintf_chk): Likewise.
21013         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21014         under this condition.
21015         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21016         [__USE_XOPEN2K8] (dprintf): Define under this condition.
21017         [__USE_XOPEN2K8] (vdprintf): Likewise.
21018         [__USE_GNU] (__dprintf_chk): Not under this condition.
21019         [__USE_GNU] (__vdprintf_chk): Likewise.
21020         [__USE_GNU] (dprintf): Likewise.
21021         [__USE_GNU] (vdprintf): Likewise.
21023 2012-05-03  Roland McGrath  <roland@hack.frob.com>
21025         * elf/Makefile (common-generated): Set this instead of generated for
21026         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
21027         $(all-built-dso)-derived lists.
21029 2012-05-03  Andreas Jaeger  <aj@suse.de>
21031         * sysdeps/i386/fpu/libm-test-ulps: Update.
21033         * FAQ: Removed.
21034         * FAQ.in: Likewise.
21035         * scripts/gen-FAQ.pl: Likewise.
21036         * manual/install.texi (Installation): Point to online location of
21037         FAQ.
21038         * Makefile (files-for-dist): Remove FAQ.
21039         (FAQ): Remove.
21041 2012-05-02  Allan McRae  <allan@archlinux.org>
21043         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21044         (LDFLAGS-reldepmod5.so): Likewise.
21045         (LDFLAGS-reldep6mod1.so): Likewise.
21046         (LDFLAGS-reldep6mod4.so): Likewise.
21047         (LDFLAGS-reldep8mod3.so): Likewise.
21048         (LDFLAGS-unload4mod1.so): Likewise.
21049         (LDFLAGS-unload4mod2.so): Likewise.
21050         (LDFLAGS-tst-initorder): Likewise.
21051         (LDFLAGS-tst-initordera2.so): Likewise.
21052         (LDFLAGS-tst-initordera3.so): Likewise.
21053         (LDFLAGS-tst-initordera4.so): Likewise.
21054         (LDFLAGS-tst-initorderb2.so): Likewise.
21055         (LDFLAGS-noload): Likewise.
21056         (LDFLAGS-next): Likewise.
21057         (LDFLAGS-order2mod1.so): Likewise.
21058         (LDFLAGS-order2mod2.so): Likewise.
21059         (LDFLAGS-tst-initorder2): Likewise.
21060         (LDFLAGS-tst-initorder2a.so): Likewise.
21061         (LDFLAGS-tst-initorder2b.so): Likewise.
21062         (LDFLAGS-tst-initorder2c.so): Likewise.
21063         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21065 2012-05-02  David S. Miller  <davem@davemloft.net>
21067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21069 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21071         [BZ #14055]
21072         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21074 2012-05-02  Andreas Jaeger  <aj@suse.de>
21076         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21077         since we manipulate rounding mode.
21078         (CPPFLAGS-test-idouble.c): Likewise.
21079         (CPPFLAGS-test-ifloat.c): Likewise.
21080         (CFLAGS-test-ldouble.c): Likewise.
21081         (CFLAGS-test-double.c): Likewise.
21082         (CFLAGS-test-float.c): Likewise.
21083         (CFLAGS-test-misc.c): Likewise.
21084         (CFLAGS-test-test-fenv.c): Likewise.
21086 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21088         [BZ #2550]
21089         [BZ #2570]
21090         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21091         comparisons to determine direction to adjust input.
21093 2012-05-01  Roland McGrath  <roland@hack.frob.com>
21095         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21096         output to the target.
21098         * scripts/localplt.awk: New file.
21099         * elf/Makefile ($(objpfx)check-localplt): Target removed.
21100         (check-localplt-CFLAGS): Variable removed.
21101         ($(all-built-dso:=.jmprel)): New static pattern rule.
21102         (generated): Add those targets.
21103         (localplt-built-dso): New variable.
21104         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21106         * elf/check-localplt.c: File removed.
21108         * scripts/check-execstack.awk: New file.
21109         * elf/Makefile ($(objpfx)check-execstack): Target removed.
21110         (check-execstack-CFLAGS): Variable removed.
21111         ($(objpfx)check-execstack.h): Target removed.
21112         ($(objpfx)execstack-default): New target.
21113         (generated): Add that instead of check-execstack.h.
21114         ($(all-built-dso:=.phdr)): New static pattern rule.
21115         (generated): Add those targets.
21116         * elf/check-execstack.c: File removed.
21118         * scripts/check-textrel.awk: New file.
21119         * elf/Makefile ($(objpfx)check-textrel): Target removed.
21120         (check-textrel-CFLAGS): Variable removed.
21121         (all-built-dso): Use := to define.o
21122         ($(all-built-dso:=.dyn)): New static pattern rule.
21123         (generated): Add those targets.
21124         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21125         * config.make.in (READELF): New substituted variable.
21126         * elf/check-textrel.c: File removed.
21128 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
21130         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21131         allow.
21132         * conform/data/ctype.h-data [C99-based standards] (isblank):
21133         Expect function.
21134         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21135         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21136         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21137         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21138         Specify type.  Require positive value.
21139         (EILSEQ): Likewise.
21140         (ERANGE): Likewise.
21141         [ISO || POSIX] (EILSEQ): Do not expect.
21142         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21143         Specify type.  Require positive value.
21144         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21145         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21146         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21147         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21148         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21149         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21150         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21151         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21152         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21153         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21154         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21155         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21156         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21157         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21158         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21159         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21160         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21161         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21162         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21163         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21164         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21165         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21166         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21167         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21168         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21169         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21170         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21171         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21172         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21173         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21174         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21175         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21176         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21177         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21178         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21179         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21180         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21181         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21182         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21183         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21184         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21185         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21186         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21187         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21188         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21189         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21190         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21191         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21192         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21193         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21194         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21195         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21196         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21197         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21198         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21199         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21200         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21201         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21202         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21203         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21204         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21205         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21206         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21207         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21208         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21209         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21210         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21211         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21212         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21213         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21214         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21215         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21216         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21217         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21218         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21219         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21220         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21221         Require >= 2.
21222         (FLT_ROUNDS): Expect as macro, not constant.
21223         (FLT_MANT_DIG): Use macro-int-constant.
21224         (DBL_MANT_DIG): Likewise.
21225         (LDBL_MANT_DIG): Likewise.
21226         (FLT_DIG): Likewise.
21227         (DBL_DIG): Likewise.
21228         (LDBL_DIG): Likewise.
21229         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
21230         (DBL_MIN_EXP): Likewise.
21231         (LDBL_MIN_EXP): Likewise.
21232         (FLT_MAX_EXP): Use macro-int-constant.
21233         (DBL_MAX_EXP): Likewise.
21234         (LDBL_MAX_EXP): Likewise.
21235         (FLT_MAX_10_EXP): Likewise.
21236         (DBL_MAX_10_EXP): Likewise.
21237         (LDBL_MAX_10_EXP): Likewise.
21238         (FLT_MAX): Use macro-constant.
21239         (DBL_MAX): Likewise.
21240         (LDBL_MAX): Likewise.
21241         (FLT_EPSILON): Use macro-constant.  Give upper bound.
21242         (DBL_EPSILON): Likewise.
21243         (LDBL_EPSILON): Likewise.
21244         (FLT_MIN): Likewise.
21245         (DBL_MIN): Likewise.
21246         (LDBL_MIN): Likewise.
21247         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21248         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21249         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21250         [ISO11] (FLT_HAS_SUBNORM): Likewise.
21251         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21252         [ISO11] (DBL_DECIMAL_DIG): Likewise.
21253         [ISO11] (FLT_DECIMAL_DIG): Likewise.
21254         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21255         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21256         [ISO11] (FLT_TRUE_MIN): Likewise.
21257         [ISO11] (LDBL_TRUE_MIN): Likewise.
21258         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21259         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21260         (SCHAR_MIN): Use macro-int-constant.  Specify type.
21261         (SCHAR_MAX): Likewise.
21262         (UCHAR_MAX): Likewise.
21263         (CHAR_MIN): Likewise.
21264         (CHAR_MAX): Likewise.
21265         (MB_LEN_MAX): Use macro-int-constant.
21266         (SHRT_MIN): Use macro-int-constant.  Specify type.
21267         (SHRT_MAX): Likewise.
21268         (USHRT_MAX): Likewise.
21269         (INT_MAX): Likewise.
21270         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
21271         bound negative.
21272         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21273         bound with "U".
21274         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21275         bound with "L".
21276         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
21277         bound negative.  Suffix upper bound with "L".
21278         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21279         bound with "UL".
21280         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21281         Specify type.
21282         [C99-based standards] (LLONG_MAX): Likewise.
21283         [C99-based standards] (ULLONG_MAX): Likewise.
21284         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
21285         == 0.
21286         [ISO11] (max_align_t): Require type.
21287         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21289         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21290         from $CFLAGS, without defining away __attribute__ calls.
21291         (checknamespace): Use $CFLAGS_namespace.
21293         * conform/conformtest.pl (@keywords): Only include C99 keywords
21294         for standards based on C99 or C11.
21296         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21297         Disable tests.
21298         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21299         UNIX98]: Likewise.
21301         * conform/conformtest.pl: Handle "macro-int-constant" and test for
21302         usability of symbols in #if.
21304         * conform/conformtest.pl: If macro or constant types start
21305         "promoted:", expect the symbol to be of the following type
21306         promoted by the integer promotions.
21308         * conform/conformtest.pl: Parse all "constant" and "macro" lines
21309         in one place.  Also handle "macro-constant".
21311         * conform/conformtest.pl: Only accept expected macro values with
21312         "==".  Parse all "macro" lines in one place.
21313         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21315         * conform/conformtest.pl: Handle braced types on "constant" lines
21316         instead of handling "typed-constant".
21317         * conform/data/signal.h-data: Use "constant" instead of
21318         "typed-constant".
21320         * conform/conformtest.pl: Handle "optional-" at start of lines in
21321         one place rather than duplicating several cases.  Handle each
21322         format of "macro" line with initial "optional-".
21324         * conform/conformtest.pl: Only accept expected constant or
21325         optional-constant values with "==".  Parse all "constant" lines in
21326         one place.  Parse all "optional-constant" lines in one place.
21327         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21328         * conform/data/fmtmsg.h-data: Likewise.
21329         * conform/data/netinet/in.h-data: Likewise.
21330         * conform/data/tar.h-data: Likewise.
21331         * conform/data/limits.h-data: Use "==" form on "constant" and
21332         "optional-constant" lines.
21334         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21335         Use -std=c99 for XOPEN2K.
21336         (@knownproblems): Remove.
21337         (newtoken): Don't check %isknown.
21339         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21340         Do not expect macro.
21341         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21342         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21343         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21344         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21345         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21346         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21347         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21348         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21349         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21350         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21351         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21352         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21353         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21354         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21355         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21356         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21357         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21358         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21359         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21360         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21361         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21362         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21363         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21364         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21365         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21366         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21367         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21368         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21369         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21370         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21371         [XPG3] (acosh): Likewise.
21372         [XPG3] (asinh): Likewise.
21373         [XPG3] (atanh): Likewise.
21374         [XPG3] (cbrt): Likewise.
21375         [XPG3] (expm1): Likewise.
21376         [XPG3] (ilogb): Likewise.
21377         [XPG3] (log1p): Likewise.
21378         [XPG3] (logb): Likewise.
21379         [XPG3] (nextafter): Likewise.
21380         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21381         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21382         [XPG3] (remainder): Likewise.
21383         [XPG3] (rint): Likewise.
21384         [XPG3 || XPG4 || UNIX98] (round): Likewise.
21385         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21386         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21387         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21388         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21389         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21390         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21391         [UNIX98 || XOPEN2K] (scalb): Expect.
21392         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21393         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21394         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21395         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21396         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21397         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21398         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21399         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21400         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21401         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21402         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21403         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21404         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21405         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21406         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21407         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21408         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21409         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21410         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21411         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21412         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21413         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21414         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21415         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21416         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21417         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21418         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21419         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21420         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21421         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21422         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21423         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21424         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21425         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21426         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21427         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21428         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21429         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21430         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21431         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21432         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21433         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21434         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21435         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21436         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21437         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21438         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21439         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21440         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21441         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21442         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21443         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21444         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21445         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21446         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21447         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21448         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21449         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21450         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21451         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21452         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21453         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21454         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21455         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21456         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21457         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21458         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21459         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21460         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21461         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21462         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21463         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21464         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21465         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21466         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21467         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21468         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21469         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21470         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21471         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21472         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21473         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21474         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21475         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21476         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21477         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21478         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21479         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21480         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21481         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21482         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21483         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21484         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21485         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21486         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21487         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21488         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21489         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21490         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21491         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21492         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21493         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21494         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21495         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21496         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21497         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21498         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21499         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21500         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21501         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21502         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21503         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21504         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21505         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21506         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21507         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21508         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21509         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21510         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21511         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21512         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21513         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21514         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21515         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21516         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21517         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21518         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21519         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21520         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21521         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21522         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21523         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21524         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21525         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21526         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21527         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21528         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21530         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21531         _XOPEN_SOURCE_EXTENDED for XPG4.
21533         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21535         * Makeconfig (localtime): Remove variable.
21536         (inst_localtime-file): Likewise.
21538 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21541         Update.
21542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21543         Update.
21544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21545         Update.
21546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21547         Update.
21548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21549         Update.
21550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21551         Update.
21552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21553         Update.
21554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21555         Update.
21556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21557         Update.
21559 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
21561         [BZ #2550]
21562         [BZ #2570]
21563         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21564         comparisons to determine direction to adjust input.
21565         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21566         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21567         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21568         Likewise.
21569         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21570         Likewise.
21571         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21572         Likewise.
21573         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21574         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21575         Likewise.
21576         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21577         Likewise.
21578         * math/libm-test.inc (nexttoward_test): Add more tests.
21580 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21582         [BZ #14040]
21583         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21584         in version GLIBC_2.1, not GLIBC_2.0.
21585         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21586         Likewise.
21588 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
21590         [BZ #13942]
21591         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21592         (1 - x) * (1 + x).
21593         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21594         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21595         * math/libm-test.inc (acos_test): Add more tests.
21596         (asin_test): Likewise.
21597         * sysdeps/i386/fpu/libm-test-ulps: Update.
21598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21600         [BZ #14034]
21601         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21602         of square root.
21603         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21604         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21605         * math/libm-test.inc (acos_test_tonearest): New function.
21606         (acos_test_towardzero): Likewise.
21607         (acos_test_downward): Likewise.
21608         (acos_test_upward): Likewise.
21609         (asin_test_tonearest): Likewise.
21610         (asin_test_towardzero): Likewise.
21611         (asin_test_downward): Likewise.
21612         (asin_test_upward): Likewise.
21613         (main): Call the new functions.
21614         * sysdeps/i386/fpu/libm-test-ulps: Update.
21615         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21617         [BZ #13884]
21618         [BZ #13924]
21619         * math/e_exp10.c: Include <float.h>.
21620         (__ieee754_exp10): Handle underflow here rather than multiplying
21621         large negative argument by M_LN10.
21622         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21623         of __ieee754_expf.
21624         * math/e_exp10l.c: Include <float.h>.
21625         (__ieee754_exp10l): Handle underflow here rather than multiplying
21626         large negative argument by M_LN10l.
21627         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
21628         spurious overflow exception on underflow.
21630 2012-04-29  Marek Polacek  <polacek@redhat.com>
21632         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21633         (__fortify_function): New macro.
21634         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21635         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21636         __extern_always_inline.
21637         * libio/bits/stdio2.h: Likewise.
21638         * libio/bits/stdio.h: Likewise.
21639         * string/string.h: Likewise.
21640         * string/bits/string3.h: Likewise.
21641         * include/stdio.h: Likewise.
21642         * stdlib/bits/stdlib.h: Likewise.
21643         * stdlib/stdlib.h: Likewise.
21644         * rt/bits/mqueue2.h: Likewise.
21645         * rt/mqueue.h: Likewise.
21646         * posix/bits/unistd.h: Likewise.
21647         * posix/unistd.h: Likewise.
21648         * io/bits/poll2.h: Likewise.
21649         * io/bits/fcntl2.h: Likewise.
21650         * io/fcntl.h: Likewise.
21651         * io/sys/poll.h: Likewise.
21652         * misc/bits/syslog.h: Likewise.
21653         * misc/bits/syslog-ldbl.h: Likewise.
21654         * misc/sys/syslog.h: Likewise.
21655         * socket/bits/socket2.h: Likewise.
21656         * socket/sys/socket.h: Likewise.
21657         * debug/tst-chk1.c: Likewise.
21658         * wcsmbs/bits/wchar2.h: Likewise.
21659         * wcsmbs/bits/wchar-ldbl.h: Likewise.
21660         * wcsmbs/wchar.h: Likewise.
21662 2012-04-29  Andreas Jaeger  <aj@suse.de>
21664         * Makerules (tests): Remove enable-check-abi protection.
21665         (check-abi-warn): Remove.
21666         (check-abi-%): Remove check-abi-warn usage.
21668         * configure.in: Remove check-abi configure option.
21669         * configure: Regenerated.
21670         * config.make.in (enable-check-abi): Remove.
21672 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
21674         [BZ #14033]
21675         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21676         double functions to double *_finite functions.
21678         [BZ #13941]
21679         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21680         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21681         LDBL_MIN_EXP.
21682         * stdio-common/Makefile (tests): Add tst-sprintf3.
21683         * stdio-common/tst-sprintf3.c: New file.
21685         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21686         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21688 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21690         * conform/conformtest.pl: Remove duplicate typed-constant
21691         handling.
21693 2012-04-28  David S. Miller  <davem@davemloft.net>
21695         * Makerules (%.abilist): Add vpath on sysdep_dirs.
21696         (check-abi-%): Remove AWK script prerequisite and explicit
21697         abilist directory.
21698         (check-abi): Rewrite to just diff the symlist with the abilist.
21699         (config-tls, config-abi-config): Delete, no longer used.
21700         (update-abi-%): Remove AWK script and explicit abilist directory.
21701         (update-abi): Rewrite to simply compare and conditionally copy the
21702         symlist and the sysdep abilist file.  Remove update-abi-config
21703         checks.
21704         * abilist/ld.abilist: Remove.
21705         * abilist/libBrokenLocale.abilist: Remove.
21706         * abilist/libanl.abilist: Remove.
21707         * abilist/libcrypt.abilist: Remove.
21708         * abilist/libdl.abilist: Remove.
21709         * abilist/librt.abilist: Remove.
21710         * abilist/libthread_db.abilist: Remove.
21711         * abilist/libutil.abilist: Remove.
21712         * scripts/extract-abilist.awk: Remove.
21713         * scripts/merge-abilist.awk: Remove.
21714         * sysdeps/generic/libcidn.abilist: New file.
21715         * sysdeps/generic/libnss_compat.abilist: New file.
21716         * sysdeps/generic/libnss_db.abilist: New file.
21717         * sysdeps/generic/libnss_dns.abilist: New file.
21718         * sysdeps/generic/libnss_files.abilist: New file.
21719         * sysdeps/generic/libnss_hesiod.abilist: New file.
21720         * sysdeps/generic/libnss_nis.abilist: New file.
21721         * sysdeps/generic/libnss_nisplus.abilist: New file.
21722         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21723         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21724         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21725         file.
21726         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21727         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21728         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21729         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21730         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21731         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21732         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21733         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21734         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21735         file.
21736         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21737         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21738         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21739         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21740         file.
21741         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21742         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21743         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21744         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21745         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21746         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21747         file.
21748         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21749         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21750         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21751         file.
21752         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21753         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21754         New file.
21755         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21756         New file.
21757         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21758         New file.
21759         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21760         New file.
21761         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21762         New file.
21763         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21764         New file.
21765         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21766         New file.
21767         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21768         New file.
21769         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21770         New file.
21771         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21772         New file.
21773         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21774         New file.
21775         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21776         New file.
21777         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21778         New file.
21779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21780         file.
21781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21782         New file.
21783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21784         New file.
21785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21786         file.
21787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21788         New file.
21789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21790         New file.
21791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21792         file.
21793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21794         New file.
21795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21796         New file.
21797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21798         New file.
21799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21800         New file.
21801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21802         New file.
21803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21804         New file.
21805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21807         file.
21808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21809         New file.
21810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21811         file.
21812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21813         file.
21814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21815         file.
21816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21817         file.
21818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21819         file.
21820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21821         New file.
21822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21823         file.
21824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21825         file.
21826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21827         New file.
21828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21829         file.
21830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21832         file.
21833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21834         New file.
21835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21836         file.
21837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21838         file.
21839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21840         file.
21841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21842         file.
21843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21844         file.
21845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21846         New file.
21847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21848         file.
21849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21850         file.
21851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21852         New file.
21853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21854         file.
21855         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21856         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21857         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21858         file.
21859         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21860         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21861         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21862         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21863         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21864         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21865         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21866         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21867         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21868         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21871         file.
21872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21873         New file.
21874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21875         file.
21876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21877         file.
21878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21879         file.
21880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21881         file.
21882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21883         file.
21884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21885         New file.
21886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21887         New file.
21888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21889         file.
21890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21891         New file.
21892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21893         file.
21894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21896         file.
21897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21898         New file.
21899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21900         file.
21901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21902         file.
21903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21904         file.
21905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21906         file.
21907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21908         file.
21909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21910         New file.
21911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21912         New file.
21913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21914         file.
21915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21916         New file.
21917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21918         file.
21920 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21922         * conform/conformtest.pl: Fix typo in handling typed-constant from
21923         allow-header.
21925 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21927         * README: Cut down references to pre-2.6 Linux kernels and
21928         Linuxthreads.  Update lists of configurations in libc and ports
21929         and sort alphabetically.  Say "or newer" with Linux kernel version
21930         requirements.
21932         * config.h.in [IS_IN_build]: Allow compiling without optimization.
21934 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21936         [BZ #887]
21937         * math/libm-test.inc (logb_test_downward): New test to expose
21938         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21939         rounding mode.
21941 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21943         [BZ #14027]
21944         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21945         to be done.
21946         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21947         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21949 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
21951         * sysdeps/unix/i386/brk.S: Remove file.
21952         * sysdeps/unix/i386/dl-brk.S: Likewise.
21953         * sysdeps/unix/i386/pipe.S: Likewise.
21954         * sysdeps/unix/i386/sigreturn.S: Likewise.
21955         * sysdeps/unix/i386/syscall.S: Likewise.
21956         * sysdeps/unix/i386/vfork.S: Likewise.
21957         * sysdeps/unix/i386/wait.S: Likewise.
21959         * sysdeps/unix/common/tcsendbrk.c: Move to ...
21960         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21962         * configure.in (arm*-none*): Do not allow without
21963         --enable-hacker-mode.
21964         (netbsd*): Remove case setting base_os.
21965         (386bsd*): Likewise.
21966         (freebsd*): Likewise.
21967         (bsdi*): Likewise.
21968         (osf*): Likewise.
21969         (sunos*): Likewise.
21970         (ultrix*): Likewise.
21971         (newsos*): Likewise.
21972         (dynix*): Likewise.
21973         (*bsd*): Likewise.
21974         (sysv*): Likewise.
21975         (isc*): Likewise.
21976         (esix*): Likewise.
21977         (sco*): Likewise.
21978         (minix*): Likewise.
21979         (irix4*): Likewise.
21980         (irix6*): Likewise.
21981         (solaris[2-9]*): Likewise.
21982         (none): Likewise.
21983         * configure: Regenerated.
21985 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21987         [BZ #11521]
21988         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21989         overflow or cancellation in calculating denominator.
21990         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21991         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21992         down expression to avoid unexpected rounding in newer GCCs.
21993         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21995 2012-04-26  David S. Miller  <davem@davemloft.net>
21997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21998         long-double compat symbols.
21999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22013 2012-04-25  David S. Miller  <davem@davemloft.net>
22015         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22016         HWCAP_* values only after the memory barriers have been defined.
22017         (atomic_full_barrier): Define.
22018         (atomic_read_barrier): Define.
22019         (atomic_write_barrier): Define.
22021 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22023         * shlib-versions: Add libgcc_s version information.
22024         * sysdeps/generic/libgcc_s.h: Remove.
22025         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22026         libgcc_s.h.
22027         * sysdeps/gnu/unwind-resume.c: Likewise.
22028         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22030 2012-04-25  David S. Miller  <davem@davemloft.net>
22032         * sysdeps/unix/sparc/brk.S: Delete.
22033         * sysdeps/unix/sparc/dl-brk.S: Delete.
22034         * sysdeps/unix/sparc/pipe.S: Delete.
22035         * sysdeps/unix/sparc/sysdep.S: Delete.
22036         * sysdeps/unix/sparc/sysdep.h: Delete.
22037         * sysdeps/unix/sparc/vfork.S: Delete.
22038         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22039         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22040         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22041         ret_ERRVAL, r0, r1, MOVE): Define.
22042         (JUMPTARGET): Remove.
22043         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22044         sysdeps/unix/sparc/sysdep.h
22045         (ENTRY, END): Remove.
22046         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22048 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
22050         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22051         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22052         -DIS_IN_build.
22054         * timezone/README: Update upstream location and email address for
22055         tzcode and tzdata.
22056         * timezone/zdump.c: Update from tzcode 2012b.
22057         * timezone/zic.c: Likewise.
22059         * configure.in (libc_cv_as_needed): Remove test.
22060         * configure: Regenerated.
22061         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22062         conditional definition.
22063         [$(have-as-needed) != yes] (no-as-needed): Likewise.
22064         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22065         * config.make.in (have-as-needed): Remove variable.
22067 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22068             Paul Pluzhnikov  <ppluzhnikov@google.com>
22070         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22071         strings correctly.
22073 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22075         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22076         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22077         * sysdeps/sh/strlen.S: Likewise.
22079 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22081         * sysdeps/unix/fork.S: Remove file.
22082         * sysdeps/unix/i386/fork.S: Likewise.
22083         * sysdeps/unix/sparc/fork.S: Likewise.
22085         * sysdeps/unix/system.c: Remove file.
22086         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22088         * sysdeps/unix/getegid.S: Remove file.
22089         * sysdeps/unix/geteuid.S: Likewise.
22091 2012-04-24  Roland McGrath  <roland@hack.frob.com>
22093         * scripts/check-localplt.awk: New file.
22094         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22095         of diff.
22096         * scripts/data/localplt-generic.data: Add a comment.
22098         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22099         NODE when __dir_mkfile failed.
22100         * sysdeps/mach/hurd/symlinkat.c: Likewise.
22101         Reported by Ludovic Courtès <ludo@gnu.org>.
22103 2012-04-24  Andreas Jaeger  <aj@suse.de>
22105         * Makerules (common-clean): Also remove gen-as-const-headers
22106         files.
22108 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22110         * Makerules (native-compile): Do not change working directory for
22111         build.  Use $(OUTPUT_OPTION) in command.
22112         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22114 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22116         [BZ #13886]
22117         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22118         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22119         * math/libm-test.inc (floor_test): Add more tests.
22120         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22122 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22124         * sysdeps/unix/getdents.c: Remove file.
22125         * sysdeps/unix/sysv/getdents.c: Likewise.
22126         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22128         * sysdeps/unix/syscalls.list (madvise): Add syscall from
22129         sysdeps/unix/mman/syscalls.list.
22130         (mmap): Likewise.
22131         (mprotect): Likewise.
22132         (msync): Likewise.
22133         (munmap): Likewise.
22134         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22135         * sysdeps/unix/mman/syscalls.list: Remove.
22136         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22138         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22139         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22140         * configure: Regenerated.
22141         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22142         $(libgcc_s_suffix).
22143         * config.make.in (libgcc_s_suffix): Remove variable.
22145 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
22147         * sysdeps/unix/sysv/gethostname.c: Move to ...
22148         * sysdeps/posix/gethostname.c: ... here.
22150         * sysdeps/unix/execve.S: Remove file.
22152         * sysdeps/unix/_exit.S: Remove file.
22154 2012-04-23  Andreas Jaeger  <aj@suse.de>
22156         [BZ #13739]
22157         * manual/Makefile: Remove make dist support, there's no
22158         need for a stand-alone documentation tar ball.
22159         (TEXI2DVI): Define always, it's not in Makeconfig.
22160         (dist): Removed.
22161         (tar-it): Removed.
22162         (edition): Removed.
22163         (glibc-doc-$(edition).tar): Removed
22164         (%.Z): Removed.
22165         (%.gz): Removed.
22166         (%.uu): Removed.
22167         (ETAGS): Remove, it's in Makeconfig.
22168         (move-if-change): Remove, it's in Makeconfig.
22170 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
22172         [BZ #13970]
22173         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22174         (strtod, strtof, strtold, strtol, strtoul, strtoq)
22175         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22176         (strtod_l, strtof_l, strtold_l): Remove __wur.
22177         It is not necessarily an error to ignore strtol's return value.
22178         One can reliably look at the stored endptr to decide whether
22179         the number had valid syntax.
22181 2012-04-21  Andreas Jaeger  <aj@suse.de>
22183         [BZ #13739]
22184         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22186 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
22188         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22189         * sysdeps/unix/sysv/Versions: Remove file.
22191 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
22193         [BZ #13927]
22194         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22196 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
22198         [BZ #7064]
22199         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22200         version from __vm86.
22202 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
22204         * sysdeps/unix/common/lxstat.c: Remove file.
22205         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22207         * sysdeps/unix/sysv/Makefile: Remove file.
22209         * sysdeps/unix/sysv/direct.h: Remove file.
22211         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22212         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22213         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22214         * sysdeps/unix/sysv/bits/signum.h: Likewise.
22215         * sysdeps/unix/sysv/bits/stat.h: Likewise.
22216         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22217         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22219         * sysdeps/unix/sysv/setrlimit.c: Remove file.
22221         * sysdeps/unix/xmknod.c: Remove file.
22222         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22224         * sysdeps/unix/sysv/settimeofday.c: Remove file.
22226         * sysdeps/unix/sysv/i386/time.S: Remove file.
22228         * sysdeps/unix/fxstat.c: Remove file.
22229         * sysdeps/unix/xstat.c: Likewise.
22230         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22232         * sysdeps/unix/sysv/sigaction.c: Remove file.
22234         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22235         (sysdep_headers): Remove variable.
22236         [termio.h not in sysdep_headers] (generated): Likewise.
22237         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22238         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22239         * sysdeps/unix/sysv/tcdrain.c: Likewise.
22240         * sysdeps/unix/sysv/tcflow.c: Likewise.
22241         * sysdeps/unix/sysv/tcflush.c: Likewise.
22242         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22243         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22244         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22245         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22246         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22248         * sysdeps/unix/siglist.c: Remove file.
22250         * sysdeps/unix/getppid.S: Remove file.
22252         * sysdeps/unix/mkdir.c: Remove file.
22253         * sysdeps/unix/rmdir.c: Likewise.
22255 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
22257         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22258         ERR_MAX value.
22259         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22260         errlist-compat value.
22262 2012-04-18  David S. Miller  <davem@davemloft.net>
22264         * sysdeps/generic/memcopy.h (reg_char): Delete.
22265         * debug/strcat_chk.c: Use char, not reg_char.
22266         * debug/strcpy_chk.c: Likewise.
22267         * debug/strncat_chk.c: Likewise.
22268         * debug/strncpy_chk.c: Likewise.
22269         * string/memchr.c: Likewise.
22270         * string/memrchr.c: Likewise.
22271         * string/rawmemchr.c: Likewise.
22272         * string/strcat.c: Likewise.
22273         * string/strchr.c: Likewise.
22274         * string/strchrnul.c: Likewise.
22275         * string/strcmp.c: Likewise.
22276         * string/strcpy.c: Likewise.
22277         * string/strncat.c: Likewise.
22278         * string/strncmp.c: Likewise.
22279         * string/strncpy.c: Likewise.
22281 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22283         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22284         __builtin_memcopy is called when src and dest ranges are known to not
22285         overlap.
22287 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22289         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22290         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22291         fwd_align_merge macro call.
22292         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22293         bwd_align_merge macro call.
22294         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22296 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22298         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22299         bwd_align_merge macros.
22300         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22301         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22302         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22304 2012-04-18  David S. Miller  <davem@davemloft.net>
22306         * sysdeps/sparc/sparc64/memcopy.h: Delete.
22308 2012-04-18  Andreas Jaeger  <aj@suse.de>
22310         [BZ# 6794]
22311         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22312         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22313         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22315         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22316         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22317         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22319         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22320         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22321         Adjust for changed ldbl-128 files.
22323         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22324         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22325         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22327 2012-04-17  David S. Miller  <davem@davemloft.net>
22329         * sysdeps/sparc/sparc32/memcopy.h: Delete.
22331 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
22333         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22334         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22335         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22336         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22337         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22338         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22340 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22342         [BZ #6794]
22343         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22344         * math/libm-test.inc: Add ilogb errno and exception tests.
22345         * math/w_ilogb.c: New file: ilogb wrapper.
22346         * math/w_ilogbf.c: New file: ilogbf wrapper.
22347         * math/w_ilogbl.c: New file: ilogbl wrapper.
22348         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22349         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22350         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22351         exception being thrown with 0.0 as argument.
22352         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22353         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22354         exception being thrown with 0.0 as argument.
22355         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22356         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22357         exception being thrown with 0.0 as argument.
22358         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22359         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22360         exception being thrown with 0.0 as argument.
22361         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22362         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22363         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22364         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22365         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22366         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22367         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22368         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22369         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22371 2012-04-17  Petr Baudis  <pasky@ucw.cz>
22373         * include/sys/uio.h: Change __vector to __iovec to avoid clash
22374         with altivec.
22376 2012-04-16  Marek Polacek  <polacek@redhat.com>
22378         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22380 2012-04-16  Marek Polacek  <polacek@redhat.com>
22382         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22383         operands of fdivp instruction.
22385 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
22387         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22388         * elf/tst-auditmod3b.c: Likewise.
22389         * elf/tst-auditmod4b.c: Likewise.
22390         * elf/tst-auditmod5b.c: Likewise.
22391         * elf/tst-auditmod6b.c: Likewise.
22392         * elf/tst-auditmod6c.c: Likewise.
22393         * elf/tst-auditmod7b.c: Likewise.
22394         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22395         * sysdeps/x86_64/preconfigure.in: Likewise.
22396         * sysdeps/x86_64/preconfigure: Regenerated.
22398 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
22400         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22401         __ILP32__.
22403 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
22405         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22406         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22408 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
22410         [BZ #13973]
22411         * locale/iso-639.def: Fix gl language name. Spotted by
22412         Yaron Shahrabani.
22414 2012-04-12  Roland McGrath  <roland@hack.frob.com>
22416         [BZ #2074]
22417         * libio/libio.h (__io_write_fn): Update comment.
22419 2012-04-12  Petr Baudis  <pasky@ucw.cz>
22421         [BZ #2074]
22422         * stdio.texi (Hook Functions): The user provided writer function
22423         is not allowed to return -1.
22425 2012-04-11  David S. Miller  <davem@davemloft.net>
22427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22429 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
22431         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22432         Add a leading slash to rtkaio.
22434 2012-04-11  Jim Meyering  <meyering@redhat.com>
22436         [BZ #11959]
22437         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22438         It is not necessarily an error to ignore fwrite's return
22439         value.  One can reliably use ferror to test for errors after
22440         the fact.
22442 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
22444         * bits/types.h (__snseconds_t): New type.
22445         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22447         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22448         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22449         (__SNSECONDS_T_TYPE): Likewise.
22450         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22451         (__SNSECONDS_T_TYPE): Likewise.
22452         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22453         (__SNSECONDS_T_TYPE): Likewise.
22455 2012-04-10  Andreas Jaeger  <aj@suse.de>
22457         [BZ #2636]
22458         * manual/time.texi (Processor Time): Return type of times is
22459         elapsed real time since an arbitrary point in the past.
22460         (CPU Time): Move CLK_TCK from here...
22461         (Processor Time): ...to here.  Correct description.
22462         * manual/conf.texi (Constants for Sysconf): Correct description of
22463         _SC_CLK_TCK.
22465 2012-04-10  David S. Miller  <davem@davemloft.net>
22467         [BZ #13967]
22468         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22469         where the is a gap between DT_REL(A) and DT_JMPREL.
22471 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
22473         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22474         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22475         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22477 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22479         * elf/dl-support.c (_dl_inhibit_cache): New variable.
22480         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22481         (dl_main): Handle --inhibit-cache.
22482         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22483         _dl_inhibit_cache.
22484         * elf/dl-load.c (_dl_map_object): Use it.
22485         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22487 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
22489         [BZ #13872]
22490         * sysdeps/i386/fpu/e_powl.S (p78): New object.
22491         (__ieee754_powl): Saturate large exponents rather than testing for
22492         overflow of y*log2(x).
22493         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22494         * math/libm-test.inc (pow_test): Do not permit spurious overflow
22495         exceptions.
22497         [BZ #11521]
22498         * math/s_ctan.c: Include <float.h>.
22499         (__ctan): Avoid internal overflow or cancellation in calculating
22500         denominator.
22501         * math/s_ctanf.c: Likewise.
22502         * math/s_ctanl.c: Likewise.
22503         * math/s_ctanh.c: Likewise.
22504         * math/s_ctanhf.c: Likewise.
22505         * math/s_ctanhl.c: Likewise.
22506         * math/libm-test.inc (ctan_test): Add more tests.
22507         (ctanh_test): Likewise.
22508         * sysdeps/i386/fpu/libm-test-ulps: Update.
22509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22511 2012-04-09  Andreas Jaeger  <aj@suse.de>
22513         [BZ #6894]
22514         * manual/filesys.texi (Directory Entries): Mention that d_namlen
22515         is an optional BSD extension.
22517         [BZ #10254]
22518         * manual/stdio.texi (Opening Streams): Document additional fopen
22519         parameters.
22521 2012-04-09  Roland McGrath  <roland@hack.frob.com>
22523         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22524         %eax without telling the compiler.
22526 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
22528         [BZ # 13963]
22529         * manual/install.texi: Use sourceware.org.
22531 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
22533         [BZ #13873]
22534         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22535         (__ieee754_pow): Generate overflow and underflow using huge*huge
22536         and tiny*tiny rather than just returning constant infinity or zero
22537         for large exponents.
22538         * math/libm-test.inc (pow_test): Require overflow exceptions for
22539         applicable cases of large exponents.
22541         [BZ #706]
22542         * sysdeps/i386/fpu/e_pow.S (p10): New object.
22543         (__ieee754_pow): Use iterative multiplication algorithm only for
22544         integer exponents with absolute value below 1024.  Check for odd
22545         integer exponents when using algorithm for real exponents.
22546         * math/libm-test.inc (pow_test): Add more tests.
22547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22549 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
22551         [BZ #13705]
22552         * math/libm-test.inc (exp_test): Do not allow overflow exception
22553         on underflow test.
22555 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
22557         [BZ #13705]
22558         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22559         instead of __kernel_standard_f.
22561 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
22563         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22564         * sysdeps/x86_64/memset_chk.S: Likewise.
22566 2012-04-08  Andreas Jaeger  <aj@suse.de>
22568         [BZ #10153]
22569         * manual/startup.texi (Environment Access): Describe return value
22570         for putenv and setenv.
22572         [BZ #6895]
22573         * manual/filesys.texi (Directory Entries): Add description for
22574         DT_LNK.
22576         [BZ #6890]
22577         * manual/filesys.texi (Directory Entries): Clarify that it's file
22578         system not operating system in the description of DT_UNKNOWN.
22580         [BZ #6578]
22581         * manual/syslog.texi (closelog): Fix reference, it's openlog.
22583 2012-04-08  Stephen Compall  <s11@member.fsf.org>
22585         [BZ #6649]
22586         * manual/llio.texi (Opening and Closing Files): Add cross
22587         reference to explain mode argument.
22589 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
22591         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22592         * sysdeps/x86_64/memset_chk.S: Likewise.
22594 2012-04-07  David S. Miller  <davem@davemloft.net>
22596         * elf/elf.h (R_SPARC_WDISP10): Define.
22597         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22598         R_SPARC_SIZE32.
22599         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22600         R_SPARC_SIZE64 and R_SPARC_H34.
22602 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
22604         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22605         conditions and remove no longer applicable assertion.
22607 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22609         * bits/byteswap.h: Include <features.h>.
22610         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22611         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22613 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22615         * bits/byteswap.h (__bswap_16): Removed.
22616         Include <bits/byteswap-16.h> to get __bswap_16.
22617         * sysdeps/i386/bits/byteswap.h: Likewise.
22618         * sysdeps/s390/bits/byteswap.h: Likewise.
22619         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22620         * bits/byteswap-16.h: New file.
22621         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22622         * sysdeps/s390/bits/byteswap-16.h: Likewise.
22623         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22624         * string/Makefile (headers): Add bits/byteswap-16.h.
22626 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22628         [BZ #13895]
22629         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22630         extra indirection.
22631         * nss/Makefile (tests-static, tests): Add tst-nss-static.
22632         * nss/tst-nss-static.c: New.
22634 2012-04-06  Robert Millan  <rmh@gnu.org>
22636         [BZ #6486]
22637         * manual/llio.texi (File Position Primitive): lseek
22638         refers to WHENCE when it really means OFFSET.
22640 2012-04-06  Andreas Jaeger  <aj@suse.de>
22642         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22643         strncmp declarations.
22645         * abilist/libc.abilist: Add __poll and __ppoll.
22647 2012-04-05  David S. Miller  <davem@davemloft.net>
22649         * scripts/check-local-headers.sh: Accept a host triplet in the
22650         path matched by the exclude regexp.
22652         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22653         definition.
22654         * sysdeps/powerpc/powerpc32/dl-machine.h
22655         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22656         * sysdeps/s390/s390-32/dl-machine.h
22657         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22658         * sysdeps/sparc/sparc32/dl-machine.h
22659         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22660         * sysdeps/sparc/sparc64/dl-machine.h
22661         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22663         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22664         lazy binding.
22665         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22666         undefined symbol errors.
22668         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22669         DT_NEEDED entries.
22671 2012-04-05  Michael Matz  <matz@suse.de>
22673         [BZ #13592]
22674         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22676 2012-04-05  Andreas Jaeger  <aj@suse.de>
22678         [BZ #13908]
22679         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22680         comment.
22682 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22684         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22685         which ROUND is no valid rounding mode.
22687 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22689         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22690         read again.
22691         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22693 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22695         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22696         an exception using FPU order intentionally.
22698 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22700         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22701         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22702         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22703         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22705 2012-04-05  Simon Josefsson  <simon@josefsson.org>
22707         [BZ #12340]
22708         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22709         EINVAL when BUFLEN is too smal.
22711 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22713         [BZ #13553]
22714         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22715         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22717 2012-04-03  Andreas Jaeger  <aj@suse.de>
22719         [BZ #13938]
22720         * manual/setjmp.texi (System V contexts): Fix sentence.
22722         [BZ #13926]
22723         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22724         New macro for this case.
22725         [!__GNUC__] (__bswap_64): New inline function for this case.
22726         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22727         * bits/byteswap.h: Likewise.
22728         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22729         ull, guard with __GLIBC_HAVE_LONG_LONG.
22731         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22732         __GLIBC_HAVE_LONG_LONG.
22734         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22735         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22737 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22739         [BZ #13691]
22740         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22741         inptr and inend, rather than using last_ch.
22743 2012-04-02  David S. Miller  <davem@davemloft.net>
22745         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22746         * stdio-common/printf-parse.h (read_int): Change return type to
22747         'int', return -1 on INT_MAX overflow.
22748         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22749         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
22750         overflows INT_MAX.  Check for overflow of in-format-string precision
22751         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
22752         SIZE_MAX not INT_MAX for integer overflow test.
22753         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22754         skip the construct in the format string but do not record anything.
22755         * stdio-common/bug22.c: Adjust to test both width/prevision
22756         INT_MAX overflow as well as total length INT_MAX overflow.  Check
22757         explicitly for proper errno values.
22759 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22761         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22762         CHAR_MAX.
22763         * string/test-strcmp.c [! WIDE]: Likewise.
22764         * time/tst-mktime2.c: Likewise for INT_MAX.
22765         * string/test-string.h: #include <sys/param.h> for MIN.
22767         * csu/init-first.c (__libc_init_first): Call __ctype_init.
22768         * sysdeps/i386/init-first.c (init): Likewise.
22769         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22770         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22771         * sysdeps/sh/init-first.c (init): Likewise.
22773 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
22775         * po/ru.po: Update from translation team.
22776         * po/vi.po: Likewise.
22778 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22780         * resolv/nss_dns/dns-host.c: Merge copyright years.
22782 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22784         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22785         Optimize memcpy with prefetch if
22786         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
22787         src, dst pointers have unequal 16 byte alignments.
22789 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22791         [BZ #13928]
22792         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22793         from a CNAME entry and return the minimum ttl for the query.
22794         (gaih_getanswer_slice): Likewise.
22796 2012-03-30  Jeff Law  <law@redhat.com>
22798         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22799         due to long keys.
22800         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22801         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22803         * resolv/nss_dns/dns-host.c: Update copyright year.
22805 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
22807         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22808         requests to save a system call.  Fix check that all bytes are sent.
22810         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22811         comments for sendmmsg.
22813 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22815         [BZ #13691]
22816         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22817         with only 1 character between 0x0041 and 0x01b0.
22818         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22819         * wcsmbs/tst-mbsnrtowcs.c: New file.
22821 2012-03-29  David S. Miller  <davem@davemloft.net>
22823         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22824         small copies by hand.
22826 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22828         [BZ #13761]
22829         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22830         _nss_compat_initgroups_dyn): Fall back to malloc/free
22831         for large group memberships.
22833 2012-03-28  David S. Miller  <davem@davemloft.net>
22835         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22836         that branches into memcpy.
22837         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22838         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22839         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22840         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22841         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22842         bits.
22843         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22844         implementation too.
22845         * sysdeps/sparc/mempcpy.S: New file.
22847         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22848         the IFUNC routine in the libc case.
22849         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22851         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22852         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22853         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22854         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22855         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22856         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22857         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22858         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22860         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22861         loop to 256 bytes instead of 64 bytes and fix test signedness.
22863         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22864         * sysdeps/sparc/sparc32/Makefile: rather than here...
22865         * sysdeps/sparc/sparc64/Makefile: and here.
22867 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
22869         * malloc/mallocbug.c: Avoid warnings about unused variables.
22871 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22873         [BZ #13760]
22874         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22875         in the right place. Discard and retry query if response is
22876         larger than input buffer size.
22878 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
22880         [BZ #369]
22881         [BZ #2678]
22882         [BZ #3866]
22883         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22884         x for large integer exponent.
22885         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22886         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
22887         sign of result as needed afterwards.
22888         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22889         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22890         result for underflowing pow the same as for overflow.
22891         (__kernel_standard_l): Handle powl overflow and underflow here
22892         rather than calling __kernel_standard.
22893         * math/libm-test.inc (pow_test): Add more tests.
22895         [BZ #3868]
22896         [BZ #13879]
22897         [BZ #13910]
22898         [BZ #13911]
22899         [BZ #13912]
22900         [BZ #13913]
22901         [BZ #13915]
22902         [BZ #13916]
22903         [BZ #13917]
22904         [BZ #13918]
22905         [BZ #13919]
22906         [BZ #13920]
22907         [BZ #13921]
22908         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22909         * sysdeps/ieee754/k_standard.c: Include <float.h>.
22910         (__kernel_standard_l): New function.
22911         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22912         __kernel_standard.
22913         * math/w_acosl.c (__acosl): Likewise.
22914         * math/w_asinl.c (__asinl): Likewise.
22915         * math/w_atan2l.c (__atan2l): Likewise.
22916         * math/w_atanhl.c (__atanhl): Likewise.
22917         * math/w_coshl.c (__coshl): Likewise.
22918         * math/w_exp10l.c (__exp10l): Likewise.
22919         * math/w_exp2l.c (__exp2l): Likewise.
22920         * math/w_fmodl.c (__fmodl): Likewise.
22921         * math/w_hypotl.c (__hypotl): Likewise.
22922         * math/w_j0l.c (__j0l, __y0l): Likewise.
22923         * math/w_j1l.c (__j1l, __y1l): Likewise.
22924         * math/w_jnl.c (__jnl, __ynl): Likewise.
22925         * math/w_lgammal.c (__lgammal): Likewise.
22926         * math/w_log10l.c (__log10l): Likewise.
22927         * math/w_log2l.c (__log2l): Likewise.
22928         * math/w_logl.c (__logl): Likewise.
22929         * math/w_powl.c (__powl): Likewise.
22930         * math/w_remainderl.c (__remainderl): Likewise.
22931         * math/w_scalbl.c (sysv_scalbl): Likewise.
22932         * math/w_sinhl.c (__sinhl): Likewise.
22933         * math/w_sqrtl.c (__sqrtl): Likewise.
22934         * math/w_tgammal.c (__tgammal): Likewise.
22935         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22936         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22937         * math/libm-test.inc (acos_test): Add more tests.
22938         (acosh_test): Likewise.
22939         (asin_test): Likewise.
22940         (atanh_test): Likewise.
22941         (exp_test): Likewise.
22942         (exp10_test): Likewise.
22943         (exp2_test): Likewise.
22944         (expm1_test): Likewise.
22945         (lgamma_test): Likewise.
22946         (log_test): Likewise.
22947         (log10_test): Likewise.
22948         (log1p_test): Likewise.
22949         (log2_test): Likewise.
22950         (pow_test): Do not allow some spurious overflow exceptions.
22951         (sqrt_test): Add more tests.
22952         (tgamma_test): Likewise.
22953         (y0_test): Likewise.
22954         (y1_test): Likewise.
22955         (yn_test): Likewise.
22957 2012-03-27  Anton Blanchard  <anton@samba.org>
22959         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22960         MAP_HUGETLB.
22961         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22962         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22963         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22965 2012-03-27  David S. Miller  <davem@davemloft.net>
22967         * conform/Makefile: Run run-conformtest.sh using $(BASH).
22969         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22970         have-as-vis3 check.
22972 2012-03-27  Andreas Jaeger  <aj@suse.de>
22974         * sysdeps/x86_64/elf/configure.in: Moved to ...
22975         * sysdeps/x86_64/configure.in: ... here.
22976         * sysdeps/x86_64/elf/start.S: Moved to ...
22977         * sysdeps/x86_64/start.S: ... here.
22978         * sysdeps/x86_64/elf/configure: Delete.
22980         * sysdeps/x86_64/configure.in: Merge contents from
22981         sysdeps/i386/configure.in (without i686 check).
22983         * sysdeps/i386/elf/Versions: Merge into ...
22984         * sysdeps/i386/Versions: ... this.
22985         * sysdeps/i386/elf/Versions: Delete file.
22986         * sysdeps/i386/elf/start.S: Moved to ...
22987         * sysdeps/i386/start.S: ...here.
22988         * sysdeps/i386/elf/configure.in: Merge into...
22989         * sysdeps/i386/configure.in: ...here.
22990         * sysdeps/i386/elf/configure.in: Delete file.
22991         * sysdeps/i386/elf/configure: Delete file.
22993         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22994         * debug/backtracesyms.c: ... here.
22995         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22996         * debug/backtracesymsfd.c: ... here.
22997         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22998         * sysdeps/generic/ifunc-sel.h: ... here.
23000         * sysdeps/unix/i386/start.c: Delete file.
23001         * sysdeps/unix/sparc/start.c: Delete file.
23002         * sysdeps/unix/start.c: Delete file.
23004         * sysdeps/sh/elf/configure.in: Moved to ...
23005         * sysdeps/sh/configure.in: ... here.
23006         * sysdeps/sh/elf/start.S: Moved to ...
23007         * sysdeps/sh/start.S: ... here.
23008         * sysdeps/sh/elf/configure: Delete file.
23010         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23011         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23012         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23013         * sysdeps/powerpc/powerpc64/entry.h: ... here.
23014         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23015         * sysdeps/powerpc/powerpc64/start.S: here.
23016         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23017         * sysdeps/powerpc/powerpc64/Makefile: ... this.
23018         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23019         * sysdeps/powerpc/powerpc64/configure.in: ... this.
23020         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23022         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23023         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23024         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23025         * sysdeps/powerpc/powerpc32/start.S: ... here.
23026         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23027         * sysdeps/powerpc/powerpc32/configure.in: ... this.
23028         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23030         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23031         * sysdeps/powerpc/ifunc-sel.h: ... here.
23032         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23033         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23035         * sysdeps/sparc/elf/configure.in: Moved to ...
23036         * sysdeps/sparc/configure.in: ... here.
23037         * sysdeps/sparc/elf/configure: Delete file.
23038         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23039         * sysdeps/sparc/sparc32/start.S: ... here.
23040         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23041         * sysdeps/sparc/sparc64/start.S: ... here.
23042         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23043         * sysdeps/sparc/sparc32/Makefile: ... this.
23044         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23045         * sysdeps/sparc/sparc64/Makefile: ... this.
23047         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23048         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23049         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23050         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23051         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23052         * sysdeps/s390/s390-32/setjmp.S: ... here.
23053         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23054         * sysdeps/s390/s390-32/configure.in: ... here.
23055         * sysdeps/s390/s390-32/elf/configure: Delete file.
23056         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23057         * sysdeps/s390/s390-32/start.S: ... here.
23059         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23060         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23061         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23062         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23063         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23064         * sysdeps/s390/s390-64/setjmp.S: ... here.
23065         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23066         * sysdeps/s390/s390-64/configure.in: ... here
23067         * sysdeps/s390/s390-64/elf/configure: Delete file.
23068         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23069         * sysdeps/s390/s390-64/start.S: ... here.
23070         * sysdeps/s390/s390-64/elf/configure: Delete.
23072         * configure.in: Remove support for elf directories in sysdeps.
23074         * configure: Regenerated.
23075         * sysdeps/i386/configure: Regenerated.
23076         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23077         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23078         * sysdeps/s390/s390-32/configure: Regenerated.
23079         * sysdeps/s390/s390-64/configure: Regenerated.
23080         * sysdeps/sh/configure: Regenerated.
23081         * sysdeps/sparc/configure: Regenerated.
23082         * sysdeps/x86_64/configure: Regenerated.
23084 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
23086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23088         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23089         denormal result into account.
23091 2012-03-25  Roland McGrath  <roland@hack.frob.com>
23093         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23094         Reported by Allan McRae <allan@archlinux.org>.
23096 2012-03-23  Jeff Law  <law@redhat.com>
23098         * nss/getnssent.c (__nss_getent): Fix typo.
23100 2012-03-23  David S. Miller  <davem@davemloft.net>
23102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23104 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
23106         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23107         to pad to uint64_t for each field.
23108         (dl_tls_index): Replace unsigned long with uint64_t.
23110 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
23111         Paul Pluzhnikov  <ppluzhnikov@google.com>
23113         [BZ #6528]
23114         * grp/Makefile (otherlibs): Don't set it.
23115         * inet/Makefile (otherlibs): Likewise.
23116         * login/Makefile (otherlibs): Likewise.
23117         * nscd/Makefile (otherlibs): Likewise.
23118         * posix/Makefile (otherlibs): Likewise.
23119         * pwd/Makefile (otherlibs): Likewise.
23120         * rt/Makefile (otherlibs): Likewise.
23121         * sunrpc/Makefile (otherlibs): Likewise.
23122         * nss/Makefile (otherlibs): Likewise.
23123         Add libnss_files to routines and static-only-routines.
23124         ($(objpfx)getent): Remove rule.
23125         * resolv/Makefile: Add libnss_dns and libresolv to routines and
23126         static-only-routines.
23128 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
23130         [BZ #13892]
23131         * math/s_cexp.c: Include <float.h>.
23132         (__cexp): Handle exp result overflowing not necessarily
23133         overflowing both real and imaginary parts of result.
23134         * math/s_cexpf.c: Likewise.
23135         * math/s_cexpl.c: Likewise.
23136         * math/libm-test.inc (cexp_test): Add more tests.
23137         * sysdeps/i386/fpu/libm-test-ulps: Update.
23138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23140 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23142         * include/link.h (ELFW): New macro.
23143         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23144         Replace ELF64_R_TYPE with ELFW(R_TYPE).
23146 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23148         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23149         with uint64_t.
23151 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23153         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23154         declaration.
23155         (struct La_x32_retval): Likewise.
23157 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23159         * sysdeps/x86_64/preconfigure.in: New file.
23160         * sysdeps/x86_64/preconfigure: New generated file.
23162 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
23164         [BZ #13824]
23165         * math/e_exp2l.c: Include <float.h>.
23166         (__ieee754_exp2l): Handle overflow and underflow cases
23167         separately.  Only pass fractional part of argument to
23168         __ieee754_expl.
23169         * math/libm-test.inc (exp2_test): Add more tests.
23171         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23172         negating x to take absolute value.
23173         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23174         Likewise.
23175         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23176         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23177         Likewise.
23178         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23179         computing low part if x was negated.
23180         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23182 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23184         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23185         la_x32_gnu_pltexit.
23186         (pltexit): Cast int_retval to ptrdiff_t.
23187         * elf/tst-auditmod3b.c: Likewise.
23188         * elf/tst-auditmod4b.c: Likewise.
23189         * elf/tst-auditmod5b.c: Likewise.
23190         * elf/tst-auditmod6b.c: Likewise.
23191         * elf/tst-auditmod6c.c: Likewise.
23192         * elf/tst-auditmod7b.c: Likewise.
23194         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23195         and x32_gnu_pltexit.
23197         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23198         __ELF_NATIVE_CLASS.
23199         (La_x32_regs): New macro.
23200         (La_x32_retval): Likewise.
23201         (la_x32_gnu_pltenter): New function prototype.
23202         (la_x32_gnu_pltexit): Likewise.
23204 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
23206         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23207         exponent.
23209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23211         * configure.in (libc_cv_cc_nofma): Check for option to disable
23212         generation of FMA instructions.
23213         * configure: Regenerate.
23214         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23215         * sysdeps/ieee754/dbl-64/Makefile: New file.
23216         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23217         Remove brandred-fma4.
23218         (CFLAGS-brandred-fma4.c): Remove.
23219         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23220         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23221         define.
23222         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23223         define.
23225 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23227         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23228         LLONG_MAX != LONG_MAX.
23229         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23230         (_fitoa_word): Likewise.
23231         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23232         LLONG_MAX != LONG_MAX.
23233         * stdio-common/_itowa.h: Include <_itoa.h>.
23234         (_itowa_word): Use _ITOA_WORD_TYPE on value.
23235         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
23236         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
23237         only if not defined.
23238         (_ITOA_WORD_TYPE): Likewise.
23239         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23240         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23242 2012-03-21  David S. Miller  <davem@davemloft.net>
23244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23246 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23248         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23249         of x86_64 when setting libc_cv_slibdir, libdir and
23250         libc_cv_localedir.
23251         * sysdeps/unix/sysv/linux/configure: Regenerated.
23253 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23255         * manual/lang.texi (Old Varargs): Remove section.
23256         (How Variadic): Update menu.
23257         (va_start): Do not mention varargs.h.
23259 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23260             Joseph Myers  <joseph@codesourcery.com>
23262         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23263         link test.
23264         * configure: Regenerated.
23266 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23268         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23269         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23270         conformtest.pl
23272 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23274         * NOTES: Remove.
23275         * Makefile (files-for-dist): Remove NOTES.
23276         (NOTES): Remove rule.
23277         * README: Don't refer to NOTES.
23278         * manual/creature.texi: Don't include macros.texi.
23279         * manual/intro.texi (creature.texi): Remove comment referring to
23280         NOTES.
23282         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23283         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23284         * configure: Regenerated.
23285         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23286         LIBC_TRY_CC_OPTION.
23287         (libc_cv_as_i686): Likewise.
23288         (libc_cv_cc_avx): Likewise.
23289         (libc_cv_cc_sse2avx): Likewise.
23290         (libc_cv_cc_fma4): Likewise.
23291         (libc_cv_cc_novzeroupper): Likewise.
23292         * sysdeps/i386/configure: Regenerated.
23294         [BZ #13883]
23295         * sysdeps/i386/fpu/s_cexp.S: Remove.
23296         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23297         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23298         * math/libm-test.inc (cexp_test): Add more tests.
23299         * sysdeps/i386/fpu/libm-test-ulps: Update.
23300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23302 2012-03-21  Allan McRae  <allan@archlinux.org>
23304         * timezone/Makefile: Do not install iso3166.tab and zone.tab
23306 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23308         [BZ #13871]
23309         * math/w_exp2.c: Do not include <float.h>.
23310         (o_threshold, u_threshold): Remove.
23311         (__exp2): Calculate result before checking finiteness and calling
23312         __kernel_standard.
23313         * math/w_exp2f.c: Likewise.
23314         * math/w_exp2l.c: Likewise.
23315         * math/libm-test.inc (exp2_test): Require overflow exception for
23316         1e6 input.
23318         [BZ #3866]
23319         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23320         range of signed 64-bit integers before using fistpll.  Remove
23321         checks for whether integers fit in mantissa bits.
23322         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23323         the range of signed 32-bit integers before using fistpl.  Remove
23324         checks for whether integers fit in mantissa bits.
23325         * sysdeps/i386/fpu/e_powl.S (p64): New object.
23326         (__ieee754_powl): Test for y outside the range of signed 64-bit
23327         integers before using fistpll.  Reduce 64-bit values to 63-bit
23328         ones as needed.
23329         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23330         divide-by-zero is raised for zero to large negative powers.
23331         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23332         (__ieee754_powl): Test for y outside the range of signed 64-bit
23333         integers before using fistpll.  Reduce 64-bit values to 63-bit
23334         ones as needed.
23335         * math/libm-test.inc (pow_test): Add more tests.
23337 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23339         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23340         <stdio-common/_itoa.h>.
23341         * debug/segfault.c: Likewise.
23342         * elf/dl-cache.c: Likewise.
23343         * elf/dl-minimal.c: Likewise.
23344         * elf/dl-misc.c: Likewise.
23345         * elf/dl-sysdep.c: Likewise.
23346         * elf/dl-version.c: Likewise.
23347         * elf/rtld.c: Likewise.
23348         * hurd/hurdsock.c: Likewise.
23349         * hurd/lookup-retry.c: Likewise.
23350         * malloc/malloc.c: Likewise.
23351         * malloc/mtrace.c: Likewise.
23352         * nscd/nscd_getgr_r.c: Likewise.
23353         * nscd/nscd_getpw_r.c: Likewise.
23354         * nscd/nscd_getserv_r.c: Likewise.
23355         * posix/getopt_init.c: Likewise.
23356         * posix/wordexp.c: Likewise.
23357         * stdio-common/_itoa.c: Likewise.
23358         * stdio-common/printf_fphex.c: Likewise.
23359         * stdio-common/vfprintf.c: Likewise.
23360         * string/_strerror.c: Likewise.
23361         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23362         * sysdeps/i386/i686/hp-timing.h: Likewise.
23363         * sysdeps/mach/_strerror.c: Likewise.
23364         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23365         * sysdeps/mach/hurd/sethostid.c: Likewise.
23366         * sysdeps/mach/hurd/xmknodat.c: Likewise.
23367         * sysdeps/mach/xpg-strerror.c: Likewise.
23368         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23369         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23370         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23371         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23372         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23373         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23374         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23375         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23376         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23377         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23378         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23379         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23380         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23381         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23382         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23383         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23384         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23385         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23386         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23387         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23388         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23390         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23392         * stdio-common/_itoa.h: Moved to ...
23393         * sysdeps/generic/_itoa.h: Here.
23395         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23397         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23398         instead of "_itoa.h" and "_itowa.h".
23399         * stdio-common/vfprintf.: Likewise.
23401 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23403         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23404         <bits/wordsize.h>.
23405         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23406         (__signbit): Likwise.
23407         (llrintf): Likwise.
23408         (llrint): Likwise.
23410 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23412         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23413         __WORDSIZE != 64.
23415 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
23417         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23418         OVERFLOW_EXCEPTION_OK.
23419         * math/libm-test.inc ("Philosophy"): Update comment about
23420         exception testing.
23421         (OVERFLOW_EXCEPTION): Define.
23422         (OVERFLOW_EXCEPTION_OK): Likewise.
23423         (INVALID_EXCEPTION_OK): Renumber.
23424         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23425         (IGNORE_ZERO_INF_SIGN): Likewise.
23426         (test_exceptions): Handle FE_OVERFLOW.
23427         (exp10_test): Expect overflow exceptions.
23428         (exp2_test): Likewise.
23429         (expm1_test): Likewise.
23430         (nextafter_test): Likewise.
23431         (pow_test): Likewise.
23432         (scalbn_test): Likewise.
23433         (scalbln_test): Likewise.
23435 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23437         * sysdeps/x86_64/bits/atomic.h
23438         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23439         64bit integer.
23440         (atomic_exchange_acq): Likewise.
23441         (__arch_exchange_and_add_body): Likewise.
23442         (__arch_add_body): Likewise.
23443         (atomic_add_negative): Likewise.
23444         (atomic_add_zero): Likewise.
23446 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23448         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23449         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23451 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23453         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23454         Check __x86_64__ instead of __WORDSIZE.
23456 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23458         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23460 2012-03-19  David S. Miller  <davem@davemloft.net>
23462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23464         * sysdeps/sparc/fpu/fenv_private.h: New file.
23465         * sysdeps/sparc/fpu/math_private.h: Use it.
23466         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23467         Remove.
23468         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23469         (libc_feholdexcept_setroundl): Remove.
23470         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23471         Remove.
23472         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23473         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23475 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23477         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23478         int64_t instead of long int.
23479         (INSERT_WORDS64): Likwise.
23481 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23483         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23484         _Unwind_GetCFA return to _Unwind_Ptr first.
23486 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
23488         [BZ #13629]
23489         * math/s_clog.c: Include <float.h>.
23490         (__clog): Scale large or subnormal inputs.
23491         * math/s_clogf.c: Likewise.
23492         * math/s_clogl.c: Likewise.
23493         * math/s_clog10.c: Include <float.h>.
23494         (M_LOG10_2): Define.
23495         (__clog10): Scale large or subnormal inputs.
23496         * math/s_clog10f.c: Likewise.
23497         * math/s_clog10l.c: Likewise.
23498         * math/libm-test.inc (clog_test): Add more tests.
23499         (clog10_test): Likewise.
23500         * sysdeps/i386/fpu/libm-test-ulps: Update.
23501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23503         [BZ #11451]
23504         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23505         x and y.
23506         * math/libm-test.inc (atan2_test): Add another test.
23508         * Makerules (common-objdir-compile): Remove.
23509         * sysdeps/unix/Makefile (config-generated): Do not add
23510         $(unix-generated) to variable.
23511         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23512         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23513         Remove rule.
23514         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23515         Likewise.
23516         [generic bits/local_lim.h] (before-compile): Do not append to
23517         variable.
23518         [generic bits/local_lim.h] (common-generated): Likewise.
23519         [generic sys/param.h] (before-compile): Do not append to variable.
23520         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23521         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23522         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23523         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23524         include.
23525         [generic sys/param.h] (sys/param.h-includes): Remove variable.
23526         [generic sys/param.h] (sys/param.h-includes): Remove rule.
23527         [generic sys/param.h] ($(addprefix
23528         $(common-objpfx),$(sys/param.h-includes))): Likewise.
23529         [generic sys/param.h] (common-generated): Do not append to
23530         variable.
23531         [generic sys/param.h] (sysdep_headers): Likewise.
23532         [generic bits/errno.h] (before-compile): Do not append to
23533         variable.
23534         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23535         rule.
23536         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23537         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23538         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23539         [generic bits/errno.h] (common-generated): Do not append to
23540         variable.
23541         [generic bits/ioctls.h] (before-compile): Do not append to
23542         variable.
23543         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23544         rule.
23545         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23546         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23547         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23548         rule.
23549         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23550         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23551         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23552         [generic bits/ioctls.h] (common-generated): Do not append to
23553         variable.
23554         [generic sys/syscall.h] (syscall.h): Remove variable.
23555         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23556         rule.
23557         [generic sys/syscall.h] (before-compile): Do not append to
23558         variable.
23559         [generic sys/syscall.h] (common-generated): Likewise.
23560         * sysdeps/unix/errnos-tmpl.c: Remove file.
23561         * sysdeps/unix/errnos.awk: Likewise.
23562         * sysdeps/unix/ioctls-tmpl.c: Likewise.
23563         * sysdeps/unix/ioctls.awk: Likewise.
23564         * sysdeps/unix/mk-local_lim.c: Likewise.
23565         * sysdeps/unix/snarf-ioctls: Likewise.
23567 2012-03-19  Richard Henderson  <rth@twiddle.net>
23569         * sysdeps/i386/fpu/fenv_private.h: New file.
23570         * sysdeps/i386/fpu/math_private.h: Use it.
23571         (math_opt_barrier, math_force_eval): Remove.
23572         (libc_feholdexcept_setround_53bit): Remove.
23573         (libc_feupdateenv_53bit): Remove.
23574         * sysdeps/x86_64/fpu/math_private.h: Likewise.
23575         (math_opt_barrier, math_force_eval): Remove.
23576         (libc_feholdexcept): Remove.
23577         (libc_feholdexcept_setround): Remove.
23578         (libc_fetestexcept, libc_fesetenv): Remove.
23579         (libc_feupdateenv_test): Remove.
23580         (libc_feupdateenv, libc_feholdsetround): Remove.
23581         (libc_feresetround): Remove.
23583         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23584         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23586         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23587         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23588         (libc_feupdateenv_testl): New.
23589         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23590         (libc_feupdateenv_testf): New.
23591         (libc_feupdateenv): Use libc_feupdateenv_test.
23592         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23593         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23595         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23596         (libc_feholdsetroundf, libc_feholdsetroundl): New.
23597         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23598         (libc_feresetround_noex): New.
23599         (libc_feresetround_noexf): New.
23600         (libc_feresetround_noexl): New.
23601         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23602         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23603         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23604         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23605         SET_RESTORE_ROUND.
23606         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23607         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23608         (__cos): Likewise.
23609         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23610         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23611         SET_RESTORE_ROUND_NOEX.
23612         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23613         SET_RESTORE_ROUND_NOEXF.
23614         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23615         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23616         (libc_feholdsetroundf): New.
23617         (libc_feresetround, libc_feresetroundf): New.
23619         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23620         (libc_feholdexcept_setround_53bit): Convert from macro to function.
23621         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
23623         * sysdeps/generic/math_private.h: Include <fenv.h>.
23624         (default_libc_feholdexcept): New.
23625         (default_libc_feholdexcept_setround): New.
23626         (default_libc_fesetenv, default_libc_feupdateenv): New.
23627         (libc_feholdexcept): Only define if undefined.
23628         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23629         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23630         (libc_feholdexcept_setroundl): Likewise.
23631         (libc_feholdexcept_setround_53bit): Likewise.
23632         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23633         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23634         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23635         (libc_feupdateenv_53bit): Likewise.
23636         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23637         (libc_feholdexcept): Convert from macro to inline function.
23638         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23639         (libc_fesetenv, libc_feupdateenv): Likewise.
23641         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23642         not previously defined.
23643         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23644         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23645         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23646         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23647         * sysdeps/ieee754/flt-32/math_private.h: New file.
23648         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23649         math_private.h below SET_FLOAT_WORD.
23650         (__isnan, __isinf_ns, __finite): Remove.
23651         (__isnanf, __isinf_nsf, __finitef): Remove.
23653 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
23655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23657 2012-03-17  David S. Miller  <davem@davemloft.net>
23659         [BZ #6471]
23660         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23661         for 2.16.
23663 2012-03-16  David S. Miller  <davem@davemloft.net>
23665         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23666         warnings.
23668         [BZ #6471]
23669         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23670         properly.
23671         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23672         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23673         sysdep_routines when subdir is sysvipc.
23674         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23675         __getshmlba helper.
23677         * sysdeps/sparc/fpu/libm-test/ulps: Update.
23679 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23681         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23682         [__LP64__].
23684 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23686         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23687         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23688         (__lround): Renamed to ...
23689         (__llround): This.  Replace long int with long long int.
23690         Define lround functions as aliases of llround functions.
23691         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23693 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23695         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23696         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
23697         adresses to uintptr_t.  Replace "long int" and "unsigned long
23698         int" with "greg_t" on va_arg.
23700 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23702         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23703         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23705         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23706         Move e_machine check before EI_CLASS check.  Handle x32
23707         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23708         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23709         SKIP_EM_IA_64 and include
23710         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23712         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23713         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23714         (add_system_dir): New macro.
23716         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23717         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23719 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23721         [BZ #2551]
23722         [BZ #2552]
23723         [BZ #2553]
23724         [BZ #2554]
23725         [BZ #2562]
23726         [BZ #2563]
23727         [BZ #2565]
23728         [BZ #2566]
23729         [BZ #2576]
23730         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23731         (y0): Likewise.
23732         * math/w_j0f.c (j0f): Likewise.
23733         (y0f): Likewise.
23734         * math/w_j0l.c (__j0l): Likewise.
23735         (__y0l): Likewise.
23736         * math/w_j1.c (j1): Likewise.
23737         (y1): Likewise.
23738         * math/w_j1f.c (j1f): Likewise.
23739         (y1f): Likewise.
23740         * math/w_j1l.c (__j1l): Likewise.
23741         (__y1l): Likewise.
23742         * math/w_jn.c (jn): Likewise.
23743         (yn): Likewise.
23744         * math/w_jnf.c (jnf): Likewise.
23745         (ynf): Likewise.
23746         * math/w_jnl.c (__jnl): Likewise.
23747         (__ynl): Likewise.
23748         * math/libm-test.inc (j0_test): Add more tests.
23749         (j1_test): Likewise.
23750         (jn_test): Likewise.  Add trailing semicolon to existing test.
23751         (y0_test): Likewise.
23752         (y1_test): Likewise.
23753         * sysdeps/i386/fpu/libm-test-ulps: Update.
23754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23756         [BZ #13851]
23757         [BZ #13854]
23758         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23759         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23760         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23761         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23762         (__tanl): Set errno for infinite argument.
23763         * sysdeps/i386/fpu/mptan.c: Remove.
23764         * sysdeps/i386/fpu/s_tan.S: Likewise.
23765         * sysdeps/i386/fpu/s_tanl.S: Likewise.
23766         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23767         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23768         * math/libm-test.inc (tan_test): Add more tests and enable more
23769         tests for double and long double.
23770         * sysdeps/i386/fpu/libm-test-ulps: Update.
23771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23773 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
23775         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23776         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23778 2012-03-16  Roland McGrath  <roland@hack.frob.com>
23780         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23781         * configure.in: Use it for both main tree and add-ons.
23782         * configure: Regenerated.
23784 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23786         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23788 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23790         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23791         in comment.
23793         [BZ #13851]
23794         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23795         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23796         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23797         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23798         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23799         infinite argument.
23800         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23801         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23802         != 0 for prec == 2.
23803         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23804         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23805         * sysdeps/i386/fpu/s_cosl.S: Likewise.
23806         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23807         * sysdeps/i386/fpu/s_sinl.S: Likewise.
23808         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23809         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23810         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23811         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23812         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23813         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23814         * math/libm-test.inc (cos_test): Add more tests and enable more
23815         tests for long double.
23816         (sin_test): Likewise.
23817         (sincos_test): Likewise.
23818         * sysdeps/i386/fpu/libm-test-ulps: Update.
23819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23821 2012-03-16  David S. Miller  <davem@davemloft.net>
23823         * sysdeps/sparc/fpu/math_private.h: New file.
23825 2012-03-15  David S. Miller  <davem@davemloft.net>
23827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23828         file.
23829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23831         file.
23832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23833         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23834         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23835         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23836         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23837         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23838         sysdep routines.
23839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23841         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23842         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23844         * sysdeps/sparc/sparc-ifunc.h: New file.
23845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23846         sparc-ifunc.h
23847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23849         Likewise.
23850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23851         Likewise.
23852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23856         Likewise.
23857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23862         Likewise.
23863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23864         Likewise.
23865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23869         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23870         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23871         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23872         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23873         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23875         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23876         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23877         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23879         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23880         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23881         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23882         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23883         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23884         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23885         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23886         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23887         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23888         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23890 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
23892         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23893         scaling.
23894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23896 2012-03-15  Andreas Jaeger  <aj@suse.de>
23898         [BZ #13852]
23899         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23900         ieee754/flt-32 implementation for sin, cos and sincos.
23901         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23902         * sysdeps/i386/fpu/s_cosf.S: Likewise.
23903         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23904         * sysdeps/i386/fpu/s_sinf.S: Likewise.
23905         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23906         ieee754/flt-32 implementation for tan.
23908         * math/libm-test.inc (cos_test): Enable some large input tests for
23909         float as well
23910         (sin_test): Likewise.
23911         (sincos_test): Likewise.
23912         (tan_test): Add tests for large input.
23914         * sysdeps/i386/fpu/libm-test-ulps: Update.
23916 2012-03-15  Andreas Jaeger  <aj@suse.de>
23918         [BZ #13658]
23919         * math/libm-test.inc (cos_test): Add more test cases.
23920         (sin_test): Likewise.
23921         (sincos_test): Likewise.
23923 2012-03-15  Andreas Jaeger  <aj@suse.de>
23925         [BZ #13837]
23926         * math/libm-test.inc (cos_test): Add a test case for large input
23927         value.
23928         (sin_test): Likewise.
23929         (sincos_test): Likewise.
23931 2012-03-15  Andreas Jaeger  <aj@suse.de>,
23932         Joseph Myers  <joseph@codesourcery.com>
23934         [BZ #13658]
23935         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23936         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23937         * sysdeps/i386/fpu/branred.c: Likewise.
23938         * sysdeps/i386/fpu/dosincos.c: Likewise.
23939         * sysdeps/i386/fpu/mpa.c: Likewise.
23940         * sysdeps/i386/fpu/s_cos.S: Likewise.
23941         * sysdeps/i386/fpu/s_sin.S: Likewise.
23942         * sysdeps/i386/fpu/s_sincos.S: Likewise.
23943         * sysdeps/i386/fpu/sincos32.c: Likewise.
23945         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23946         Define.
23947         (libc_feupdateenv_53bit): Define.
23948         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23949         Define.
23950         (libc_feupdateenv_53bit): Define.
23952         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23953         53 bit (without extend i386 double precision).
23955         * math/libm-test.inc (sincos_test): Add tests for large input.
23956         (sin): Likewise.
23957         (cos): Likewise.
23959         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23961 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
23963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23965 2012-03-15  David S. Miller  <davem@davemloft.net>
23967         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23968         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23969         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23970         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23975         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23976         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23977         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23979         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23980         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23981         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23983         file.
23984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23986         file.
23987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23989         file.
23990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23992         file.
23993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23994         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23995         fmin/fmax sysdep routines.
23996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23998 2012-03-14  David S. Miller  <davem@davemloft.net>
24000         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24001         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24003         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24004         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24005         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24006         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24007         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24008         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24009         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24010         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24011         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24012         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24013         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24014         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24016         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24017         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24018         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24019         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24020         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24021         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24022         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24023         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24024         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24025         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24026         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24027         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24028         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24029         routines.
24030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24031         file.
24032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24034         file.
24035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24037         file.
24038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24040         file.
24041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24043         file.
24044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24046         file.
24047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24048         file.
24049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24050         file.
24051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24052         file.
24053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24054         New file.
24055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24056         file.
24057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24058         file.
24059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24061         file.
24062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24064         file.
24065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24067         file.
24068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24070         VIS3 routines.
24072         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24073         New file.
24075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24077         * sysdeps/sparc/configure.in: New file.
24078         * sysdeps/sparc/configure: Generate.
24079         * configure.in (libc_cv_sparc_as_vis3): Substitute.
24080         * configure: Regenerate.
24081         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24082         * config.make.in (have-as-vis3): New.
24083         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24084         available use -Av9d instead of -Av9a.
24085         * sysdeps/sparc/sparc64/Makefile: Likewise.
24086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24088         New file.
24089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24090         file.
24091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24092         New file.
24093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24094         file.
24095         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24096         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24097         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24098         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24099         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24101         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24102         fzeros/fnegs to load 0x80000000 into a float register instead of
24103         using the stack.
24104         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24106 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
24108         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24109         bits/syscall.h.
24110         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24111         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24112         ($(inst_includedir)/bits/syscall.h): Remove rule.
24113         ($(objpfx)bits/syscall.d): Include instead of
24114         $(objpfx)syscall-list.d.
24115         (generated): Change syscall-list.h and syscall-list.d to
24116         bits/syscall.h and bits/syscall.d.
24118 2012-03-14  Roland McGrath  <roland@hack.frob.com>
24120         [BZ #13846]
24121         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24123 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
24125         [BZ #13841]
24126         * math/s_csqrt.c: Include <float.h>.
24127         (__csqrt): Scale large or subnormal inputs.
24128         * math/s_csqrtf.c: Likewise.
24129         * math/s_csqrtl.c: Likewise.
24130         * math/libm-test.inc (csqrt_test): Add more tests.
24131         * sysdeps/i386/fpu/libm-test-ulps: Update.
24132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24134         [BZ #13840]
24135         * math/libm-test.inc (hypot_test): Add more tests.
24137 2012-03-13  David S. Miller  <davem@davemloft.net>
24139         [BZ #13840]
24140         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24141         double-precision for the calculation instead of scaling.
24143 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
24145         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24146         manipulate bits before adding and subtracting TWO52[sx].
24147         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24148         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24149         Likewise.
24150         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24152 2012-03-13  David S. Miller  <davem@davemloft.net>
24154         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24155         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24156         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24157         rtld-global-offsets.h
24158         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24160         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24161         large parameters.
24163         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24165         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24166         'err' in the ifdef scope in which it is actually used.
24168         * nss/nss_db/db-init.c: Include string.h
24170 2012-03-12  David S. Miller  <davem@davemloft.net>
24172         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24173         masking out of the most significant byte of random value used.
24174         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24175         Fix coding style in previous change.
24177         * sysdeps/unix/sysv/linux/kernel-features.h
24178         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24179         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24180         expression.
24181         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24182         later.
24184 2012-03-11  David S. Miller  <davem@davemloft.net>
24186         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24187         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24188         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24189         for 'resultvar' otherwise things get truncated on 64-bit.
24191         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24192         Fix masking out of the most significant byte of random value used.
24194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24196 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
24198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24200 2012-03-09  David S. Miller  <davem@davemloft.net>
24202         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24203         variables with appropriate CPP guards.
24204         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24205         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
24206         on resulting framesize and the management of the outregs buffer for pltexit.
24207         Preserve floating point return values across _dl_call_pltexit call.
24208         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24209         framesize and the management of the outregs buffer for pltexit.
24210         Preserve floating point return values across _dl_call_pltexit
24211         call.
24212         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24213         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24214         (print_exit): Fix format string for return register value.
24216 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
24218         * sunrpc/Makefile (others): Add rpcgen.
24219         ($(objpfx)rpcgen): Remove special build rule and dependency on
24220         libc.
24221         * sunrpc/rpcgen.c: New file.
24223 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
24225         [BZ #13673]
24226         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24227         * stdio-common/bug-vfprintf-nargs.c: Likewise.
24228         * sysdeps/i386/crti.S: Likewise.
24229         * sysdeps/i386/crtn.S: Likewise.
24230         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24231         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24232         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24233         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24234         * sysdeps/sh/crti.S: Likewise.
24235         * sysdeps/sh/crtn.S: Likewise.
24236         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24238         [BZ #13673]
24239         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24240         with URL.
24241         * locale/programs/locfile-kw.gperf: Likewise.
24242         * locale/programs/charmap-kw.h: Regenerated.
24243         * locale/programs/locfile-kw.h: Likewise.
24245         [BZ #13673]
24246         * intl/plural.y: Replace FSF snail mail address with URL.
24247         * intl/plural.c: Regenerated.
24249 2012-03-09  Richard Henderson  <rth@twiddle.net>
24251         * include/math_private.h: Remove file.
24252         * math/math_private.h: Move file ...
24253         * sysdeps/generic/math_private.h: ... here.
24255         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24256         * sysdeps/powerpc/fpu/math_private.h: Likewise.
24257         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24259         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24260         and <math_private.h>.
24261         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24262         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24263         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24264         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24265         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24266         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24267         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24268         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24269         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24270         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24271         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24272         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24273         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24274         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24275         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24276         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24277         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24278         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24279         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24280         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24281         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24282         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24283         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24284         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24285         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24286         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24287         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24288         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24289         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24290         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24291         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24292         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24293         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24294         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24295         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24296         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24297         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24298         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24299         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24300         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24301         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24302         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24303         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24304         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24305         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24306         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24307         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24308         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24309         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24310         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24311         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24312         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24313         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24314         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24315         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24316         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24317         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24318         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24319         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24320         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24321         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24322         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24323         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24324         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24325         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24326         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24327         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24328         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24329         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24330         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24331         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24332         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24333         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24334         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24335         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24336         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24337         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24338         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24339         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24340         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24341         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24342         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24343         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24344         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24345         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24346         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24347         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24348         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24349         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24350         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24351         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24352         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24353         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24354         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24355         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24356         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24357         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24358         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24359         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24360         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24361         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24362         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24363         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24364         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24365         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24366         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24367         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24368         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24369         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24370         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24371         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24372         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24373         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24374         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24375         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24376         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24377         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24378         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24379         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24380         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24381         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24382         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24383         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24384         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24385         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24386         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24387         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24388         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24389         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24390         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24391         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24392         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24393         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24394         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24395         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24396         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24397         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24398         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24399         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24400         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24401         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24402         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24403         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24404         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24405         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24406         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24407         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24408         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24409         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24410         * sysdeps/ieee754/k_standard.c: Likewise.
24411         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24412         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24413         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24414         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24415         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24416         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24417         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24418         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24419         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24420         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24421         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24422         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24423         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24424         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24425         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24426         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24427         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24428         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24429         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24430         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24431         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24432         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24433         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24434         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24435         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24436         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24437         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24438         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24439         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24440         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24441         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24442         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24443         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24444         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24445         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24446         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24447         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24448         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24449         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24450         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24451         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24452         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24453         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24454         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24455         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24456         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24457         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24458         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24459         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24460         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24461         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24462         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24463         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24464         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24465         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24466         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24467         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24468         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24469         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24470         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24471         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24472         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24473         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24474         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24475         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24476         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24477         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24478         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24479         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24480         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24481         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24482         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24483         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24484         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24485         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24486         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24487         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24488         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24489         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24490         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24491         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24492         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24493         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24494         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24495         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24496         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24497         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24498         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24499         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24500         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24501         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24502         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24503         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24504         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24505         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24506         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24507         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24508         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24509         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24510         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24511         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24512         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24513         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24514         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24515         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24516         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24517         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24518         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24519         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24520         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24521         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24522         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24523         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24524         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24525         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24526         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24527         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24528         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24529         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24530         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24531         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24532         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24533         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24534         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24535         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24536         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24537         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24538         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24539         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24540         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24541         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24542         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24543         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24544         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24545         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24546         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24547         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24548         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24549         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24550         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24551         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24552         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24553         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24554         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24555         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24556         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24557         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24558         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24559         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24560         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24561         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24562         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24563         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24564         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24565         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24566         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24567         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24568         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24569         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24570         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24571         * sysdeps/ieee754/s_lib_version.c: Likewise.
24572         * sysdeps/ieee754/s_matherr.c: Likewise.
24573         * sysdeps/ieee754/s_signgam.c: Likewise.
24574         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24575         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24576         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24577         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24578         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24579         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24580         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24581         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24582         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24583         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24584         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24585         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24586         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24587         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24588         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24589         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24590         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24591         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24592         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24593         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24594         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24596 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24598         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24599         * sunrpc/rpc_main.c: Likewise.
24600         * sunrpc/rpc_svcout.c: Likewise.
24602 2012-03-09  David S. Miller  <davem@davemloft.net>
24604         * include/math_private.h: New file.
24606 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24608         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24609         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24610         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24611         from <bits/socket_type.h>.
24612         (enum __socket_type): Don't define here.
24613         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24614         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24615         bits/socket_type.h.
24617         [BZ #13566]
24618         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24619         checking __USE_GNU.
24621         * Makerules ($(inst_includedir)/%.h): New rule.
24622         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24623         (install-others): Remove variable setting.
24624         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24626 2012-03-08  Richard Henderson  <rth@twiddle.net>
24628         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24629         from macro to inline function; merge with the
24630         !__LIBC_INTERNAL_MATH_INLINES version.
24631         (__ieee754_sqrtf): Likewise.
24633         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24634         to inline function.
24635         (__rintf, __floor, __floorf): Likewise.
24637         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24638         macro to inline function.
24639         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24641         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24642         not <math/math_private.h>.
24644 2012-03-08  David S. Miller  <davem@davemloft.net>
24646         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24647         copyright year.
24648         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24650 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
24652         * resolv/gai_misc.c (handle_requests): Fix struct timespec
24653         normalization.
24654         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24655         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24657 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
24659         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
24660         be defined individually, they must be defined as a block.  Define
24661         S for printing a string instead of hidint the different by using a
24662         macro for adding the 'l'.
24663         * stdio-common/tst-fphex-wide.c: Adjust.
24665 2012-03-07  Marek Polacek  <polacek@redhat.com>
24667         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24669 2012-03-08  Marek Polacek  <polacek@redhat.com>
24671         [BZ #13806]
24672         * stdio-common/Makefile (tests): Add tst-fphex-wide.
24673         * stdio-common/tst-fphex.c: Define a few macros to make the
24674         test reusable.  Use them.
24675         * stdio-common/tst-fphex-wide.c: New file.
24677 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
24679         [BZ #6911]
24680         * manual/macros.texi (gnusystems): New macro.
24681         (nongnusystems): Likewise.
24682         (gnulinuxhurdsystems): Likewise.
24683         (gnuhurdsystems): Likewise..
24684         (gnulinuxsystems): Likewise.
24685         * manual/charset.texi: Use new macros or @theglibc{} to refer to
24686         variants of the GNU system, not "GNU system".
24687         * manual/conf.texi: Likewise.
24688         * manual/errno.texi: Likewise.  Update example of errno macro
24689         expansion.
24690         * manual/filesys.texi: Likewise.
24691         (getumask): Document as specific to GNU/Hurd.
24692         * manual/install.texi: Likewise.  Reword some references to
24693         GNU/Linux.
24694         * manual/intro.texi: Likewise.
24695         * manual/io.texi: Likewise.
24696         (File Name Portability): Detail which constraints are inapplicable
24697         to all GNU systems and which are only inapplicable to GNU/Hurd.
24698         * manual/job.texi: Likewise.
24699         * manual/llio.texi: Likewise.
24700         (O_NOCTTY): Document as present on GNU/Linux.
24701         * manual/maint.texi: Likewise.
24702         * manual/memory.texi: Likewise.
24703         * manual/pattern.texi: Likewise.
24704         * manual/pipe.texi: Likewise.
24705         * manual/process.texi: Likewise.
24706         * manual/resource.texi: Likewise.
24707         (RUSAGE_CHILDREN): Remove statement about specifying a particular
24708         child on GNU/Hurd.
24709         * manual/setjmp.texi: Likewise.
24710         * manual/signal.texi: Likewise.
24711         * manual/startup.texi: Likewise.
24712         * manual/stdio.texi: Likewise.
24713         * manual/terminal.texi: Likewise.
24714         (ONLCR): Document as POSIX.
24715         (OXTABS): Document availability on GNU/Linux as XTABS.
24716         (ONOEOT): Document availability separately from other bits.
24717         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24718         * manual/time.texi: Likewise.
24719         * manual/users.texi: Likewise.
24720         * INSTALL: Regenerated.
24721         * sysdeps/gnu/errlist.c: Regenerated.
24723         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24724         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24725         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
24726         puts.
24727         * configure: Regenerated.
24729 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
24731         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24732         default includes instead of AC_HEADER_CHECK.
24733         * sysdeps/i386/configure: Regenerated.
24735         [BZ #10716]
24736         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24737         * math/s_cacoshf.c (__cacoshf): Likewise.
24738         * math/s_cacoshl.c (__cacoshl): Likewise.
24739         * math/s_casinh.c (__casinh): Set signs of result from argument.
24740         * math/s_casinhf.c (__casinhf): Likewise.
24741         * math/s_casinhl.c (__casinhl): Likewise.
24742         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24743         (casinh_test): Add more tests.
24744         * sysdeps/i386/fpu/libm-test-ulps: Update.
24745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24747 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
24749         * po/zh_TW.po: Update from translation team.
24751         * login/Makefile (distribute): Remove variable.
24752         * catgets/Makefile: Likewise.
24753         * mach/Makefile: Likewise.
24754         * malloc/Makefile: Likewise.
24755         * misc/Makefile: Likewise.
24756         * iconv/Makefile: Likewise.
24757         * nscd/Makefile: Likewise.
24758         * hurd/Makefile: Likewise.
24759         * manual/Makefile: Likewise.
24760         * locale/Makefile: Likewise.
24761         * intl/Makefile: Likewise.
24762         * conform/Makefile: Likewise.
24763         * nss/Makefile: Likewise.
24764         * time/Makefile: Likewise.
24765         * soft-fp/Makefile: Likewise.
24766         * dirent/Makefile: Likewise.
24767         * gmon/Makefile: Likewise.
24768         * po/Makefile: Likewise.
24769         * rt/Makefile: Likewise.
24770         * socket/Makefile: Likewise.
24771         * math/Makefile: Likewise.
24772         * signal/Makefile: Likewise.
24773         * debug/Makefile: Likewise.
24774         * elf/Makefile: Likewise.
24775         * timezone/Makefile: Likewise.
24776         * stdlib/Makefile: Likewise.
24777         * iconvdata/Makefile: Likewise.
24778         * sunrpc/Makefile: Likewise.
24779         * io/Makefile: Likewise.
24780         * argp/Makefile: Likewise.
24781         * inet/Makefile: Likewise.
24782         * hesiod/Makefile: Likewise.
24783         * grp/Makefile: Likewise.
24784         * csu/Makefile: Likewise.
24785         * wctype/Makefile: Likewise.
24786         * crypt/Makefile: Likewise.
24787         * libio/Makefile: Likewise.
24788         * string/Makefile: Likewise.
24789         * nis/Makefile: Likewise.
24790         * resolv/Makefile: Likewise.
24791         * stdio-common/Makefile: Likewise.
24792         * wcsmbs/Makefile: Likewise.
24793         * dlfcn/Makefile: Likewise.
24794         * posix/Makefile: Likewise.
24796         [BZ #6959]
24797         * timezone/Makefile: Don't install timezone files, just the programs
24798         and scripts.
24800 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
24802         * nss/databases.def: Add missing gshadow entry.
24804         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
24806 2012-03-06  Marek Polacek  <polacek@redhat.com>
24808         [BZ #13726]
24809         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24810         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24811         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24812         * stdio-common/tst-long-dbl-fphex.c: New file.
24814 2012-03-06  David S. Miller  <davem@davemloft.net>
24816         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24817         (set_obp_int): New function.
24818         (get_obp_int): New function.
24819         (__get_clockfreq_via_dev_openprom): Likewise.
24820         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24821         Avoid unused variable warnings on 'val' and use builtin_expect.
24822         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24823         __builtin_expect.
24824         (INLINE_CLONE_SYSCALL): Likewise.
24826 2012-03-05  David S. Miller  <davem@davemloft.net>
24828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24830 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
24832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24834         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24835         only for |x| >= 40.
24836         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24838 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24840         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24841         Replace gettimeofday with __vdso_gettimeofday.
24843         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24844         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24845         __vdso_clock_gettime and __vdso_getcpu.
24847         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24848         time with __vdso_time.
24850 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
24852         * manual/lang.texi (size_t): Note types to which size_t may be
24853         equivalent with the GNU C Library, but do not describe when
24854         differences between them are significant.
24856 2012-03-05  Andreas Jaeger  <aj@suse.de>
24858         * sysdeps/i386/fpu/libm-test-ulps: Update.
24860 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
24862         [BZ #3976]
24863         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24864         (__ieee754_pow): Save and restore rounding mode and use
24865         round-to-nearest for main computations.
24866         * math/libm-test.inc (pow_test_tonearest): New function.
24867         (pow_test_towardzero): Likewise.
24868         (pow_test_downward): Likewise.
24869         (pow_test_upward): Likewise.
24870         (main): Call the new functions.
24871         * sysdeps/i386/fpu/libm-test-ulps: Update.
24872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24874         [BZ #3976]
24875         * math/libm-test.inc (cosh_test_tonearest): New function.
24876         (cosh_test_towardzero): Likewise.
24877         (cosh_test_downward): Likewise.
24878         (cosh_test_upward): Likewise.
24879         (sinh_test_tonearest): Likewise.
24880         (sinh_test_towardzero): Likewise.
24881         (sinh_test_downward): Likewise.
24882         (sinh_test_upward): Likewise.
24883         (main): Call the new functions.
24884         * sysdeps/i386/fpu/libm-test-ulps: Update.
24885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24887 2012-03-05  Tom de Vries  <tom@codesourcery.com>
24889         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24890         default stack guard is set in last bytes.
24891         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24893 2012-03-05  Kees Cook  <keescook@chromium.org>
24895         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24897         [BZ #13656]
24898         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24899         possibly allocate from heap instead of stack.
24900         * stdio-common/bug-vfprintf-nargs.c: New file.
24901         * stdio-common/Makefile (tests): Add nargs overflow test.
24903 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
24905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24907 2012-03-03  Marek Polacek  <polacek@redhat.com>
24909         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24910         * math/math_private.h: Likewise.
24911         * stdlib/tst-strtod.c: Likewise.
24912         * sysdeps/i386/i486/bits/atomic.h: Likewise.
24913         * sysdeps/x86_64/bits/atomic.h: Likewise.
24915 2012-03-02  David S. Miller  <davem@davemloft.net>
24917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24921         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24922         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24923         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24924         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24926 2012-03-02  Roland McGrath  <roland@hack.frob.com>
24928         [BZ #13792]
24929         * manual/examples/README: New file, says the example source files
24930         can be used under GPL>=2.
24931         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24932         line containing just "*/".
24933         * manual/examples/add.c: Add copyright header (GPL>=2).
24934         * manual/examples/argp-ex1.c: Likewise.
24935         * manual/examples/argp-ex2.c: Likewise.
24936         * manual/examples/argp-ex3.c: Likewise.
24937         * manual/examples/argp-ex4.c: Likewise.
24938         * manual/examples/atexit.c: Likewise.
24939         * manual/examples/db.c: Likewise.
24940         * manual/examples/dir.c: Likewise.
24941         * manual/examples/dir2.c: Likewise.
24942         * manual/examples/execinfo.c: Likewise.
24943         * manual/examples/filecli.c: Likewise.
24944         * manual/examples/filesrv.c: Likewise.
24945         * manual/examples/fmtmsgexpl.c: Likewise.
24946         * manual/examples/genpass.c: Likewise.
24947         * manual/examples/inetcli.c: Likewise.
24948         * manual/examples/inetsrv.c: Likewise.
24949         * manual/examples/isockad.c: Likewise.
24950         * manual/examples/longopt.c: Likewise.
24951         * manual/examples/memopen.c: Likewise.
24952         * manual/examples/memstrm.c: Likewise.
24953         * manual/examples/mkfsock.c: Likewise.
24954         * manual/examples/mkisock.c: Likewise.
24955         * manual/examples/mygetpass.c: Likewise.
24956         * manual/examples/pipe.c: Likewise.
24957         * manual/examples/popen.c: Likewise.
24958         * manual/examples/rprintf.c: Likewise.
24959         * manual/examples/search.c: Likewise.
24960         * manual/examples/select.c: Likewise.
24961         * manual/examples/setjmp.c: Likewise.
24962         * manual/examples/sigh1.c: Likewise.
24963         * manual/examples/sigusr.c: Likewise.
24964         * manual/examples/stpcpy.c: Likewise.
24965         * manual/examples/strdupa.c: Likewise.
24966         * manual/examples/strftim.c: Likewise.
24967         * manual/examples/strncat.c: Likewise.
24968         * manual/examples/subopt.c: Likewise.
24969         * manual/examples/swapcontext.c: Likewise.
24970         * manual/examples/termios.c: Likewise.
24971         * manual/examples/testopt.c: Likewise.
24972         * manual/examples/testpass.c: Likewise.
24973         * manual/examples/timeval_subtract.c: Likewise.
24975         [BZ #13792]
24976         * manual/time.texi (Elapsed Time): Move timeval_subtract example
24977         function to ...
24978         * manual/timeval_subtract.c.texi: ... here, new file.
24980 2012-03-02  David S. Miller  <davem@davemloft.net>
24982         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24984 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
24986         [BZ #3976]
24987         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24988         (__sin): Save and restore rounding mode and use round-to-nearest
24989         for all computations.
24990         (__cos): Save and restore rounding mode and use round-to-nearest
24991         for all computations.
24992         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24993         <fenv.h>.
24994         (tan): Save and restore rounding mode and use round-to-nearest for
24995         all computations.
24996         * math/libm-test.inc (cos_test_tonearest): New function.
24997         (cos_test_towardzero): Likewise.
24998         (cos_test_downward): Likewise.
24999         (cos_test_upward): Likewise.
25000         (sin_test_tonearest): Likewise.
25001         (sin_test_towardzero): Likewise.
25002         (sin_test_downward): Likewise.
25003         (sin_test_upward): Likewise.
25004         (tan_test_tonearest): Likewise.
25005         (tan_test_towardzero): Likewise.
25006         (tan_test_downward): Likewise.
25007         (tan_test_upward): Likewise.
25008         (main): Call the new functions.
25009         * sysdeps/i386/fpu/libm-test-ulps: Update.
25010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25012         [BZ #10135]
25013         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25014         small n, then large n, before computing and testing k+n.
25015         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25016         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25017         Likewise.
25018         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25019         Likewise.
25020         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25021         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25022         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25023         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25024         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25025         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25026         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25027         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25028         * math/libm-test.inc (scalbn_test): Add more tests.
25029         (scalbln_test): Likewise.
25031         * manual/filesys.texi (mode_t): Describe constraints on size and
25032         signedness, not exact equivalence to a particular type.
25033         (ino_t): Likewise.
25034         (ino64_t): Likewise.
25035         (dev_t): Likewise.
25036         (nlink_t): Likewise.
25037         (blkcnt_t): Likewise.
25038         (blkcnt64_t): Likewise.
25039         * manual/llio.texi (off_t): Likewise.
25041         [BZ #3976]
25042         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25043         (__ieee754_exp): Save and restore rounding mode and use
25044         round-to-nearest for all computations.
25045         * math/libm-test.inc (exp_test_tonearest): New function.
25046         (exp_test_towardzero): Likewise.
25047         (exp_test_downward): Likewise.
25048         (exp_test_upward): Likewise.
25049         (main): Call the new functions.
25050         * sysdeps/i386/fpu/libm-test-ulps: Update.
25051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25053 2012-03-01  Chris Demetriou  <cgd@google.com>
25055         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25056         have predictable order.
25058 2012-03-01  David S. Miller  <davem@davemloft.net>
25060         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25062         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25063         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25064         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25065         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25067         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25068         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25069         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25071         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25072         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25073         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25074         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25075         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25079         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25080         * sysdeps/sparc/fpu/libm-test-ulps: to here.
25081         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25083         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25084         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25085         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25086         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25087         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25088         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25089         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25090         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25091         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25092         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25093         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25094         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25095         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25096         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25097         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25098         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25099         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25100         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25101         * sysdeps/sparc/elf/configure: Regenerated.
25103 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
25105         * configure.in (AS, LD): Require binutils 2.20 or later.
25106         * configure: Regenerated.
25107         * manual/install.texi (Tools for Compilation): Give binutils 2.20
25108         as required minimum version.
25109         * INSTALL: Regenerated.
25111         [BZ #2541]
25112         [BZ #4108]
25113         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25114         before squaring exponent.
25115         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25116         bottom long double and 27 bits of top long double before squaring
25117         exponent.
25118         * math/libm-test.inc (erfc_test): Add more tests.
25119         * sysdeps/i386/fpu/libm-test-ulps: Update.
25120         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25123 2012-03-01  Kai Tietz  <ktietz@redhat.com>
25125         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25126         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25127         containing bit-fields.
25128         * soft-fp/extended.h (_FP_UNION_E): Likewise.
25129         * soft-fp/single.h (_FP_UNION_S): Likewise.
25130         * soft-fp/double.h (_FP_UNION_D): Likewise.
25132 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
25134         [BZ #13786]
25135         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25136         not include ../strcmp.S.
25137         [USE_AS_STRNCASECMP_L]: Likewise.
25138         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25139         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25140         * sysdeps/i386/i686/multiarch/strncase_l-c.c
25141         (__strncasecmp_l_ia32): Define as alias to
25142         __strncasecmp_l_nonascii.
25144         [BZ #5794]
25145         * math/libm-test.inc (expm1_test): Add test for bug 5794.
25146         * sysdeps/i386/fpu/libm-test-ulps: Update.
25147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25149         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25152 2012-02-29  Jeff Law  <law@redhat.com>
25154         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25155         out of bounds read.
25157 2012-02-29  Marek Polacek  <polacek@redhat.com>
25159         [BZ #13706]
25160         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25161         * elf/Makefile: Add rules to run tst-unused-dep.out.
25163 2012-02-28  David S. Miller  <davem@davemloft.net>
25165         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25166         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25167         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25168         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25169         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25170         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25172 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
25174         * math/libm-test.inc (llround_test): Move one test from
25175         lround_test.  Use TEST_f_L in moved test.
25176         (lround_test): Move misplaced test to llround_test.  Add testcase
25177         from bug 2561.
25179 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
25181         * sysdeps/x86_64/fpu/e_expf.S: New file.
25182         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25184 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
25186         [BZ #13637]
25187         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25188         of remain_len that may cause incomplete multi-byte character and
25189         false match.
25190         * posix/bug-regex33.c: New file.
25191         * posix/Makefile (tests): Add bug-regex33.
25193 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
25195         * manual/macros.texi: New file.
25196         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25197         * manual/libc.texinfo: Include macros.texi.
25198         * manual/creatute.texi: Likewise.
25199         * manual/install.texi: Likewise.
25200         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25201         @glibcadj{} in references to the GNU C Library.
25202         * manual/charset.texi: Likewise.
25203         * manual/conf.texi: Likewise.
25204         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
25205         when not using those macros.
25206         * manual/creature.texi: Likewise.
25207         * manual/crypt.texi: Likewise.
25208         * manual/errno.texi: Likewise.
25209         * manual/filesys.texi: Likewise.
25210         * manual/header.texi: Likewise.
25211         * manual/install.texi: Likewise.
25212         * manual/intro.texi: Likewise.
25213         * manual/io.texi: Likewise.
25214         * manual/job.texi: Likewise.
25215         * manual/lang.texi: Likewise.
25216         * manual/libc.texiinfo: Likewise.
25217         * manual/llio.texi: Likewise.
25218         * manual/locale.texi: Likewise.
25219         * manual/maint.texi: Likewise.
25220         * manual/math.texi: Likewise.
25221         * manual/memory.texi: Likewise.
25222         * manual/message.texi: Likewise.
25223         * manual/nss.texi: Likewise.
25224         * manual/pattern.texi: Likewise.
25225         * manual/process.texi: Likewise.
25226         * manual/resource.texi: Likewise.
25227         * manual/search.texi: Likewise.
25228         * manual/setjmp.texi: Likewise.
25229         * manual/signal.texi: Likewise.
25230         * manual/socket.texi: Likewise.
25231         * manual/startup.texi: Likewise.
25232         * manual/stdio.texi: Likewise.
25233         * manual/string.texi: Likewise.
25234         * manual/sysinfo.texi: Likewise.
25235         * manual/syslog.texi: Likewise.
25236         * manual/terminal.texi: Likewise.
25237         * manual/time.texi: Likewise.
25238         * manual/users.texi: Likewise.
25239         * INSTALL: Regenerated.
25240         * NOTES: Regenerated.
25241         * sysdeps/gnu/errlist.c: Regenerated.
25243 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
25245         * include/dirent.h: Include <dirstream.h> before
25246         <dirent/dirent.h>.
25248 2012-02-28  David S. Miller  <davem@davemloft.net>
25250         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25251         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25252         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25253         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25255 2012-02-27  David S. Miller  <davem@davemloft.net>
25257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25259         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25260         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25263         frame pointer instead of stack pointer relative arg slot.
25264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25265         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25266         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25268 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
25270         [BZ #3992]
25271         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25273 2012-02-27  David S. Miller  <davem@davemloft.net>
25275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25279         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25280         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25281         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25282         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25284 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
25286         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25287         later.  Allow versions 5-9.
25288         * configure: Regenerated.
25289         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25290         required minimum version and 4.6 as recommended version.  Do not
25291         mention bugs in GCC 2.7 and 2.8.
25292         * INSTALL: Regenerated.
25294 2012-02-27  David S. Miller  <davem@davemloft.net>
25296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25300         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25301         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25302         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25303         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25305         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25306         manipulate bits before adding and subtracting TWO112[sx].
25307         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25309 2012-02-27  Roland McGrath  <roland@hack.frob.com>
25311         [BZ #13775]
25312         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25313         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25314         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25315         being in POSIX, because they are in 1003.1-2008.
25317         * rt/tst-aio.c: Include <fcntl.h>.
25318         * rt/tst-aio7.c: Likewise.
25319         * rt/tst-aio64.c: Likewise.
25321         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25323 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
25325         * manual/install.texi (--with-headers): Describe headers as
25326         interface headers, not private headers.
25327         (Specific advice for GNU/Linux systems): Describe use of headers
25328         from "make headers_install", not private headers from older
25329         kernels.
25330         * INSTALL: Regenerated.
25331         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25332         Change to 2.6.19.
25333         * sysdeps/unix/sysv/linux/configure: Regenerated.
25335         * manual/llio.texi (fclean): Remove documentation.
25337         * manual/Makefile (libc-texi-generated): New variable.  Include
25338         version.texi.
25339         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25340         $(libc-texi-generated), not duplicated list of files.
25341         (version.texi, stamp-version): New rules.
25342         (realclean): Remove $(libc-texi-generated), not individual files
25343         from that list.  Do not remove dir-add.texinfo.
25344         * manual/libc.texinfo: Comment out uses of edition numbers and
25345         references to printed manual.  Remove last-updated dates.
25346         (EDITION): Comment out.
25347         (ISBN): Likewise.
25348         (VERSION, UPDATED): Remove.
25349         (version.texi): Include.
25351 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
25353         * sysdeps/posix/spawni.c: Include <signal.h>.
25354         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25355         * sysdeps/pthread/aio_fsync.c: Likewise.
25357 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
25359         * conform/Makefile (tests): Run only when not cross-compiling and
25360         when fast-check is not defined.
25362         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25363         * conform/data/limits.h-data: Fixes for POSIX2008.
25364         * conform/run-conformtest.sh: Run all tests.
25365         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25366         headers.
25367         * include/bits/dlfcn.h: Likewise.
25368         * include/langinfo.h: Likewise.
25369         * include/monetary.h: Likewise.
25370         * include/sys/poll.h: Likewise.
25372         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25373         for __USE_GNU.
25374         * posix/spawn.h: Define __need_sigset_t.
25375         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25376         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25377         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
25378         to get sigevent_t only.
25379         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25380         only for __USE_GNU.
25381         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25382         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25383         process_vm_writev only for __USE_GNU.
25384         * termios/termios.h: Declare tcgetsid also for POSIX2008.
25386         * conform/Makefile: For now ignore errors from run-conformtest.
25387         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
25388         POSIX to avoid namespace pollution.  Don't prepend headers.
25389         * conform/data/aio.h-data: Fixes for POSIX testing.
25390         * conform/data/fcntl.h-data: Likewise.
25391         * conform/data/glob.h-data: Likewise.
25392         * conform/data/grp.h-data: Likewise.
25393         * conform/data/pthread.h-data: Likewise.
25394         * conform/data/pwd.h-data: Likewise.
25395         * conform/data/signal.h-data: Likewise.
25396         * conform/data/spawn.h-data: Likewise.
25397         * conform/data/stdio.h-data: Likewise.
25398         * conform/data/stdlib.h-data: Likewise.
25399         * conform/data/stropts.h-data: Likewise.
25400         * conform/data/sys/mman.h-data: Likewise.
25401         * conform/data/sys/stat.h-data: Likewise.
25402         * conform/data/sys/types.h-data: Likewise.
25403         * conform/data/sys/wait.h-data: Likewise.
25404         * conform/data/time.h-data: Likewise.
25405         * conform/data/unistd.h-data: Likewise.
25406         * conform/data/utime.h-data: Likewise.
25408         * io/sys/stat.h: fchmod was always in POSIX.
25409         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25410         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25411         * rt/aio.h: Define __need_timespec before including <time.h>.
25412         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25413         struct.  Add forward declaration of pthread_attr_t and use it in
25414         sigevent.
25415         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25416         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25417         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25418         always remove CLK_TCK definition.
25420 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
25422         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25424 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
25426         * conform/run-conformtest.sh: New file.
25427         * conform/Makefile: Run run-conformtest for tests.
25428         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
25429         support.
25431         * conform/data/uchar.h-data: New file.
25432         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25433         * conform/data/arpa/inet.h-data: Likewise.
25434         * conform/data/assert.h-data: Likewise.
25435         * conform/data/complex.h-data: Likewise.
25436         * conform/data/cpio.h-data: Likewise.
25437         * conform/data/ctype.h-data: Likewise.
25438         * conform/data/dirent.h-data: Likewise.
25439         * conform/data/dlfcn.h-data: Likewise.
25440         * conform/data/errno.h-data: Likewise.
25441         * conform/data/fcntl.h-data: Likewise.
25442         * conform/data/float.h-data: Likewise.
25443         * conform/data/fmtmsg.h-data: Likewise.
25444         * conform/data/fnmatch.h-data: Likewise.
25445         * conform/data/ftw.h-data: Likewise.
25446         * conform/data/glob.h-data: Likewise.
25447         * conform/data/grp.h-data: Likewise.
25448         * conform/data/iconv.h-data: Likewise.
25449         * conform/data/inttypes.h-data: Likewise.
25450         * conform/data/langinfo.h-data: Likewise.
25451         * conform/data/libgen.h-data: Likewise.
25452         * conform/data/limits.h-data: Likewise.
25453         * conform/data/locale.h-data: Likewise.
25454         * conform/data/math.h-data: Likewise.
25455         * conform/data/monetary.h-data: Likewise.
25456         * conform/data/mqueue.h-data: Likewise.
25457         * conform/data/ndbm.h-data: Likewise.
25458         * conform/data/net/if.h-data: Likewise.
25459         * conform/data/netdb.h-data: Likewise.
25460         * conform/data/netinet/in.h-data: Likewise.
25461         * conform/data/nl_types.h-data: Likewise.
25462         * conform/data/poll.h-data: Likewise.
25463         * conform/data/pthread.h-data: Likewise.
25464         * conform/data/pwd.h-data: Likewise.
25465         * conform/data/regex.h-data: Likewise.
25466         * conform/data/sched.h-data: Likewise.
25467         * conform/data/search.h-data: Likewise.
25468         * conform/data/semaphore.h-data: Likewise.
25469         * conform/data/setjmp.h-data: Likewise.
25470         * conform/data/signal.h-data: Likewise.
25471         * conform/data/spawn.h-data: Likewise.
25472         * conform/data/stdarg.h-data: Likewise.
25473         * conform/data/stdio.h-data: Likewise.
25474         * conform/data/stdlib.h-data: Likewise.
25475         * conform/data/string.h-data: Likewise.
25476         * conform/data/strings.h-data: Likewise.
25477         * conform/data/stropts.h-data: Likewise.
25478         * conform/data/sys/ipc.h-data: Likewise.
25479         * conform/data/sys/mman.h-data: Likewise.
25480         * conform/data/sys/msg.h-data: Likewise.
25481         * conform/data/sys/resource.h-data: Likewise.
25482         * conform/data/sys/select.h-data: Likewise.
25483         * conform/data/sys/sem.h-data: Likewise.
25484         * conform/data/sys/shm.h-data: Likewise.
25485         * conform/data/sys/socket.h-data: Likewise.
25486         * conform/data/sys/stat.h-data: Likewise.
25487         * conform/data/sys/statvfs.h-data: Likewise.
25488         * conform/data/sys/time.h-data: Likewise.
25489         * conform/data/sys/timeb.h-data: Likewise.
25490         * conform/data/sys/times.h-data: Likewise.
25491         * conform/data/sys/types.h-data: Likewise.
25492         * conform/data/sys/uio.h-data: Likewise.
25493         * conform/data/sys/un.h-data: Likewise.
25494         * conform/data/sys/utsname.h-data: Likewise.
25495         * conform/data/sys/wait.h-data: Likewise.
25496         * conform/data/syslog.h-data: Likewise.
25497         * conform/data/tar.h-data: Likewise.
25498         * conform/data/termios.h-data: Likewise.
25499         * conform/data/utime.h-data: Likewise.
25500         * conform/data/utmpx.h-data: Likewise.
25501         * conform/data/varargs.h-data: Likewise.
25502         * conform/data/wchar.h-data: Likewise.
25503         * conform/data/wctype.h-data: Likewise.
25504         * conform/data/wordexp.h-data: Likewise.
25506         * include/stropts.h: New file.
25507         * include/uchar.h: New file.
25508         * include/aio.h: Changes to allow conformtest.pl to use the headers.
25509         * include/assert.h: Likewise.
25510         * include/ctype.h: Likewise.
25511         * include/dirent.h: Likewise.
25512         * include/dlfcn.h: Likewise.
25513         * include/fcntl.h: Likewise.
25514         * include/fnmatch.h: Likewise.
25515         * include/glob.h: Likewise.
25516         * include/grp.h: Likewise.
25517         * include/libio.h: Likewise.
25518         * include/locale.h: Likewise.
25519         * include/math.h: Likewise.
25520         * include/net/if.h: Likewise.
25521         * include/netdb.h: Likewise.
25522         * include/netinet/in.h: Likewise.
25523         * include/pthread.h: Likewise.
25524         * include/pwd.h: Likewise.
25525         * include/regex.h: Likewise.
25526         * include/sched.h: Likewise.
25527         * include/search.h: Likewise.
25528         * include/setjmp.h: Likewise.
25529         * include/signal.h: Likewise.
25530         * include/stdio.h: Likewise.
25531         * include/stdlib.h: Likewise.
25532         * include/string.h: Likewise.
25533         * include/sys/cdefs.h: Likewise.
25534         * include/sys/mman.h: Likewise.
25535         * include/sys/msg.h: Likewise.
25536         * include/sys/resource.h: Likewise.
25537         * include/sys/select.h: Likewise.
25538         * include/sys/socket.h: Likewise.
25539         * include/sys/stat.h: Likewise.
25540         * include/sys/statvfs.h: Likewise.
25541         * include/sys/time.h: Likewise.
25542         * include/sys/times.h: Likewise.
25543         * include/sys/uio.h: Likewise.
25544         * include/sys/utsname.h: Likewise.
25545         * include/sys/wait.h: Likewise.
25546         * include/termios.h: Likewise.
25547         * include/time.h: Likewise.
25548         * include/ulimit.h: Likewise.
25549         * include/unistd.h: Likewise.
25550         * include/utime.h: Likewise.
25551         * include/wchar.h: Likewise.
25552         * include/wctype.h: Likewise.
25553         * include/wordexp.h: Likewise.
25555         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25557         * time/time.h: TIME_UTC must be a macro.
25558         Make timespec_get available for ISO C11 only as well.
25560 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
25562         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25563         Reported by Peng Haitao <penght@cn.fujitsu.com>.
25565 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25567         * configure.in: Use -o not -a in test for unsupported multi-arch.
25569 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25571         * manual/texinfo.tex: Update to version 2012-01-19.16.
25573 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25575         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25577 2012-02-24  Roland McGrath  <roland@hack.frob.com>
25579         [BZ #13738]
25580         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25581         * manual/fdl-1.3.texi: New file.
25582         * manual/fdl-1.1.texi: File removed.
25584         [BZ #13738]
25585         * manual/libc.texinfo (FDL_VERSION): New @set.
25586         Use it for mention of FDL in cover text.
25587         (Documentation License): Use it in @include file name.
25589 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25590             Roland McGrath  <roland@hack.frob.com>
25592         [BZ #5461]
25593         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25594         not LONG_LONG_MAX and LONG_LONG_MIN.
25595         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25596         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
25597         name.
25598         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25600 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25602         [BZ #2547]
25603         [BZ #11365]
25604         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25605         manipulate bits before adding and subtracting TWO23[sx].
25606         * math/libm-test.inc (nearbyint_test): Add more tests.
25608 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25610         [BZ #2548]
25611         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25612         bits before adding and subtracting TWO23[sx].
25613         * math/libm-test.inc (rint_test): Add more tests.
25614         (rint_test_tonearest): Likewise.
25615         (rint_test_towardzero): Likewise.
25616         (rint_test_downward): Likewise.
25617         (rint_test_upward: Likewise.
25619 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25621         [BZ #10110]
25622         * include/stdc-predef.h: New file.  Extracted from features.h.
25623         * include/features.h: Include stdc-predef.h.
25624         * Makefile (headers): Add stdc-predef.h.
25625         * CONFORMANCE (Compiler limitations): Update.
25627 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25629         * manual/libc.texinfo (VERSION, UPDATED): Revert.
25631 2012-02-21  David S. Miller  <davem@davemloft.net>
25633         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25634         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25636 2012-02-20  David S. Miller  <davem@davemloft.net>
25638         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25639         using a normal save/restore sequence, rather than allocating a
25640         dummy stack frame just to store a frame pointer and restore.
25641         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25643 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25645         * manual/install.texi: Fix stray word in line-wrapped comment.
25647 2012-02-20  David S. Miller  <davem@davemloft.net>
25649         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25650         both binutils and gcc support GOTDATA.
25652         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25653         "rd %pc" in the PIC register setup sequences.
25655         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25656         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25657         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25658         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25659         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25660         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25661         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25662         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25663         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25664         (SYSCALL_ERROR_HANDLER): Likewise.
25665         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25666         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25667         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25668         (SYSCALL_ERROR_HANDLER): Likewise.
25670         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25671         (HAVE_GCC_GOTDATA): New.
25672         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25673         relocation support in both binutils and gcc.
25674         * sysdeps/sparc/elf/configure: Regenerate.
25676         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25677         * sysdeps/sparc/sparc32/elf/configure: Delete.
25678         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25679         * sysdeps/sparc/sparc64/elf/configure: Delete.
25680         * sysdeps/sparc/elf/configure.in: New file.
25681         * sysdeps/sparc/elf/configure: Generate.
25683         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25684         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25685         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25686         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25687         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25689 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25691         * manual/install.texi: Do not mention specific glibc version
25692         numbers.
25693         * manual/libc.texinfo (VERSION, UPDATED): Update.
25694         (@copying): Use @copyright{} and range of years.
25696 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25698         [BZ #13695]
25699         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25700         [crti.S not in sysdirs] (generated): Do not append.
25701         [crti.S not in sysdirs] (omit-deps): Likewise.
25702         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25703         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25704         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25705         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25706         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25707         Likewise.
25708         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25709         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25710         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25711         * csu/defs.awk: Remove file.
25712         * sysdeps/generic/initfini.c: Likewise.
25713         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25714         variable.
25715         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25716         Likewise.
25718 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25720         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25721         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25722         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25723         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25724         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25725         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25726         <bits/epoll.h>.
25727         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25728         (__EPOLL_PACKED): Define to empty if not defined by
25729         <bits/epoll.h>.
25730         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25731         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25732         bits/epoll.h.
25734 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25736         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25737         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25738         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25739         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25740         <bits/timerfd.h>.
25741         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25742         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25743         bits/timerfd.h.
25745 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25747         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25748         in C locale.
25749         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25750         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25751         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25754 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
25756         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25757         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25759 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
25761         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25762         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25763         defined.
25764         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25765         Likewise.
25766         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25767         entry for 2.16.
25769 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
25771         * math/w_acos.c: Use non-signaling floating-point comparisons.
25772         * math/w_acosf.c: Likewise.
25773         * math/w_acosh.c: Likewise.
25774         * math/w_acoshf.c: Likewise.
25775         * math/w_acoshl.c: Likewise.
25776         * math/w_acosl.c: Likewise.
25777         * math/w_asin.c: Likewise.
25778         * math/w_asinf.c: Likewise.
25779         * math/w_asinl.c: Likewise.
25780         * math/w_atanh.c: Likewise.
25781         * math/w_atanhf.c: Likewise.
25782         * math/w_atanhl.c: Likewise.
25783         * math/w_exp2.c: Likewise.
25784         * math/w_exp2f.c: Likewise.
25785         * math/w_exp2l.c: Likewise.
25786         * math/w_j0.c: Likewise.
25787         * math/w_j0f.c: Likewise.
25788         * math/w_j0l.c: Likewise.
25789         * math/w_j1.c: Likewise.
25790         * math/w_j1f.c: Likewise.
25791         * math/w_j1l.c: Likewise.
25792         * math/w_jn.c: Likewise.
25793         * math/w_jnf.c: Likewise.
25794         * math/w_log.c: Likewise.
25795         * math/w_log10.c: Likewise.
25796         * math/w_log10f.c: Likewise.
25797         * math/w_log10l.c: Likewise.
25798         * math/w_log2.c: Likewise.
25799         * math/w_log2f.c: Likewise.
25800         * math/w_log2l.c: Likewise.
25801         * math/w_logf.c: Likewise.
25802         * math/w_logl.c: Likewise.
25803         * math/w_sqrt.c: Likewise.
25804         * math/w_sqrtf.c: Likewise.
25805         * math/w_sqrtl.c: Likewise.
25806         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25807         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25808         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25809         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25810         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25812 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25814         [BZ #9739]
25815         * manual/string.texi (strnlen): Use correct parameter name in
25816         equivalent expression.
25818 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25820         [BZ #11174]
25821         * manual/users.texi (seteuid): Consistently use neweuid for
25822         argument name.
25824 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25826         [BZ #13704]
25827         * manual/nss.texi (Services in the NSS configuration): Correct
25828         list of services in example configuration file.
25830 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
25832         [BZ #11322]
25833         * manual/arith.texi: Remove statements about negative zero
25834         behaving identically to zero.
25836 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25838         [BZ #5993]
25839         * manual/install.texi: Do not document upgrading from libc5.
25841 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25843         [BZ #4596]
25844         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25846 2012-02-18  David S. Miller  <davem@davemloft.net>
25848         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25849         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25850         %o7 across the call.
25851         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25852         instead.
25853         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25854         SETUP_PIC_REG_LEAF.
25855         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25856         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25857         * sysdeps/sparc/crtn.S: Likewise.
25859 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
25861         * aout/Makefile: Remove.
25863 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
25865         [BZ #13058]
25866         * manual/examples/argp-ex1.c (main): Format definition in GNU
25867         style.
25868         * manual/examples/argp-ex2.c (main): Likewise.
25869         * manual/examples/argp-ex3.c (main): Likewise.
25870         * manual/examples/argp-ex4.c (main): Likewise.
25871         * manual/examples/longopt.c (main): Use new-style prototype
25872         definition.
25873         * manual/examples/strncat.c (main): Specify return type and use
25874         (void) for arguments.
25875         * manual/examples/subopt.c (main): Use char **argv argument.
25877 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25879         [BZ #5077]
25880         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25881         rounding modes.
25883 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
25885         [BZ #6907]
25886         * manual/string.texi (strchr): Change when strchrnul is
25887         recommended.
25889 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
25891         [BZ #174]
25892         * manual/locale.texi (setlocale): Document LOCPATH.
25894 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25896         [BZ #10210]
25897         * manual/process.texi (execle): Move @dots{} before last argument.
25899 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
25901         [BZ #12047]
25902         * manual/charset.texi (Generic Charset Conversion): Fix typo
25903         (LC_TYPE -> LC_CTYPE).
25905 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
25907         [BZ #5805]
25908         * manual/arith.texi (scalbn): Use @var{} on parameter names.
25909         (scalbnf): Likewise.
25910         (scalbnl): Likewise.
25911         (scalbln): Likewise.
25912         (scalblnf): Likewise.
25913         (scalblnl): Likewise.
25914         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25915         (vwarnx): Likewise.
25916         (verr): Likewise.
25917         (verrx): Likewise.
25918         * manual/filesys.texi (telldir): Use braces around return type.
25919         * manual/llio.texi (mmap): Add space after comma.
25920         (mmap64): Likewise.
25921         * manual/math.texi (jn): Use @var{} on parameter names.
25922         (jnf): Likewise.
25923         (jnl): Likewise.
25924         (yn): Likewise.
25925         (ynf): Likewise.
25926         (ynl): Likewise.
25927         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25928         line.
25929         * manual/resource.texi (ulimit): Use @dots{} instead of literal
25930         "...".
25931         (sched_get_priority_min): Remove semicolon on @deftypefun line.
25932         (sched_get_priority_max): Likewise.
25933         * manual/signal.texi (sigvec): Add space after comma.
25934         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25935         names.
25936         (if_indextoname): Likewise.
25937         (if_freenameindex): Likewise.
25938         (sendto): Use ',' instead of '.' in prototype.
25939         * manual/startup.texi (syscall): Use @dots{} instead of literal
25940         "...".
25941         * manual/stdio.texi (__fpending): Separate initial words of
25942         paragraph from @deftypefun line.
25943         * manual/syslog.texi (syslog): Use @dots{} instead of literal
25944         "...".
25945         (vsyslog): Use @var{} on parameter names.
25946         * manual/terminal.texi (stty): Use @var{} on parameter names.
25947         * manual/users.texi (getutmp): Use @var{} on parameter names.
25948         (getutmpx): Likewise.
25950 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25952         [BZ #6884]
25953         * manual/stdio.texi (fopen): Fix typos in description of
25954         ",ccs=STRING".
25956 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
25958         [BZ #4026]
25959         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25960         get clock_id definition.
25962 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
25964         [BZ #4822]
25965         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25966         (madvise): Cast every argument to void on its own.
25968 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25970         [BZ #9902]
25971         * manual/startup.texi (Exit Status): Fix typo.
25973 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25975         [BZ #10140]
25976         * manual/examples/argp-ex1.c: Include <stdlib.h>.
25977         * manual/examples/argp-ex2.c: Likewise.
25978         * manual/examples/argp-ex3.c: Likewise.
25980 2012-02-16  Richard Henderson  <rth@redhat.com>
25982         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25983         * sysdeps/s390/s390-32/initfini.c: Remove.
25984         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25985         * sysdeps/s390/s390-64/initfini.c: Remove.
25987 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25989         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25990         compiler output for sysdeps/generic/initfini.c.
25991         * sysdeps/sh/elf/initfini.c: Remove file.
25993 2012-02-16  David S. Miller  <davem@davemloft.net>
25995         [BZ #11494]
25996         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25998         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25999         * sysdeps/sparc/crti.S: New file.
26000         * sysdeps/sparc/crtn.S: New file.
26001         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26002         * sysdeps/sparc/sparc64/Makefile: Likewise.
26004 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
26006         [BZ #3335]
26007         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26009 2012-02-15  Roland McGrath  <roland@hack.frob.com>
26011         [BZ #4822]
26012         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26014         * mach/devstream.c (cookie_io_functions_t): Macro removed.
26015         (write, read, close): Likewise.
26016         Patch by Aurelien Jarno <aurelien@aurel32.net>.
26018 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
26020         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26021         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26022         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26023         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26024         <bits/signalfd.h>.
26025         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26026         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26027         bits/signalfd.h.
26029 2012-02-14  Marek Polacek  <polacek@redhat.com>
26031         * sysdeps/x86_64/crti.S: New file.
26032         * sysdeps/x86_64/crtn.S: New file.
26033         * sysdeps/x86_64/elf/initfini.c: Remove file.
26035 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26037         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26038         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26039         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26040         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26041         <bits/inotify.h>.
26042         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26043         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26044         bits/inotify.h.
26046 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26048         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26049         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26050         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26051         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26052         <bits/eventfd.h>.
26053         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26054         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26055         bits/eventfd.h.
26057 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
26059         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26060         __feraiseexcept instead of feraiseexcept.
26062         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26063         nanosleep invocations.
26064         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26065         strings, and add error checking for a nanosleep invocations.
26067 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
26069         Replace FSF snail mail address with URLs, as per GNU coding standards.
26070         Most of the snail mail addresses were wrong anyway, and omitting
26071         them makes the source code easier to maintain.  Almost all of the
26072         changes are to license notices and to locale LC_IDENTIFICATION
26073         addresses, except for this one:
26074         * manual/libc.texinfo: In "Published by", give the FSF's URL,
26075         not its snail mail address.
26077 2012-02-09  Richard Henderson  <rth@twiddle.net>
26079         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26080         of kernel-features.h.
26082         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26084 2012-02-08  Marek Polacek  <polacek@redhat.com>
26086         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26087         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26088         * sysdeps/gnu/_G_config.h: Likewise.
26089         * sysdeps/generic/_G_config.h: Likewise.
26091 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
26093         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26094         tests.
26095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26097         * sysdeps/powerpc/powerpc32/crti.S: New file.
26098         * sysdeps/powerpc/powerpc32/crtn.S: New file.
26099         * sysdeps/powerpc/powerpc64/crti.S: New file.
26100         * sysdeps/powerpc/powerpc64/crtn.S: New file.
26102         * Makeconfig (have-initfini): Don't set.
26103         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26104         * configure.in (nopic_initfini): Don't substitute.
26105         * config.h.in (HAVE_INITFINI): Don't #undef.
26106         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26107         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26109 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
26111         Support crti.S and crtn.S provided directly by architectures.
26112         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26113         [crti.S in sysdirs] (omit-deps): Likewise.
26114         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26115         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26116         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26117         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26118         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26119         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26120         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26121         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26122         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26123         compiler output for sysdeps/generic/initfini.c.
26124         * sysdeps/i386/elf/Makefile: Remove file.
26125         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26127 2012-02-07  Marek Polacek  <polacek@redhat.com>
26129         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26130         * sysdeps/gnu/_G_config.h: Likewise.
26131         * sysdeps/mach/hurd/_G_config.h: Likewise.
26133 2012-02-07  Marek Polacek  <polacek@redhat.com>
26135         * math/Makefile (tests): Add tst-CMPLX2.
26136         * math/tst-CMPLX2.c: New file.
26138 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
26140         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26142         * math/libm-test.inc (jn_test): Add missing L suffix.
26144 2012-02-06  Marek Polacek  <polacek@redhat.com>
26146         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26147         * sysdeps/i386/fpu/e_powf.S: Likewise.
26148         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26149         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26150         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26151         * sysdeps/i386/fpu/e_pow.S: Likewise.
26152         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26153         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26154         * sysdeps/i386/fpu/s_expm1.S: Likewise.
26155         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26156         * sysdeps/i386/fpu/e_log2.S: Likewise.
26157         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26158         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26159         * sysdeps/i386/fpu/e_powl.S: Likewise.
26160         * sysdeps/i386/fpu/s_log1p.S: Likewise.
26161         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26162         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26163         * sysdeps/i386/fpu/e_logl.S: Likewise.
26164         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26165         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26166         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26167         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26168         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26169         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26170         * sysdeps/i386/fpu/e_log.S: Likewise.
26171         * sysdeps/i386/fpu/s_cexp.S: Likewise.
26172         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26173         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26174         * sysdeps/i386/fpu/e_logf.S: Likewise.
26175         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26176         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26177         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26178         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26179         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26180         * sysdeps/i386/fpu/e_log10.S: Likewise.
26181         * sysdeps/i386/fpu/s_frexp.S: Likewise.
26182         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26183         * sysdeps/i386/fpu/s_asinh.S: Likewise.
26184         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26185         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26186         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26187         * sysdeps/i386/asm-syntax.h: Likewise.
26188         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26189         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26190         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26191         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26192         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26193         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26194         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26195         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26196         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26197         * sysdeps/powerpc/sysdep.h: Likewise.
26198         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26199         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26201 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26203         [BZ #411]
26204         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26206 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26208         * sysdeps/i386/sysdep.h: Include <features.h>.
26209         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26210         version.
26212 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
26214         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26215         Define.
26216         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26217         LOAD_PIC_REG_STR.
26219 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26221         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26222         (SETUP_PIC_REG): Use GET_PC_THUNK.
26223         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26224         macro.
26226 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26228         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26229         for non-PIC compilation.
26230         (SETUP_PIC_REG): Add .p2align directive.
26231         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26232         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26233         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26234         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26235         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26236         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26237         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26238         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26239         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26240         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26241         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26242         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26243         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26244         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26245         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26246         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26247         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26248         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26249         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26250         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26251         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26252         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26253         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26254         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26255         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26256         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26257         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26258         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26259         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26260         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26261         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26262         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26263         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26264         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26265         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26266         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26267         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26268         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26269         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26270         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26271         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26273 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26275         * math/tst-CMPLX.c: Include <stdio.h>.
26277 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
26279         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26280         float.
26281         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26282         * sysdeps/sparc/bits/mathdef.h: Likewise.
26284 2012-01-31  Marek Polacek  <polacek@redhat.com>
26286         * libio/libio.h: Don't define _PARAMS.
26287         * locale/programs/config.h: Don't define PARAMS.
26288         * stdlib/strtol_l.c: Likewise.
26289         (__strtol_l): Remove PARAMS from the prototype.
26291 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
26293         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
26294         names.  Just use the correct names.  Remove unnecessary wrapper
26295         functions.
26296         * malloc/arena.c: Likewise.
26297         * malloc/hooks.c: Likewise.
26299         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26300         ARENA_TEST says not to.  Simplify test for creation of a new arena.
26301         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26303 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
26305         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26306         into tail calls.
26307         (update_get_addr): New function.
26308         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26309         GET_ADDR_MODULE parameter.
26311 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
26313         * crypt/cert.c: Remove __STDC__ conditionals.
26314         * crypt/crypt-entry.c: Likewise.
26315         * crypt/crypt_util.c: Likewise.
26316         * libio/filedoalloc.c: Likewise.
26317         * libio/fileops.c: Likewise.
26318         * libio/genops.c: Likewise.
26319         * libio/iofclose.c: Likewise.
26320         * libio/iofdopen.c: Likewise.
26321         * libio/iofopen.c: Likewise.
26322         * libio/iofopen64.c: Likewise.
26323         * libio/iogetdelim.c: Likewise.
26324         * libio/iopopen.c: Likewise.
26325         * libio/obprintf.c: Likewise.
26326         * libio/oldfileops.c: Likewise.
26327         * libio/oldiofclose.c: Likewise.
26328         * libio/oldiofdopen.c: Likewise.
26329         * libio/oldiofopen.c: Likewise.
26330         * libio/oldiopopen.c: Likewise.
26331         * libio/wfiledoalloc.c: Likewise.
26332         * libio/wgenops.c: Likewise.
26333         * locale/programs/xmalloc.c: Likewise.
26334         * misc/syslog.c: Likewise.
26335         * stdio-common/xbug.c: Likewise.
26336         * string/memchr.c: Likewise.
26337         * string/memcmp.c: Likewise.
26338         * string/memrchr.c: Likewise.
26339         * string/rawmemchr.c: Likewise.
26340         * sysdeps/posix/getcwd.c: Likewise.
26341         * time/strftime_l.c: Likewise.
26343 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
26345         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26346         * config.make.in (config-cflags-sse2avx): Define.
26347         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26348         Fix typo.
26350 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
26352         * scripts/config.guess: Update from upstream config git repository.
26353         * scripts/config.sub: Likewise.
26355 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
26357         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26358         (EM_NUM): Update.
26359         (R_TILEPRO_*, R_TILEGX_*): New macros.
26361         * scripts/firstversions.awk: Fix bug in version range handling.
26363         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26365         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26367         * include/sys/epoll.h: New file.
26368         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26369         libc_hidden_def.
26371 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
26373         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26374         Avoid unnecessary __WORDSIZE == 64 test.
26375         (fmaxf): Use VEX format if possible.
26376         (fmax): Likewise.
26377         (fminf): Likewise.
26378         (fmin): Likewise.
26380         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26381         * math/math_private.h: Remove libc_fegetround* and
26382         libc_fesetround*.
26383         * sysdeps/i386/configure.in: Check for -msse2avx.
26384         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26385         also if SSE2AVX is defined.
26386         Remove libc_fegetround* and libc_fesetround*.
26387         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26388         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
26389         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26390         of HAS_YMM_USABLE.
26391         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26392         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26393         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26394         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26395         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26397         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26399 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26401         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26402         size is not set.
26403         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26405 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
26407         [BZ #13618]
26408         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26409         relocation.
26410         * Makeconfig (libm): Define.
26411         * elf/Makefile: Add rules to build and run tst-relsort1.
26412         * elf/tst-relsort1.c: New file.
26413         * elf/tst-relsort1mod1.c: New file.
26414         * elf/tst-relsort1mod2.c: New file.
26416 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
26418         * math/s_ldexp.c: Remove __STDC__ conditionals.
26419         * math/s_ldexpf.c: Likewise.
26420         * math/s_ldexpl.c: Likewise.
26421         * math/s_nextafter.c: Likewise.
26422         * math/s_nexttowardf.c: Likewise.
26423         * math/s_significand.c: Likewise.
26424         * math/s_significandf.c: Likewise.
26425         * math/s_significandl.c: Likewise.
26426         * math/w_jnl.c: Likewise.
26427         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26428         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26429         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26430         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26431         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26432         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26433         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26434         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26435         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26436         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26437         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26438         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26439         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26440         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26441         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26442         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26443         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26444         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26445         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26446         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26447         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26448         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26449         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26450         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26451         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26452         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26453         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26454         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26455         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26456         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26457         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26458         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26459         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26460         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26461         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26462         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26463         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26464         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26465         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26466         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26467         * sysdeps/ieee754/k_standard.c: Likewise.
26468         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26469         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26470         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26471         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26472         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26473         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26474         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26475         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26476         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26477         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26478         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26479         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26480         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26481         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26482         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26483         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26484         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26485         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26486         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26487         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26488         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26489         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26490         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26491         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26492         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26493         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26494         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26495         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26496         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26497         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26498         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26499         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26500         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26501         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26502         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26503         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26504         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26505         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26506         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26507         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26508         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26509         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26510         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26511         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26512         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26513         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26514         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26515         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26516         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26517         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26518         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26519         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26520         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26521         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26522         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26523         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26524         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26525         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26526         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26527         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26528         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26529         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26530         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26531         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26532         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26533         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26534         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26535         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26536         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26537         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26538         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26539         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26540         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26541         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26542         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26543         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26544         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26545         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26546         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26547         * sysdeps/ieee754/s_matherr.c: Likewise.
26548         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26549         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26550         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26551         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26553 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
26555         * crypt/md5.h: Remove __STDC__ conditionals.
26556         * libio/libioP.h: Likewise.
26557         * locale/programs/config.h: Likewise.
26558         * sysdeps/generic/sysdep.h: Likewise.
26559         * sysdeps/i386/asm-syntax.h: Likewise.
26560         * sysdeps/s390/asm-syntax.h: Likewise.
26561         * sysdeps/unix/sysdep.h: Likewise.
26562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26565 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
26567         * libio/libio.h: Remove __STDC__ conditionals.
26568         * malloc/obstack.h: Likewise.
26569         * math/complex.h: Likewise.
26570         * math/math.h: Likewise.
26571         * sysdeps/generic/_G_config.h: Likewise.
26572         * sysdeps/gnu/_G_config.h: Likewise.
26573         * sysdeps/mach/hurd/_G_config.h: Likewise.
26574         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26575         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26576         * sysdeps/sparc/bits/mathdef.h: Likewise.
26578 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
26580         [BZ #13583]
26581         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26582         Clean up HAS_* macros.
26583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26584         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26585         possible.
26586         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26587         HAS_AVX.
26588         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26589         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26590         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26591         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26592         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26594 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
26596         * elf/tst-unique3.cc (gets): Remove declaration.
26597         * elf/tst-unique3lib.cc (gets): Likewise.
26598         * elf/tst-unique3lib2.cc (gets): Likewise.
26599         * elf/tst-unique4.cc (gets): Likewise.
26601 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
26603         * include/stdio.h: Add C++ protection.  Add gets declarations and
26604         definitions.
26605         * debug/tst-chk1.c: Don't declare gets here.
26606         * stdio-common/tst-gets.c: Likewise.
26608 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26610         * posix/glob: Remove directory.
26612 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26614         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26616 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
26618         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26619         of the non-standard EPFNOSUPPORT.
26621 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26623         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26624         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26625         ANYWHERE set to 1 only on KERN_NO_SPACE error.
26627 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
26629         * wcsmbs/uchar.h: Test __STDC_VERSION__.
26631 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
26633         * nscd/aicache.c (addhstaiX): Do not cache negative results of
26634         transient errors.
26635         * nscd/grpcache.c (cache_addgr): Likewise.
26636         * nscd/hstcache.c (cache_addhst): Likewise.
26637         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26638         * nscd/pwdcache.c (cache_addpw): Likewise.
26639         * nscd/servicescache.c (cache_addserv): Likewise.
26641 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
26643         * malloc/malloc.c: Various cleanups.
26644         * malloc/hooks.c: Likewise.
26646         * stdlib/Makefile (tests): Add bug-fmtmsg1.
26647         * stdlib/bug-fmtmsg1.c: New file.
26649         * stdlib/fmtmsg.c (init): Add missing unlock.
26650         Patch by Peng Haitao <penght@cn.fujitsu.com>.
26652 2012-01-12  Marek Polacek  <polacek@redhat.com>
26654         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26655         and _GNU_SOURCE.
26657 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
26659         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26660         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26661         macro to ensure uniqueness of label name.
26662         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26663         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26665 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
26667         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26669         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26670         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26671         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26672         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26674 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
26676         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26678         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26679         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26680         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26682         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26684         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26685         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26686         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26687         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26689         * math/bits/math-finite.h: Add ldexp support.
26691 2012-01-10  Marek Polacek  <polacek@redhat.com>
26693         * locale/programs/localedef.h (show_archive_content): Add noreturn
26694         attribute.
26696 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
26698         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26700 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26702         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26704         * io/Makefile (headers): Add bits/poll2.h.
26706 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
26708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26709         typo #include statement.
26711 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26713         * include/sys/cdefs.h: Define __attribute_alloc_size.
26714         * catgets/gencat.c: Add alloc_size attribute and apply consistently
26715         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26716         * elf/pldd.c: Likewise.
26717         * iconv/iconv_charmap.c: Likewise.
26718         * iconv/iconvconfig.c: Likewise.
26719         * iconv/strtab.c: Likewise.
26720         * locale/programs/locale.c: Likewise.
26721         * locale/programs/localedef.h: Likewise.
26722         * locale/programs/simple-hash.c: Likewise.
26723         * nscd/nscd.h: Likewise.
26724         * nss/makedb.c: Likewise.
26725         * sysdeps/generic/ldconfig.h: Likewise.
26726         * locale/programs/localedef.c: Remove xmalloc prototype.
26727         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26729 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26731         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26732         appropriate.
26734 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26736         * math/Makefile (tests): Add tst-CMPLX.
26737         * math/tst-CMPLX.c: New file.
26739         * math/complex.h (CMPLXL): Fix typo.
26741         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26742         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26743         GLIBC_2.16.
26744         * debug/tst-chk1.c: Add poll and ppoll tests.
26745         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26746         * include/sys/poll.h: Add hidden proto for ppoll.
26747         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26748         * sysdeps/mach/hurd/ppoll.c: Likewise.
26749         * io/ppoll.c: Likewise.
26750         * debug/poll_chk.c: New file.
26751         * debug/ppoll_chk.c: New file.
26752         * include/bits/poll2.h: New file.
26753         * io/bits/poll2.h: New file.
26755         [BZ #1350]
26756         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26758         * configure.in: static is always set to yes.  Remove.
26759         * config.make.in: Don't set build-static.
26760         * Makeconfig: Remove use of build-static.
26761         * dlfcn/Makefile: Likewise.
26762         * elf/Makefile: Likewise.
26763         * math/Makefile: Likewise.
26764         * misc/Makefile: Likewise.
26765         * nptl/Makefile: Likewise.
26766         * sysdeps/mach/hurd/Makefile: Likewise.
26768         * configure.in: PWD_P is not used anymore.
26769         * config.make.in: Remove PWD_P entry.
26771         * configure.in: Remove last remnants of RANLIB.
26772         No need to check for signed size_t anymore.
26773         Don't set libc_commonpagesize and libc_relro_required here for Alpha
26774         and IA-64.
26775         Remove __builtin_expect test because we require at least gcc 3.4.
26776         * aclocal.m4: Likewise.
26778         * wcsmbs/mbrtoc16.c: Implement using towc function.
26779         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26780         * wcsmbs/wcsmbsload.c: Likewise.
26781         * iconv/gconv_simple.c: Likewise.
26782         * iconv/gconv_int.h: Likewise.
26783         * iconv/gconv_builtin.h: Likewise.
26784         * iconv/iconv_prog.c: Remove CHAR16 handling.
26786         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26788         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26790         * configure.in: Remove --with-elf and --enable-bounded options.
26791         Dont set base_machine for ia64.  More non-ELF conditions removed.
26792         Remove testing and setting of leading underscore information.
26793         * config.make.in (build-bounded): Set to no.
26794         * config.h.in: Remove NO_UNDERSCORES entry.
26795         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
26796         them.
26797         * csu/start.c: Remove !NO_UNDERSCORE code.
26798         * locale/localeinfo.h: Likewise.
26799         * sysdeps/generic/machine-gmon.h: Likewise.
26800         * sysdeps/generic/sysdep.h: Likewise.
26801         * sysdeps/i386/sysdep.h: Likewise.
26802         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26803         * sysdeps/mach/sysdep.h: Likewise.
26804         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26805         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26806         * sysdeps/sh/sysdep.h: Likewise.
26807         * sysdeps/sparc/sparc32/alloca.S: Likewise.
26808         * sysdeps/unix/i386/sysdep.S: Likewise.
26809         * sysdeps/unix/sparc/start.c: Likewise.
26810         * sysdeps/unix/sparc/sysdep.S: Likewise.
26811         * sysdeps/unix/sparc/sysdep.h: Likewise.
26812         * sysdeps/unix/start.c: Likewise.
26813         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26814         * sysdeps/x86_64/sysdep.h: Likewise.
26816 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
26818         [BZ #13553]
26819         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26820         for non-gcc.
26821         * argp/argp-fmtstream.h: Use const instead __const.
26822         * argp/argp.h: Likewise.
26823         * assert/assert.h: Likewise.
26824         * bits/fenv.h: Likewise.
26825         * bits/sched.h: Likewise.
26826         * bits/sigset.h: Likewise.
26827         * bits/sigthread.h: Likewise.
26828         * catgets/nl_types.h: Likewise.
26829         * conform/data/pthread.h-data: Likewise.
26830         * crypt/crypt-private.h: Likewise.
26831         * crypt/crypt.h: Likewise.
26832         * crypt/crypt_util.c: Likewise.
26833         * ctype/ctype.h: Likewise.
26834         * debug/execinfo.h: Likewise.
26835         * debug/mbsnrtowcs_chk.c: Likewise.
26836         * debug/mbsrtowcs_chk.c: Likewise.
26837         * debug/wcsnrtombs_chk.c: Likewise.
26838         * debug/wcsrtombs_chk.c: Likewise.
26839         * debug/wcstombs_chk.c: Likewise.
26840         * dirent/dirent.h: Likewise.
26841         * dlfcn/dlfcn.h: Likewise.
26842         * elf/neededtest4.c: Likewise.
26843         * grp/grp.h: Likewise.
26844         * gshadow/gshadow.h: Likewise.
26845         * iconv/gconv.h: Likewise.
26846         * iconv/gconv_int.h: Likewise.
26847         * iconv/gconv_simple.c: Likewise.
26848         * iconv/iconv.h: Likewise.
26849         * iconv/loop.c: Likewise.
26850         * iconv/skeleton.c: Likewise.
26851         * include/aio.h: Likewise.
26852         * include/aliases.h: Likewise.
26853         * include/argz.h: Likewise.
26854         * include/arpa/inet.h: Likewise.
26855         * include/assert.h: Likewise.
26856         * include/dirent.h: Likewise.
26857         * include/dlfcn.h: Likewise.
26858         * include/execinfo.h: Likewise.
26859         * include/fcntl.h: Likewise.
26860         * include/fenv.h: Likewise.
26861         * include/glob.h: Likewise.
26862         * include/grp.h: Likewise.
26863         * include/libintl.h: Likewise.
26864         * include/mntent.h: Likewise.
26865         * include/netdb.h: Likewise.
26866         * include/pwd.h: Likewise.
26867         * include/rpc/netdb.h: Likewise.
26868         * include/sched.h: Likewise.
26869         * include/search.h: Likewise.
26870         * include/shadow.h: Likewise.
26871         * include/signal.h: Likewise.
26872         * include/stdio.h: Likewise.
26873         * include/stdlib.h: Likewise.
26874         * include/string.h: Likewise.
26875         * include/sys/socket.h: Likewise.
26876         * include/sys/stat.h: Likewise.
26877         * include/sys/statfs.h: Likewise.
26878         * include/sys/statvfs.h: Likewise.
26879         * include/sys/syslog.h: Likewise.
26880         * include/sys/time.h: Likewise.
26881         * include/sys/uio.h: Likewise.
26882         * include/time.h: Likewise.
26883         * include/unistd.h: Likewise.
26884         * include/utmp.h: Likewise.
26885         * include/wchar.h: Likewise.
26886         * include/wctype.h: Likewise.
26887         * inet/aliases.h: Likewise.
26888         * inet/arpa/inet.h: Likewise.
26889         * inet/netinet/ether.h: Likewise.
26890         * inet/netinet/in.h: Likewise.
26891         * intl/libintl.h: Likewise.
26892         * io/bits/fcntl2.h: Likewise.
26893         * io/fcntl.h: Likewise.
26894         * io/ftw.h: Likewise.
26895         * io/sys/poll.h: Likewise.
26896         * io/sys/stat.h: Likewise.
26897         * io/sys/statfs.h: Likewise.
26898         * io/sys/statvfs.h: Likewise.
26899         * io/utime.h: Likewise.
26900         * libio/bits/stdio.h: Likewise.
26901         * libio/bits/stdio2.h: Likewise.
26902         * libio/libio.h: Likewise.
26903         * libio/libioP.h: Likewise.
26904         * libio/stdio.h: Likewise.
26905         * locale/lc-ctype.c: Likewise.
26906         * locale/locale.h: Likewise.
26907         * login/utmp.h: Likewise.
26908         * malloc/arena.c: Likewise.
26909         * malloc/malloc.c: Likewise.
26910         * malloc/malloc.h: Likewise.
26911         * malloc/mcheck.c: Likewise.
26912         * malloc/mtrace.c: Likewise.
26913         * math/bits/mathcalls.h: Likewise.
26914         * math/fenv.h: Likewise.
26915         * math/math_private.h: Likewise.
26916         * misc/bits/error.h: Likewise.
26917         * misc/bits/syslog.h: Likewise.
26918         * misc/err.h: Likewise.
26919         * misc/error.h: Likewise.
26920         * misc/fstab.h: Likewise.
26921         * misc/mntent.h: Likewise.
26922         * misc/regexp.h: Likewise.
26923         * misc/search.h: Likewise.
26924         * misc/sgtty.h: Likewise.
26925         * misc/sys/mman.h: Likewise.
26926         * misc/sys/syslog.h: Likewise.
26927         * misc/sys/uio.h: Likewise.
26928         * misc/sys/xattr.h: Likewise.
26929         * misc/ttyent.h: Likewise.
26930         * nis/rpcsvc/ypclnt.h: Likewise.
26931         * nss/nss.h: Likewise.
26932         * posix/bits/unistd.h: Likewise.
26933         * posix/fnmatch.h: Likewise.
26934         * posix/glob.h: Likewise.
26935         * posix/sched.h: Likewise.
26936         * posix/spawn.h: Likewise.
26937         * posix/sys/wait.h: Likewise.
26938         * posix/unistd.h: Likewise.
26939         * posix/wordexp.h: Likewise.
26940         * pwd/pwd.h: Likewise.
26941         * resolv/netdb.h: Likewise.
26942         * resource/sys/resource.h: Likewise.
26943         * rt/aio.h: Likewise.
26944         * rt/bits/mqueue2.h: Likewise.
26945         * rt/mqueue.h: Likewise.
26946         * shadow/shadow.h: Likewise.
26947         * signal/signal.h: Likewise.
26948         * socket/send.c: Likewise.
26949         * socket/sendto.c: Likewise.
26950         * socket/sys/socket.h: Likewise.
26951         * stdio-common/printf.h: Likewise.
26952         * stdlib/bits/stdlib.h: Likewise.
26953         * stdlib/fmtmsg.h: Likewise.
26954         * stdlib/monetary.h: Likewise.
26955         * stdlib/stdlib.h: Likewise.
26956         * stdlib/ucontext.h: Likewise.
26957         * streams/stropts.h: Likewise.
26958         * string/argz.h: Likewise.
26959         * string/bits/string2.h: Likewise.
26960         * string/string.h: Likewise.
26961         * string/strings.h: Likewise.
26962         * sunrpc/rpc/auth.h: Likewise.
26963         * sunrpc/rpc/auth_des.h: Likewise.
26964         * sunrpc/rpc/clnt.h: Likewise.
26965         * sunrpc/rpc/netdb.h: Likewise.
26966         * sunrpc/rpc/pmap_clnt.h: Likewise.
26967         * sunrpc/rpc/xdr.h: Likewise.
26968         * sysdeps/generic/inttypes.h: Likewise.
26969         * sysdeps/generic/net/if.h: Likewise.
26970         * sysdeps/generic/sys/swap.h: Likewise.
26971         * sysdeps/gnu/net/if.h: Likewise.
26972         * sysdeps/gnu/utmpx.h: Likewise.
26973         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26974         * sysdeps/i386/i486/bits/string.h: Likewise.
26975         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26976         * sysdeps/s390/bits/string.h: Likewise.
26977         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26978         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26979         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26980         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26981         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26982         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26983         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26984         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26985         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26986         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26987         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26988         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26989         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26990         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26991         * sysdeps/unix/sysv/linux/readv.c: Likewise.
26992         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26993         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26994         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26995         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26996         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26997         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26998         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26999         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27000         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27001         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27002         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27003         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27004         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27005         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27006         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27007         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27008         * sysvipc/sys/ipc.h: Likewise.
27009         * sysvipc/sys/msg.h: Likewise.
27010         * sysvipc/sys/sem.h: Likewise.
27011         * sysvipc/sys/shm.h: Likewise.
27012         * termios/termios.h: Likewise.
27013         * time/sys/time.h: Likewise.
27014         * time/time.h: Likewise.
27015         * wcsmbs/bits/wchar2.h: Likewise.
27016         * wcsmbs/uchar.h: Likewise.
27017         * wcsmbs/wchar.h: Likewise.
27018         * wctype/wctype.h: Likewise.
27020         [BZ #13551]
27021         * Makeconfig: Remove all but ELF support including AIX support.
27022         * Makerules: Likewise.
27023         * config.h.in: Likewise.
27024         * config.make.in: Likewise.
27025         * configure: Likewise.
27026         * configure.in: Likewise.
27027         * csu/Makefile: Likewise.
27028         * csu/version.c: Likewise.
27029         * debug/Makefile: Likewise.
27030         * dlfcn/Makefile: Likewise.
27031         * elf/Makefile: Likewise.
27032         * extra-lib.mk: Likewise.
27033         * iconv/Makefile: Likewise.
27034         * include/libc-symbols.h: Likewise.
27035         * include/shlib-compat.h: Likewise.
27036         * resolv/Makefile: Likewise.
27037         * resolv/res_libc.c: Likewise.
27038         * rt/Makefile: Likewise.
27039         * sysdeps/i386/asm-syntax.h: Likewise.
27040         * sysdeps/i386/sysdep.h: Likewise.
27041         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27042         * sysdeps/mach/sysdep.h: Likewise.
27043         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27044         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27045         * sysdeps/s390/asm-syntax.h: Likewise.
27046         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27047         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27048         * sysdeps/sh/sysdep.h: Likewise.
27049         * sysdeps/unix/sparc/sysdep.h: Likewise.
27050         * sysdeps/wordsize-32/divdi3.c: Likewise.
27051         * sysdeps/x86_64/sysdep.h: Likewise.
27053         * argp/Versions: Remove _argp_unlock_xxx.
27055         [BZ #13559]
27056         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
27057         * abilist/libBrokenLocale.abilist: Likewise.
27058         * abilist/libanl.abilist: Likewise.
27059         * abilist/libc.abilist: Likewise.
27060         * abilist/libcrypt.abilist: Likewise.
27061         * abilist/libdl.abilist: Likewise.
27062         * abilist/libm.abilist: Likewise.
27063         * abilist/libnsl.abilist: Likewise.
27064         * abilist/libpthread.abilist: Likewise.
27065         * abilist/libresolv.abilist: Likewise.
27066         * abilist/librt.abilist: Likewise.
27067         * abilist/libthread_db.abilist: Likewise.
27068         * abilist/libutil.abilist: Likewise.
27069         * abilist/libnss_db.abilist: New file.
27071         * scripts/abilist.awk: Add support for indirect functions.
27073         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27075         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27077         * shlib-versions: Remove entries for ports architectures.
27079         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
27080         files in ports.
27081         * elf/stackguard-macros.h: Remove support for IA-64.
27082         * elf/tst-auditmod1.c: Likewise.
27083         * sysdeps/generic/ldsodefs.h: Likewise.
27085         * sysdeps/unix/sysv/linux/configure.in: Ports should define
27086         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27087         configure files.
27089         [BZ #13552]
27090         * configure.in: Remove --enable-omitfp support.
27091         * FAQ.in: Adjust.
27092         * config.make.in: Likewise.
27093         * Makeconfig: Likewise.
27094         * manual/install.texi: Likewise.
27096         In case anyone cares, the IA-64 architecture could move to ports.
27097         * sysdeps/ia64/*: Removed.
27098         * sysdeps/unix/sysv/linux/ia64/*: Removed.
27099         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27101         [BZ #13555]
27102         * configure.in: Remove entries for unsupported architectures.
27104         [BZ #13533]
27105         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27106         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
27107         routines.
27108         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27109         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27110         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
27111         fall back to using wcrtomb.
27112         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27113         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
27114         renaming.
27115         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27116         * wcsmbs/tst-c16c32-1.c: New file.
27118         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27119         local variable.
27121         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27123         * elf/tst-unique3.cc: Add explicit declaration of gets.
27124         * elf/tst-unique3lib.cc: Likewise.
27125         * elf/tst-unique3lib2.cc: Likewise.
27126         * elf/tst-unique4.cc: Likewise.
27128         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27130 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
27132         [BZ #13566]
27133         * assert/assert.h (static_assert): Don't define for C++.
27134         * libio/stdio.h (gets): Do declare for C++ <= C++11.
27135         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27137 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
27139         * iconv/loop.c (single loop): Fix assertion in storing of
27140         remaining bytes.
27142         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27144 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
27146         * posix/getconf.c: Update copyright year.
27147         * nss/getent.c: Likewise.
27148         * nss/makedb.c: Likewise.
27149         * iconv/iconvconfig.c: Likewise.
27150         * iconv/iconv_prog.c: Likewise.
27151         * elf/ldconfig.c: Likewise.
27152         * elf/pldd.c: Likewise.
27153         * elf/sotruss.ksh: Likewise.
27154         * catgets/gencat.c: Likewise.
27155         * csu/version.c: Likewise.
27156         * elf/ldd.bash.in: Likewise.
27157         * elf/sprof.c (print_version): Likewise.
27158         * locale/programs/locale.c: Likewise.
27159         * locale/programs/localedef.c: Likewise.
27160         * login/programs/pt_chown.c: Likewise.
27161         * nscd/nscd.c (print_version): Likewise.
27162         * debug/xtrace.sh: Likewise.
27163         * malloc/memusage.sh: Likewise.
27164         * malloc/mtrace.pl: Likewise.
27165         * debug/catchsegv.sh: Likewise.
27167 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
27169         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27170         pure attribute.
27172 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
27174         [BZ #13533]
27175         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27176         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27177         transformations.
27178         * iconv/gconv_int.h: Likewise.
27179         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27180         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27181         from libc for GLIBC_2.16.
27182         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27183         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27184         * wcsmbs/uchar.h: Really define mbstate_t.
27185         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27186         * wcsmbs/c16rtomb.c: New file.
27187         * wcsmbs/mbrtoc16.c: New file.
27188         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27189         for C/POSIX locale.
27190         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27191         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27193         * wcsmbs/wchar.h: Add missing __restrict.
27195 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27197         [BZ #13532]
27198         * time/Makefile (routines): Add timespec_get.
27199         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27200         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
27201         timespec for ISO C11.
27202         * time/timespec_get.c: New file.
27203         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27204         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27206         [BZ #13531]
27207         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27208         * stdlib/stdlib.h: Declare aligned_alloc.
27209         * Versions.def: Add GLIBC_2.16 for libc.
27210         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27212         [BZ 13527]
27213         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27214         ISO C11.
27216         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27217         code.
27219         [BZ #13528]
27220         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27222         [BZ #13529]
27223         * assert/assert.h (static_assert): Define.
27225         * version.h: Update for 2.16 development version.
27227         [BZ #13526]
27228         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27229         _ISOC11_SOURCE.
27231         * version.h (RELEASE): Bump for 2.15 release.
27232         * include/features.h (__GLIBC_MINOR__): Bump to 15.
27234         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27235         Patch by Marek Polacek <mpolacek@redhat.com>.
27237         * bits/byteswap.h: Protect long long constants with __extension__.
27238         * sysdeps/i386/bits/byteswap.h: Likewise.
27239         * sysdeps/ia64/bits/byteswap.h: Likewise.
27240         * sysdeps/s390/bits/byteswap.h: Likewise.
27241         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27243 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27245         [BZ #13540]
27246         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27247         destination buffer.
27248         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27250 2011-12-23  Marek Polacek  <polacek@redhat.com>
27252         * elf/dl-addr.c (determine_info): Add inline keyword.
27253         * elf/tst-auditmod4b.c (check_avx): Likewise.
27254         * elf/tst-auditmod6b.c (check_avx): Likewise.
27255         * elf/tst-auditmod6c.c (check_avx): Likewise.
27256         * elf/tst-auditmod7b.c (check_avx): Likewise.
27258 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27260         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27261         !__SSE_MATH__.
27263 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27265         [BZ #13540]
27266         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27267         processing for last bytes.
27269 2011-08-06  Bruno Haible  <bruno@clisp.org>
27271         [BZ #13061]
27272         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27273         U+0385, not to U+1FEE.
27275         [BZ #13062]
27276         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27277         entry for U+00A5 U+0301.
27279 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27281         [BZ #13166]
27282         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27283         buffer for the output is too small.
27285         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27286         optimization.
27288         [BZ #13185]
27289         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27290         SSE flags if possible.
27292 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27294         [BZ #13540]
27295         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27296         processing for last bytes.
27298 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
27300         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27301         (syscall-list-default-options, syscall-list-default-condition)
27302         (syscall-list-includes): Define.
27303         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27304         list of ABIs and options and #if conditions for each ABI.  Do not
27305         handle common syscalls between ABIs specially.
27306         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27307         Remove.
27308         (syscall-list-variants, syscall-list-32bit-options)
27309         (syscall-list-32bit-condition, syscall-list-64bit-options)
27310         (syscall-list-64bit-condition): Define.
27311         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27312         (syscall-list-variants, syscall-list-32bit-options)
27313         (syscall-list-32bit-condition, syscall-list-64bit-options)
27314         (syscall-list-64bit-condition): Define.
27315         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27316         Remove.
27317         (syscall-list-variants, syscall-list-32bit-options)
27318         (syscall-list-32bit-condition, syscall-list-64bit-options)
27319         (syscall-list-64bit-condition): Define.
27320         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27321         Remove.
27322         (syscall-list-variants, syscall-list-32bit-options)
27323         (syscall-list-32bit-condition, syscall-list-64bit-options)
27324         (syscall-list-64bit-condition): Define.
27326 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27328         * locale/iso-639.def: Add brx entry.
27330         [BZ #13328]
27331         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27332         Proposed by Mariusz_Cukr <marcukr@op.pl>.
27334         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27335         __feraiseexcept_renamed.
27337 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
27339         [BZ #13538]
27340         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27341         EPOLLET with unsigned values.
27342         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27343         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27345         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27346         to large cancellation.
27347         * math/s_cacoshf.c: Likewise.
27348         * math/s_cacoshl.c: Likewise.
27350 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
27352         [BZ #13305]
27353         [BZ #12786]
27354         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27355         * math/s_cacoshf.c: Likewise.
27356         * math/s_cacoshl.c: Likewise.
27358 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
27360         [BZ #13439]
27361         * iconv/gconv.h: Define __GCONV_SWAP.
27362         * iconvdata/unicode.c: The swap bit must be stored in __flags.
27363         * iconvdata/utf-16.c: Likewise.
27364         * iconvdata/utf-32.c: Likewise.
27366 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27368         [BZ #13524]
27369         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27370         numerator after shifting it by one limb.
27372 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
27374         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27375         under [__USE_EXTERN_INLINES].
27377 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
27379         [BZ #13446]
27380         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27382 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27384         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27385         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27386         optimized code.
27387         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27388         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27389         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27390         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27391         for strncasecmp/strncasecmp_l compilation.
27392         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27393         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27395 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
27397         [BZ #13484]
27398         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27399         of __asm__.
27401 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
27403         [BZ #13506]
27404         * time/tzfile.c (__tzfile_read): Check values from file header.
27406 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27408         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27409         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27410         * powerpc/powerpc32/dl-start.S: Likewise.
27411         * powerpc/powerpc32/elf/start.S: Likewise.
27412         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27413         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27414         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27415         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27416         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27417         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27418         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27419         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27420         * powerpc/powerpc32/fpu/s_round.S: Likewise.
27421         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27422         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27423         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27424         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27425         * powerpc/powerpc32/memset.S: Likewise.
27426         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27427         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27428         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27429         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27430         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27431         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27432         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27433         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27434         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27435         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27436         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27437         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27438         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27440 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27442         * math/libm-test.inc: Added more nearbyint tests.
27443         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27444         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27445         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27446         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27448 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
27450         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27451         FD_CLOEXEC.
27453 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27455         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27456         Add wcscpy-ssse3 wcscpy-c.
27457         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27458         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27459         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27460         * sysdeps/x86_64/wcschr.S: New file.
27461         * sysdeps/x86_64/wcsrchr.S: New file.
27462         * string/test-strcmp.c: Remove checking of wcscmp function for
27463         wrong alignments.
27464         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27465         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27466         wcsrchr-sse2 wcsrchr-c.
27467         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27468         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27469         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27470         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27471         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27472         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27473         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27474         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27475         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27476         * wcsmbc/wcschr.c (WCSCHR): New macro.
27478 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27480         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27481         * wcsmbs/test-wcsrchr.c: New file.
27482         * string/test-strrchr.c: Add wcsrchr support.
27483         (WIDE): New macro.
27484         * wcsmbs/test-wcscpy.c: New file.
27485         * string/test-strcpy.c: Add wcscpy support.
27486         (WIDE): New macro.
27488 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
27490         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27491         the inner loop.
27493 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
27495         [BZ #13472]
27496         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27498 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
27500         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27501         Minor optimizations.
27503         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27504         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27505         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27507 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
27509         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27510         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27511         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27512         for gcc to avoid warnings.
27513         * inet/Makefile (tests): Add tst-checks.
27514         * inet/tst-checks.c: New file.
27516         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27517         warning.
27519         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27520         __wmemcmp_sse2.
27522         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27523         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27525         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27527 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
27529         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27530         problem.
27532         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27534 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
27536         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27537         conditional on GCC version.
27538         (__arch_compare_and_exchange_val_8_acq)
27539         (__arch_compare_and_exchange_val_16_acq)
27540         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27541         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27542         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27544 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
27546         * sysdeps/sh/backtrace.c: New file.
27548 2011-12-02  Andreas Schwab  <schwab@redhat.com>
27550         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
27551         parenthesis.
27553 2011-12-01  Andreas Schwab  <schwab@redhat.com>
27555         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27556         falling back to utime.
27558 2011-11-30  Andreas Schwab  <schwab@redhat.com>
27560         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27561         expectations for float.
27563 2011-11-29  Andreas Schwab  <schwab@redhat.com>
27565         * locale/weight.h (findidx): Add parameter len.
27566         * locale/weightwc.h (findidx): Likewise.
27567         * posix/fnmatch_loop.c (FCT): Adjust caller.
27568         * posix/regcomp.c (build_equiv_class): Likewise.
27569         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27570         * posix/regexec.c (check_node_accept_bytes): Likewise.
27571         * string/strcoll_l.c (STRCOLL): Likewise.
27572         * string/strxfrm_l.c (STRXFRM): Likewise.
27574 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
27576         * Makefile.in: Remove CVSOPT handling.
27577         * configure.in: Remove use of AC_REVISION.
27578         * iconvdata/Makefile (distribute): No need to filter out CVS.
27579         * scripts/list-sources.sh: Remove CVS, subversion and monotone
27580         handling.
27582 2011-11-16  Andreas Schwab  <schwab@redhat.com>
27584         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27585         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27586         [USE_AS_STRNCASECMP_L]: Likewise.
27587         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27588         NO_TLS_DIRECT_SEG_REFS.
27589         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27590         Fix argument offsets for non-PIC.
27591         [USE_AS_STRNCASECMP_L]: Likewise.
27592         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27593         NO_TLS_DIRECT_SEG_REFS.
27595 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27597         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27598         O_CLOEXEC.
27599         * locale/loadlocale.c (_nl_load_locale): Likewise.
27601 2011-11-15  Andreas Schwab  <schwab@redhat.com>
27603         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27604         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27605         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27606         (SYSCALL_GETTIME): Set errno on error.
27608         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27609         count references to noai6ai_cached.
27611 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27613         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27615         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27616         FD_CLOEXEC for /proc/self/maps.
27618         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27619         FD_CLOEXEC for /proc/meminfo.
27621         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27622         gai.conf.
27624         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
27625         FD_CLOEXEC for given file.
27627         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27629         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27630         FD_CLOEXEC for /etc/hosts.
27631         (_gethtent): Likewise.
27633         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27635         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27636         cancellation and set FD_CLOEXEC for /etc/netgroup.
27638         * nss/nss_files/files-key.c (search): Don't allow cancellation when
27639         reading /etc/publickey.
27641         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27642         allow cancellation when reading /etc/group.
27644         * nss/nss_files/files-alias.c (internal_setent): Don't allow
27645         cancellation.
27646         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
27648         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27649         when using data file.
27651         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27653         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27654         (write_nis_obj): Use "c" and "e" in fopen.
27656         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27658         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27660         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27662         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27664         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27665         locale.alias.
27667         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27669         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27671         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27673         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27674         file parsing and set FD_CLOEXEC.
27676 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27678         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27680 2011-11-14  Andreas Schwab  <schwab@redhat.com>
27682         * malloc/arena.c (arena_get2): Don't call reused_arena when
27683         _int_new_arena failed.
27685 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27687         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27688         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27689         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27690         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27691         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27692         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27693         to compile strcasecmp and strncasecmp.
27694         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27695         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27697         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27699 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
27701         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27702         locale-defines.sym to gen-as-const-headers.
27703         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27704         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27705         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27706         to compile strcasecmp and strncasecmp.
27707         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27708         strcasecmp_l and strncasecmp_l.
27709         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27710         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27711         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27712         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27713         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27714         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27715         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27716         * sysdeps/i386/i686/multiarch/strncase.S: New file.
27717         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27718         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27719         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27721 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
27723         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27724         result of SYSDEP_GETTIME_CPU to retval.
27725         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27726         parameter list to macro.  Remove trailing semicolon.  Adjust users.
27728         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27729         variable.
27731         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27732         mantissa words.
27733         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27735         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27736         from unused variable.
27738         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27739         DWARF definitions.
27740         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27741         for assembling.
27743         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27744         over namespaces.
27746         * sunrpc/rpc_prot.c (rejected): Fix case value.
27748         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27749         unsigned long long int to avoid warnings in shift.
27751         * posix/regex_internal.c (re_string_reconstruct): Actually use result
27752         of use of trans.
27753         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27754         variable tmp.
27756         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27757         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27758         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27760         * nis/nis_table.c (nis_list): Use variable of correct type for
27761         result of __follow_path call.
27763 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27765         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27766         of math functions ceil, trunc, floor, round, and sqrt, when
27767         avaliable on the platform.
27768         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27769         name clash.
27770         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27771         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27772         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27774 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
27776         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27777         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27779 2011-11-11  Roland McGrath  <roland@hack.frob.com>
27781         * include/unistd.h: Fix __readlink return type.
27782         Reported by Chris Metcalf <cmetcalf@tilera.com>.
27784 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
27786         * stdlib/ucontext.h: Undo last change for makecontext.
27788 2011-11-11  Andreas Schwab  <schwab@redhat.com>
27790         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27792         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27793         * setjmp/setjmp.h: Mark functions as non-leaf.
27794         * setjmp/bits/setjmp2.h: Likewise.
27795         * stdlib/ucontext.h: Likewise.
27797 2011-11-10  Andreas Schwab  <schwab@redhat.com>
27799         * malloc/arena.c (_int_new_arena): Don't increment narenas.
27800         (reused_arena): Don't check arena limit.
27801         (arena_get2): Atomically check arena limit.
27803 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
27805         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27806         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27808         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27809         instructions.
27811 2011-11-07  Andreas Schwab  <schwab@redhat.com>
27813         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27814         handler when locking.
27816         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27817         Fix size of allocated buffer.
27819 2011-11-04  Andreas Schwab  <schwab@redhat.com>
27821         [BZ #10103]
27822         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27823         declarations for long double functions.
27824         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27826         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27828 2011-11-03  Andreas Schwab  <schwab@redhat.com>
27830         * nscd/nscd.c (main): Don't start AVC thread until credentials are
27831         installed.
27833         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27834         is disabled.
27836 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27838         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27840 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27842         * include/alloca.h (stackinfo_alloca_round): Define.
27843         (extend_alloca): Use it.
27844         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27845         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27846         here.
27848         * scripts/check-local-headers.sh: Ignore libaudit.h.
27850         * nscd/Makefile (extra-objs): Make recursively expanded.
27852 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
27854         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27855         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27857         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27858         * posix/tst-rfc3484-2.c: Likewise.
27859         * posix/tst-rfc3484-3.c: Likewise.
27861         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27862         process_vm_writev.
27863         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27864         process_vm_writev.
27865         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27866         process_vm_writev from libc using GLIBC_2.15 version.
27868         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27870 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
27872         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27873         stack usage.
27875 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
27877         [BZ #13367]
27878         * nss/getent.c (initgroups_keys): Show error message in case no group
27879         names are given.
27881         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27882         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27883         __bump_nl_timestamp.
27884         * nscd/connections (nscd_init): When host database is served open
27885         netlink socket and request notification about configuration changes.
27886         (main_loop_poll): Track netlink file descriptor and bump timestamp
27887         in case data becomes available.
27888         (main_loop_epoll): Likewise.
27889         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27890         (database_pers_head): Add extra_data fileds.
27891         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27892         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27893         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27894         Adjust caller.
27895         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27896         in6ai data, call __free_in6ai.
27897         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27898         Add -DHAVE_NETLINK.
27899         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
27900         interface information.  Reuse previous data if netlink timestamp
27901         is not changed.
27902         (__bump_nl_timestamp): New function.
27903         (__free_in6ai): New function.
27905 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
27907         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27908         close_not_cancel_no_status here.
27909         (__check_pf): Reorganize code a bit to not call close twice if OOM.
27911 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27913         [BZ #13276]
27914         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27915         return value.
27917         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27918         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27919         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27921 2011-07-03  Andreas Jaeger  <aj@suse.de>
27923         [BZ #10709]
27924         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27925         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27926         * math/libm-test.inc (sin_test): Add test case.
27928 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27930         [BZ #13337]
27931         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27932         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27934         * elf/chroot_canon.c (chroot_canon): Cleanups.
27936         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27938         [BZ #13335]
27939         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27940         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27942         * string/test-strchr.c: Make usable for strchrnul testing.
27943         * string/test-strchrnul.c: New file.
27944         * string/Makefile (strop-tests): Add strchrnul.
27946         * po/it.po: Update from translation team.
27947         * po/es.po: Likewise.
27949 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
27951         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27952         the three constants needed as parameters.  Drop the others.
27953         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27954         __m128i_strloadu_tolower.
27955         Create and initialize variable zero and use it in all the places
27956         where _mm_setzero_si128 was used.
27958         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27959         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27960         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27961         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27962         anymore.
27963         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27964         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27965         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27966         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27967         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27968         __mpranred, __mptan.
27969         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27970         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27971         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27972         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27973         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27974         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27975         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27976         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27977         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27979 2011-10-28  Andreas Schwab  <schwab@redhat.com>
27981         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27982         redefine if SHARED.
27983         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27985         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27986         wide char related routines to wcsmbs subdir.
27988 2011-10-27  Andreas Schwab  <schwab@redhat.com>
27990         [BZ #13344]
27991         * misc/sys/cdefs.h (__THROWNL): Define.
27992         * posix/unistd.h: Use __THREADNL instead of __THREAD
27993         for memory synchronization functions.
27995 2011-10-26  Roland McGrath  <roland@hack.frob.com>
27997         [BZ #13349]
27998         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27999         doesn't exist.
28000         * manual/stdio.texi (Obstack Streams): Node removed.
28002 2011-10-26  Andreas Schwab  <schwab@redhat.com>
28004         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28005         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28006         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28008         * math/math_private.h (math_force_eval): Allow non-addressable
28009         arguments.
28010         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28012 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28014         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28015         file is not needed.
28017         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28018         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28019         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28020         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28021         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28022         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28023         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28024         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28025         Add AVX variants.
28026         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28027         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28028         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28029         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28030         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28031         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28032         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28033         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28034         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28035         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28036         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28037         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28038         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28039         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28040         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28041         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28042         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28043         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28044         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28046         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28047         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
28049         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28050         place.  Use VEX encoding when compiling for AVX.
28052 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28054         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28055         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28057         * string/test-strchr.c (do_test): Don't generate NUL bytes.
28059 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28061         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28062         useless if() expression.
28063         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28064         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28065         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28066         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28067         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28068         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28069         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28070         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28071         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28072         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28073         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28074         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28075         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28076         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28077         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28078         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28079         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28080         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28081         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28083         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28085 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28087         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28088         condition.
28089         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28091 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28093         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28094         .text section.  Avoid duplicate constants.
28095         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28096         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28097         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28098         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28099         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28100         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28101         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28102         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28103         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28104         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28105         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28106         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28107         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28108         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28109         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28110         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28111         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28112         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28113         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28114         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28115         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28116         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28117         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28118         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28119         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28120         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28121         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28122         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28123         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28124         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28125         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28126         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28127         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28128         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28129         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28130         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28131         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28132         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28133         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28134         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28135         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28136         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28137         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28138         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28139         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28141 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
28143         * sysdeps/x86_64/dla.h: Move to ...
28144         * sysdeps/x86_64/fpu/dla.h: ...here.
28145         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28146         situations.  Use __builtin_fma only for gcc 4.6 and up.
28148         * config.make.in: Add have-mfma4 entry.
28149         * configure.in: Substitute libc_cv_cc_fma4.
28150         * math/Makefile (dbl-only-routines): Add sincostab.
28151         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28152         Use __sincostab not sincos.
28153         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28154         name is a macro.
28155         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28156         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28157         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28158         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
28159         using __copysign.
28160         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
28161         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
28162         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28163         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28164         and __inv.
28165         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28166         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28167         __copysign.
28168         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
28169         define aliases when function name is a macro.
28170         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28171         sysdeps/ieee754/dbl-64/sincos.tbl.
28172         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28173         fma4-enabled routines.
28174         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28175         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28176         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28177         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28178         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28179         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28180         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28181         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28182         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28183         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28184         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28185         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28186         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28187         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28188         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28189         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28190         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28191         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28192         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28193         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28194         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28195         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28196         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28197         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28198         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28199         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28200         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28201         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28202         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28203         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28205         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28206         rename.
28207         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28208         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28209         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28210         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28211         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28212         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28213         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28214         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28216 2011-10-24  Andreas Schwab  <schwab@redhat.com>
28218         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28220 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28222         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28224         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28225         prediction.
28226         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28228         * string/strnlen.c: Don't define STRNLEN, reverse logic.
28229         Remove unused variable magic_bits.
28230         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28232         * string/strnlen.c: Define and use STRNLEN macro.
28233         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28234         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28235         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28236         * wcsmbs/wcslen.c: Define and use WCSLEN.
28237         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28238         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28239         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28240         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28241         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28242         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28243         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28245 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28247         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28248         strnlen-sse2-no-bsf.
28249         Rename strlen-no-bsf to strlen-sse2-no-bsf.
28250         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28251         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28252         Add strnlen support.
28253         (USE_AS_STRNLEN): New macro.
28254         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28255         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28256         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28257         * sysdeps/x86_64/wcslen.S: New file.
28259 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
28261         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28262         XMM-moves are used for copying on small sizes.
28264 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28266         * wcsmbs/Makefile (strop-tests): Add wcschr.
28267         * wcsmbs/test-wcschr.c: New file.
28268         * string/test-strchr.c: Update.
28269         Add wcschr support.
28270         (WIDE): New macro.
28272 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28274         * wcsmbs/Makefile (strop-tests): Add wcslen.
28275         * wcsmbs/test-wcslen.c: New file.
28276         * string/test-strlen.c: Update.
28277         Add wcslen support.
28278         (WIDE): New macro.
28280 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28282         * po/it.po: Update from translation team.
28284 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28286         * sysdeps/x86_64/wcscmp.S: Update.
28287         Fix wrong comparison semantics.
28288         wcscmp shall use signed comparison not unsigned.
28289         Don't use substraction to avoid overflow bug.
28290         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28291         * wcsmbc/wcscmp.c: Likewise.
28292         * string/test-strcmp.c: Likewise.
28293         Add new tests to check cases with negative values.
28295 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28297         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28298         * sysdeps/x86_64/dla.h: ...here.  New file.
28299         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28300         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28301         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28302         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28303         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28304         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28305         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28306         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28307         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28309 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
28311         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28312         __ynl_finite aliases.
28314 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
28316         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28318         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28319         define DLA_FMA.
28320         [DLA_FMA] (EMULV): Use DLA_FMA.
28321         [DLA_FMA] (MUL12): Use EMULV.
28322         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28323         that are not needed.
28324         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28325         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28326         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28327         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28328         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28329         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28330         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28332 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
28334         * math/s_nan.c: Undef __nan.
28335         * math/s_nanf.c: Undef __nanf.
28336         * math/s_nanl.c: Undef __nanl.
28337         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28338         "math_private.h".
28340 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
28342         * math/s_catan.c: Add branch predictions.
28343         * math/s_catanf.c: Likewise.
28344         * math/s_catanh.c: Likewise.
28345         * math/s_catanhf.c: Likewise.
28346         * math/s_catanhl.c: Likewise.
28347         * math/s_catanl.c: Likewise.
28348         * math/s_cexp.c: Likewise.
28349         * math/s_cexpf.c: Likewise.
28350         * math/s_cexpl.c: Likewise.
28351         * math/s_clog.c: Likewise.
28352         * math/s_clog10.c: Likewise.
28353         * math/s_clog10f.c: Likewise.
28354         * math/s_clog10l.c: Likewise.
28355         * math/s_clogf.c: Likewise.
28356         * math/s_clogl.c: Likewise.
28357         * math/s_csqrt.c: Likewise.
28358         * math/s_csqrtf.c: Likewise.
28359         * math/s_csqrtl.c: Likewise.
28360         * math/s_ctanf.c: Likewise.
28361         * math/s_ctanh.c: Likewise.
28362         * math/s_ctanhf.c: Likewise.
28363         * math/s_ctanhl.c: Likewise.
28364         * math/s_ctanl.c: Likewise.
28366         * math/math_private.h: Define __nan, __nanf, __nanl.
28367         * math/s_cacosh.c: Include <math_private.h>.
28368         * math/s_cacoshl.c: Likewise.
28369         * math/s_casinh.c: Likewise.
28370         * math/s_casinhf.c: Likewise.
28371         * math/s_casinhl.c: Likewise.
28372         * math/s_ccos.c: Rely entire on ccosh.
28373         * math/s_ccosf.c: Rely entire on ccoshf.
28374         * math/s_ccosl.c: Rely entirely on ccoshl.
28375         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
28376         Remove tests for FE_INVALID.
28377         * math/s_ccoshf.c: Likewise.
28378         * math/s_ccoshl.c: Likewise.
28379         * math/s_csin.c: Likewise.
28380         * math/s_csinf.c: Likewise.
28381         * math/s_csinh.c Likewise.
28382         * math/s_csinhf.c: Likewise.
28383         * math/s_csinhl.c: Likewise.
28384         * math/s_csinl.c: Likewise.
28385         * math/s_ctan.c: Likewise.
28386         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28387         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28388         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28390 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
28392         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28393         compilation problems.
28395         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28396         __builtin_expect.
28398 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
28400         * sysdeps/i386/configure.in: Test for -mfma4 option.
28401         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28402         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28403         COMMON_CPUID_INDEX_80000001.
28404         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28405         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28406         use it if FMA3 is not supported.
28407         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28409         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28410         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28412 2011-10-20  Andreas Schwab  <schwab@redhat.com>
28414         [BZ #12892]
28415         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28416         it would create a cycle with a link time dependency.
28418 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
28420         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28421         instruction.
28422         * string/Makefile (strop-tests): Add rawmemchr.
28423         * string/test-rawmemchr.c: New file.
28425         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28426         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
28427         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
28428         when compiling str{,n}casecmp and when AVX is available.  Hook up
28429         new optimized code in initializers.
28431 2011-10-19  Andreas Schwab  <schwab@redhat.com>
28433         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28434         __feraiseexcept instead of feraiseexcept.
28436 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
28438         * math/math_private.h: Define defaults for libc_fetestexcept and
28439         libc_feupdateenv.
28440         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28441         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28442         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28443         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28444         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28445         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28446         libc_fetestexcept and libc_feupdateenv.
28448         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28449         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28450         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28451         * sysdeps/x86_64/fpu/math_private.h: Define special version of
28452         libc_feholdexcept_setround.
28454         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28455         Add s_nearbyint-c and s_nearbyintf-c.
28456         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28457         nearbyintf inlines.
28458         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28459         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28460         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28461         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28463         * math/math_private.h: Define defaults for libc_fegetround,
28464         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28465         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28466         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28467         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28468         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28469         standard functions.
28470         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28471         Remove comments and hacks for old compiler versions.
28472         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28473         libc_fegetround, libc_fesetround, libc_feholdexcept, and
28474         libc_feholdexceptl.
28476 2011-10-18  Andreas Schwab  <schwab@redhat.com>
28478         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28479         (__feraiseexcept_renamed): Add __NTH.
28480         (feraiseexcept): Add __NTH.  Rename local variables to fix
28481         namespace violations.
28483 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
28485         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28487         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28489         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28490         recently added interfaces.
28491         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28493         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28494         about macro parameter expansion.
28496         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28497         __NO_MATH_INLINES is defined.  Cleanups.
28499         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28500         and __floorf is target has SSE4.1.
28501         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28502         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28503         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28504         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28506         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28507         name.
28508         (floorf): Likewise.
28510         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28512 2011-10-17  Andreas Schwab  <schwab@redhat.com>
28514         * misc/sys/cdefs.h: Fix last change.
28516         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28517         database lookup.
28519 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
28521         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28523         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28524         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28525         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28526         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28527         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28528         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28529         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28530         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28531         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28532         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28533         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28534         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28535         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28536         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28537         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28538         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28539         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28540         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28541         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28542         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28543         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28544         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28546         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28547         ceil, ceilf, floor, floorf.
28549         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28550         Perform IRELATIVE relocations last.
28552         * elf/do-rel.h: Add another parameter nrelative, replacing the
28553         local variable with the same name.  Change name of the function
28554         to end in Rel or Rela (uppercase).
28555         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28556         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
28557         elf_dynamic_do_##reloc function.
28559 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
28561         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28562         is sufficient, at least on modern CPUs.
28564         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28566         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28567         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28569         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28570         __expl_finite.
28571         * math/bits/math-finite.h: Add entries for exp.
28572         * math/e_expl.c: Add __*_finite alias.
28573         * sysdeps/i386/fpu/e_exp.S: Likewise.
28574         * sysdeps/i386/fpu/e_expf.S: Likewise.
28575         * sysdeps/i386/fpu/e_expl.c: Likewise.
28576         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28577         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28578         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28579         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28580         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28581         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28582         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28584         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28585         is sufficient, at least on modern CPUs.
28587         * ctype/ctype-info.c (__ctype_init): Define.
28588         * include/ctype.h (__ctype_init): Declare.
28589         (__ctype_b_loc): The variable is always initialized.
28590         (__ctype_toupper_loc): Likewise.
28591         (__ctype_tolower_loc): Likewise.
28592         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28593         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28595 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
28597         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28599         * configure.in: Also look in $cxxmachine/include for C++ system
28600         headers.
28602 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28604         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28605         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28606         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28607         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
28608         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28609         (USE_AS_WMEMCMP): New macro.
28610         Fixing indents.
28611         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28612         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28613         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28614         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28615         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28616         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28617         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28618         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28619         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28620         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28621         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28622         (USE_AS_WMEMCMP): New macro.
28623         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28624         * sysdeps/string/test-memcmp.c: Update.
28625         Fix simple_wmemcmp.
28626         Add new tests.
28627         * wcsmbs/wmemcmp.c: Update.
28628         (WMEMCMP): New macro.
28629         Fix overflow bug.
28631 2011-10-12  Andreas Jaeger  <aj@suse.de>
28633         [BZ #13268]
28634         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28636 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
28638         * libio/iofwide.c (do_length): Avoid warning.
28640         * ctype/ctype.h (__isctype_f): Add missing __THROW.
28642 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
28644         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28646         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28647         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28648         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28649         * sysdeps/i386/i686/fpu/e_log.S: New file.
28650         * sysdeps/i386/i686/fpu/e_logf.S: New file.
28651         * sysdeps/i386/i686/fpu/e_logl.S: New file.
28653         * ctype/ctype.h: Add support for inlined isXXX functions when
28654         compiling C++ code.
28656 2011-10-14  Andreas Schwab  <schwab@redhat.com>
28658         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28660         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28662 2011-10-13  Roland McGrath  <roland@hack.frob.com>
28664         [BZ #13291]
28665         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28667 2011-10-13  Andreas Schwab  <schwab@redhat.com>
28669         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28670         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28671         feraiseexcept.
28673         * sysdeps/x86_64/memrchr.S: Check for zero size.
28675         * string/stratcliff.c: Add memrchr tests.
28677 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28679         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28680         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28681         rawmemchr-sse2 rawmemchr-sse2-bsf.
28682         * sysdeps/i386/i686/multiarch/memchr.S: New file.
28683         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28684         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28685         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28686         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28687         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28688         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28689         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28690         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28691         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28692         * string/memrchr.c (MEMRCHR): New macro.
28694 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
28696         Add integration with gcc's -ffinite-math-only and optimize wrapper
28697         functions in libm.
28698         * Versions.def: Define GLIBC_2.15 version for libm.
28699         * math/Makefile (headers): Add bits/math-finite.h.
28700         * math/bits/math-finite.h: New file.
28701         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28702         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28703         * math/e_acoshl.c: Add __*_finite alias.
28704         * math/e_acosl.c: Likewise.
28705         * math/e_asinl.c: Likewise.
28706         * math/e_atan2l.c: Likewise.
28707         * math/e_atanhl.c: Likewise.
28708         * math/e_coshl.c: Likewise.
28709         * math/e_exp10.c: Likewise.
28710         * math/e_exp10f.c: Likewise.
28711         * math/e_exp10l.c: Likewise.
28712         * math/e_exp2l.c: Likewise.
28713         * math/e_fmodl.c: Likewise.
28714         * math/e_gammal_r.c: Likewise.
28715         * math/e_hypotl.c: Likewise.
28716         * math/e_j0l.c: Likewise.
28717         * math/e_j1l.c: Likewise.
28718         * math/e_jnl.c: Likewise.
28719         * math/e_lgammal_r.c: Likewise.
28720         * math/e_log10l.c: Likewise.
28721         * math/e_log2l.c: Likewise.
28722         * math/e_logl.c: Likewise.
28723         * math/e_powl.c: Likewise.
28724         * math/e_sinhl.c: Likewise.
28725         * math/e_sqrtl.c: Likewise.
28726         * math/e_scalb.c: Completely rewritten and optimized.
28727         * math/e_scalbf.c: Likewise.
28728         * math/e_scalbl.c: Likewise.
28729         * math/w_acos.c: Likewise.
28730         * math/w_acosf.c: Likewise.
28731         * math/w_acosl.c: Likewise.
28732         * math/w_acosh.c: Likewise.
28733         * math/w_acoshf.c: Likewise.
28734         * math/w_acoshl.c: Likewise.
28735         * math/w_asin.c: Likewise.
28736         * math/w_asinf.c: Likewise.
28737         * math/w_asinl.c: Likewise.
28738         * math/w_atan2.c: Likewise.
28739         * math/w_atan2f.c: Likewise.
28740         * math/w_atan2l.c: Likewise.
28741         * math/w_atanh.c: Likewise.
28742         * math/w_atanhf.c: Likewise.
28743         * math/w_atanhl.c: Likewise.
28744         * math/w_exp10.c: Likewise.
28745         * math/w_exp10f.c: Likewise.
28746         * math/w_exp10l.c: Likewise.
28747         * math/w_fmod.c: Likewise.
28748         * math/w_fmodf.c: Likewise.
28749         * math/w_fmodl.c: Likewise.
28750         * math/w_j0.c: Likewise.
28751         * math/w_j0f.c: Likewise.
28752         * math/w_j0l.c: Likewise.
28753         * math/w_j1.c: Likewise.
28754         * math/w_j1f.c: Likewise.
28755         * math/w_j1l.c: Likewise.
28756         * math/w_jn.c: Likewise.
28757         * math/w_jnf.c: Likewise.
28758         * math/w_log.c: Likewise.
28759         * math/w_logf.c: Likewise.
28760         * math/w_logl.c: Likewise.
28761         * math/w_log10.c: Likewise.
28762         * math/w_log10f.c: Likewise.
28763         * math/w_log10l.c: Likewise.
28764         * math/w_log2.c: Likewise.
28765         * math/w_log2f.c: Likewise.
28766         * math/w_log2l.c: Likewise.
28767         * math/w_pow.c: Likewise.
28768         * math/w_powf.c: Likewise.
28769         * math/w_powl.c: Likewise.
28770         * math/w_remainder.c: Likewise.
28771         * math/w_remainderf.c: Likewise.
28772         * math/w_remainderl.c: Likewise.
28773         * math/w_scalb.c: Likewise.
28774         * math/w_scalbf.c: Likewise.
28775         * math/w_scalbl.c: Likewise.
28776         * math/w_sqrt.c: Likewise.
28777         * math/w_sqrtf.c: Likewise.
28778         * math/w_sqrtl.c: Likewise.
28779         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28780         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
28781         used.
28782         * math/math_private.h: Declare __kernel_standard_f.
28783         * math/w_cosh.c: Remove cruft and optimize a bit.
28784         * math/w_coshf.c: Likewise.
28785         * math/w_coshl.c: Likewise.
28786         * math/w_exp2.c: Likewise.
28787         * math/w_exp2f.c: Likewise.
28788         * math/w_exp2l.c: Likewise.
28789         * math/w_hypot.c: Likewise.
28790         * math/w_hypotf.c: Likewise.
28791         * math/w_hypotl.c: Likewise.
28792         * math/w_lgamma.c: Likewise.
28793         * math/w_lgamma_r.c: Likewise.
28794         * math/w_lgammaf.c: Likewise.
28795         * math/w_lgammaf_r.c: Likewise.
28796         * math/w_lgammal.c: Likewise.
28797         * math/w_lgammal_r.c: Likewise.
28798         * math/w_sinh.c: Likewise.
28799         * math/w_sinhf.c: Likewise.
28800         * math/w_sinhl.c: Likewise.
28801         * math/w_tgamma.c: Likewise.
28802         * math/w_tgammaf.c: Likewise.
28803         * math/w_tgammal.c: Likewise.
28804         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28805         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28806         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28807         Minor optimizations.  Pretty printing.  Remove cruft.
28808         * sysdeps/i386/fpu/e_acosf.S: Likewise.
28809         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28810         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28811         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28812         * sysdeps/i386/fpu/e_acosl.c: Likewise.
28813         * sysdeps/i386/fpu/e_asin.S: Likewise.
28814         * sysdeps/i386/fpu/e_asinf.S: Likewise.
28815         * sysdeps/i386/fpu/e_atan2.S: Likewise.
28816         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28817         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28818         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28819         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28820         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28821         * sysdeps/i386/fpu/e_exp10.S: Likewise.
28822         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28823         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28824         * sysdeps/i386/fpu/e_exp2.S: Likewise.
28825         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28826         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28827         * sysdeps/i386/fpu/e_fmod.S: Likewise.
28828         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28829         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28830         * sysdeps/i386/fpu/e_hypot.S: Likewise.
28831         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28832         * sysdeps/i386/fpu/e_log.S: Likewise.
28833         * sysdeps/i386/fpu/e_log10.S: Likewise.
28834         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28835         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28836         * sysdeps/i386/fpu/e_log2.S: Likewise.
28837         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28838         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28839         * sysdeps/i386/fpu/e_logf.S: Likewise.
28840         * sysdeps/i386/fpu/e_logl.S: Likewise.
28841         * sysdeps/i386/fpu/e_pow.S: Likewise.
28842         * sysdeps/i386/fpu/e_powf.S: Likewise.
28843         * sysdeps/i386/fpu/e_powl.S: Likewise.
28844         * sysdeps/i386/fpu/e_remainder.S: Likewise.
28845         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28846         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28847         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28848         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28849         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28850         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28851         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28852         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28853         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28854         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28855         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28856         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28857         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28858         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28859         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28860         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28861         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28862         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28863         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28864         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28865         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28866         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28867         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28868         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28869         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28870         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28871         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28872         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28873         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28874         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28875         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28876         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28877         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28878         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28879         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28880         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28881         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28882         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28883         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28884         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28885         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28886         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28887         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28888         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28889         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28890         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28891         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28892         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28893         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28894         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28895         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28896         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28897         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28898         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28899         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28900         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28901         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28902         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28903         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28904         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28905         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28906         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28907         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28908         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28909         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28910         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28911         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28912         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28913         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28914         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28915         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28916         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28917         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28918         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28919         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28920         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28921         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28922         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28923         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28924         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28925         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28926         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28927         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28928         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28929         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28930         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28931         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28932         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28933         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28934         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28935         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28936         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28937         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28938         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28939         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28940         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28941         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28942         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28943         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28944         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28945         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28946         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28947         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28948         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28949         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28950         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28951         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28952         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28953         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28954         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28955         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28956         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28957         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28958         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28959         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28960         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28961         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28962         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28963         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
28964         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28965         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28966         (__isnanf): Likewise.
28967         (__isinf_ns): Likewise.
28968         (__isinf_nsf): Likewise.
28969         (__finite): Likewise.
28970         (__finitef): Likewise.
28971         (__ieee754_sqrt): Define as macro.
28972         (__ieee754_sqrtf): Define as macro.
28973         (__ieee754_sqrtl): Define as macro.
28974         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28975         inlined copy.
28976         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28977         __FINITE_MATH_ONLY__ consistent.
28978         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28980 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
28982         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28983         of rawmemchr.
28985         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28987 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
28989         * po/ja.po: Update from translation team.
28991 2011-10-08  Roland McGrath  <roland@hack.frob.com>
28993         * locale/programs/locarchive.c (prepare_address_space): New function.
28994         (create_archive, enlarge_archive, open_archive): Use it.
28996         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28997         inside [SHARED], where it is used.
28999         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29001         * nss/getent.c (netgroup_keys): Remove unused variable.
29002         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29004 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
29006         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29007         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29008         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29009         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29010         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29011         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29012         * math/Makefile (libm-calls): Add s_isinf_ns.
29013         * math/divtc3.c: Use __isinf_nsl instead of isinf.
29014         * math/multc3.c: Likewise.
29015         * math/s_casin.c: Likewise.
29016         * math/s_casinf.c: Likewise.
29017         * math/s_casinl.c: Likewise.
29018         * math/s_ccos.c: Likewise.
29019         * math/s_ccosf.c: Likewise.
29020         * math/s_ccosl.c: Likewise.
29021         * math/s_ctan.c: Likewise.
29022         * math/s_ctanf.c: Likewise.
29023         * math/s_ctanh.c: Likewise.
29024         * math/s_ctanhf.c: Likewise.
29025         * math/s_ctanhl.c: Likewise.
29026         * math/s_ctanl.c: Likewise.
29027         * math/w_fmod.c: Likewise.
29028         * math/w_fmodf.c: Likewise.
29029         * math/w_fmodl.c: Likewise.
29030         * math/w_remainder.c: Likewise.
29031         * math/w_remainderf.c: Likewise.
29032         * math/w_remainderl.c: Likewise.
29033         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29034         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29035         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29036         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29037         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29038         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29039         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29040         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29042         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29043         of the number.
29044         * stdio-common/printf_fphex.c: Likewise.
29045         * stdio-common/printf_size.c: Likewise.
29047         * math/e_exp10.c: Include math_private.h using <...> not "...".
29048         * math/e_exp10f.c: Likewise.
29049         * math/e_exp10l.c: Likewise.
29050         * math/e_exp2l.c: Likewise.
29051         * math/e_j0l.c: Likewise.
29052         * math/e_j1l.c: Likewise.
29053         * math/e_jnl.c: Likewise.
29054         * math/e_lgammal_r.c: Likewise.
29055         * math/e_rem_pio2l.c: Likewise.
29056         * math/e_scalb.c: Likewise.
29057         * math/e_scalbf.c: Likewise.
29058         * math/e_scalbl.c: Likewise.
29059         * math/k_cosl.c: Likewise.
29060         * math/k_sinl.c: Likewise.
29061         * math/k_tanl.c: Likewise.
29062         * math/s_cacoshf.c: Likewise.
29063         * math/s_catan.c: Likewise.
29064         * math/s_catanf.c: Likewise.
29065         * math/s_catanh.c: Likewise.
29066         * math/s_catanhf.c: Likewise.
29067         * math/s_catanhl.c: Likewise.
29068         * math/s_catanl.c: Likewise.
29069         * math/s_ccosh.c: Likewise.
29070         * math/s_ccoshf.c: Likewise.
29071         * math/s_ccoshl.c: Likewise.
29072         * math/s_cexp.c: Likewise.
29073         * math/s_cexpf.c: Likewise.
29074         * math/s_cexpl.c: Likewise.
29075         * math/s_clog.c: Likewise.
29076         * math/s_clog10.c: Likewise.
29077         * math/s_clog10f.c: Likewise.
29078         * math/s_clog10l.c: Likewise.
29079         * math/s_clogf.c: Likewise.
29080         * math/s_clogl.c: Likewise.
29081         * math/s_csin.c: Likewise.
29082         * math/s_csinf.c: Likewise.
29083         * math/s_csinh.c: Likewise.
29084         * math/s_csinhf.c: Likewise.
29085         * math/s_csinhl.c: Likewise.
29086         * math/s_csinl.c: Likewise.
29087         * math/s_csqrt.c: Likewise.
29088         * math/s_csqrtf.c: Likewise.
29089         * math/s_csqrtl.c: Likewise.
29090         * math/s_ctan.c: Likewise.
29091         * math/s_ctanf.c: Likewise.
29092         * math/s_ctanh.c: Likewise.
29093         * math/s_ctanhf.c: Likewise.
29094         * math/s_ctanhl.c: Likewise.
29095         * math/s_ctanl.c: Likewise.
29096         * math/s_ldexp.c: Likewise.
29097         * math/s_ldexpf.c: Likewise.
29098         * math/s_ldexpl.c: Likewise.
29099         * math/s_significand.c: Likewise.
29100         * math/s_significandf.c: Likewise.
29101         * math/s_significandl.c: Likewise.
29102         * math/w_acos.c: Likewise.
29103         * math/w_acosf.c: Likewise.
29104         * math/w_acosh.c: Likewise.
29105         * math/w_acoshf.c: Likewise.
29106         * math/w_acoshl.c: Likewise.
29107         * math/w_acosl.c: Likewise.
29108         * math/w_asin.c: Likewise.
29109         * math/w_asinf.c: Likewise.
29110         * math/w_asinl.c: Likewise.
29111         * math/w_atan2.c: Likewise.
29112         * math/w_atan2f.c: Likewise.
29113         * math/w_atan2l.c: Likewise.
29114         * math/w_atanh.c: Likewise.
29115         * math/w_atanhf.c: Likewise.
29116         * math/w_atanhl.c: Likewise.
29117         * math/w_cosh.c: Likewise.
29118         * math/w_coshf.c: Likewise.
29119         * math/w_coshl.c: Likewise.
29120         * math/w_dremf.c: Likewise.
29121         * math/w_exp10.c: Likewise.
29122         * math/w_exp10f.c: Likewise.
29123         * math/w_exp10l.c: Likewise.
29124         * math/w_exp2.c: Likewise.
29125         * math/w_exp2f.c: Likewise.
29126         * math/w_fmod.c: Likewise.
29127         * math/w_fmodf.c: Likewise.
29128         * math/w_fmodl.c: Likewise.
29129         * math/w_hypot.c: Likewise.
29130         * math/w_hypotf.c: Likewise.
29131         * math/w_hypotl.c: Likewise.
29132         * math/w_j0.c: Likewise.
29133         * math/w_j0f.c: Likewise.
29134         * math/w_j0l.c: Likewise.
29135         * math/w_j1.c: Likewise.
29136         * math/w_j1f.c: Likewise.
29137         * math/w_j1l.c: Likewise.
29138         * math/w_jn.c: Likewise.
29139         * math/w_jnf.c: Likewise.
29140         * math/w_jnl.c: Likewise.
29141         * math/w_lgamma.c: Likewise.
29142         * math/w_lgamma_r.c: Likewise.
29143         * math/w_lgammaf.c: Likewise.
29144         * math/w_lgammaf_r.c: Likewise.
29145         * math/w_lgammal.c: Likewise.
29146         * math/w_lgammal_r.c: Likewise.
29147         * math/w_log.c: Likewise.
29148         * math/w_log10.c: Likewise.
29149         * math/w_log10f.c: Likewise.
29150         * math/w_log10l.c: Likewise.
29151         * math/w_log2.c: Likewise.
29152         * math/w_log2f.c: Likewise.
29153         * math/w_log2l.c: Likewise.
29154         * math/w_logf.c: Likewise.
29155         * math/w_logl.c: Likewise.
29156         * math/w_pow.c: Likewise.
29157         * math/w_powf.c: Likewise.
29158         * math/w_powl.c: Likewise.
29159         * math/w_remainder.c: Likewise.
29160         * math/w_remainderf.c: Likewise.
29161         * math/w_remainderl.c: Likewise.
29162         * math/w_scalb.c: Likewise.
29163         * math/w_scalbf.c: Likewise.
29164         * math/w_scalbl.c: Likewise.
29165         * math/w_sinh.c: Likewise.
29166         * math/w_sinhf.c: Likewise.
29167         * math/w_sinhl.c: Likewise.
29168         * math/w_sqrt.c: Likewise.
29169         * math/w_sqrtf.c: Likewise.
29170         * math/w_sqrtl.c: Likewise.
29171         * math/w_tgamma.c: Likewise.
29172         * math/w_tgammaf.c: Likewise.
29173         * math/w_tgammal.c: Likewise.
29175         * po/ja.po: Update from translation team.
29177 2011-09-29  Andreas Jaeger  <aj@suse.de>
29179         [BZ #13179]
29180         * sunrpc/netname.c (netname2host): Fix logic.
29182         [BZ #6779]
29183         [BZ #6783]
29184         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29185         correctly.
29186         * math/w_remainder.c (__remainder): Likewise.
29187         * math/w_remainderf.c (__remainderf): Likewise.
29188         * math/libm-test.inc (remainder_test): Add test cases.
29190 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29192         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
29193         sdiv_qrnnd.
29195 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29197         * string/test-memcmp.c: Avoid unncessary #defines.
29198         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29200 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29202         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29203         Use new sse2 version for core i3 - i7 as it's faster
29204         than sse42 version.
29205         (bit_Prefer_PMINUB_for_stringop): New.
29206         * sysdeps/x86_64/rawmemchr.S: Update.
29207         Replace with faster SSE2 version.
29208         * sysdeps/x86_64/memrchr.S: New file.
29209         * sysdeps/x86_64/memchr.S: Update.
29210         Replace with faster SSE2 version.
29212 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
29214         * elf/dl-load.c (lose): Add cast to avoid warning.
29216 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29218         * po/ca.po: Update from translation team.
29220         * inet/getnetgrent_r.c: Hook up nscd.
29221         * nscd/Makefile (routines): Add nscd_netgroup.
29222         (nscd-modules): Add netgroupcache.
29223         (CFLAGS-netgroupcache.c): Define.
29224         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29225         (cache_search): Add const to second parameter.
29226         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29227         INNETGR.
29228         (dbs): Add netgrdb entry.
29229         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29230         (verify_persistent_db): Handle netgrdb.
29231         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29232         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29233         GETFDNETGR.
29234         (netgroup_response_header): Define.
29235         (innetgroup_response_header): Define.
29236         (datahead): Add netgroup_response_header and innetgroup_response_header
29237         elements.
29238         * nscd/nscd.conf: Add entries for netgroup cache.
29239         * nscd/nscd.h (dbtype): Add netgrdb.
29240         (_PATH_NSCD_NETGROUP_DB): Define.
29241         (netgroup_iov_disabled): Declare.
29242         (xmalloc, xcalloc, xrealloc): Move declarations here.
29243         (cache_search): Adjust prototype.
29244         Add netgroup-related prototypes.
29245         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29246         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29247         (__nscd_innetgr): Declare.
29248         * nscd/selinux.c (perms): Use access_vector_t as element type and
29249         add netgroup-related initializers.
29250         * nscd/netgroupcache.c: New file.
29251         * nscd/nscd_netgroup.c: New file.
29252         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29253         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29254         For four parameters use innetgr.
29255         * nss/nss_files/files-init.c: Add definition and callback for netgr.
29256         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29257         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29258         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29260         * nscd/connections.c (register_traced_file): Don't register file
29261         for disabled databases.
29263 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
29265         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29267         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29268         from tree and freeing node.
29270 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
29272         * nss/nsswitch.c (__nss_database_lookup): Handle
29273         nss_parse_service_list out of memory case.
29275 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
29277         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29278         out of memory case.
29280 2011-10-04  Andreas Schwab  <schwab@redhat.com>
29282         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29283         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29284         pass it down.
29285         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29286         elf_machine_rela, elf_machine_lazy_rel.
29287         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29288         (ELF_DYNAMIC_DO_REL): Likewise.
29289         (ELF_DYNAMIC_DO_RELA): Likewise.
29290         (ELF_DYNAMIC_RELOCATE): Likewise.
29291         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29292         to ELF_DYNAMIC_DO_REL.
29293         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29294         (dl_main): In trace mode always set __RTLD_NOIFUNC.
29295         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29296         elf_machine_rela.
29297         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29298         skip_ifunc, don't call ifunc function if non-zero.
29299         (elf_machine_rela): Likewise.
29300         (elf_machine_lazy_rel): Likewise.
29301         (elf_machine_lazy_rela): Likewise.
29302         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29303         (elf_machine_lazy_rel): Likewise.
29304         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29305         Likewise.
29306         (elf_machine_lazy_rel): Likewise.
29307         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29308         Likewise.
29309         (elf_machine_lazy_rel): Likewise.
29310         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29311         (elf_machine_lazy_rel): Likewise.
29312         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29313         (elf_machine_lazy_rel): Likewise.
29314         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29315         (elf_machine_lazy_rel): Likewise.
29316         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29317         (elf_machine_lazy_rel): Likewise.
29318         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29319         (elf_machine_lazy_rel): Likewise.
29320         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29321         (elf_machine_lazy_rel): Likewise.
29323 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
29325         * nss/nss_files/files-init.c (_nss_files_init): Use static
29326         initialization for all the *_traced_file variables.
29328 2011-09-28  Andreas Schwab  <schwab@redhat.com>
29330         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29332 2011-09-27  Roland McGrath  <roland@hack.frob.com>
29334         [BZ #13226]
29335         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29337 2011-09-27  Andreas Schwab  <schwab@redhat.com>
29339         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29340         Reread the line before reparsing it.
29342 2011-09-26  Andreas Schwab  <schwab@redhat.com>
29344         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29346 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
29347             Maxim Kuvyrkov  <maxim@codesourcery.com>
29348             Joseph Myers  <joseph@codesourcery.com>
29350         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29351         if needed for __stack_chk_guard.
29353 2011-09-19  Roland McGrath  <roland@hack.frob.com>
29355         * sysdeps/posix/spawni.c (script_execute): Always define it.
29356         It will be optimized away if unused.
29357         (maybe_script_execute): New function.
29358         (__spawni): Call it.
29360         * Makerules: Don't include tls.make.
29361         (config-tls): Always set to thread.
29362         * tls.make.c: File removed.
29364 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
29366         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29367         * config.make.in (CPPFLAGS-config): New substituted variable.
29369 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29371         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29373         [BZ #13192]
29374         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29375         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29377 2011-09-15  Roland McGrath  <roland@hack.frob.com>
29379         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29380         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29381         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29382         (CALL_FAIL): Likewise.
29383         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29384         (CALL_FAIL): Macro removed.
29385         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29387 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29389         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29390         for __FINITE_MATH_ONLY__ == 1.
29392 2011-09-15  Andreas Schwab  <schwab@redhat.com>
29394         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29395         __ieee754_sqrt instead of sqrt.
29396         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29397         __ieee754_sqrtf instead of sqrtf.
29398         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29399         __floorf instead of floorf.
29400         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29401         __floorf, __truncf instead of floorf, truncf.
29403 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
29405         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29407         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29408         __extern_always_inline.
29409         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29410         32-bit.
29412 2011-09-14  Andreas Schwab  <schwab@redhat.com>
29414         * elf/rtld.c (dl_main): Also relocate in dependency order when
29415         doing symbol dependency testing.
29417 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
29419         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29420         Always define `refsym'.
29422 2011-09-13  Andreas Schwab  <schwab@redhat.com>
29424         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29425         (__FD_ELT): Renamed from __FDELT.
29426         * misc/bits/select2.h (__FD_ELT): Likewise.
29427         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29428         __FD_MASK instead of __FDELT, __FDMASK.
29429         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29430         Likewise.
29431         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29432         Likewise.
29434         * elf/Makefile (gen-ldd): Fix pattern.
29436         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29437         (init_tls): Likewise.
29439 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
29441         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29443 2011-09-12  Andreas Schwab  <schwab@redhat.com>
29445         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29446         `struct cmsghdr *' instead of `void *'.
29447         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29448         Likewise.
29450 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
29452         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29453         if non-absolute.
29454         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29455         ldd_rewrite_script.
29457 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
29459         * configure.in: Remove --with-tls option.
29460         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29461         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29462         out in case it is missing.
29463         * sysdeps/ia64/elf/configure.in: Likewise.
29464         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29465         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29466         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29467         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29468         * sysdeps/sh/elf/configure.in: Likewise.
29469         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29470         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29471         * sysdeps/x86_64/elf/configure.in: Likewise.
29472         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29473         * sysdeps/mach/hurd/tls.h: Likewise.
29475         [BZ #13067]
29476         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29478         [BZ #13090]
29479         * configure.in: Fix use of AC_INIT.
29481         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29483 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
29485         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29486         __set_errno.
29487         * malloc/hooks.c: Likewise.
29489         [BZ #11929]
29490         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
29491         variables statically.
29492         (narenas): Initialize.
29493         (list_lock): Initialize.
29494         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
29495         initializtion of main_arena and list_lock.  Small cleanups.
29496         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29497         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
29498         Add initializers to main_arena and mp_.
29499         (malloc_state): Remove pagesize member.  Change all users to use
29500         GLRO(dl_pagesize).
29502         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29503         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
29504         is always initialized.
29506         * malloc/malloc.c: Removed unused configurations and dead code.
29507         * malloc/arena.c: Likewise.
29508         * malloc/hooks.c: Likewise.
29509         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29511         * include/tls.h: Removed.  USE___THREAD must always be defined.
29512         * bits/libc-tsd.h: Don't handle !USE___THREAD.
29513         * elf/dl-libc.c: Likewise.
29514         * elf/dl-tsd.c: Likewise.
29515         * include/errno.h: Likewise.
29516         * include/netdb.h: Likewise.
29517         * include/resolv.h: Likewise.
29518         * inet/herrno-loc.c: Likewise.
29519         * inet/herrno.c: Likewise.
29520         * malloc/arena.c: Likewise.
29521         * malloc/hooks.c: Likewise.
29522         * malloc/malloc.c: Likewise.
29523         * resolv/res-state.c: Likewise.
29524         * resolv/res_libc.c: Likewise.
29525         * sysdeps/i386/dl-machine.h: Likewise.
29526         * sysdeps/ia64/dl-machine.h: Likewise.
29527         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29528         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29529         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29530         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29531         * sysdeps/sh/dl-machine.h: Likewise.
29532         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29533         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29534         * sysdeps/unix/i386/sysdep.S: Likewise.
29535         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29536         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29537         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29538         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29539         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29540         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29541         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29542         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29543         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29544         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29545         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29546         * sysdeps/x86_64/dl-machine.h: Likewise.
29547         * tls.make.c: Likewise.
29549         * configure.in: Remove --with-__thread option.  Make tests for
29550         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29551         tls_model attribute fail if no support is available.  Remove
29552         USE_IN_LIBIO.
29553         * Makeconfig: Adjust for dropped configure option.  All features are
29554         now mandatory.
29555         * Makerules: Likewise.
29556         * Versions.def: Likewise.
29557         * argp/argp-fmtstream.c: Likewise.
29558         * argp/argp-fmtstream.h: Likewise.
29559         * argp/argp-help.c: Likewise.
29560         * assert/assert.c: Likewise.
29561         * config.h.in: Likewise.
29562         * config.make.in: Likewise.
29563         * configure: Likewise.
29564         * configure.in: Likewise.
29565         * csu/Versions: Likewise.
29566         * csu/init.c: Likewise.
29567         * elf/tst-audit2.c: Likewise.
29568         * elf/tst-tls10.c: Likewise.
29569         * elf/tst-tls10.h: Likewise.
29570         * elf/tst-tls11.c: Likewise.
29571         * elf/tst-tls12.c: Likewise.
29572         * elf/tst-tls14.c: Likewise.
29573         * elf/tst-tlsmod11.c: Likewise.
29574         * elf/tst-tlsmod12.c: Likewise.
29575         * elf/tst-tlsmod13.c: Likewise.
29576         * elf/tst-tlsmod13a.c: Likewise.
29577         * elf/tst-tlsmod14a.c: Likewise.
29578         * elf/tst-tlsmod15b.c: Likewise.
29579         * elf/tst-tlsmod16a.c: Likewise.
29580         * elf/tst-tlsmod16b.c: Likewise.
29581         * elf/tst-tlsmod7.c: Likewise.
29582         * elf/tst-tlsmod8.c: Likewise.
29583         * elf/tst-tlsmod9.c: Likewise.
29584         * gmon/gmon.c: Likewise.
29585         * grp/fgetgrent_r.c: Likewise.
29586         * grp/putgrent.c: Likewise.
29587         * hurd/fopenport.c: Likewise.
29588         * include/libc-symbols.h: Likewise.
29589         * include/tls.h: Likewise.
29590         * intl/gettextP.h: Likewise.
29591         * intl/loadinfo.h: Likewise.
29592         * locale/global-locale.c: Likewise.
29593         * locale/localeinfo.h: Likewise.
29594         * mach/devstream.c: Likewise.
29595         * malloc/arena.c: Likewise.
29596         * malloc/set-freeres.c: Likewise.
29597         * misc/err.c: Likewise.
29598         * misc/getttyent.c: Likewise.
29599         * misc/mntent_r.c: Likewise.
29600         * posix/getopt.c: Likewise.
29601         * posix/wordexp.c: Likewise.
29602         * pwd/fgetpwent_r.c: Likewise.
29603         * resolv/Versions: Likewise.
29604         * resolv/res_hconf.c: Likewise.
29605         * shadow/fgetspent_r.c: Likewise.
29606         * shadow/putspent.c: Likewise.
29607         * stdio-common/printf_fphex.c: Likewise.
29608         * stdio-common/tmpfile.c: Likewise.
29609         * stdlib/abort.c: Likewise.
29610         * stdlib/fmtmsg.c: Likewise.
29611         * sunrpc/auth_unix.c: Likewise.
29612         * sunrpc/clnt_perr.c: Likewise.
29613         * sunrpc/clnt_tcp.c: Likewise.
29614         * sunrpc/clnt_udp.c: Likewise.
29615         * sunrpc/clnt_unix.c: Likewise.
29616         * sunrpc/openchild.c: Likewise.
29617         * sunrpc/svc_simple.c: Likewise.
29618         * sunrpc/svc_tcp.c: Likewise.
29619         * sunrpc/svc_udp.c: Likewise.
29620         * sunrpc/svc_unix.c: Likewise.
29621         * sunrpc/xdr.c: Likewise.
29622         * sunrpc/xdr_array.c: Likewise.
29623         * sunrpc/xdr_rec.c: Likewise.
29624         * sunrpc/xdr_ref.c: Likewise.
29625         * sunrpc/xdr_stdio.c: Likewise.
29627 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29629         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29631 2011-07-03  Andreas Jaeger  <aj@suse.de>
29633         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29634         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29635         regenerate with gen-libm-tests.pl.
29637 2010-05-12  Petr Baudis  <pasky@suse.cz>
29639         [BZ #11589]
29640         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29641         around j0() zero points by switching to j1().
29642         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29643         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29644         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29645         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29647 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29649         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29650         instead of 0.
29651         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29652         instead of 0.
29653         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29654         Patch in part by Pavel Roskin <proski@gnu.org>.
29656         [BZ #13138]
29657         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29658         realloc.
29659         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
29660         Free memory block if necessary.
29662         [BZ #12847]
29663         * libio/genops.c (INTDEF): For string streams the _lock pointer can
29664         be NULL.  Don't lock in this case.
29666 2011-09-09  Roland McGrath  <roland@hack.frob.com>
29668         * elf/elf.h (ELFOSABI_GNU): New macro.
29669         (ELFOSABI_LINUX): Define to that.
29671 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
29673         * string/strncat.c (strncat): Undef the symbol in case it has been
29674         defined in bits/string.h.
29676 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29678         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29680         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29681         link map.
29683 2011-08-17  Andreas Jaeger  <aj@suse.de>
29685         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29687 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29688             Ian Lance Taylor  <iant@google.com>
29690         * math/libm-test.inc (lround_test): New testcase.
29691         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29693 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
29695         * Makefile: Remove support for automatic cvs check-ins.
29696         * Makerules: Likewise.
29697         * config.make.in: Likewise.
29698         * configure.in: Likewise.
29699         * intl/Makefile: Likewise.
29700         * locale/Makefile: Likewise.
29701         * po/Makefile: Likewise.
29702         * posix/Makefile: Likewise.
29703         * sysdeps/gnu/Makefile: Likewise.
29704         * sysdeps/mach/hurd/Makefile: Likewise.
29705         * sysdeps/sparc/sparc32/Makefile: Likewise.
29707         [BZ #13118]
29708         * posix/Makefile (bug-regex32-ENV): Define.
29709         Patch by John Stanley <jpsinthemix@verizon.net>.
29711         * misc/Makefile (headers): Add bits/select2.h.
29712         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29713         * misc/bits/select2.h: New file.
29714         * include/bits/select2.h: New file.
29715         * debug/Makefile (routines): Add fdelt_chk.
29716         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29717         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29718         FD_ISSET.
29719         * debug/fdelt_chk.c: New file.
29721         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
29722         * wcsmbs/test-wmemcmp.c: Likewise.
29723         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29724         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29726 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29728         * string/Makefile (strop-tests): Add memcmp.
29729         * string/test-wmemcmp.c: New file.
29730         * string/test-memcmp.c: Add wmemcmp support.
29732 2011-09-08  Roland McGrath  <roland@hack.frob.com>
29734         [BZ #13153]
29735         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29736         2011-07-19 change.
29738         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29739         garbage value in a __mach_port_mod_refs call in the cases of the
29740         task-self and thread-self ports.
29742 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29744         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29746 2011-09-08  Andreas Schwab  <schwab@redhat.com>
29748         * elf/dl-load.c (lose): Check for non-null L.
29750 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29752         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29754         * elf/dl-libc.c (dlerror_run): Pass back error code from
29755         dl_catch_error.
29757         [BZ #13123]
29758         * elf/dl-load.c (lose): Free l_origin if it is valid.
29760         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29761         names.
29762         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29763         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29764         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29765         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29766         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29767         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29769 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29771         * sysdeps/powerpc/fpu/e_hypot.c: New file.
29772         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29773         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29774         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29775         * sysdeps/powerpc/fpu/k_cosf.c: New file.
29776         * sysdeps/powerpc/fpu/k_sinf.c: New file.
29777         * sysdeps/powerpc/fpu/s_cosf.c: New file.
29778         * sysdeps/powerpc/fpu/s_sinf.c: New file.
29779         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29780         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29782 2011-08-15  Alan Modra  <amodra@gmail.com>
29784         [BZ #13092]
29785         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29786         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29787         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
29788         ppc_mcount to static-only-routines.
29789         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29790         __mcount_internal.
29791         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29792         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
29794 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
29796         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29797         for finite and infinity parameters.
29799 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29801         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29802         and add nop instructions for throughput optimization.
29803         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29805 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
29807         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29808         aligned copy for power7 with vector-scalar instructions.
29809         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29811 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
29813         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29814         AVX check.
29816 2011-09-07  Andreas Schwab  <schwab@redhat.com>
29818         [BZ #13144]
29819         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29820         last change.
29822 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29824         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29825         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29826         syscall wrapper around clock_gettime in __vdso_clock_gettime.
29827         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29828         clock_gettime.
29830 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
29832         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29833         Forgot to demangle the pointer.
29835         * sysdeps/i386/sysdep.h: Define atom_text_section.
29836         * sysdeps/x86_64/sysdep.h: Likewise.
29837         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29838         section with atom_text_section.
29839         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29840         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29841         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29842         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29843         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29845         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29846         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29847         already be defined.  Change to take two parameters and don't assign
29848         result to variable.  Adjust all users.
29849         Define INTERNAL_GETTIME if not already defined.
29850         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29851         call.
29852         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29853         HAVE_CLOCK_GETTIME_VSYSCALL.
29854         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29856         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29857         gettimeofday vsyscall, just use time.
29859 2011-09-06  Andreas Schwab  <schwab@redhat.com>
29861         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29862         <errno.h>.
29864 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
29866         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29867         syscall on x86-64.
29868         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29869         syscall.
29870         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29871         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29872         syscall if possible.
29874 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29876         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29877         e_ident.  Don't pass to find_mapsXX.
29878         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29880 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29882         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29883         strchr-sse2-no-bsf strrchr-sse2-no-bsf
29884         * sysdeps/x86_64/multiarch/strchr.S: Update.
29885         Check bit_slow_BSF bit.
29886         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29887         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29888         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29890 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29892         [BZ #13134]
29893         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29894         before glibc 2.15.
29895         (tryshell): Define.
29896         (__spawni): Change last parameter to be flag.  Test
29897         SPAWN_XFLAGS_USE_PATH flag to use path or not.
29898         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29899         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29900         * posix/spawni.c: Likewise.
29901         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29902         * posix/spawnp.c: Likewise.  Change normal version to use
29903         SPAWN_XFLAGS_USE_PATH.
29904         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29905         SPAWN_XFLAGS_TRY_SHELL.
29907         [BZ #13150]
29908         * posix/glob.h: Remove gcc 1.x support.
29910         [BZ #13068]
29911         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29913 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29915         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29916         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29917         strrchr-sse2-bsf
29918         * sysdeps/i386/i686/multiarch/strchr.S: New file.
29919         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29920         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29921         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29922         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29923         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29925 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29927         * sysdeps/x86_64/wcscmp.S: New file.
29929         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29930         wcscmp-c wcscmp-sse2
29931         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29932         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29933         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29934         * wcsmbs/wcscmp.c: Allow renaming.
29936 2011-09-05  David S. Miller  <davem@davemloft.net>
29938         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29939         stack slot, rather than the struct return pointer slot.
29940         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29941         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29943         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29945 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29947         * po/ja.po: Update from translation team.
29949         [BZ #13144]
29950         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29951         kernel in 64-bit binaries.
29953 2011-09-01  David S. Miller  <davem@davemloft.net>
29955         * elf/elf.h (HWCAP_SPARC_*): Move to..
29956         * sysdeps/sparc/sysdep.h: this new file and add new values.
29957         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29958         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29959         _DL_HWCAP_COUNT to 24.
29960         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29961         entries.
29962         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29963         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29964         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29965         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29966         instead of magic constants.
29967         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29969 2011-08-31  David S. Miller  <davem@davemloft.net>
29971         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29972         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29973         Reimplement to do errno handling inline.
29974         (SYSCALL_ERROR_HANDLER): New macro.
29975         (__SYSCALL_STRING): Do not do errno handling in asm.
29976         (__CLONE_SYSCALL_STRING): Delete.
29977         (__INTERNAL_SYSCALL_STRING): Delete.
29978         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29979         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29980         (PSEUDO): Reimplement to do errno handling inline.
29981         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29982         (SYSCALL_ERROR_HANDLER): New macro.
29983         (__SYSCALL_STRING): Do not do errno handling in asm.
29984         (__CLONE_SYSCALL_STRING): Delete.
29985         (__INTERNAL_SYSCALL_STRING): Delete.
29986         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29987         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29988         i386.
29989         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29990         (inline_syscall*): Add 'err' argument.
29991         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29992         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29993         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29994         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29996         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29997         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29999 2011-08-30  Andreas Schwab  <schwab@redhat.com>
30001         * elf/rtld.c (dl_main): Relocate objects in dependency order.
30003 2011-08-29  Jiri Olsa <jolsa@redhat.com>
30005         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30006         directive.
30008 2011-08-24  David S. Miller  <davem@davemloft.net>
30010         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30012 2011-08-24  Andreas Schwab  <schwab@redhat.com>
30014         * elf/Makefile: Add rules to build and run unload8 test.
30015         * elf/unload8.c: New file.
30016         * elf/unload8mod1.c: New file.
30017         * elf/unload8mod1x.c: New file.
30018         * elf/unload8mod2.c: New file.
30019         * elf/unload8mod3.c: New file.
30021         * elf/dl-close.c (_dl_close_worker): Reset private search list if
30022         it wasn't used.
30024 2011-08-23  David S. Miller  <davem@davemloft.net>
30026         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30027         subtract stack bias.
30028         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30029         %sp not %fp in calculations.
30030         (_JMPBUF_UNWINDS_ADJ): Likewise.
30032         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30033         (aio_suspend): Call it to force an exception region around the
30034         AIO_MISC_WAIT() invocation.
30036 2011-08-23  Andreas Schwab  <schwab@redhat.com>
30038         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30039         backslash.
30041 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
30043         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30044         protection macro.
30045         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30046         and <dl-machine.h>.
30047         (Elf64_FuncDesc): Remove.
30049 2011-08-22  David S. Miller  <davem@davemloft.net>
30051         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30052         sigaltstack check, add missing cfi directives.
30053         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30054         missing cfi directives, and sigaltstack handling.
30056 2011-08-16  Andreas Schwab  <schwab@redhat.com>
30058         [BZ #11724]
30059         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30060         object is seen twice.
30061         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30063         * elf/Makefile (distribute): Add tst-initorder2.c.
30064         (tests): Add tst-initorder2.
30065         (modules-names): Add tst-initorder2a tst-initorder2b
30066         tst-initorder2c tst-initorder2d.  Add rules to build them.
30067         ($(objpfx)tst-initorder2.out): New rule.
30068         * elf/tst-initorder2.c: New file.
30069         * elf/tst-initorder2.exp: New file.
30071 2011-08-22  Andreas Schwab  <schwab@redhat.com>
30073         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30075         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30076         dependencies back to end of function.
30078         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30079         $(elfobjdir)/ld.so.
30081 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
30083         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30084         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30085         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30086         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30087         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30088         of __vdso_gettimeofday.
30089         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30090         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
30091         attribute_hidden.
30092         (_libc_vdso_platform_setup): Remove initialization of
30093         __vdso_gettimeofday and __vdso_time.
30095 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30097         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30098         and fgetc_unlocked.
30099         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30100         getc_unlocked.
30102         * elf/dl-open.c (add_to_global): Report additions to the global scope
30103         for LD_DEBUG=scopes.
30104         (dl_open_worker): Also print scope of newly loaded dependencies.
30105         (_dl_show_scope): Indicate if there is no scope.
30107         [BZ #13114]
30108         * stdio-common/Makefile (tests): Add bug24.
30109         * stdio-common/bug24.c: New file.
30111 2011-08-19  Andreas Jaeger  <aj@suse.de>
30113         [BZ #13114]
30114         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30115         non-existant file when using close-on-exec mode.
30117 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30119         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30120         the very first instruction.
30122         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30123         the CFI state in the end.
30124         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30125         inclusion of dl-trampoline.h.
30126         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30128 2011-08-19  Andreas Schwab  <schwab@redhat.com>
30130         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30131         expectations for long double.
30133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30134         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30136 2011-08-14  David S. Miller  <davem@davemloft.net>
30138         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30139         artificual limit depends upon the system page size.
30141 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
30143         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30144         * resolv/Makefile: Define CFLAGS-libresolv.
30146 2011-08-17  Andreas Schwab  <schwab@redhat.com>
30148         * nss/makedb.c (compute_tables): Make variables used in nested
30149         function static.
30151 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
30153         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30154         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30155         if buffer was too small.
30157         * elf/pldd.c (main): Attach to all threads in the process.
30158         Rewrite /proc handling to use *at functions.
30160 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
30162         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30163         specifies first scope to show.
30164         (dl_open_worker): Update callers.  Move printing scope of new
30165         object to before the relocation.
30166         * elf/rtld.c (dl_main): Update _dl_show_scope call.
30167         * sysdeps/generic/ldsodefs.h: Update declaration.
30169         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30170         string for the scope number.
30172 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
30174         * nscd/servicescache.c (cache_addserv): Make sure written is always
30175         initialized.
30177 2011-08-14  Roland McGrath  <roland@hack.frob.com>
30179         * sysdeps/i386/i486/bits/atomic.h
30180         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30181         statement expression, so as to suppress "set but not used" warning.
30182         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30184         * string/strncat.c (STRNCAT): Use prototype definition.
30186         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30187         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30188         -Iprograms here.
30189         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30190         (localedef-modules): Add localedef.
30191         (locale-modules): Add locale.
30193         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30194         * elf/rtld.c (dl_main): Invert order of assignment in last change,
30195         to avoid a warning.
30197 2011-08-14  David S. Miller  <davem@davemloft.net>
30199         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30200         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30202 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
30204         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30205         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30206         * elf/rtld.c (dl_main): Set l_name of vDSO.
30207         Call _dl_show_scope when DL_DEBUG_SCOPES.
30208         (process_dl_debug): Recognize scopes flag and also set it for all.
30209         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30210         Declare _dl_show_scope.
30212         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30213         (do_dlopen): Pass caller_dlopen to dl_open.
30214         (__libc_dlopen_mode): Initialize caller_dlopen.
30216         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30217         of libc.  Make tolower call locale-independent.  Optimize a bit by
30218         using isdigit instead of isalnum.
30219         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30221 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
30223         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30224         was a dependency or dynamically loaded.
30226 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
30228         * intl/l10nflist.c: Allow architecture-specific pop function.
30229         * sysdeps/x86_64/l10nflist.c: New file.
30231         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30232         classification.
30234 2011-08-10  Andreas Schwab  <schwab@redhat.com>
30236         * include/dirent.h: Add libc_hidden_proto for scandirat and
30237         scandirat64.  Don't declare __scandirat64.
30238         * dirent/scandirat.c: Add libc_hidden_def.
30239         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30240         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30242 2011-08-10  David S. Miller  <davem@davemloft.net>
30244         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30245         enum.
30246         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30247         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30248         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30250 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
30252         * Versions.def [libc]: Add GLIBC_2.15.
30253         * dirent/Makefile (routines): Add scandirat and scandirat64.
30254         * dirent/Versions [libc]: Export scandirat and scandirat64 for
30255         GLIBC_2.15.
30256         * dirent/dirent.h: Declare scandirat and scandirat64.
30257         * dirent/scandirat.c: New file.
30258         * dirent/scandirat64.c: New file.
30259         * sysdeps/wordsize-64/scandirat.c: New file.
30260         * sysdeps/wordsize-64/scandirat64.c: New file.
30261         * dirent/opendir.c: Define opendirat.
30262         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
30263         using scandirat.
30264         * dirent/scandir64.c: Adjust for scandir.c change.
30265         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
30266         __scandirat64, and __scandir_cancel_handler.
30267         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
30268         additional parameter and use openat instead of open (outside of ld.so).
30269         Add new __opendir as wrapper around __opendirat.
30270         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30271         here without requiring old scandirat implementation.
30273 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
30275         * dirent/scandir.c (cancel_handler): Renamed to
30276         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
30277         defined.  Adjust users.
30278         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30279         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30281 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
30283         * string/test-string.h (IMPL): Use __STRING to expand name and then
30284         stringify it.
30286         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
30287         of cleanups.
30289 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30291         * string/Makefile: Update.
30292         (strop-tests): Append strncat.
30293         * string/test-wcscmp.c: New file.
30294         New comprehensive test for wcscmp.
30295         * string/test-strcmp.c: Update.
30296         (WIDE): New define.
30298 2011-07-22  Andreas Schwab  <schwab@redhat.com>
30300         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30301         line.
30303 2011-07-26  Andreas Schwab  <schwab@redhat.com>
30305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30306         encoding to ACE if AI_IDN.
30308 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
30310         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30311         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30313 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30315         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30316         Fix overflow bug in strncat.
30317         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30319         * string/test-strncat.c: Update.
30320         Add new tests for checking overflow bugs.
30322 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30324         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30325         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30326         * sysdeps/i386/i686/multiarch/strcat.S: New file.
30327         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30328         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30329         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30330         * sysdeps/i386/i686/multiarch/strncat.S: New file.
30331         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30332         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30334         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30335         (USE_AS_STRCAT): Define.
30336         Add strcat and strncat support.
30337         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30339 2011-07-25  Andreas Schwab  <schwab@redhat.com>
30341         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30342         __n bigger than INT_MAX+1.
30343         (__strncmp_g): Likewise.
30345 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
30347         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30348         * libio/stido.h: Likewise.
30350         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30351         (AF_NFC): Define.
30352         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30353         (AF_NFC): Define.
30355         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30356         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30357         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30358         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30359         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30361         [BZ #13021]
30362         * scripts/test-installation.pl: Don't expect libnss_test1 to be
30363         installed.
30365         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30366         typo.
30367         (_dl_x86_64_save_sse): Likewise.
30369 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
30371         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30372         OSXSAVE.
30373         (_dl_x86_64_save_sse): Likewise.
30375         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30377         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30379 2011-07-21  Andreas Schwab  <schwab@redhat.com>
30381         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30382         change.
30383         (_dl_x86_64_save_sse): Use correct AVX check.
30385 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30387         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30388         bug in strncpy/strncat.
30389         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30391 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
30393         * string/tester.c (test_strcat): Add tests for different alignments
30394         of source and destination.
30395         (test_strncat): Likewise.
30397 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
30399         [BZ #12852]
30400         * posix/glob.c (glob): Check passed in values before using them in
30401         expressions to avoid some overflows.
30402         (glob_in_dir): Likewise.
30404         [BZ #13007]
30405         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30406         check for AVX enablement so that we don't crash with old kernels and
30407         new hardware.
30408         * elf/tst-audit4.c: Add same checks here.
30409         * elf/tst-audit6.c: Likewise.
30411         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30413 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
30415         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30417 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
30419         * po/cs.po: Update from translation team.
30420         * po/bg.po: Likewise.
30422 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
30424         * misc/sys/cdefs.h: Add support for const attribute.
30425         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30426         to gnu_dev_{major,minor,makedev} functions.
30428 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
30430         * intl/dcigettext.c (get_output_charset): Add missing bracket.
30432 2011-07-20  Andreas Schwab  <schwab@redhat.com>
30434         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30435         strlen results.
30437 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30439         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30440         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30441         register in order to avoid conflicts with the soft frame pointer
30442         being held in r11 when necessary.
30443         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30444         (INTERNAL_VSYSCALL_NCS): Likewise.
30446 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
30448         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30449         * elf/dl-fini.c (_dl_fini): Adjust caller.
30450         * elf/dl-close.c (_dl_close_worker): Likewise.
30451         * sysdeps/generic/ldsodefs.h: Adjust declaration.
30453 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
30455         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30456         "aux_cache->nlibs < 0".
30458         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30459         in the reload-count case.
30461 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30463         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30464         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30465         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30466         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30467         * sysdeps/x86_64/multiarch/strcat.S: New file.
30468         * sysdeps/x86_64/multiarch/strncat.S: New file.
30469         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30470         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30471         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30472         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30473         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30474         (USE_AS_STRCAT): Define.
30475         Add strcat and strncat support.
30476         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30477         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30478         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30479         * string/strncat.c: Update.
30480         (USE_AS_STRNCAT): Define.
30481         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30482         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30483         and i7.
30484         * sysdeps/x86_64/multiarch/init-arch.h
30485         (bit_Prefer_PMINUB_for_stringop): New.
30486         (index_Prefer_PMINUB_for_stringop): Likewise.
30487         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30488         bit_Prefer_PMINUB_for_stringop.
30490 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
30492         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30493         buffer64.
30494         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30495         of casting of buffer.
30496         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30497         buffer32 and buffer64.
30498         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30499         writes instead of casting of buffer.
30500         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30501         buffer32.
30502         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30503         casting of buffer.
30505 2011-07-19  Andreas Schwab  <schwab@redhat.com>
30507         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30509 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
30511         * nscd/nscd.c (termination_handler): Don't do anything for a database
30512         if it has not yet been initialized.
30514 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
30516         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30518 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
30520         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30522 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
30524         * po/nl.po: Update from translation team.
30525         * po/sv.po: Likewise.
30527 2011-07-16  Roland McGrath  <roland@hack.frob.com>
30529         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30530         now disallowed by GCC.
30532         * configure.in (use-default-link): Default to yes if a test -shared
30533         link meets our qualifications.
30534         * configure: Regenerated.
30536         * config.make.in (output-format): New variable.
30537         * configure.in: Check for ld --print-output-format support.
30538         * configure: Regenerated.
30539         * Makerules ($(common-objpfx)format.lds)
30540         [$(output-format) != unknown]: Just use $(output-format),
30541         instead of the linker-script munging.
30543 2011-07-14  Roland McGrath  <roland@hack.frob.com>
30545         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30546         of $(common-objpfx)shlib.lds.
30547         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30549         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30550         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30552         * configure.in (-z relro check): Adjust test code to add a large
30553         writable data section after it.
30554         * configure: Regenerated.
30556 2011-07-11  Roland McGrath  <roland@hack.frob.com>
30558         * configure.in (-z relro check): Fix test code to make the variable
30559         truly const.
30560         * configure: Regenerated.
30562 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
30564         * nscd/nscd.h (struct traced_file): Define.
30565         (struct database_dyn): Remove inotify_descr, reset_res, and filename
30566         elements.  Add traced_files.
30567         (inotify_fd): Declare.
30568         (register_traced_file): Declare.
30569         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30570         (inotify_fd): Export.
30571         (resolv_conf_descr): Remove.
30572         (nscd_init): Move inotify descriptor creation to main.
30573         Don't register files for notification here.
30574         (register_traced_file): New function.
30575         (invalidate_cache): Don't use reset_res to determine whether to call
30576         res_init, go through the list of registered files.
30577         (main_loop_poll): The inotify descriptors are now stored in the
30578         structures for the traced files.
30579         (main_loop_epoll): Likewise
30580         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
30581         to __nss_disable_nscd.
30582         * nscd/cache.c (prune_cache): There is no single inotify descriptor
30583         for a database anymore.  Check the records for all the registered
30584         files instead.
30585         * nss/Makefile (libnss_files-routines): Add files-init.
30586         (libnss_db-routines): Add db-init.
30587         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30588         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30589         * nss/nss_db/db-init.c: New file.
30590         * nss/nss_files/files-init.c: New file.
30591         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
30592         __nss_lookup_function.
30593         (__nss_lookup_function): Call nss_load_library.
30594         (nss_load_all_libraries): New function.
30595         (__nss_disable_nscd): Take parameter with callback function for files
30596         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
30597         used for the cached services.
30598         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30599         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30600         options for features to all the files in nscd.
30602         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30604 2011-07-10  Roland McGrath  <roland@hack.frob.com>
30606         * csu/elf-init.c (__libc_csu_init): Comment typo.
30608 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
30610         * po/pl.po: Update from translation team.
30611         * po/ja.po: Likewise.
30612         * po/ru.po: Likewise.
30613         * po/ko.po: Likewise.
30614         * po/fr.po: Likewise.
30616 2011-07-09  Roland McGrath  <roland@hack.frob.com>
30618         * configure.in (.ctors/.dtors header and trailer check):
30619         Use an empirical test on a built program.
30620         * configure: Regenerated.
30622         * configure.in (-z relro check): Use an empirical test on a built DSO.
30623         Detect, but do not require, on ia64.
30624         * configure: Regenerated.
30626         * configure.in (READELF): Find it with AC_CHECK_TOOL.
30627         Update tests that use readelf to use $READELF instead.
30628         * configure: Regenerated.
30630 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
30632         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30633         if the result is not used.
30635 2011-07-05  Andreas Jaeger  <aj@suse.de>
30637         [BZ#9696]
30638         * stdlib/tst-strtod.c: Add testcase.
30640 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
30642         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30643         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30644         The latter has a higher limit.  Take additional parameter to pass to
30645         the new function.
30646         (__pathconf): Pass file to __statfs_link_max.
30647         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30648         __statfs_link_max.
30649         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30650         __statfs_link_max.
30652         [BZ #12868]
30653         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30654         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30655         Handle Lustre.
30656         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30657         (__statfs_filesize_max): Likewise.
30658         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30660 2011-07-05  Andreas Jaeger  <aj@suse.de>
30662         * resolv/res_comp.c (dn_skipname): Remove unused variable.
30664 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
30666         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30667         `status' variable.
30668         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30669         Likewise.
30671 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
30673         * Makefile (strop-tests): Add strncat.
30674         * string/test-strncat.c: New file.
30676 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
30678         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30680 2011-06-21  Andreas Jaeger  <aj@suse.de>
30682         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30683         Copy rule from iconvdata/Makefile.
30685 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30687         [BZ #12922]
30688         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30689         but no long options are defined, just return 'W'.
30691 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
30693         [BZ #9696]
30694         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30696 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30698         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30699         netgroups to read.
30700         (innetgr): Likewise.
30702 2011-07-05  Roland McGrath  <roland@hack.frob.com>
30704         * config.make.in (install_root): Default to $(DESTDIR).
30706 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
30708         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30710 2011-07-02  Roland McGrath  <roland@hack.frob.com>
30712         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30714         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30715         containing directory rather than embedding absolute directory names.
30717         * scripts/check-local-headers.sh: Rewritten using awk.
30718         Match by word, not by line.  Print error messages for matches.
30719         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30721         * Makerules [shlib-lds-flags empty]:
30722         ($(common-objpfx)libc_pic.opts): New target.
30723         ($(common-objpfx)libc_pic.os.clean): New target.
30724         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30726         * config.make.in (OBJCOPY): New variable.
30727         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30728         * configure: Regenerated.
30730         * config.make.in (use-default-link): New variable.
30731         * configure.in (use_default_link): Grok --with-default-link to set it.
30732         * configure: Regenerated.
30733         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30734         (shlib-lds, shlib-lds-flags): Define to empty.
30736         * Makerules (shlib-lds): New variable.
30737         (shlib-lds-flags): New variable.
30738         (build-shlib, build-moduile, build-module-asneeded): Use it.
30739         ($(common-objpfx)libc.so): Use $(shlib-lds).
30740         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30741         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30743         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30744         DT_FLAGS/DT_FLAGS_1 with zero flags.
30746         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30747         linker script munging.
30749 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
30751         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30752         as 128-bit value.
30753         * crypt/sha512.c (sha512_process_block): Perform total addition using
30754         128-bit if possible.
30755         (__sha512_finish_ctx): Likewise.
30756         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30757         as 64-bit value.
30758         * crypt/sha256.c (SWAP64): Define.
30759         (sha256_process_block): Perform total addition using 64-bit if
30760         possible.
30761         (__sha256_finish_ctx): Likewise.
30763 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
30765         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
30766         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30767         * nscd/hstcache.c (cache_addhst): Likewise.
30768         * nscd/grpcache.c (cache_addgr): Likewise.
30769         * nscd/aicache.c (addhstaiX): Likewise
30770         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30772 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
30774         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30775         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30776         * nscd/hstcache.c (cache_addhst): Likewise.
30777         * nscd/grpcache.c (cache_addgr): Likewise.
30778         * nscd/aicache.c (addhstaiX): Likewise
30780 2011-07-01  Andreas Schwab  <schwab@redhat.com>
30782         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30783         domain only when needed.
30785 2011-06-30  Andreas Schwab  <schwab@redhat.com>
30787         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30788         is always restored.
30790 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
30792         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30793         are re-adding the entry.
30794         * nscd/servicescache.c (cache_addserv): Likewise.
30796 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
30798         * sysdeps/generic/dl-irel.h: fix protection against multiple
30799         inclusions.
30800         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30802 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
30804         [BZ #12935]
30805         * malloc/memusage.sh: Fix quoting in message.
30806         * debug/xtrace.sh: Likewise.
30808         * configure.in: Remove support for --experimental-malloc option, make
30809         it the default.
30810         * config.make.in: Likewise.
30811         * malloc/Makefile: Likewise.
30813 2011-06-27  Andreas Schwab  <schwab@redhat.com>
30815         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30816         two-byte characters.
30818 2011-06-27  Roland McGrath  <roland@hack.frob.com>
30820         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30821         AC_CACHE_CHECK invocation.
30822         * configure: Regenerated.
30824         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30826 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
30828         [BZ #12350]
30829         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
30830         bit from old_res_options.
30832         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30834         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30835         value type for setfct.
30837 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
30839         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30840         __gettimeofday instead of gettimeofday.
30842 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
30844         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30846 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30848         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30850         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30851         info.
30853 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
30855         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30856         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30857         strcpy-sse2-unaligned strncpy-sse2-unaligned
30858         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30859         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30860         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30861         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30862         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30863         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30864         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30865         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30866         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30867         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30868         (STRCPY): Support SSE2 and SSSE3 versions.
30870 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
30872         [BZ #12874]
30873         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30874         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30875         kernels which artificially limit size of requests.
30877 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
30879         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30880         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30881         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30882         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30883         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30884         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30885         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30886         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30887         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30888         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30889         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30890         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30891         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30892         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30893         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30894         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30895         Enable unaligned load optimization for Intel Core i3, i5 and i7
30896         processors.
30897         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30898         Define.
30899         (index_Fast_Unaligned_Load): Define.
30900         (HAS_FAST_UNALIGNED_LOAD): Define.
30902 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
30904         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30906 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30908         [BZ #12907]
30909         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30910         until it is clear that the information is realy needed.
30911         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30913 2011-06-22  Andreas Schwab  <schwab@redhat.com>
30915         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30917 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30919         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30920         /sys/devices/system/cpu/online if it is usable.
30922         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30923         reading the information from the /proc filesystem to once a second.
30925 2011-06-21  Andreas Jaeger  <aj@suse.de>
30927         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30928         NULL after inclusion of kernel headers.
30930 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
30932         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30933         calls to internal_setent.
30935         [BZ #12885]
30936         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30937         addresses using gethostbyname4_r ignore IPv4 addresses.
30939         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30940         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
30942         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30944 2011-06-20  David S. Miller  <davem@davemloft.net>
30946         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30947         inclusions.
30948         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30950         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30951         (elf_irel): Use it.
30952         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30953         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30954         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30955         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30956         * sysdeps/x86_64/dl-irel.h: Likewise.
30958         * elf/dl-runtime.c: Use elf_ifunc_invoke.
30959         * elf/dl-sym.c: Likewise.
30961 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
30963         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
30964         need to dereference resplen2.
30966 2011-06-14  Andreas Schwab  <schwab@redhat.com>
30968         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30970 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
30972         * Makeconfig: Define vardbdir and inst_vardbdir.
30973         * nss/Makefile: Add rules to install db-Makefile.
30975         * nss/nss_db/db-XXX.c: Cleanup.
30977         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30978         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30979         GLIBC_PRIVATE.
30980         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30981         * nss/makedb.c: Implement -g option to specify that value strings
30982         are generated and should not be added to table iterated over for
30983         get*ent calls.
30984         * nss/nss_db/db-initgroups.c: New file.
30986         * nss/getent.c: Add support for initgroups lookups through getgrouplist
30987         interface.
30989         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30990         (internal_getgrouplist): Adjust to name change.
30991         Update use_initgroups_entry if this is not the first call.
30992         * nss/databases.def: Add initgroups entry.
30994         * nss/makedb.c (compute_tables): Check result of multiple hash table
30995         sizes to minimize maximum chain length.
30997 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
30999         * Versions.def: Add entry for libnss_db.
31000         * shlib-versions: Likewise.
31001         * nss/Makefile: Add rules to build libnss_db.
31002         * nss/Versions: Add libnss_db information.  Organize libnss_files
31003         entries better.
31004         * nss/db-Makefile: Add gshadow support.  Change rules for the new
31005         makedb progra.  Some minor improvements to generate smaller files.
31006         * nss/nss_db/nss_db.h: Move NSS database header data structures to
31007         here from...
31008         * nss/makedb.c: ...here.
31009         Improve database format to be smaller and require less memory at
31010         runtime.
31011         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
31012         db anymore.
31013         * nss/nss_db/db-netgrp.c: Likewise.
31014         * nss/nss_db/db-open.c: Likewise.
31015         * nss/nss_files/flies-XXX.x: Adjust comments.
31016         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31017         * nss/nss_files/files-grp.c: Likewise.
31018         * nss/nss_files/files-hosts.c: Likewise.
31019         * nss/nss_files/files-network.c: Likewise.
31020         * nss/nss_files/files-proto.c: Likewise.
31021         * nss/nss_files/files-pwd.c: Likewise.
31022         * nss/nss_files/files-rpc.c: Likewise.
31023         * nss/nss_files/files-service.c: Likewise.
31024         * nss/nss_files/files-sgrp.c: Likewise.
31025         * nss/nss_files/files-spwd.c: Likewise.
31026         * nss/nss_db/db-alias.c: Removed.
31027         * nss/nss_db/dummy-db.h: Removed.
31029 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
31031         * nss/makedb.c: Rewritten to not use database library.
31032         * nss/Makefile: Update to build new makedb program.
31034 2011-06-14  Andreas Jaeger  <aj@suse.de>
31036         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31037         memset declaration.
31039 2011-06-10  Andreas Schwab  <schwab@redhat.com>
31041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31042         tmpbuf.
31044 2011-06-10  Roland McGrath  <roland@hack.frob.com>
31046         * Makerules (shlib.lds): Fail if the linker script comes out empty.
31047         * elf/Makefile ($(objpfx)ld.so): Likewise.
31049         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31050         Don't list ld.so twice in dependencies.
31052         * posix/bug-regex31.c: Include <stdlib.h>.
31054         * nscd/hstcache.c (cache_addhst): Remove unused variable.
31056         * nis/nss_compat/compat-spwd.c
31057         (getspent_next_nss_netgr): Remove unused variable.
31058         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31060         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31061         nonmembers" output to use the right array.
31063         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31065         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31067         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31068         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31069         * catgets/gencat.c (read_input_file): Likewise.
31070         * locale/programs/locarchive.c (enlarge_archive): Likewise.
31072         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31073         variable definition inside #if's controlling its use.
31075         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31077         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31079         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31081         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31082         unreachable code.
31084         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31086         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31087         * configure: Regenerated.
31089         * Makerules: Revert last change.
31090         * elf/Makefile: Likewise.
31092 2011-06-09  Roland McGrath  <roland@hack.frob.com>
31094         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31095         * elf/Makefile ($(objpfx)librtld.os): Likewise.
31096         (reloc-link): Likewise.
31098 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
31100         * elf/Makefile: Add rules to build pldd.
31101         * elf/pldd.c: New file.
31102         * elf/pldd-xx.c: New file.
31104 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
31106         * version.h: Update for 2.15 development version.
31108 2011-06-07  David S. Miller  <davem@davemloft.net>
31110         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31111         ifuncs.
31112         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31113         elf_machine_lazy_rel): Likewise.
31114         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31115         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31116         elf_machine_lazy_rel): Likewise.
31117         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31118         dl_hwcap via passed in argument.
31119         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31120         Likewise.
31122 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31124         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
31126 2011-06-06  Roland McGrath  <roland@hack.frob.com>
31128         [BZ #12849]
31129         * manual/fdl-1.1.texi: New file, verbatim from:
31130         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31131         * manual/lgpl-2.1.texi: New file, verbatim from:
31132         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31133         * manual/Makefile (licenses): New variable, list those new file names.
31134         (texis): Use it.
31135         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31137         * manual/fdl.texi: File removed.
31138         * manual/lesser.texi: File removed.
31139         * manual/libc.texinfo (Copying, Documentation License):
31140         Use new @include file names, put @appendix directive before @include.
31142 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
31144         [BZ #12841]
31145         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31146         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31147         (mq_open): Add __NTH.
31149 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
31151         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31152         Assume Intel Core i3/i5/i7 processor if AVX is available.
31154 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31156         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31157         typo.
31159 2011-05-31  Andreas Schwab  <schwab@redhat.com>
31161         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31162         memory.  Use alloca_account.  Fix memory leak when retrying.
31164 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31166         * version.h (RELEASE): Bump for 2.14 release.
31167         * include/features.h (__GLIBC_MINOR__): Bump to 14.
31169         * config.make.in (RANLIB): Remove entry.
31171 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
31173         * po/Makefile (po-sed-cmd): Add ksh to extensions.
31174         (libc.pot): Work around missing support for .ksh extension in xgettext.
31176         [BZ #12684]
31177         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31178         if both request failed.
31179         (send_dg): In case of server errors clear resplen or *resplen2.
31181         [BZ #12454]
31182         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31183         when there are multiple maps.
31184         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31185         (_dl_fini): Remove test here.
31187         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31189 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
31191         [BZ #12350]
31192         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31193         bit from old_res_options.
31194         (gaih_inet): Likewise.
31196         [BZ #11099]
31197         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31198         as signed.
31200         * resolv/res_init.c (res_setoptions): Make the code more compact.
31202         [BZ #11558]
31203         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31204         set RES_USEVC.
31206         [BZ #11634]
31207         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31209         * malloc/malloc.h: Mark malloc hook variables as deprecated.
31211         [BZ #11781]
31212         * malloc/malloc.h: Declare malloc hook variables as volatile.
31214         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31215         in last patch.
31217         [BZ #11799]
31218         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31219         raise in the comment.
31220         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31221         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31222         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31224 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
31226         [BZ #12811]
31227         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31228         grow the buffers more if it already has to be sufficient.
31229         (build_wcs_upper_buffer): Likewise.
31230         * posix/regexec.c (check_matching): Likewise.
31231         (clean_state_log_if_needed): Likewise.
31232         (extend_buffers): Don't enlarge buffers beyond size of the input
31233         buffer.
31234         Patches mostly by Emil Wojak <emil@wojak.eu>.
31235         * posix/bug-regex32.c: New file.
31236         * posix/Makefile (tests): Add bug-regex32.
31238         * locale/findlocale.c (_nl_find_locale): Return right away if
31239         _nl_explode_name failed.
31240         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31242         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31244         * debug/xtrace.sh: Unify messages.
31245         * malloc/memusage.sh: Likewise.
31247         [BZ #12813]
31248         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31249         time symbol from vDSO.  Substitute with vsyscall if not available.
31250         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31251         __vdso_time.
31253         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31254         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31255         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31256         Add sendmmsg and internal_sendmmsg.
31257         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31258         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31259         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31261         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31262         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31263         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31265 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
31267         [BZ #12813]
31268         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31269         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
31270         available.
31271         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31272         __vdso_getcpu.
31274         [BZ #12814]
31275         * iconvdata/Makefile (tests): Add bug-iconv9.
31276         * iconvdata/bug-iconv9.c: New file.
31278 2011-05-27  Andreas Schwab  <schwab@redhat.com>
31280         [BZ #12814]
31281         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31283 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
31285         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31286         (struct user_regs_struct): Change intcs field back to cs.
31288 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
31290         * po/ja.po: Update from translation team.
31292 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
31294         [BZ #12795]
31295         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31296         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31298 2011-05-20  Andreas Schwab  <schwab@redhat.com>
31300         * stdlib/longlong.h: Update from GCC.
31302 2011-05-23  Andreas Schwab  <schwab@redhat.com>
31304         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31305         parameter name.
31306         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31307         Add parameter name.
31308         (__sysconf): Pass it down.
31310 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
31312         [BZ #12671]
31313         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31314         some situations.
31315         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31316         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31317         add in in __libc_use_alloca calls.  Adjust callers.
31318         (glob): Use malloc in some situations.
31320         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31321         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31322         pltexit.
31324 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
31326         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31327         and CLOCK_BOOTTIME_ALARM.
31329         [BZ #12782]
31330         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31331         is returned.
31333         * string/_strerror.c (__strerror_r): Print negative errors as signed
31334         numbers.
31336         [BZ #12777]
31337         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31338         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31339         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31341         * configure.in: Fix typo in redirection and correct removal of test
31342         files in two cases.
31344         [BZ #12788]
31345         * locale/setlocale.c (new_composite_name): Fix test to check for
31346         identical name of all categories.
31348         [BZ #12792]
31349         * libio/filedoalloc.c (local_isatty): New function.
31350         (_IO_file_doallocate): Use local_isatty.
31351         * stdio-common/perror.c (perror): In case a new stream is used
31352         forward the stream error.
31353         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31354         error flag.
31356 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
31358         [BZ #11869]
31359         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31360         alloca.
31361         * include/alloca.h (extend_alloca_account): Define.
31363         [BZ #11857]
31364         * posix/regex.h: Fix comments with documentation of user-accessible
31365         fields after compilation and describe correct free'ing of pattern
31366         after re_compile_pattern.
31367         Patch by Reuben Thomas <rrt@sc3d.org>.
31369 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
31371         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31372         and -mno-altivec to prevent the compiler from using Altivec and/or
31373         VSX instructions when the corresponding registers are not available.
31375 2011-05-19  Andreas Schwab  <schwab@redhat.com>
31377         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31379 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
31381         * libio/freopen.c (freopen): Use __dup2, not dup2.
31382         * libio/freopen64.c (freopen64): Likewise.
31384 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31386         [BZ #12775]
31387         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31388         * math/Makefile (tests): Add test-powl.
31389         (CFLAGS-test-powl.c): Define.
31390         * math/test-powl.c: New file.
31392 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31394         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31396 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
31398         [BZ #11837]
31399         * iconvdata/gb18030.c: Update to GB18020-2005.
31401 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
31403         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31404         RE_SYNTAX_POSIX_AWK): Update to match recent development.
31405         Patch by Aharon Robbins <arnold@skeeve.com>.
31407         [BZ #11892]
31408         * stdlib/putenv.c (putenv): Don't always create copy of the variable
31409         on the stack.
31411         [BZ #11895]
31412         * misc/pselect.c (__pselect): Handle timeout value errors hidden
31413         through underflows.
31415         [BZ #12766]
31416         * misc/error.c (error_at_line): Ensure file_name and old_file_name
31417         point to strings before performing equality test for error_one_per_line
31418         mode.
31420         [BZ #11697]
31421         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31423         [BZ #11820]
31424         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31425         (struct user_fpregs_struct): Avoid __uint*_t types.
31427         [BZ #6420]
31428         * malloc/mtrace.c (tr_where): Add additional parameter to point to
31429         symbol info.  Use it instead of calling _dl_addr locally.
31430         (lock_and_info): New function.
31431         (tr_freehook): Call lock_and_info and pass symbol info as additional
31432         parameter to tr_where.
31433         (tr_mallochook): Likewise.
31434         (tr_reallochook): Likewise.
31435         (tr_memalignhook): Likewise.
31437         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
31438         used and couldn't be at all thread-safe.
31440 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
31442         * libio/freopen.c (freopen): Don't close old file descriptor
31443         before the new one is opened.  Instead dup the new file descriptor
31444         to the old one after the new stream is created.
31445         * libio/freopen64.c (freopen64): Likewise.
31446         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31447         * libio/fileops.c (_IO_new_file_close_it): Handle new
31448         _IO_FLAGS2_NOCLOSE flag.
31449         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31450         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31451         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31452         _IO_FLAGS2_NOCLOSE flag.
31453         * include/unistd.h: Add hidden_proto for dup3.
31454         Define __have_dup3.
31455         * io/dup3.c: Define hidden symbol.
31456         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31458         [BZ #7101]
31459         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31460         when an incomplete long option is used.
31461         * posix/tst-getopt_long1.c: New file.
31462         * posix/Makefile (tests): Add tst-getopt_long1.
31464         [BZ #10138]
31465         * scripts/config.guess: Update from autoconf-2.68.
31466         * scripts/config.sub: Likewise.
31468         [BZ #10157]
31469         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31470         tests into ...
31471         (has_cpuclock): ...this.  New function.
31472         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31473         macro here based on has_cpuclock code.
31475         [BZ #10149]
31476         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31477         First byte (not low byte) is now always NUL.
31478         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31480         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31481         Use non-cancelable interfaces.
31483         [BZ #9809]
31484         * locale/iso-639.def: Add entry for Sorani.
31486         [BZ #11901]
31487         * include/stdlib.h: Move include protection to the right place.
31488         Define abort_msg_s.  Declare __abort_msg with it.
31489         * stdlib/abort.c (__abort_msg): Adjust type.
31490         * assert/assert.c (__assert_fail_base): New function.  Majority
31491         of code from __assert_fail.  Allocate memory for __abort_msg with
31492         mmap.
31493         (__assert_fail): Now call __assert_fail_base.
31494         * assert/assert-perr.c: Remove bulk of implementation.  Use
31495         __assert_fail_base.
31496         * include/assert.hL Declare __assert_fail_base.
31497         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31498         mmap.
31499         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31501 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
31503         [BZ #11952]
31504         [BZ #12453]
31505         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31506         until all modules are registered in the DTV.
31507         * elf/Makefile: Add rules to build and run tst-tls19.
31508         * elf/tst-tls19.c: New file.
31509         * elf/tst-tls19mod1.c: New file.
31510         * elf/tst-tls19mod2.c: New file.
31511         * elf/tst-tls19mod3.c: New file.
31512         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31514         [BZ #12083]
31515         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31516         correctly.
31518         [BZ #12601]
31519         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31520         two-byte sequence errors.
31521         * iconvdata/Makefile (tests): Add bug-iconv8.
31522         * iconvdata/bug-iconv8.c: New file.
31524         [BZ #12626]
31525         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31526         buf2 definition.
31528         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31530         [BZ #12432]
31531         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31532         (dummy_getcfa): New function.
31533         (init): Get _Unwind_GetCFA address, use dummy if not found.
31534         (backtrace_helper): In recursion check, also check whether CFA changes.
31535         (__backtrace): Completely initialize arg.
31537         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31538         storing incomplete byte sequence in state object.  Avoid testing for
31539         guaranteed too small input if we know there is enough data available.
31541 2011-05-11  Andreas Schwab  <schwab@redhat.com>
31543         * Makeconfig (+link-pie): Indent.
31544         * Rules (binaries-pie): Define if $(have-fpie) and
31545         $(build-shared).
31546         (binaries-shared): Also filter out $(binaries-pie).
31547         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31548         * nscd/Makefile (others-pie): Add nscd.
31549         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31550         ($(objpfx)nscd): Remove command override.
31551         * login/Makefile (others-pie): Add pt_chown.
31552         ($(objpfx)pt_chown): Remove command override.
31553         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31554         remove command overrides.
31556 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
31558         * libio/tst_putwc.c: Fix error messages.
31560         [BZ #12724]
31561         * libio/fileops.c (_IO_new_file_close_it): Always flush when
31562         currently writing and seek to current position when not.
31563         * libio/Makefile (tests): Add bug-fclose1.
31564         * libio/bug-fclose1.c: New file.
31566 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
31568         [BZ #12511]
31569         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31570         don't set DF_1_NODELETE here.
31571         (do_lookup_x): When entering new entry test for copy relocation
31572         and if necessary set DF_1_NODELETE flag.
31573         * elf/tst-unique4.cc: New file.
31574         * elf/tst-unique4.h: New file.
31575         * elf/tst-unique4lib.cc: New file.
31576         * elf/Makefile: Add rules to build and run tst-unique4.
31577         Patch by Piotr Bury <pbury@goahead.com>.
31579 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
31581         [BZ #12052]
31582         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31584         [BZ #12625]
31585         * misc/mntent_r.c (addmntent): Flush the stream after the output
31587         [BZ #12393]
31588         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31589         (is_trusted_path_normalize): Skip initial colon.  Append slash
31590         to empty buffer.  Duplicate is_trusted_path code but allow
31591         constructed patch to be prefix.
31592         (is_dst): Allow $ORIGIN followed by /.
31593         (_dl_dst_substitute): Correct clearing of check_for_trusted.
31594         Correct testing of result of is_trusted_path_normalize
31595         (decompose_rpath): Fix warning.
31597 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
31599         [BZ #11257]
31600         * grp/initgroups.c (internal_getgrouplist): When we found the service
31601         list through the initgroups entry in nsswitch.conf do not always
31602         continue on a successful lookup.  Don't always use the
31603         __nss_group_database value if it is set.
31604         * nss/nsswitch.conf (initgroups): Change action for successful db
31605         lookup to continue for compatibility.
31607 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
31609         [BZ #11532]
31610         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31611         and CP774 modules.
31612         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31613         and CP774 modules.
31614         * iconvdata/tst-tables.sh: Likewise.
31615         * iconvdata/cp770.c: New file.
31616         * iconvdata/cp771.c: New file.
31617         * iconvdata/cp772.c: New file.
31618         * iconvdata/cp773.c: New file.
31619         * iconvdata/cp774.c: New file.
31620         * iconvdata/testdata/CP770: New file.
31621         * iconvdata/testdata/CP770..UTF8: New file.
31622         * iconvdata/testdata/CP771: New file.
31623         * iconvdata/testdata/CP771..UTF8: New file.
31624         * iconvdata/testdata/CP772: New file.
31625         * iconvdata/testdata/CP772..UTF8: New file.
31626         * iconvdata/testdata/CP773: New file.
31627         * iconvdata/testdata/CP773..UTF8: New file.
31628         * iconvdata/testdata/CP774: New file.
31629         * iconvdata/testdata/CP774..UTF8: New file.
31631         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31632         END CHARMAP line.
31633         * iconvdata/gen-8bit-gap.sh: Likewise.
31634         * iconvdata/gen-8bit.sh: Likewise.
31636         * locale/iso-639.def: Add ary entry.
31638         [BZ #11258]
31639         * locale/C-translit.h.in: Add U20A1 transliteration.
31641         [BZ #12178]
31642         * locale/iso-639.def: Add wae entry.
31643         Patch by Kevin Bortis <bortis@translate-wae.ch>.
31645         [BZ #12545]
31646         * locale/programs/localedef.c (construct_output_path): Use ssize_t
31647         for n.
31649         [BZ #12711]
31650         * locale/C-translit.h.in: Add entry for U20B9.
31651         Patch by pravin.d.s@gmail.com.
31653 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
31655         [BZ #12713]
31656         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31657         ENAMETOOLONG use generic getcwd.
31658         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
31659         in rtld.  Use *stat64.
31660         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31661         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31662         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31663         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31664         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31665         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31666         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31667         __fstatat64 macros.
31668         * include/dirent.h: Add libc_hidden_proto for rewinddir.
31669         * dirent/rewinddir.c: Add libc_hidden_def.
31670         * sysdeps/mach/hurd/rewinddir.c: Likewise.
31671         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
31673         * include/dirent.h (__alloc_dir): Add flags parameter.
31674         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31675         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31676         __alloc_dir.
31677         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
31678         from fdopendir if O_CLOEXEC is already set.
31680 2011-03-15  Alan Modra  <amodra@gmail.com>
31682         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31683         l_tls_firstbyte_offset non-zero.  Save padding offset in
31684         l_tls_firstbyte_offset for later use.
31685         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31686         freeing static tls block.
31688 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
31690         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31691         where #ifdef was intended.  The intent is to prevent ARG_MAX from
31692         being defined by the kernel headers.
31694 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
31696         [BZ #12734]
31697         * resolv/resolv.h: Define RES_NOTLDQUERY.
31698         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31699         no-tld-query and set RES_NOTLDQUERY.
31700         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31701         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31702         modern BIND to search name as TLD unless forbidden.
31704 2011-05-07  Petr Baudis  <pasky@suse.cz>
31705             Ulrich Drepper  <drepper@gmail.com>
31707         [BZ #12393]
31708         * elf/dl-load.c (fillin_rpath): Move trusted path check...
31709         (is_trusted_path): ...to here.
31710         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31711         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31712         using is_trusted_path_normalize() in setuid scripts.
31714 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31716         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31717         __BEGIN/__END_DECLS.
31719 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
31721         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31722         NSS_STATUS_NOTFOUND if no record was found.
31724 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31726         * sunrpc/Makefile (headers): Add rpc/netdb.h.
31727         (headers-not-in-tirpc): Remove rpc/netdb.h
31728         * resolv/netdb.h: Revert last change.
31730 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31732         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31733         circular dependency between libgcc.a and libc.a.
31735 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31737         * resolv/netdb.h: Don't include <rpc/netdb.h>.
31738         * nis/Makefile: Don't install rpcsvc/*.
31739         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31740         instead of <rpc/types.h>.
31741         (MAXHOSTNAMELEN): Define.
31743 2011-05-03  Andreas Schwab  <schwab@redhat.com>
31745         * elf/ldconfig.c (add_dir): Don't crash on empty path.
31747 2011-04-28  Maciej Babinski  <mbabinski@google.com>
31749         [BZ #12714]
31750         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31751         gethostbyname4_r when IPv6 results are possible.
31753 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
31755         [BZ #12723]
31756         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31757         _PC_PIPE_BUF handling.
31759 2011-04-30  Bruno Haible  <bruno@clisp.org>
31761         [BZ #12717]
31762         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31763         * resolv/netdb.h (getnameinfo): Change type of flags parameter
31764         to 'int'.
31765         * inet/getnameinfo.c (getnameinfo): Likewise.
31767 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
31769         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31770         to groups setting in database lookup.
31771         * nss/nsswitch.conf: Add initgroups entry.
31773 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
31775         [BZ #12685]
31776         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31777         mode string.
31778         Patch by Eric Blake <eblake@redhat.com>.
31780 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
31782         * sunrpc/Makefile (need-export-routines): Add svc_run.
31783         (routines): Remove svc_run.
31784         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31785         * sunrpc/clnt_perr.c (clnt_perrno): Export.
31786         * sunrpc/svc_run.c (svc_run): Likewise.
31787         * sunrpc/svc_udp.c (svcudp_create): Likewise.
31789 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
31791         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31792         problem in reallocation in last patch.
31794 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
31796         * sunrpc/Makefile: Move inclusion of Rules.
31798 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31800         * nss/nss_files/files-initgroups.c: New file.
31801         * nss/Makefile (libnss_files-routines): Add files-initgroups.
31802         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31803         _nss_files_initgroups_dyn.
31805 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
31807         * elf/elf.h (R_ARM_IRELATIVE): Define.
31809 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31811         * po/ru.po: Update from translation team.
31813 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31815         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31816         dependencies.
31818 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
31820         [BZ #12653]
31821         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31822         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31823         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31824         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31825         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31827 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
31829         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31830         differing bytes.
31831         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31832         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31833         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31835 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31837         [BZ #12420]
31838         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31839         storing it.
31840         * stdlib/bug-getcontext.c: New file.
31841         * stdlib/Makefile: Add rules to build and run bug-getcontext.
31843 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31845         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31846         instructions into .machine "z9-109".
31847         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31848         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31850 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31852         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31853         between environment variables and auxiliary vector.
31855 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
31857         * Makefile: Add rules to build linkobj/libc.so.
31858         * include/libc-symbols.h: Define libc_hidden_nolink.
31859         * include/rpc/auth.h: Mark functions which are to be hidden.
31860         * include/rpc/auth_des.h: Likewise.
31861         * include/rpc/auth_unix.h: Likewise.
31862         * include/rpc/clnt.h: Likewise.
31863         * include/rpc/des_crypt.h: Likewise.
31864         * include/rpc/key_prot.h: Likewise.
31865         * include/rpc/pmap_clnt.h: Likewise.
31866         * include/rpc/pmap_prot.h: Likewise.
31867         * include/rpc/pmap_rmt.h: Likewise.
31868         * include/rpc/rpc_msg.h: Likewise.
31869         * include/rpc/svc.h: Likewise.
31870         * include/rpc/svc_auth.h: Likewise.
31871         * include/rpc/xdr.h: Likewise.
31872         * nis/Makefile: Link all DSOs against linkobj/libc.so.
31873         * nss/Makefile: Likewise.
31874         * sunrpc/Makefile: Don't install headers.  Build library with normal
31875         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
31876         * sunrpc/auth_des.c: Hide exported symbols by default, export some
31877         for the compat linking library.  Remove use of INTDEF/INTUSE.
31878         * sunrpc/auth_none.c: Likewise.
31879         * sunrpc/auth_unix.c: Likewise.
31880         * sunrpc/authdes_prot.c: Likewise.
31881         * sunrpc/authuxprot.c: Likewise.
31882         * sunrpc/clnt_gen.c: Likewise.
31883         * sunrpc/clnt_perr.c: Likewise.
31884         * sunrpc/clnt_raw.c: Likewise.
31885         * sunrpc/clnt_simp.c: Likewise.
31886         * sunrpc/clnt_tcp.c: Likewise.
31887         * sunrpc/clnt_udp.c: Likewise.
31888         * sunrpc/clnt_unix.c: Likewise.
31889         * sunrpc/des_crypt.c: Likewise.
31890         * sunrpc/des_soft.c: Likewise.
31891         * sunrpc/get_myaddr.c: Likewise.
31892         * sunrpc/key_call.c: Likewise.
31893         * sunrpc/key_prot.c: Likewise.
31894         * sunrpc/netname.c: Likewise.
31895         * sunrpc/pm_getmaps.c: Likewise.
31896         * sunrpc/pm_getport.c: Likewise.
31897         * sunrpc/pmap_clnt.c: Likewise.
31898         * sunrpc/pmap_prot.c: Likewise.
31899         * sunrpc/pmap_prot2.c: Likewise.
31900         * sunrpc/pmap_rmt.c: Likewise.
31901         * sunrpc/publickey.c: Likewise.
31902         * sunrpc/rpc_cmsg.c: Likewise.
31903         * sunrpc/rpc_common.c: Likewise.
31904         * sunrpc/rpc_dtable.c: Likewise.
31905         * sunrpc/rpc_prot.c: Likewise.
31906         * sunrpc/rpc_thread.c: Likewise.
31907         * sunrpc/rtime.c: Likewise.
31908         * sunrpc/svc.c: Likewise.
31909         * sunrpc/svc_auth.c: Likewise.
31910         * sunrpc/svc_authux.c: Likewise.
31911         * sunrpc/svc_raw.c: Likewise.
31912         * sunrpc/svc_run.c: Likewise.
31913         * sunrpc/svc_simple.c: Likewise.
31914         * sunrpc/svc_tcp.c: Likewise.
31915         * sunrpc/svc_udp.c: Likewise.
31916         * sunrpc/svc_unix.c: Likewise.
31917         * sunrpc/svcauth_des.c: Likewise.
31918         * sunrpc/xcrypt.c: Likewise.
31919         * sunrpc/xdr.c: Likewise.
31920         * sunrpc/xdr_array.c: Likewise.
31921         * sunrpc/xdr_float.c: Likewise.
31922         * sunrpc/xdr_intXX_t.c: Likewise.
31923         * sunrpc/xdr_mem.c: Likewise.
31924         * sunrpc/xdr_rec.c: Likewise.
31925         * sunrpc/xdr_ref.c: Likewise.
31926         * sunrpc/xdr_sizeof.c: Likewise.
31927         * sunrpc/xdr_stdio.c: Likewise.
31929 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
31931         [BZ #12650]
31932         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31933         * sysdeps/ia64/dl-tls.h: Likewise.
31934         * sysdeps/powerpc/dl-tls.h: Likewise.
31935         * sysdeps/s390/dl-tls.h: Likewise.
31936         * sysdeps/sh/dl-tls.h: Likewise.
31937         * sysdeps/sparc/dl-tls.h: Likewise.
31938         * sysdeps/x86_64/dl-tls.h: Likewise.
31939         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31941 2011-03-14  Andreas Schwab  <schwab@redhat.com>
31943         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31944         rpath element also skip the following colon.
31945         (expand_dynamic_string_token): Add is_path parameter and pass
31946         down to DL_DST_REQUIRED and _dl_dst_substitute.
31947         (decompose_rpath): Call expand_dynamic_string_token with
31948         non-zero is_path.  Ignore empty rpaths.
31949         (_dl_map_object_from_fd): Call expand_dynamic_string_token
31950         with zero is_path.
31952 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
31954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31955         Make cancelable.
31957 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
31959         [BZ #12655]
31960         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31961         Patch by Filipe David Manana <fdmanana@apache.org>.
31963 2011-04-07  Andreas Schwab  <schwab@redhat.com>
31965         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31966         Maintain aligned stack.
31967         (CHECK_RSP): Remove unused macro.
31969 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
31971         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31972         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31974 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
31976         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31978         * include/features.h: Mention __USE_XOPEN2K8 in comment.
31980 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
31982         [BZ #12518]
31983         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31984         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31985         * sysdeps/x86_64/memmove.c: New file.
31986         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31987         (memcpy): Renamed to ...
31988         (__new_memcpy): This.
31989         (memcpy): Provide GLIBC_2_14 memcpy.
31990         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31991         (memcpy): Provide GLIBC_2_2_5 memcpy.
31993 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31995         [BZ #12631]
31996         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31998 2011-03-30  Andreas Schwab  <schwab@redhat.com>
32000         * misc/syncfs.c: New file.
32001         * misc/Makefile (routines): Add syncfs.
32002         * posix/unistd.h: Declare syncfs.
32003         * sysdeps/unix/syscalls.list: Add syncfs.
32005 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32007         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32008         open_by_handle_at.
32009         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32010         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32011         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32012         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32013         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32014         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32015         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32017 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32019         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32020         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32021         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32022         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32023         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32024         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32025         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32027         * io/Makefile: Compile fallocate.c, fallocate64.c, and
32028         sync_file_range.c with -fexceptions.
32029         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32030         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32031         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32032         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32033         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32034         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32035         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32036         sync_file_range as cancellation point
32037         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
32038         now a wrapper around __call_sync_file_range with cancellation handling.
32039         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32040         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
32041         function name to __call_sync_file_range.
32042         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32043         Add call_sync_file_range.
32045 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32047         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32048         bits/timex.h.
32050 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32052         * iconv/iconv.h: Fix typo in comment.
32053         * io/fcntl.h: Likewise.
32054         * libio/stdio.h: Likewise.
32055         * posix/spawn.h: Likewise.
32056         * posix/unistd.h: Likewise.
32057         * stdlib/stdlib.h: Likewise.
32058         * time/time.h: Likewise.
32059         * wcsmbs/wchar.h: Likewise.
32061         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32062         open_by_handle): Add.
32063         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32064         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
32065         Augment a few comments.
32066         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32067         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32068         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32069         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32070         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32071         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32072         open_by_handle.
32074         * io/fcntl.h (AT_EMPTY_PATH): Define.
32076 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
32078         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32079         * sysdeps/unix/sysv/linux/bits/time.h: New file.
32080         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32081         to...
32082         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
32083         * Versions.def: Add GLIBC_2.14.
32084         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32085         Export.
32087 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
32089         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32090         round counter.
32091         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32093 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32095         [BZ #12597]
32096         * string/test-strncmp.c (do_page_test): New function.
32097         (check2): Likewise.
32098         (test_main): Call check2.
32099         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32101 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
32103         [BZ #12587]
32104         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32105         Handle cache information in CPU leaf 4.
32106         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32108 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
32110         [BZ #12583]
32111         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32112         character representation.
32113         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32115 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
32117         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32118         END(__isnan) to END(__isnanf) to match function entry point/label
32119         EALIGN(__isnanf,...).
32121 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
32123         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32125 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
32127         [BZ #12510]
32128         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32129         copy from the symbol referenced in the relocation to initialize the
32130         used variable.
32131         Patch by Piotr Bury <pbury@goahead.com>.
32132         * elf/Makefile: Add rules to build and tst-unique3.
32133         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32134         * elf/tst-unique3.cc: New file.
32135         * elf/tst-unique3.h: New file.
32136         * elf/tst-unique3lib.cc: New file.
32137         * elf/tst-unique3lib2.cc: New file.
32139         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32141 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
32143         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32144         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
32145         to _start.
32147 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
32149         * elf/dl-load.c (_dl_map_object): If we are looking for the first
32150         to-be-loaded object along a path to loader is ld.so.
32152 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
32153             Ulrich Drepper  <drepper@gmail.com>
32155         * sysdeps/x86_64/memset.S: After aligning destination, code
32156         branches to different locations depending on the value of
32157         misalignment, when multiarch is enabled. Fix this.
32159 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
32161         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32162         Set _x86_64_preferred_memory_instruction for AMD processsors.
32163         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32164         Set bit_Prefer_SSE_for_memop for AMD processors.
32166 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
32168         * libio/fmemopen.c (fmemopen): Optimize a bit.
32170 2011-03-03  Andreas Schwab  <schwab@redhat.com>
32172         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32174 2011-03-03  Roland McGrath  <roland@redhat.com>
32176         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32178 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
32180         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32181         __bzero_ultra1 instead of __memset_ultra1.
32183 2011-02-23  Andreas Schwab  <schwab@redhat.com>
32184             Ulrich Drepper  <drepper@gmail.com>
32186         [BZ #12509]
32187         * include/link.h (struct link_map): Add l_orig_initfini.
32188         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32189         returning unsuccessfully.
32190         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32191         close of a file loaded at startup, restore the original l_initfini
32192         list.
32193         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32194         list, store the pointer.
32195         * elf/Makefile ($(objpfx)noload-mem): New rule.
32196         (noload-ENV): Define.
32197         (tests): Add $(objpfx)noload-mem.
32198         * elf/noload.c: Include <memcheck.h>.
32199         (main): Call mtrace.  Close all opened handles.
32201 2011-02-17  Andreas Schwab  <schwab@redhat.com>
32203         [BZ #12454]
32204         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32205         dependencies are missing.
32207 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32209         Fix __if_freereq crash: Unlike the generic version which uses free,
32210         Hurd needs munmap.
32211         * sysdeps/mach/hurd/ifreq.h: New file.
32213 2011-01-27  Petr Baudis  <pasky@suse.cz>
32214             Ulrich Drepper  <drepper@gmail.com>
32216         [BZ 12445]#
32217         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32218         to extend_alloca().
32219         * stdio-common/bug23.c: New file.
32220         * stdio-common/Makefile (tests): Add bug23.
32222 2010-09-28  Andreas Schwab  <schwab@redhat.com>
32223             Ulrich Drepper  <drepper@gmail.com>
32225         [BZ #12489]
32226         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32227         before performing relro protection.  At old place add assertion
32228         to make sure nothing changed.
32230 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
32231             Glauber de Oliveira Costa  <glommer@gmail.com>
32233         * elf/elf.h: Add new ARM TLS relocs.
32235 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
32237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32238         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32239         cast from r3.
32240         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
32241         'tests' variable.
32242         * sysdeps/wordsize-64/tst-writev.c: New file.
32244 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
32246         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32247         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32248         insns in _dl_start to prevent a TOC reference before relocs are
32249         resolved.
32251 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
32253         [BZ #12469]
32254         * Makeconfig: Remove RANLIB definition.
32255         * Makerules: Don't use RANLIB.
32256         * aclocal.m4: Remove ranlib test.
32257         * configure.in: No need to check for ranlib.
32258         * elf/rtld-Rules: Don't use RANLIB.
32260 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32262         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32263         protection macro.
32264         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32265         inclusion protection macro.
32267         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32268         SIGRTMIN and SIGRTMAX and print information in that case only when
32269         SIGRTMIN is defined.
32271 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
32273         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32274         arginfo fn returning -1.
32276         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32277         and thousands string is zero terminated.
32279 2011-02-03  Andreas Schwab  <schwab@redhat.com>
32281         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32282         sysdeps/unix/sysv/linux/bits/socket.h.
32284 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32286         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32287         (__CPU_COUNT): Remove old macros.
32288         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32289         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32290         (__CPU_ALLOC, __CPU_FREE): Add macros.
32291         (__sched_cpualloc, __sched_cpufree): Add declarations.
32293 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
32295         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32296         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32297         * nscd/aicache.c (addhstaiX): Return timeout of added value.
32298         (readdhstai): Return value of addhstaiX call.
32299         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32300         (addgrbyX): Return value returned by cache_addgr.
32301         (readdgrbyname): Return value returned by addgrbyX.
32302         (readdgrbygid): Likewise.
32303         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32304         (addpwbyX): Return value returned by cache_addpw.
32305         (readdpwbyname): Return value returned by addhstbyX.
32306         (readdpwbyuid): Likewise.
32307         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32308         (addservbyX): Return value returned by cache_addserv.
32309         (readdservbyname): Return value returned by addservbyX:
32310         (readdservbyport): Likewise.
32311         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32312         (addhstbyX): Return value returned by cache_addhst.
32313         (readdhstbyname): Return value returned by addhstbyX.
32314         (readdhstbyaddr): Likewise.
32315         (readdhstbynamev6): Likewise.
32316         (readdhstbyaddrv6): Likewise.
32317         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32318         (readdinitgroups): Return value returned by addinitgroupsX.
32319         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32320         (prune_cache): Keep track of timeout value of re-added entries.
32321         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32322         * nscd/nscd.h: Adjust prototypes of readd* functions.
32324 2011-02-04  Roland McGrath  <roland@redhat.com>
32326         * nis/nis_server.c (nis_servstate): Use the right name for 0.
32327         (nis_stats): Likewise.
32328         * nis/nis_modify.c (nis_modify): Likewise.
32329         * nis/nis_remove.c (nis_remove): Likewise.
32330         * nis/nis_add.c (nis_add): Likewise.
32332         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32334         * posix/fnmatch_loop.c: Add some consts.
32336         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32338 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
32340         [BZ #12460]
32341         * config.make.in (config-cflags-novzeroupper): Define.
32342         * configure.in: Substitute libc_cv_cc_novzeroupper.
32343         * elf/Makefile (AVX-CFLAGS): Define.
32344         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32345         (CFLAGS-tst-auditmod4a.c): Likewise.
32346         (CFLAGS-tst-auditmod4b.c): Likewise.
32347         (CFLAGS-tst-auditmod6b.c): Likewise.
32348         (CFLAGS-tst-auditmod6c.c): Likewise.
32349         (CFLAGS-tst-auditmod7b.c): Likewise.
32350         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32352 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
32354         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32355         function to the callback.
32356         Patch partly by Jiri Olsa <jolsa@redhat.com>.
32358 2011-02-02  Andreas Schwab  <schwab@redhat.com>
32360         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32361         of errno.
32363 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
32365         [BZ #11724]
32366         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32367         of constructors.
32368         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32369         of destructors.
32370         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32372         [BZ #11724]
32373         * elf/Makefile: Add rules to build and run new test.
32374         * elf/tst-initorder.c: New file.
32375         * elf/tst-initorder.exp: New file.
32376         * elf/tst-initordera1.c: New file.
32377         * elf/tst-initordera2.c: New file.
32378         * elf/tst-initordera3.c: New file.
32379         * elf/tst-initordera4.c: New file.
32380         * elf/tst-initorderb1.c: New file.
32381         * elf/tst-initorderb2.c: New file.
32382         * elf/tst-order-a1.c: New file.
32383         * elf/tst-order-a2.c: New file.
32384         * elf/tst-order-a3.c: New file.
32385         * elf/tst-order-a4.c: New file.
32386         * elf/tst-order-b1.c: New file.
32387         * elf/tst-order-b2.c: New file.
32388         * elf/tst-order-main.c: New file.
32389         New test case by George Gensure <werkt0@gmail.com>.
32391 2010-10-01  Andreas Schwab  <schwab@redhat.com>
32393         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32394         decoding ACE if AI_CANONIDN.
32396 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
32398         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32400 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
32402         * version.h (RELEASE): Bump for 2.13 release.
32403         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32405         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32407         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32408         MADV_NOHUGEPAGE.
32409         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32410         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32411         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32412         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32413         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32414         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32416         * posix/getconf.c: Update copyright year.
32417         * catgets/gencat.c: Likewise.
32418         * csu/version.c: Likewise.
32419         * debug/catchsegv.sh: Likewise.
32420         * debug/xtrace.sh: Likewise.
32421         * elf/ldconfig.c: Likewise.
32422         * elf/ldd.bash.in: Likewise.
32423         * elf/sprof.c (print_version): Likewise.
32424         * iconv/iconv_prog.c: Likewise.
32425         * iconv/iconvconfig.c: Likewise.
32426         * locale/programs/locale.c: Likewise.
32427         * locale/programs/localedef.c: Likewise.
32428         * malloc/memusage.sh: Likewise.
32429         * malloc/mtrace.pl: Likewise.
32430         * nscd/nscd.c (print_version): Likewise.
32431         * nss/getent.c: Likewise.
32433         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32434         PF_CAIF, and PF_ALG.
32435         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32437 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
32439         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32440         (modules-names): Use them.
32441         (ifunc-test-modules, ifunc-pie-tests): Define.
32442         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32443         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32444         (test-extras): Likewise.
32445         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32446         $(compile-command.c).
32447         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32448         (all-built-dso): Define.
32449         (check-textrel.out, check-execstack.out): Depend on it.
32451         * configure.in: Don't override --enable-multi-arch.
32453 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
32455         [BZ #6812]
32456         * nscd/hstcache.c (tryagain): Define.
32457         (cache_addhst): Return tryagain not notfound for temporary errors.
32458         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32459         failed.
32461 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
32463         [BZ #10563]
32464         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32465         to make the syscall.
32466         * sysdeps/unix/sysv/linux/setgroups.c: New file.
32468         [BZ #12378]
32469         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32470         and fall back to matching as normal character if the string ends before
32471         the matching ']' is found.  This is what POSIX requires.
32472         * posix/testfnm.c: Adjust test result.
32473         * posix/globtest.sh: Adjust test result.  Add new test.
32474         * posix/tst-fnmatch.input: Likewise.
32475         * posix/tst-fnmatch2.c: Add new test.
32477 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
32479         * elf/Makefile (check-execstack): Revert last change.  Depend on
32480         check-execstack.h.
32481         (check-execstack.h): New target.
32482         (generated): Add check-execstack.h.
32483         * elf/check-execstack.c: Include "check-execstack.h".
32484         (main): Revert last change.
32485         (handle_file): Return zero if GNU_STACK is absent and
32486         DEFAULT_STACK_PERMS doesn't include PF_X.
32488 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
32490         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32491         in child fails because the descriptor is already closed.
32492         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32493         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32494         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32496         [BZ #12397]
32497         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32498         syscall.
32500         [BZ #10484]
32501         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32502         temporary buffer used to handle multi lookups locally.
32503         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32505 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
32507         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32508         loader is ld.so.
32510 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
32512         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32513         alignment for SSE2.
32515 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
32517         [BZ #12394]
32518         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32519         characters.  When rounding increased number of integer digits recompute
32520         number of groups.
32521         * stdio-common/tst-grouping.c: New file.
32522         * stdio-common/Makefile: Add rules to build and run tst-grouping.
32524 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
32526         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32527         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
32529         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32530         void.
32531         * bits/select.h: Likewise.
32533 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
32535         * po/ja.po: Update from translation team.
32537 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
32539         [BZ #11155]
32540         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32541         implementation just like for lxstat, fxstatat, et al.
32543 2010-12-27  Jim Meyering  <meyering@redhat.com>
32545         [BZ #12348]
32546         * posix/regexec.c (build_trtable): Return failure indication upon
32547         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
32549 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
32551         [BZ #12201]
32552         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32553         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32554         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32555         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32557         [BZ #12207]
32558         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32560         [BZ #12204]
32561         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32562         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32564 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
32566         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32567         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32568         script has SORT_BY_INIT_PRIORITY.
32569         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32570         NO_CTORS_DTORS_SECTIONS is defined.
32571         * elf/soinit.c: Likewise.
32572         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32573         NO_CTORS_DTORS_SECTIONS is defined.
32574         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32575         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32576         * sysdeps/sh/init-first.c: Likewise.
32577         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32579 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
32581         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32582         always use the slow path.
32584 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
32586         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32587         similar rule which adds the sysdep directories to the header search in
32588         order to pick up the correct platform stackinfo.h.
32589         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32590         perform test if it is, otherwise return successfully without testing.
32591         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32592         DEFAULT_STACK_PERMS define in stackinfo.h.
32593         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32594         defined in stackinfo.h.
32595         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32596         DEFAULT_STACK_PERMS defined in stackinfo.h.
32597         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32598         * sysdeps/ia64/stackinfo.h: Likewise.
32599         * sysdeps/s390/stackinfo.h: Likewise.
32600         * sysdeps/sh/stackinfo.h: Likewise.
32601         * sysdeps/sparc/stackinfo.h: Likewise.
32602         * sysdeps/x86_64/stackinfo.h: Likewise.
32603         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32604         PF_X for powerpc64.  Retain PF_X for powerpc32.
32606 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
32608         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32609         accurately.
32610         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32611         GETDENTS_64BIT_ALIGNED.
32613 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
32615         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32617 2010-12-10  Andreas Schwab  <schwab@redhat.com>
32619         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32620         _GNU_SOURCE.
32622         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32623         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32624         Remove __restrict.
32625         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32626         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32628 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
32630         [BZ #11655]
32631         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32632         are initialized.
32634 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
32636         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32638 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
32640         * po/it.po: Update from translation team.
32642 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
32644         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32645         unused codes.
32647 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
32649         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32651 2010-11-24  Andreas Schwab  <schwab@redhat.com>
32653         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32654         specially.
32655         (gaih_getanswer_slice): Likewise.
32657 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
32659         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32661 2010-05-31  Petr Baudis  <pasky@suse.cz>
32663         [BZ #11149]
32664         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32665         silently even in the chroot mode.
32667 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
32669         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32670         last patch a bit.  Pretty printing
32672 2010-05-31  Petr Baudis <pasky@suse.cz>
32674         [BZ #10085]
32675         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32676         initialization of skip_initgroups_dyn.
32678 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
32680         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32681         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32683 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
32685         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32687 2010-11-11  Andreas Schwab  <schwab@redhat.com>
32689         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32690         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32691         (tst-fnmatch-ENV): Set MALLOC_TRACE.
32692         ($(objpfx)tst-fnmatch-mem): New rule.
32693         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32694         * posix/tst-fnmatch.c (main): Call mtrace.
32696 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
32698         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32699         Support Intel processor model 6 and model 0x2c.
32701 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
32703         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32704           signed comparison.
32706 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
32708         [BZ #12205]
32709         * string/test-strncasecmp.c (check_result): New function.
32710         (do_one_test): Use it.
32711         (check1): New function.
32712         (test_main): Use it.
32713         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32714         Support strcasecmp and strncasecmp.
32716 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
32718         [BZ #12194]
32719         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32720         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32722 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32724         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32725         IFUNC support.
32726         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32727         memset-x86-64.
32728         * sysdeps/x86_64/multiarch/bzero.S: New file.
32729         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32730         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32731         * sysdeps/x86_64/multiarch/memset.S: New file.
32732         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32733         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32734         Set bit_Prefer_SSE_for_memop for Intel processors.
32735         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32736         Define.
32737         (index_Prefer_SSE_for_memop): Define.
32738         (HAS_PREFER_SSE_FOR_MEMOP): Define.
32740 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
32742         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32743         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32745 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
32747         [BZ #12191]
32748         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32749         (__x86_64_raw_data_cache_size_half): Likewise.
32750         (__x86_64_raw_shared_cache_size): Likewise.
32751         (__x86_64_raw_shared_cache_size_half): Likewise.
32753         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32754         (__x86_64_raw_data_cache_size_half): Likewise.
32755         (__x86_64_raw_shared_cache_size): Likewise.
32756         (__x86_64_raw_shared_cache_size_half): Likewise.
32757         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32758         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32759         and __x86_64_raw_shared_cache_size_half.  Round
32760         __x86_64_data_cache_size_half, __x86_64_data_cache_size
32761         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32762         to multiple of 256 bytes.
32764 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
32766         [BZ #12167]
32767         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32768         of inacessible symlinks.  Verify result of symlink before returning it.
32769         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32770         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32772 2010-10-28  Erich Ritz  <erichritz@gmail.com>
32774         * math/math.h (isinf): Fix typo in comment.
32776 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
32778         * po/da.po: Update from translation team.
32780 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
32782         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32783         is added to the list.
32785 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32786             Ulrich Drepper  <drepper@gmail.com>
32788         * elf/dl-object.c (_dl_new_object): Don't append the new object to
32789         the global list here.  Move code to...
32790         (_dl_add_to_namespace_list): ...here.  New function.
32791         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32792         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32793         * elf/dl-load.c (lose): Don't remove the element from the list.
32794         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32795         (_dl_map_object): Likewise.
32797 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
32799         [BZ #12159]
32800         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32801         into all bytes of SSE register.
32802         Patch by Richard Li <richardpku@gmail.com>.
32804 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
32806         [BZ #12140]
32807         * malloc/malloc.c (_int_free): Fill correct number of bytes when
32808         perturbing.
32810 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
32812         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32813         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32814         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32815         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32817         submachine.
32818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32820 2010-10-22  Andreas Schwab  <schwab@redhat.com>
32822         * include/dlfcn.h (__RTLD_SECURE): Define.
32823         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
32824         mode & __RTLD_SECURE instead.
32825         (open_path): Rename preloaded parameter to secure.
32826         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32827         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32828         * elf/dl-deps.c (openaux): Likewise.
32829         * elf/rtld.c (struct map_args): Remove is_preloaded.
32830         (map_doit): Don't use it.
32831         (dl_main): Likewise.
32832         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32833         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32835 2010-09-09  Andreas Schwab  <schwab@redhat.com>
32837         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32838         (sysd-rules-targets): Remove duplicates.
32839         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32840         rtld-%.$o dependency.
32842 2010-10-18  Andreas Schwab  <schwab@redhat.com>
32844         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32845         _dl_map_object do it.
32847 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
32849         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32850         fast fma builtins, define the macros in the C99 standard.
32851         (FP_FAST_FMAF): Likewise.
32852         (FP_FAST_FMAL): Likewise.
32853         * sysdeps/x86_64/bits/mathdef.h: Likewise.
32855         * bits/mathdef.h: Update copyright year.
32856         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32858 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
32860         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32861         builtins, define the macros in the C99 standard.
32862         (FP_FAST_FMAF): Likewise.
32863         (FP_FAST_FMAL): Likewise.
32864         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32865         multiply/add.
32866         (FP_FAST_FMAF): Likewise.
32868 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
32870         [BZ #3268]
32871         * math/libm-test.inc (fma_test): Some new testcases.
32872         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32873         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32874         y and infinite z.  Do multiplication by C already in long double.
32875         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32876         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32877         y and infinite z.  Do bitwise or of inexact bit into u.d.
32878         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32879         * sysdeps/i386/fpu/s_fmaf.S: Removed.
32880         * sysdeps/i386/fpu/s_fma.S: Removed.
32881         * sysdeps/i386/fpu/s_fmal.S: Removed.
32883 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
32885         [BZ #3268]
32886         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32887         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32888         computation is not scheduled after fetestexcept.  Fix value
32889         of minimum denormal long double.
32891 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
32893         [BZ #3268]
32894         * math/libm-test.inc (fma_test): Add some more tests.
32895         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32896         correctly.
32898 2010-10-15  Andreas Schwab  <schwab@redhat.com>
32900         * scripts/data/localplt-s390-linux-gnu.data: New file.
32901         * scripts/data/localplt-s390x-linux-gnu.data: New file.
32903 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
32905         [BZ #3268]
32906         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32907         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32908         instead of dbl-64.
32909         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32910         inlines.
32911         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32912         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32913         if one of x and y is very large and the other is subnormal.
32914         * sysdeps/s390/fpu/s_fmaf.c: New file.
32915         * sysdeps/s390/fpu/s_fma.c: New file.
32916         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32917         * sysdeps/powerpc/fpu/s_fma.S: New file.
32918         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32919         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32920         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32922 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
32924         [BZ #3268]
32925         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32926         fma tests.
32927         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32928         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32929         * sysdeps/i386/i686/multiarch/s_fma.c: Include
32930         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32931         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32932         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32933         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32935 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
32937         [BZ #12078]
32938         * posix/regcomp.c (parse_branch): One more memory leak plugged.
32939         * posix/bug-regex31.input: Add test case.
32941 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
32943         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32944         * posix/bug-regex31.input: New file.
32946         [BZ #12078]
32947         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32948         (parse_sub_exp): Fix last change, use postorder.
32950         * posix/bug-regex31.c: New file.
32951         * posix/Makefile: Add rules to build and run bug-regex31.
32953         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32955         [BZ #12078]
32956         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32958         [BZ #12108]
32959         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32960         to have entries in sys_siglist.
32962         [BZ #12093]
32963         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32964         be NULL.
32966 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
32968         [BZ #3268]
32969         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32970         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32971         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32972         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32973         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32974         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32975         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32976         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32977         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32978         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32979         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32980         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32981         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32982         * math/ftestexcept.c (fetestexcept): Likewise.
32983         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32984         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32985         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32986         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32987         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32988         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32989         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32991 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
32993         [BZ #12107]
32994         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32995         newline.
32997 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
32999         * string/bug-strstr1.c: New file.
33000         * string/Makefile: Add rules to build and run bug-strstr1.
33002 2010-10-05  Eric Blake  <eblake@redhat.com>
33004         [BZ #12092]
33005         * string/str-two-way.h (two_way_long_needle): Always clear memory
33006         when skipping input due to the shift table.
33008 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
33010         [BZ #12005]
33011         * malloc/mcheck.c: Handle large requests.
33013         [BZ #12077]
33014         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33015         for strncmp and strncasecmp.
33016         * string/stratcliff.c: Add tests for strcmp and strncmp.
33017         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33019 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33021         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33022         __set_fpscr.
33024 2010-09-30  Andreas Jaeger  <aj@suse.de>
33026         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33027         (CGROUP_SUPER_MAGIC): Define.
33028         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33029         Handle btrfs and cgroup file systems.
33030         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33031         Likewise.
33033 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
33035         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33036         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33038 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33040         [BZ #12067]
33041         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33042         trying to locate the ELF header.
33044 2010-09-27  Andreas Schwab  <schwab@redhat.com>
33046         [BZ #11611]
33047         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33048         Mask out sign-bit copies when constructing f_fsid.
33050 2010-09-24  Petr Baudis <pasky@suse.cz>
33052         * debug/stack_chk_fail_local.c: Add missing licence exception.
33053         * debug/warning-nop.c: Likewise.
33055 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
33057         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33058         implementing getdents64 using getdents syscall, set d_type if
33059         __ASSUME_GETDENTS32_D_TYPE.
33061 2010-09-16  Andreas Schwab  <schwab@redhat.com>
33063         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33064         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33066 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
33068         [BZ #12037]
33069         * posix/unistd.h: Undo change of feature selection for ftruncate from
33070         2010-01-11.
33072 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
33074         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33075         detection.
33077 2010-09-20  Andreas Schwab  <schwab@redhat.com>
33079         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33080         fanotify_mark.
33081         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33083 2010-09-14  Andreas Schwab  <schwab@redhat.com>
33085         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33086         variables after CHECK_SP call.
33087         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33089 2010-09-13  Andreas Schwab  <schwab@redhat.com>
33090             Ulrich Drepper  <drepper@redhat.com>
33092         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33093         re-relocationg ld.so.
33094         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33095         _dl_init_paths call.
33096         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
33097         here anymore.
33099 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
33101         * resolv/res_init.c (__res_vinit): Count the default server we added.
33103 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
33104             Ulrich Drepper  <drepper@redhat.com>
33106         [BZ #11968]
33107         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33108         (____longjmp_chk): Use %ebx for saving value across system call.
33109         Add unwind info.
33111 2010-09-06  Andreas Schwab  <schwab@redhat.com>
33113         * manual/Makefile: Don't mix pattern rules with normal rules.
33115 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33117         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33118         operation.
33119         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33120         * libio/iofopncook.c (_IO_cookie_init): Likewise.
33121         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33122         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33123         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33124         Likewise.
33126 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
33128         [BZ #11979]
33129         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33130         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33132 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
33134         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33135         * sysdeps/x86_64/addmul_1.S: Likewise.
33136         * sysdeps/x86_64/lshift.S: Likewise.
33137         * sysdeps/x86_64/mul_1.S: Likewise.
33138         * sysdeps/x86_64/rshift.S: Likewise.
33139         * sysdeps/x86_64/sub_n.S: Likewise.
33140         * sysdeps/x86_64/submul_1.S: Likewise.
33142 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33144         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33145         Define __sched_param instead of SCHED_* and sched_param when
33146         <bits/sched.h> is included with __need_schedparam defined.
33147         * bits/sched.h [__need_schedparam]
33148         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33149         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33150         (__defined_schedparam): Define to 1.
33151         (__sched_param): New structure, identical to sched_param.
33152         (__need_schedparam): Undefine.
33154 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
33156         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33157         (epoll_create1): Declare.
33159         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33161 2010-08-31  Andreas Schwab  <schwab@redhat.com>
33163         [BZ #7066]
33164         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33165         shifting retval into place.
33167 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
33169         * nis/rpcsvc/nis.h: Update copyright notice.
33170         * nis/rpcsvc/nis.x: Likewise.
33171         * nis/rpcsvc/nis_callback.h: Likewise.
33172         * nis/rpcsvc/nis_callback.x: Likewise.
33173         * nis/rpcsvc/nis_object.x: Likewise.
33174         * nis/rpcsvc/nis_tags.h: Likewise.
33175         * nis/rpcsvc/yp.h: Likewise.
33176         * nis/rpcsvc/yp.x: Likewise.
33177         * nis/rpcsvc/ypupd.h: Likewise.
33178         * nis/yp_xdr.c: Likewise.
33179         * nis/ypupdate_xdr.c: Likewise.
33181         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
33182         mainly the body of pmap_getport.  Add parameters to specify timeouts.
33183         (pmap_getport): Use __libc_rpc_getport.
33184         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33185         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33186         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33188 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
33190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33191         fanotify_mark.
33193 2010-08-27  Roland McGrath  <roland@redhat.com>
33195         * sysdeps/i386/i686/multiarch/Makefile
33196         (CFLAGS-varshift.c): New variable.
33198 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
33200         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33201         * sysdeps/i386/i686/multiarch/varshift.c: New file.
33203         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33205         * sysdeps/x86_64/strlen.S: Minimal code improvement.
33207 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
33209         * sysdeps/x86_64/strlen.S: Unroll the loop.
33210         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33211         strlen-sse2 strlen-sse2-bsf.
33212         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33213         __strlen_no_bsf if bit_Slow_BSF is set.
33214         (__strlen_sse42): Removed.
33215         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33216         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33218 2010-08-25  Roland McGrath  <roland@redhat.com>
33220         * sysdeps/x86_64/multiarch/varshift.S: File removed.
33221         * sysdeps/x86_64/multiarch/varshift.c: New file.
33222         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33223         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33224         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33225         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33227 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
33229         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33230         strlen-sse2 strlen-sse2-bsf.
33231         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33232         __strlen_sse2_bsf if bit_Slow_BSF is unset.
33233         (__strlen_sse2): Removed.
33234         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33235         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33236         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33237         bit_Slow_BSF for Atom.
33238         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33239         (index_Slow_BSF): Define.
33240         (HAS_SLOW_BSF): Define.
33242 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
33244         [BZ #10851]
33245         * resolv/res_init.c (__res_vinit): When no server address at all
33246         is given default to loopback.
33248 2010-08-24  Roland McGrath  <roland@redhat.com>
33250         * configure.in: Remove config-name.h generation.
33251         * configure: Regenerated.
33252         * config-name.in: File removed.
33253         * scripts/config-uname.sh: New file.
33254         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33255         ($(objdir)config-name.h): New target.
33257         * sunrpc/rpc_parse.h: Avoid nested comment.
33259 2010-08-24  Richard Henderson  <rth@redhat.com>
33260             Ulrich Drepper  <drepper@redhat.com>
33261             H.J. Lu  <hongjiu.lu@intel.com>
33263         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33265         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33266         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
33267         _mm_alignr_epi8 with _mm_loadu_si128.
33268         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33269         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33270         (__m128i_shift_right): Removed.
33271         * sysdeps/i386/i686/multiarch/varshift.h: New file.
33272         * sysdeps/i386/i686/multiarch/varshift.S: New file.
33273         * sysdeps/x86_64/multiarch/varshift.h: New file.
33274         * sysdeps/x86_64/multiarch/varshift.S: New file.
33276 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
33278         * configure.in: Move assembler checks to before sysdep dir checking.
33280 2010-08-20  Petr Baudis  <pasky@suse.cz>
33282         * LICENSES: Sync the sunrpc license.
33284 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
33286         * sunrpc/auth_des.c: Update copyright notice once again.
33287         * sunrpc/auth_none.c: Likewise.
33288         * sunrpc/auth_unix.c: Likewise.
33289         * sunrpc/authdes_prot.c: Likewise.
33290         * sunrpc/authuxprot.c: Likewise.
33291         * sunrpc/bindrsvprt.c: Likewise.
33292         * sunrpc/clnt_gen.c: Likewise.
33293         * sunrpc/clnt_perr.c: Likewise.
33294         * sunrpc/clnt_raw.c: Likewise.
33295         * sunrpc/clnt_simp.c: Likewise.
33296         * sunrpc/clnt_tcp.c: Likewise.
33297         * sunrpc/clnt_udp.c: Likewise.
33298         * sunrpc/clnt_unix.c: Likewise.
33299         * sunrpc/des_crypt.c: Likewise.
33300         * sunrpc/des_soft.c: Likewise.
33301         * sunrpc/get_myaddr.c: Likewise.
33302         * sunrpc/getrpcport.c: Likewise.
33303         * sunrpc/key_call.c: Likewise.
33304         * sunrpc/key_prot.c: Likewise.
33305         * sunrpc/openchild.c: Likewise.
33306         * sunrpc/pm_getmaps.c: Likewise.
33307         * sunrpc/pm_getport.c: Likewise.
33308         * sunrpc/pmap_clnt.c: Likewise.
33309         * sunrpc/pmap_prot.c: Likewise.
33310         * sunrpc/pmap_prot2.c: Likewise.
33311         * sunrpc/pmap_rmt.c: Likewise.
33312         * sunrpc/rpc/auth.h: Likewise.
33313         * sunrpc/rpc/auth_unix.h: Likewise.
33314         * sunrpc/rpc/clnt.h: Likewise.
33315         * sunrpc/rpc/des_crypt.h: Likewise.
33316         * sunrpc/rpc/key_prot.h: Likewise.
33317         * sunrpc/rpc/netdb.h: Likewise.
33318         * sunrpc/rpc/pmap_clnt.h: Likewise.
33319         * sunrpc/rpc/pmap_prot.h: Likewise.
33320         * sunrpc/rpc/pmap_rmt.h: Likewise.
33321         * sunrpc/rpc/rpc.h: Likewise.
33322         * sunrpc/rpc/rpc_des.h: Likewise.
33323         * sunrpc/rpc/rpc_msg.h: Likewise.
33324         * sunrpc/rpc/svc.h: Likewise.
33325         * sunrpc/rpc/svc_auth.h: Likewise.
33326         * sunrpc/rpc/types.h: Likewise.
33327         * sunrpc/rpc/xdr.h: Likewise.
33328         * sunrpc/rpc_clntout.c: Likewise.
33329         * sunrpc/rpc_cmsg.c: Likewise.
33330         * sunrpc/rpc_common.c: Likewise.
33331         * sunrpc/rpc_cout.c: Likewise.
33332         * sunrpc/rpc_dtable.c: Likewise.
33333         * sunrpc/rpc_hout.c: Likewise.
33334         * sunrpc/rpc_main.c: Likewise.
33335         * sunrpc/rpc_parse.c: Likewise.
33336         * sunrpc/rpc_parse.h: Likewise.
33337         * sunrpc/rpc_prot.c: Likewise.
33338         * sunrpc/rpc_sample.c: Likewise.
33339         * sunrpc/rpc_scan.c: Likewise.
33340         * sunrpc/rpc_scan.h: Likewise.
33341         * sunrpc/rpc_svcout.c: Likewise.
33342         * sunrpc/rpc_tblout.c: Likewise.
33343         * sunrpc/rpc_util.c: Likewise.
33344         * sunrpc/rpc_util.h: Likewise.
33345         * sunrpc/rpcinfo.c: Likewise.
33346         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33347         * sunrpc/rpcsvc/key_prot.x: Likewise.
33348         * sunrpc/rpcsvc/klm_prot.x: Likewise.
33349         * sunrpc/rpcsvc/mount.x: Likewise.
33350         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33351         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33352         * sunrpc/rpcsvc/rex.x: Likewise.
33353         * sunrpc/rpcsvc/rstat.x: Likewise.
33354         * sunrpc/rpcsvc/rusers.x: Likewise.
33355         * sunrpc/rpcsvc/sm_inter.x: Likewise.
33356         * sunrpc/rpcsvc/spray.x: Likewise.
33357         * sunrpc/rpcsvc/yppasswd.x: Likewise.
33358         * sunrpc/rtime.c: Likewise.
33359         * sunrpc/svc.c: Likewise.
33360         * sunrpc/svc_auth.c: Likewise.
33361         * sunrpc/svc_authux.c: Likewise.
33362         * sunrpc/svc_raw.c: Likewise.
33363         * sunrpc/svc_run.c: Likewise.
33364         * sunrpc/svc_simple.c: Likewise.
33365         * sunrpc/svc_tcp.c: Likewise.
33366         * sunrpc/svc_udp.c: Likewise.
33367         * sunrpc/svc_unix.c: Likewise.
33368         * sunrpc/svcauth_des.c: Likewise.
33369         * sunrpc/xcrypt.c: Likewise.
33370         * sunrpc/xdr.c: Likewise.
33371         * sunrpc/xdr_array.c: Likewise.
33372         * sunrpc/xdr_float.c: Likewise.
33373         * sunrpc/xdr_mem.c: Likewise.
33374         * sunrpc/xdr_rec.c: Likewise.
33375         * sunrpc/xdr_ref.c: Likewise.
33376         * sunrpc/xdr_sizeof.c: Likewise.
33377         * sunrpc/xdr_stdio.c: Likewise.
33379         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33380         handling.
33382 2010-08-19  Andreas Schwab  <schwab@redhat.com>
33384         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33386 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
33388         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33389         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33390         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33391         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33392         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33393         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33394         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33395         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33396         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33397         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33398         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33399         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33400         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33401         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33403 2010-07-26  Anton Blanchard  <anton@samba.org>
33405         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33406         * malloc/arena.c (heap_trim): Likewise.
33408 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
33410         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33411         here.  Not...
33412         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33413         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33415 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33417         * sysdeps/i386/elf/Makefile: New file.
33419 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
33421         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33422         from fanotify_init.
33423         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33424         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33426 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
33428         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33429         of strncasecmp_l.
33430         * sysdeps/multiarch/strcmp.S: Likewise.
33432 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
33434         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33435         strncase_l-nonascii.
33436         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33437         Add strncase_l-ssse3.
33438         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33439         * sysdeps/x86_64/strcmp.S: Likewise.
33440         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33441         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33442         * sysdeps/x86_64/strncase.S: New file.
33443         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33444         * sysdeps/x86_64/strncase_l.S: New file.
33445         * string/Makefile (strop-tests): Add strncasecmp.
33446         * string/test-strncasecmp.c: New file.
33448         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33449         warning.
33451         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33452         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33454 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
33456         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33458 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
33460         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33461         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33462         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33464 2010-05-01  Alan Modra  <amodra@gmail.com>
33466         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33467         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33468         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33469         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33470         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33471         tidying.  Don't tail-call __sigjmp_save for static lib.
33472         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33473         save location.
33474         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33475         (CALL_MCOUNT): Add eh info, and nop after bl.
33476         (TAIL_CALL_SYSCALL_ERROR): New macro.
33477         (PSEUDO_RET): Use it.
33478         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33479         Correct save location of integer regs and cr.
33480         (_dl_profile_resolve): Correct cr save location.  Delete nops
33481         after bl when SHARED.  Reduce cfi size a little by better
33482         placement of cfi directives.
33483         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33484         make a stack frame.  Instead use parm save area as a temp.
33485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33486         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
33487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33488         Don't make a stack frame for parent, use parm save area.
33489         Increase child stack frame to 112 bytes.  Don't save unused reg,
33490         and adjust reg usage.  Set up cfi on error recovery and
33491         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33493         (__makecontext): Add dummy nop after jump to exit.
33494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33495         Use correct parm save area and cr save, reduce stack frame.
33496         Correct cfi for possible PSEUDO_RET frame setup.
33497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33498         Branch to local label emitted by PSEUDO_RET rather than
33499         __syscall_error.
33501 2010-08-12  Andreas Schwab  <schwab@redhat.com>
33503         [BZ #11904]
33504         * locale/programs/locale.c (print_assignment): New function.
33505         (show_locale_vars): Use it.
33507 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
33509         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33510         field.
33511         (struct statfs64): Likewise.
33512         (_STATFS_F_FLAGS): Define.
33513         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33514         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33515         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33516         (ST_VALID): Define locally.
33517         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33518         __statvfs_getflags, use the provided value.
33519         * sysdeps/unix/sysv/linux/kernel-features.h: Define
33520         __ASSUME_STATFS_F_FLAGS.
33522         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33524         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33525         Add sys/fanotify.h.
33526         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33527         fanotify_mask for GLIBC_2.13.
33528         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33529         fanotify_init and fanotify_mark.
33530         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33531         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33533         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33534         Add prlimit.
33535         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33536         prlimit64 for GLIBC_2.13.
33537         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33538         prlimit64.
33539         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33540         syscall.
33541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33542         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33543         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33544         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33545         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
33546         add prlimit alias.
33547         * sysdeps/unix/sysv/linux/prlimit.c: New file.
33549         [BZ #11903]
33550         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33551         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33553         * nss/Makefile: Add rules to build and run tst-nss-test1.
33554         * shlib-versions: Add entry for libnss_test1.
33555         * nss/nss_test1.c: New file.
33556         * nss/tst-nss-test1.c: New file.
33558         * nss/nsswitch.c (__nss_database_custom): Define new variable.
33559         (__nss_configure_lookup): Set appropriate entry in
33560         __nss_configure_lookup to true.
33561         * nss/nsswitch.h: Define enum with indeces of databases in
33562         databases and __nss_database_custom arrays.  Declare
33563         __nss_database_custom.
33564         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33565         to avoid using nscd when custom rules are installed.
33566         * nss/getXXbyYY_r.c: Likewise.
33567         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33569         * nss/nss_files/files-parse.c: Whitespace fixes.
33571 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
33573         [BZ #11883]
33574         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33575         * posix/fnmatch_loop.c: Likewise.
33577 2010-07-17  Andi Kleen  <ak@linux.intel.com>
33579         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33580         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33581         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33582         * Versions.def [GLIBC_2.13]: Add.
33584 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
33586         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33587         Also fail if tpwd after pwuid call is NULL.
33589 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33591         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33592         when converting to ms.
33594 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33596         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33597         EOPNOTSUPP errors with ENOTTY.
33598         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33599         EOPNOTSUPP errors with ENOTTY.
33601 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
33603         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33604         Add strcasecmp_l-ssse3.
33605         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33606         strcasecmp.
33607         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33608         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33609         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33611 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
33613         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33615         * string/Makefile (strop-tests): Add strcasecmp.
33616         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33617         strcasecmp_l-nonascii.
33618         (gen-as-const-headers): Add locale-defines.sym.
33619         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33620         * sysdeps/x86_64/strcasecmp.S: New file.
33621         * sysdeps/x86_64/strcasecmp_l.S: New file.
33622         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33623         * sysdeps/x86_64/locale-defines.sym: New file.
33624         * string/test-strcasecmp.c: New file.
33626         * string/test-strcasestr.c: Test both ends of the range of characters.
33627         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33629 2010-07-29  Roland McGrath  <roland@redhat.com>
33631         [BZ #11856]
33632         * manual/locale.texi (Yes-or-No Questions): Fix example code.
33634 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
33636         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33637         for ld.so.
33639 2010-07-27  Andreas Schwab  <schwab@redhat.com>
33641         * manual/memory.texi (Malloc Tunable Parameters): Document
33642         M_PERTURB.
33644 2010-07-26  Roland McGrath  <roland@redhat.com>
33646         [BZ #11840]
33647         * configure.in (-fgnu89-inline check): Set and substitute
33648         gnu89_inline, not libc_cv_gnu89_inline.
33649         * configure: Regenerated.
33650         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33652 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
33654         * string/test-strnlen.c: New file.
33655         * string/Makefile (strop-tests): Add strnlen.
33656         * string/tester.c (test_strnlen): Add a few more test cases.
33657         * string/tst-strlen.c: Better error reporting.
33659         * sysdeps/x86_64/strnlen.S: New file.
33661 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
33663         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33664         lower-latency instructions.
33666 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
33668         * string/test-strcasestr.c: New file.
33669         * string/test-strstr.c: New file.
33670         * string/Makefile (strop-tests): Add strstr and strcasestr.
33671         * string/str-two-way.h: Don't undefine MAX.
33672         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33674 2010-07-21  Andreas Schwab  <schwab@redhat.com>
33676         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33677         strcasestr-nonascii.
33678         (CFLAGS-strcasestr-nonascii.c): Define.
33679         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33680         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33681         Remove unused attribute.
33683 2010-07-20  Roland McGrath  <roland@redhat.com>
33685         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33686         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
33687         ld.so.cache was broken.  With it, there is no way to disable dsocaps
33688         like LD_HWCAP_MASK can disable hwcaps.
33690 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
33692         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33694 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
33696         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33697         call in strcasestr.
33698         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33699         __strcasestr_sse42_nonascii.
33700         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33701         strcasestr-nonascii.c.
33702         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33704 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
33706         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33707         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33708         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33709         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33711 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
33713         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33714         fcntl.
33716 2010-07-06  Andreas Schwab  <schwab@redhat.com>
33718         [BZ #11577]
33719         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33720         dl_signal_cerror.
33722 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
33724         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33725         _PC_PIPE_BUF using F_GETPIPE_SZ.
33727 2010-07-05  Roland McGrath  <roland@redhat.com>
33729         * manual/arith.texi (Rounding Functions): Fix rint description
33730         implicit in round description.
33732 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
33734         * elf/Makefile: Fix linking for a few tests to make recent linker
33735         happy.
33737 2010-06-30  Andreas Schwab  <schwab@redhat.com>
33739         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33740         $(common-objpfx)libc_nonshared.a.
33742 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
33744         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33745         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33746         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33747         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33748         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33749         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33750         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33751         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33766         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33767         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33768         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33769         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33770         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33771         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33772         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33773         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33774         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33775         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33776         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33777         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33793 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33795         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33796         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
33797         * string/memmove.c (memmove): Renamed to ...
33798         (MEMMOVE): ...this.  Default to memmove.
33799         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33800         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33801         (END_CHK): Define.
33802         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33803         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33804         mempcpy-ssse3-back memmove-ssse3-back.
33805         * sysdeps/x86_64/multiarch/bcopy.S: New file .
33806         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33807         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33808         * sysdeps/x86_64/multiarch/memcpy.S: New file.
33809         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33810         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33811         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33812         * sysdeps/x86_64/multiarch/memmove.c: New file.
33813         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33814         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33815         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33816         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33817         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33818         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33819         Define.
33820         (index_Fast_Copy_Backward): Define.
33821         (HAS_ARCH_FEATURE): Define.
33822         (HAS_FAST_REP_STRING): Define.
33823         (HAS_FAST_COPY_BACKWARD): Define.
33825 2010-06-21  Andreas Schwab  <schwab@redhat.com>
33827         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33828         Restore proper fallback handling.
33830 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
33832         [BZ #11701]
33833         * posix/group_member.c (__group_member): Correct checking loop.
33835         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33836         OOM in getpwuid_r correctly.  Return error number when the caller
33837         should return, otherwise -1.
33838         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33839         call returning > 0 value.
33840         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33842 2010-06-07  Andreas Schwab  <schwab@redhat.com>
33844         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33845         libc_nonshared.a from targets in modules-names.
33847 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
33849         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33850         requires it.
33852 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
33854         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33855         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33856         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33857         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33859 2010-06-02  Andreas Schwab  <schwab@redhat.com>
33861         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33863 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
33865         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33866         and F_GETPIPE_SZ.
33867         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33868         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33869         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33870         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33871         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33872         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33874 2010-06-14  Roland McGrath  <roland@redhat.com>
33876         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33878 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
33880         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33881         __REDIRECT followed by __THROW.
33882         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33883         * posix/getopt.h (getopt): Likewise.
33885 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
33887         * hurd/lookup-at.c (__file_name_lookup_at): Accept
33888         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
33889         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33890         in AT_FLAGS.
33891         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33892         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33894 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
33896         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33898 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
33900         [BZ #11640]
33901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33902         Properly check family and model.
33904 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
33906         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33908 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
33910         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33912 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
33914         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33915         symbol reference.
33917 2010-05-19  Andreas Schwab  <schwab@redhat.com>
33919         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33920         symbol reference.
33922 2010-05-21  Andreas Schwab  <schwab@redhat.com>
33924         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33925         and internal_recvmmsg.
33926         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33927         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33928         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33929         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33931         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33932         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33933         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33935 2010-05-20  Andreas Schwab  <schwab@redhat.com>
33937         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33939 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
33941         POWER7 optimizations.
33942         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33943         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33945 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
33947         * version.h: Update for 2.13 development version.
33949 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
33951         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33952         exceptions.  Return 0.
33954 2010-05-07  Roland McGrath  <roland@redhat.com>
33956         * elf/ldconfig.c (main): Add a const.
33958 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
33960         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33961         (args_options): Add no-idn option.
33962         (ahosts_keys_int): Add idn_flags to ai_flags.
33963         (parse_option): Handle 'i' option to clear idn_flags.
33965         * malloc/malloc.c (_int_free): Possible race in the most recently
33966         added check.  Only act on the data if no current modification
33967         happened.
33969 See ChangeLog.17 for earlier changes.