Fix readdir regressions on sparc 32-bit.
[platform/upstream/glibc.git] / ChangeLog
1 2013-10-10  David S. Miller  <davem@davemloft.net>
2
3         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4         directory block.
5
6 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
7
8         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
9         instead of FSF address.
10         * soft-fp/fixdfti.c: Likewise.
11         * soft-fp/fixsfti.c: Likewise.
12         * soft-fp/fixtfti.c: Likewise.
13         * soft-fp/fixunsdfti.c: Likewise.
14         * soft-fp/fixunssfti.c: Likewise.
15         * soft-fp/fixunstfti.c: Likewise.
16         * soft-fp/floattidf.c: Likewise.
17         * soft-fp/floattisf.c: Likewise.
18         * soft-fp/floattitf.c: Likewise.
19         * soft-fp/floatuntidf.c: Likewise.
20         * soft-fp/floatuntisf.c: Likewise.
21         * soft-fp/floatuntitf.c: Likewise.
22         * soft-fp/trunctfxf2.c: Likewise.
23
24         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
25         * soft-fp/fixdfti.c: Likewise.
26         * soft-fp/fixsfti.c: Likewise.
27         * soft-fp/fixtfti.c: Likewise.
28         * soft-fp/fixunsdfti.c: Likewise.
29         * soft-fp/fixunssfti.c: Likewise.
30         * soft-fp/fixunstfti.c: Likewise.
31         * soft-fp/floattidf.c: Likewise.
32         * soft-fp/floattisf.c: Likewise.
33         * soft-fp/floattitf.c: Likewise.
34         * soft-fp/floatuntidf.c: Likewise.
35         * soft-fp/floatuntisf.c: Likewise.
36         * soft-fp/floatuntitf.c: Likewise.
37         * soft-fp/trunctfxf2.c: Likewise.
38
39 2013-10-10  David S. Miller  <davem@davemloft.net>
40
41         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42
43 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
44
45         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
47         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
48         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
49         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
50         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
52
53         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
54         for NaNs before doing comparisons on argument.
55         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
56         Likewise.
57
58 2013-10-10  Will Newton  <will.newton@linaro.org>
59
60         * malloc/hooks.c (memalign_check): Ensure the value of bytes
61         passed to _int_memalign does not overflow.
62
63 2013-10-10  Torvald Riegel  <triegel@redhat.com>
64
65         * scripts/bench.pl: Add include-sources directive.
66         * benchtests/README: Update documentation.
67
68 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
69
70         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
71         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
72         instead of FP_INIT_ROUNDMODE.
73         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
74         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
75
76         [BZ #16034]
77         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
78         copy class of input value.
79         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
80         not handle exceptions.
81         * soft-fp/negsf2.c (__negsf2): Likewise.
82         * soft-fp/negtf2.c (__negtf2): Likewise.
83         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
84
85 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
86
87         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
88         semicolon.  From Linux kernel.
89
90 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
91
92         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
93
94 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
95
96         [BZ #156]
97         * manual/socket.texi: Added statement about buffer
98         for gethostbyname2_r.
99
100 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
101
102         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
103         Use .p2align directive instead, throughout.
104         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
105         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
106         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
107         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
108         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
109         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
110         * sysdeps/x86_64/strchr.S: Likewise.
111         * sysdeps/x86_64/strrchr.S: Likewise.
112
113 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
114
115         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
116
117         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
118
119         * sysdeps/generic/math_private.h (__mpsin1): Remove
120         declaration.
121         (__mpcos1): Likewise.
122         (__mpsin): New argument __range_reduce.
123         (__mpcos): Likewise.
124         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
125         (slow): Use __mpsin and __mpcos.
126         (slow1): Likewise.
127         (slow2): Likewise.
128         (sloww): Likewise.
129         (sloww1): Likewise.
130         (sloww2): Likewise.
131         (bsloww): Likewise.
132         (bsloww1): Likewise.
133         (bsloww2): Likewise.
134         (cslow2): Likewise.
135         (csloww): Likewise.
136         (csloww1): Likewise.
137         (csloww2): Likewise.
138         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
139         range_reduce.  Merge in __mpsin1.
140         (__mpcos): Likewise.
141         (__mpsin1): Remove.
142         (__mpcos1): Likewise.
143
144 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
145
146         * locale/loadlocale.c (_nl_intern_locale_data): Use
147         LOCFILE_ALIGNED_P.
148         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
149         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
150         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
151         obstack data is appropriately aligned.
152         (obstack_int32_grow_fast): Likewise.
153         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
154         * locale/programs/locfile.c (add_locale_uint32): Likewise.
155         (add_locale_uint32_array): Likewise.
156
157 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
158
159         * benchtests/Makefile: Remove ARGLIST and RET variables.
160         ($(objpfx)bench-%.c): Pass only function name to the script.
161         * benchtests/README: Update documentation.
162         * benchtests/acos-inputs: Add new directives.
163         * benchtests/acosh-inputs: Likewise.
164         * benchtests/asin-inputs: Likewise.
165         * benchtests/asinh-inputs: Likewise.
166         * benchtests/atan-inputs: Likewise.
167         * benchtests/atanh-inputs: Likewise.
168         * benchtests/cos-inputs: Likewise.
169         * benchtests/cosh-inputs: Likewise.
170         * benchtests/exp-inputs: Likewise.
171         * benchtests/log-inputs: Likewise.
172         * benchtests/pow-inputs: Likewise.
173         * benchtests/rint-inputs: Likewise.
174         * benchtests/sin-inputs: Likewise.
175         * benchtests/sinh-inputs: Likewise.
176         * benchtests/tan-inputs: Likewise.
177         * benchtests/tanh-inputs: Likewise.
178         * scripts/bench.pl: Add support for new directives.
179
180 2013-10-07  Alan Modra  <amodra@gmail.com>
181
182         * README: Fix careless merge.
183
184 2013-10-05  Alan Modra  <amodra@gmail.com>
185
186         * NEWS: Mention powerpc64le support and bugs fixed.
187         * README: Both big-endian and little-endian powerpc64 supported.
188
189 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
190
191         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
192         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
193         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
194         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
195
196 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
197
198         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
199         match prototype.
200
201 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
202
203         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
204         Move -mhard-float appending from
205         ports/sysdeps/powerpc/powerpc32/Makefile.
206         [$(with-fp) = yes] (ASFLAGS): Likewise.
207         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
208         * sysdeps/powerpc/nofpu: Move directory from
209         ports/sysdeps/powerpc/nofpu.
210         * sysdeps/powerpc/soft-fp: Move directory from
211         ports/sysdeps/powerpc/soft-fp.
212         * sysdeps/powerpc/powerpc32/405: Move directory from
213         ports/sysdeps/powerpc/powerpc32/405.
214         * sysdeps/powerpc/powerpc32/440: Move directory from
215         ports/sysdeps/powerpc/powerpc32/440.
216         * sysdeps/powerpc/powerpc32/464: Move directory from
217         ports/sysdeps/powerpc/powerpc32/464.
218         * sysdeps/powerpc/powerpc32/476: Move directory from
219         ports/sysdeps/powerpc/powerpc32/476.
220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
221         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
223         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
225         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
227         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
229         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
230         * README: Update for powerpc-*-linux-gnu software floating point
231         support in libc.
232
233         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
234         case to powerpc/powerpc32*.
235         * sysdeps/unix/sysv/linux/configure: Regenerated.
236
237         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
238         (_FPU_MASK_OM): Define as 0x04.
239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
241         0x00c10080.
242         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
243         0x0000003c.
244         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
245
246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
247         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
248         getcontext_e500.
249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
250         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
251         setcontext_e500.
252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
253         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
254         and setcontext_e500.
255
256 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
257
258         * locale/iso-3166.def: Update iso-1366.def and related occurrences
259
260 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
261
262         * manual/threads.texi (Default Thread Attributes): Fix typo.
263
264 2013-10-04  Will Newton  <will.newton@linaro.org>
265
266         * malloc/Makefile: Add tst-memalign.
267         * malloc/tst-memalign.c: New file.
268
269         * malloc/tst-posix_memalign.c: Add comments.
270         (do_test): Add comments and call free on all potentially
271         allocated pointers. Add space after cast.
272
273         * malloc/tst-pvalloc.c: Add comments.
274         (do_test): Add comments and call free on all potentially
275         allocated pointers. Remove duplicate check for NULL pointer.
276         Add space after cast.
277
278         * malloc/tst-valloc.c: Add comments.
279         (do_test): Add comments and call free on all potentially
280         allocated pointers. Remove duplicate check for NULL pointer.
281         Add space after cast.
282
283 2013-10-04  Alan Modra  <amodra@gmail.com>
284
285         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
286         Use stdint types in rather than __attribute__((mode())).
287         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
288
289 2013-10-04  Alan Modra  <amodra@gmail.com>
290
291         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
292         Correct handling of unaligned relocs for little-endian.
293         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
294
295 2013-10-04  Alan Modra  <amodra@gmail.com>
296
297         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
298         * configure: Regenerate.
299         * nptl/shlib-versions: Powerpc*le starts at 2.18.
300         * shlib-versions: Likewise.
301
302 2013-10-04  Alan Modra  <amodra@gmail.com>
303
304         * string/tester.c (test_memrchr): Increment reported test cycle.
305
306 2013-10-04  Alan Modra  <amodra@gmail.com>
307
308         * string/test-memcpy.c (do_one_test): When reporting errors, print
309         string address and don't overrun end of string.
310
311 2013-10-04  Alan Modra  <amodra@gmail.com>
312
313         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
314         insrdi.  Make better use of reg selection to speed exit slightly.
315         Schedule entry path a little better.  Remove useless "are we done"
316         checks on entry to main loop.  Handle wrapping around zero address.
317         Correct main loop count.  Handle single left-over word from main
318         loop inline rather than by using loop_small.  Remove extra word
319         case in loop_small caused by wrong loop count.  Add little-endian
320         support.
321         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
322         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
323         cache hint.
324         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
325         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
326         support.  Avoid rlwimi.
327         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
328
329 2013-10-04  Alan Modra  <amodra@gmail.com>
330
331         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
332         insrdi.  Formatting.
333         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
334         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
335         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
336         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
337         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
338         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
339
340 2013-10-04  Alan Modra  <amodra@gmail.com>
341
342         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
343         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
344         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
345         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
346         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
347         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
348         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
349         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
350         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
351         use of regs.  Use power7 mtocrf.  Tidy function tails.
352
353 2013-10-04  Alan Modra  <amodra@gmail.com>
354
355         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
356         Formatting.  Consistently use rXXX register defines or rN defines.
357         Use early exit labels that avoid restoring unused non-volatile regs.
358         Make cr field use more consistent with rWORDn compares.  Rename
359         regs used as shift registers for unaligned loop, using rN defines
360         for short lifetime/multiple use regs.
361         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
362         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
363         addi 1,1,64 to pop stack frame.  Simplify return value code.
364         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
365
366 2013-10-04  Alan Modra  <amodra@gmail.com>
367
368         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
369         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
370         rather than rlwimi.
371         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
372         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
373         little-endian support.  Correct typos.
374         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
375         rather than rlwimi.
376         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
377         in loop and entry code to keep "and." results.
378         (strchr): Add little-endian support.  Comment.  Move cntlzd
379         earlier in tail.
380         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
381
382 2013-10-04  Alan Modra  <amodra@gmail.com>
383
384         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
385         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
386         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
387         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
388
389 2013-10-04  Alan Modra  <amodra@gmail.com>
390
391         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
392         (rTMP): Define as r11.
393         (strcmp): Add little-endian support.  Optimise tail.
394         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
395         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
396         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
397         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
398         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
399         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
400         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
401
402 2013-10-04  Alan Modra  <amodra@gmail.com>
403
404         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
405         little-endian support.  Remove unnecessary "are we done" tests.
406         Handle "s" wrapping around zero and extremely large "size".
407         Correct main loop count.  Handle single left-over word from main
408         loop inline rather than by using small_loop.  Correct comments.
409         Delete "zero" tail, use "end_max" instead.
410         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
411
412 2013-10-04  Alan Modra  <amodra@gmail.com>
413
414         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
415         support.  Don't branch over align.
416         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
417         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
418         support.  Rearrange tmp reg use to suit.  Comment.
419         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
420
421 2013-10-04  Alan Modra  <amodra@gmail.com>
422
423         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
424
425 2013-10-04  Alan Modra  <amodra@gmail.com>
426
427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
428         conditional form of branch and link when obtaining pc.
429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
430
431 2013-10-04  Alan Modra  <amodra@gmail.com>
432
433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
434         HIWORD/LOWORD.
435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
437
438 2013-10-04  Alan Modra  <amodra@gmail.com>
439
440         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
441         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
442         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
443         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
444         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
445         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
446         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
447         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
448         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
449         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
450
451 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
452             Alistair Popple <alistair@ozlabs.au.ibm.com>
453             Alan Modra <amodra@gmail.com>
454
455         [BZ #15723]
456         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
457         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
458         _dl_hwcap access for little-endian.
459         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
460         destroy vmx regs when saving unaligned.
461         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
462         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
463         destroy vmx regs when saving unaligned.
464
465 2013-10-04  Alan Modra  <amodra@gmail.com>
466
467         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
468         Don't use a union to pack hi/low value.
469
470 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
471
472         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
473         for little-endian.
474         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
475         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
476         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
477         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
478         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
479
480 2013-10-04  Alan Modra  <amodra@gmail.com>
481
482         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
483         constants to usual value for .cst8 section, and remove redundant
484         high address load.
485         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
486         constant for 0x1p52.  Load little-endian words of double from
487         correct stack offsets.
488
489 2013-10-04  Alan Modra  <amodra@gmail.com>
490
491         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
492         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
493         words of double from correct stack offsets.
494         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
495         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
496         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
497         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
498         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
499         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
500         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
501         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
502         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
503         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
504         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
505         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
506         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
507         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
508         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
509         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
510         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
511
512 2013-10-04  Alan Modra  <amodra@gmail.com>
513
514         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
515         64-bit int/double union.
516         (_FPU_SETCW): Likewise.
517         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
518         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
519
520 2013-10-04  Alan Modra  <amodra@gmail.com>
521
522         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
523         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
524
525 2013-10-04  Alan Modra  <amodra@gmail.com>
526
527         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
528         use vector int constants.
529         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
530
531 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
532
533         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
534         array with long long.
535         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
536         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
537         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
538         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
539         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
540         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
541         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
542         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
543         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
544         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
545         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
546         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
547         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
548
549 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
550
551         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
552         (__signbit): Likewise.  Correct for little-endian.
553         (__signbitl): Call __signbit.
554         (lrint): Correct for little-endian.
555         (lrintf): Call lrint.
556
557 2013-10-04  Alan Modra  <amodra@gmail.com>
558
559         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
560         union 32-bit int array member with 64-bit int array.
561         (t515, tm256): Double rather than long double.
562         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
563
564 2013-10-04  Alan Modra  <amodra@gmail.com>
565
566         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
567         Delete.
568         (IEEE854_LONG_DOUBLE_BIAS): Delete.
569         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
570         version of math_ldbl.h.
571
572 2013-10-04  Alan Modra  <amodra@gmail.com>
573
574         [BZ #15734], [BZ #15735]
575         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
576         all uses of ieee875 long double macros and unions.  Simplify test
577         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
578         ldbl_extract_mantissa value for ix,iy exponents.  Properly
579         normalize after ldbl_extract_mantissa, and don't add hidden bit
580         already handled.  Don't treat low word of ieee854 mantissa like
581         low word of IBM long double and mask off bit when testing for
582         zero.
583         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
584         all uses of ieee875 long double macros and unions.  Simplify tests
585         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
586         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
587         two1022, instead use their values.  Recognise that tests for large
588         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
589         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
590         Rewrite all uses of ieee875 long double macros and unions.  Simplify
591         test for 0.0L and nan.  Correct negation.
592         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
593         ieee875 long double macros and unions.  Correct output for large
594         magnitude x.  Correct absolute value calculation.
595         (__erfcl): Likewise.
596         * math/libm-test.inc: Add tests for errors discovered in IBM long
597         double versions of fmodl, remainderl, erfl and erfcl.
598
599 2013-10-04  Alan Modra  <amodra@gmail.com>
600
601         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
602         all uses of ieee854 long double macros and unions.  Simplify tests
603         for long doubles that are fully specified by the high double.
604         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
605         Likewise.
606         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
607         Remove dead code too.
608         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
609         (__ieee754_ynl): Likewise.
610         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
611         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
612         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
613         Remove dead code too.
614         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
615         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
616         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
617         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
618         Simplify.
619         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
620         Simplify.
621         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
622         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
623         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
624         Comment on variable precision.
625         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
626         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
627         Likewise.
628         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
629         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
630         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
631         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
632         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
633
634 2013-10-04  Alan Modra  <amodra@gmail.com>
635
636         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
637         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
638         all uses of ieee854 long double macros and unions.
639         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
640         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
641         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
642         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
643         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
644         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
645         Likewise.
646         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
647         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
648         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
649         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
650         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
651         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
652         Simplify sign and nan test too.
653         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
654         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
655         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
656         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
657         Likewise.
658         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
659         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
660         Likewise.
661         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
662         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
663         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
664         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
665         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
666         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
667
668 2013-10-04  Alan Modra  <amodra@gmail.com>
669
670         * stdio-common/printf_size.c (__printf_size): Don't use
671         union ieee854_long_double in fpnum union.
672         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
673         signbit macro to retrieve sign from long double.
674         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
675         retrieve sign from long double.
676         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
677         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
678         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
679         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
680         * math/test-misc.c (main): Don't use union ieee854_long_double.
681
682 2013-10-04  Alan Modra  <amodra@gmail.com>
683
684         [BZ #15680]
685         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
686         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
687         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
688         calculation.  Remove unnecessary test for denormal exponent.
689         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
690         Correct handling of denormals.  Avoid undefined shift behaviour.
691         Correct normalisation of low mantissa when low double is denormal.
692         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
693         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
694         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
695         Correct normalisation of low mantissa.  Test for overflow of high
696         mantissa and normalise.
697         (ldbl_nearbyint): Use more readable constant for two52.
698         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
699         (__mpn_construct_long_double): Fix test for overflow of high
700         mantissa and correct normalisation.  Avoid undefined shift.
701
702 2013-10-04  Alan Modra  <amodra@gmail.com>
703
704         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
705         (union ibm_extended_long_double): Define as an array of ieee754_double.
706         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
707         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
708         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
709         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
710         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
711         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
712         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
713         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
714         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
715         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
716         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
717
718 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
719
720         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
721         page size instead of calling getpagesize.
722
723         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
724         (LOCFILE_ALIGN_MASK): Likewise.
725         (LOCFILE_ALIGN_UP): Likewise.
726         (LOCFILE_ALIGNED_P): Likewise.
727         * locale/programs/ld-collate.c (collate_output): Use the new
728         macros instead of __alignof__ (int32_t).
729         * locale/weight.h (findidx): Likewise.
730
731 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
732
733         [BZ #431]
734         * manual/string.texi: Fix strncat and wcsncat.
735
736 2013-10-03  Brooks Moses  <bmoses@google.com>
737
738         [BZ #15915]
739         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
740         * Makerules: ...here, and adjust associated comments.
741
742 2013-10-02  Will Newton  <will.newton@linaro.org>
743
744         * malloc/Makefile: Add tst-pvalloc.
745         * malloc/tst-pvalloc.c: New file.
746
747 2013-10-02  Will Newton  <will.newton@linaro.org>
748
749         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
750         improve test coverage.
751
752 2013-10-02  Will Newton  <will.newton@linaro.org>
753
754         * malloc/Makefile: Add tst-posix_memalign.
755         * malloc/tst-posix_memalign.c: New file.
756
757 2013-10-01  Eric Blake  <eblake@redhat.com>
758
759         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
760         Use __THROWNL rather than __THROW on static functions.
761
762 2013-09-30  Petr Machata  <pmachata@redhat.com>
763
764         * elf/elf.h (R_AARCH64_ABS16): New macro.
765         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
766         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
767         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
768         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
769         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
770         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
771         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
772         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
773         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
774         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
775         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
776         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
777         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
778         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
779         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
780         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
781         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
782         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
783         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
784         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
785         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
786         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
787         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
788         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
789         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
790         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
791         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
792         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
793         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
794         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
795         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
796         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
797         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
798         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
799         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
800         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
801         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
802         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
803         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
804         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
805         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
806         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
807         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
808         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
809         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
810         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
811         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
812         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
813         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
814         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
815         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
816         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
817         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
818         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
819         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
820         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
821         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
822         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
823         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
824         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
825         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
826         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
827         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
828         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
829         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
830         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
831         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
832         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
833         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
834         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
835         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
836         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
837         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
838         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
839         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
840         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
841         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
842         (R_AARCH64_TLSDESC_LDR): Likewise.
843         (R_AARCH64_TLSDESC_ADD): Likewise.
844         (R_AARCH64_TLSDESC_CALL): Likewise.
845
846 2013-09-30  Andreas Schwab  <schwab@suse.de>
847
848         [BZ #15048]
849         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
850         the nss database lookup.
851         * nscd/initgrcache.c (addinitgroupsX): Likewise.
852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
853
854 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
855
856         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
857
858 2013-09-28  P. J. McDermott  <pj@pehjota.net>
859
860         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
861         ${Bash-specific parameter/pattern/string} parameter expansion.
862         * sysdeps/unix/make-syscalls.sh: Likewise.
863
864 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
865
866         * sysdeps/sh/stackguard-macros.h: New file.
867
868 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
869
870         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
871         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
872         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
873         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
874         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
875         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
876
877 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
878
879         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
880         Fix thread ID register.
881
882 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
883
884         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
885         [POSIX || UNIX98]: Require rather than permitting all symbols from
886         <time.h>.
887         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
888         element of struct sched_param.
889         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
890         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
891         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
892         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
893         constant.
894
895 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
896
897         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
898         argument calculation.
899
900 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
901
902         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
903         Expect macro.
904         [POSIX] (pthread_attr_t): Do not require type.
905         [POSIX] (pthread_cond_t): Likewise.
906         [POSIX] (pthread_condattr_t): Likewise.
907         [POSIX] (pthread_key_t): Likewise.
908         [POSIX] (pthread_mutex_t): Likewise.
909         [POSIX] (pthread_mutexattr_t): Likewise.
910         [POSIX] (pthread_once_t): Likewise.
911         [POSIX] (pthread_t): Likewise.
912         [POSIX-based standards] (pthread_atfork): Expect function.
913
914 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
915             Richard Sandiford  <richard@codesourcery.com>
916
917         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
918         (swap_endianness_p): New extern variable.
919         (set_big_endian): New inline function.
920         (maybe_swap_uint32): Likewise.
921         (maybe_swap_uint32_array): Likewise.
922         (maybe_swap_uint32_obstack): Likewise.
923         * locale/programs/locfile.c: Include <stdbool.h>.
924         (swap_endianness_p): New variable.
925         (add_locale_uint32): Call maybe_swap_uint32.
926         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
927         (write_locale_data): Call maybe_swap_uint32_array.
928         * locale/programs/ld-collate.c (obstack_int32_grow): Call
929         maybe_swap_uint32.
930         (obstack_int32_grow_fast): Likewise.
931         (output_weightwc): Call maybe_swap_uint32_obstack.
932         (collate_output): Likewise.
933         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
934         (OPT_LITTLE_ENDIAN): Likewise.
935         (options): Add --little-endian and --big-endian options.
936         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
937         * locale/programs/locarchive.c: Include "locfile.h".
938         (GET): New macro.
939         (SET): Likewise.
940         (INC): Likewise.
941         (create_archive): Use the new macros to access fields of
942         structures directly mapped from or written to locale archives.
943         (oldlocrecentcmp): Likewise.
944         (enlarge_archive): Likewise.
945         (insert_name): Likewise.
946         (add_alias): Likewise.
947         (add_locale): Likewise.
948         (delete_locales_from_archive): Likewise.
949         (show_archive_content): Likewise.
950         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
951         locale data.
952
953 2013-09-24  Roland McGrath  <roland@hack.frob.com>
954
955         * manual/freemanuals.texi: Updated from (newly) canonical copy at
956         http://www.gnu.org/doc/freemanuals.texi.
957         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
958
959 2013-09-24  Will Newton  <will.newton@linaro.org>
960
961         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
962         macro.
963
964 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
965
966         * locale/hashval.h (compute_hashval): Interpret bytes of key as
967         unsigned char.
968
969 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
970
971         * manual/threads.texi (POSIX Threads): Fix a typo.
972
973 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
974
975         [BZ #14547]
976         * string/tst-strcoll-overflow.c: New test case.
977         * string/Makefile (xtests): Add tst-strcoll-overflow.
978         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
979         cache if string sizes may cause integer overflow.
980
981         [BZ #14547]
982         * string/strcoll_l.c (coll_seq): New members rule, idx,
983         save_idx and back_us.
984         (get_next_seq_nocache): New function.
985         (do_compare_nocache): New function.
986         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
987         when malloc fails.
988
989 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
990
991         [BZ #15754]
992         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
993         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
994         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
995
996         [BZ #15754]
997         * elf/Makefile (tests): Add tst-ptrguard1.
998         (tests-static): Add tst-ptrguard1-static.
999         (tst-ptrguard1-ARGS): Define.
1000         (tst-ptrguard1-static-ARGS): Define.
1001         * elf/tst-ptrguard1.c: New file.
1002         * elf/tst-ptrguard1-static.c: New file.
1003         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1004         * sysdeps/i386/stackguard-macros.h: Likewise.
1005         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1006         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1007         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1008         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1009         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1010         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1011
1012 2013-09-23  Hector Marco  <hecmargi@upv.es>
1013             Ismael Ripoll  <iripoll@disca.upv.es>
1014             Carlos O'Donell  <carlos@redhat.com>
1015
1016         [BZ #15754]
1017         * sysdeps/generic/stackguard-macros.h: Define
1018         __pointer_chk_guard_local and POINTER_CHK_GUARD.
1019         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1020         Define __pointer_chk_guard_local.
1021         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1022         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1023
1024 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
1025
1026         [BZ #15859]
1027         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1028
1029 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
1030
1031         * include/string.h (__ffs): Declare as hidden.
1032         * string/ffs.c (__ffs): Define as hidden.
1033         * sysdeps/i386/ffs.c (__ffs): Likewise.
1034         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1035         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1036         * sysdeps/s390/ffs.c (__ffs): Likewise.
1037         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1038
1039 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
1040
1041         * NEWS: Mention malloc probes.
1042
1043         * malloc/arena.c (new_heap): New memory_heap_new probe.
1044         (grow_heap): New memory_heap_more probe.
1045         (shrink_heap): New memory_heap_less probe.
1046         (heap_trim): New memory_heap_free probe.
1047         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1048         (systrim): New memory_sbrk_less probe.
1049         * manual/probes.texi: Document them.
1050
1051         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1052         * manual/probes.texi: Document it.
1053
1054         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1055         (__libc_realloc): Add memory_realloc_retry probe.
1056         (__libc_memalign): Add memory_memalign_retry probe.
1057         (__libc_valloc): Add memory_valloc_retry probe.
1058         (__libc_pvalloc): Add memory_pvalloc_retry probe.
1059         (__libc_calloc): Add memory_calloc_retry probe.
1060         * manual/probes.texi: Document them.
1061
1062         * malloc/arena.c (get_free_list): Add probe
1063         memory_arena_reuse_free_list.
1064         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1065         and memory_arena_reuse.
1066         (arena_get2) [!PER_THREAD]: Likewise.
1067         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1068         memory_arena_reuse_realloc.
1069         * manual/probes.texi: Document them.
1070
1071         * malloc/malloc.c (__libc_free): Add
1072         memory_mallopt_free_dyn_thresholds probe.
1073         (__libc_mallopt): Add multiple memory_mallopt probes.
1074         * manual/probes.texi: Document them.
1075
1076         * malloc/malloc.c: Include stap-probe.h.
1077         (__libc_mallopt): Add memory_mallopt probe.
1078         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1079         * manual/probes.texi: New.
1080         * manual/Makefile (chapters): Add probes.
1081         * manual/threads.texi: Set next node.
1082
1083 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
1084
1085         [BZ #15963, #13985]
1086         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1087         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1088         Add `Chinese' to `nan' entry name.
1089
1090 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1091
1092         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1093         (POLYNOMIAL): Likewise.
1094         (TAYLOR_SINCOS): Likewise.
1095         (TAYLOR_SLOW): Likewise.
1096         (__sin): Use TAYLOR_SINCOS.
1097         (__cos): Likewise.
1098         (slow): Use TAYLOR_SLOW.
1099         (sloww): Likewise.
1100         (bsloww): Likewise.
1101         (csloww): Likewise.
1102
1103 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1104
1105         * stdlib/strtod_l.c: Fix buffer overrun.
1106
1107 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1108
1109         * benchtests/Makefile (bench): Add sincos.
1110         * benchtests/bench-sincos.c: New file.
1111
1112         * math/libm-test.inc (cos_test_data): New test inputs.
1113         (sin_test_data): Likewise.
1114
1115         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1116         macro.
1117         (__sin): Use it.
1118         (__cos): Likewise.
1119         (slow1): Likewise.
1120         (slow2): Likewise.
1121         (sloww1): Likewise.
1122         (sloww2): Likewise.
1123         (bsloww1): Likewise.
1124         (bsloww2): Likewise.
1125         (cslow2): Likewise.
1126         (csloww1): Likewise.
1127         (csloww2): Likewise.
1128
1129         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1130         function.
1131         (__sin): Use it.
1132         (__cos): Likewise.
1133
1134         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1135         gotos.
1136         (__cos): Likewise.
1137
1138 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
1139
1140         * config.h.in (HAVE_MIPS_NAN2008): New macro.
1141         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1142         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1143         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1144         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1145         * elf/cache.c (print_entry): Handle the new cache flags.
1146
1147 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1148             Aldy Hernandez  <aldyh@redhat.com>
1149
1150         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1151         Change condition to [_SOFT_FLOAT].
1152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1156         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1157         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1158         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1159         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1160         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1161         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1162         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1163         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1164         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1165         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1166         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1167         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1168         declaration.
1169
1170 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1171
1172         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1173         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1174         (__longjmp): Use LOAD_GP to load saved GPRs.
1175         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1176         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1177         (__sigsetjmp): Use SAVE_GP to save GPRs.
1178
1179         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1180         Do not append -msoft-float.
1181         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1182
1183 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1184
1185         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1186
1187 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
1188
1189         [BZ #15966]
1190         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1191         (_FPU_GETCW): Use initial "__" on variable and field names but not
1192         on macro parameter name.
1193         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
1194         parentheses around reference to macro parameter.
1195
1196 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
1197
1198         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1199         prototype.
1200         (ctype_startup): Use uint32_t in cast and sizeof for
1201         ctype->charnames.
1202
1203 2013-09-11  Jia Liu  <proljc@gmail.com>
1204
1205         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1206         __daddr_t_defined.
1207         [__FreeBSD__]: Likewise.
1208
1209 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
1210
1211         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1212         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1213         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1214         (strchr): Remove __strchr_sse42 ifunc selection.
1215         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1216         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1217
1218 2013-09-11  Will Newton  <will.newton@linaro.org>
1219
1220         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1221         parameter to RES. Remove hardcoded 1000 value.
1222         * benchtests/bench-skeleton.c (main): Pass RES parameter
1223         to TIMING_INIT and multiply result by 1000.
1224
1225 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1226
1227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1228
1229 2013-09-11  Andreas Schwab  <schwab@suse.de>
1230
1231         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1232         if not defined.
1233         (O_TMPFILE) [__USE_GNU]: Define.
1234         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1235         Define.
1236
1237 2013-09-11  Will Newton  <will.newton@linaro.org>
1238
1239         [BZ #15857]
1240         * malloc/malloc.c (__libc_memalign): Check the value of bytes
1241         does not overflow.
1242
1243 2013-09-11  Will Newton  <will.newton@linaro.org>
1244
1245         [BZ #15856]
1246         * malloc/malloc.c (__libc_valloc): Check the value of bytes
1247         does not overflow.
1248
1249 2013-09-11  Will Newton  <will.newton@linaro.org>
1250
1251         [BZ #15855]
1252         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1253         does not overflow.
1254
1255 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
1256
1257         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1258         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1259         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1260         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1261         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1262
1263 2013-09-10  Allan McRae  <allan@archlinux.org>
1264
1265         [BZ #15748]
1266         * manual/arith.texi (Parsing of Floats): Clarify
1267         cross-reference.
1268
1269         [BZ #15849]
1270         * manual/install.texi (Running make install): Mention
1271         --enable-pt-chown.
1272         * INSTALL: Regenerated.
1273
1274 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
1275
1276         * csu/init-first.c (_init): Remove the !SHARED condition around
1277         FPU control word initialization.
1278         * elf/dl-support.c (_dl_fpu_control): New variable.
1279         (_dl_aux_init) <AT_FPUCW>: Initialize it.
1280         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1281         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1282         * math/test-fpucw-static.c: New file.
1283         * math/test-fpucw-ieee.c: New file.
1284         * math/test-fpucw-ieee-static.c: New file.
1285         * math/Makefile (tests): Add `test-fpucw-ieee' and
1286         `$(tests-static)'.
1287         (tests-static): New variable.
1288         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1289         dependency to...
1290         [($(build-shared),yes)]
1291         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1292         ... this.
1293         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1294         New dependency.
1295
1296 2013-09-09  Allan McRae  <allan@archlinux.org>
1297
1298         [BZ #15939]
1299         * manual/string.texi (Collation Functions): Fix typo in
1300         strcoll example.
1301         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1302
1303         [BZ #15893]
1304         * stdlib/isomac.c (get_null_defines): Fix memory leak.
1305
1306         [BZ #15892]
1307         * libio/memstream.c (open_memstream): Fix memory leak.
1308         * libio/wmemstream.c (open_wmemstream): Likewise.
1309
1310         [BZ #15895]
1311         * nscd/netgroupcache.c: Fix nesting of ifdefs.
1312
1313 2013-09-09  Will Newton  <will.newton@linaro.org>
1314
1315         * malloc/Makefile: Add tst-realloc to tests.
1316         * malloc/tst-realloc.c: New file.
1317
1318 2013-09-09  Allan McRae  <allan@archlinux.org>
1319
1320         [BZ #15844]
1321         * COPYING: Update from GNU website to fix FSF address.
1322         * COPYING.LIB: Likewise.
1323
1324 2013-09-06  David S. Miller  <davem@davemloft.net>
1325
1326         * po/zh_TW.po: Update Chinese (traditional) translation from
1327         translation project.
1328
1329 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
1330             Joseph Myers  <joseph@codesourcery.com>
1331
1332         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1333         "localeinfo.h".
1334         (obstack_chunk_alloc): New macro.
1335         (obstack_chunk_free): Likewise.
1336         (record_offset): New function.
1337         (init_locale_data): Likewise.
1338         (align_locale_data): Likewise.
1339         (add_locale_empty): Likewise.
1340         (add_locale_raw_data): Likewise.
1341         (add_locale_raw_obstack): Likewise.
1342         (add_locale_string): Likewise.
1343         (add_locale_wstring): Likewise.
1344         (add_locale_uint32): Likewise.
1345         (add_locale_uint32_array): Likewise.
1346         (add_locale_char): Likewise.
1347         (start_locale_structure): Likewise.
1348         (end_locale_structure): Likewise.
1349         (start_locale_prelude): Likewise.
1350         (end_locale_prelude): Likewise.
1351         (write_locale_data): Take locale_file structure rather than an
1352         iovec.
1353         * locale/programs/locfile.h: Include "obstack.h".
1354         (struct locale_file): Change to store locale file contents instead
1355         of header.
1356         (init_locale_data): New prototype.
1357         (align_locale_data): Likewise.
1358         (add_locale_empty): Likewise.
1359         (add_locale_raw_data): Likewise.
1360         (add_locale_raw_obstack): Likewise.
1361         (add_locale_string): Likewise.
1362         (add_locale_wstring): Likewise.
1363         (add_locale_uint32): Likewise.
1364         (add_locale_uint32_array): Likewise.
1365         (add_locale_char): Likewise.
1366         (start_locale_structure): Likewise.
1367         (end_locale_structure): Likewise.
1368         (start_locale_prelude): Likewise.
1369         (end_locale_prelude): Likewise.
1370         (write_locale_data): Update prototype.
1371         * locale/programs/3level.h (struct TABLE): Remove result field.
1372         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1373         Use new locale_file interface.
1374         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1375         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1376         * locale/programs/ld-address.c (address_output): Use new
1377         locale_file interface.
1378         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1379         NO_ADD_LOCALE.
1380         (collate_finish): Don't call collseq_table_finalize.
1381         (collate_output): Use new locale_file interface.
1382         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1383         in file.
1384         (NO_FINALIZE): Change to NO_ADD_LOCALE.
1385         (TABLE): Move defines earlier in file.
1386         (ELEMENT): Likewise.
1387         (DEFAULT): Likewise.
1388         (wctrans_table_add): Move macro and inline function earlier in
1389         file.
1390         (struct wctype_table): Move type earlier in file.
1391         (add_locale_wctype_table): New static prototype.
1392         (struct locale_ctype_t): Use logical types instead of struct iovec
1393         pointers for members.
1394         (ctype_output): Use new locale_file interface.
1395         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
1396         new locale_file interface.
1397         (allocate_arrays): Update for use of new locale_file interface.
1398         * locale/programs/ld-identification.c (identification_output): Use
1399         new locale_file interface.
1400         * locale/programs/ld-measurement.c (measurement_output): Likewise.
1401         * locale/programs/ld-messages.c (messages_output): Likewise.
1402         * locale/programs/ld-monetary.c (monetary_output): Likewise.
1403         * locale/programs/ld-name.c (name_output): Likewise.
1404         * locale/programs/ld-numeric.c (numeric_output): Likewise.
1405         * locale/programs/ld-paper.c (paper_output): Likewise.
1406         * locale/programs/ld-telephone.c (telephone_output): Likewise.
1407         * locale/programs/ld-time.c (time_output): Likewise.
1408
1409 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1410
1411         * benchtests/Makefile: Add memrchr benchmark.
1412         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1413         benchmark as memrchr.
1414         * benchtests/bench-memrchr-ifunc.c: New file.
1415         * benchtests/bench-memrchr.c: New file.
1416
1417 2013-09-06   Will Newton  <will.newton@linaro.org>
1418
1419         * benchtests/Makefile (string-bench): Add memcpy.
1420
1421 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
1422             Cong Wang  <amwang@redhat.com>
1423
1424         * sysdeps/unix/sysv/linux/bits/in.h
1425         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1426         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1427         before __USE_KERNEL_IPV6_DEFS uses.
1428         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1429         IPPROTO_BEETPH.
1430         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1431         sockaddr_in6, or ipv6_mreq.
1432
1433 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1434
1435         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1436         memory access for final bytes in some large inputs.
1437         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1438
1439 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1440
1441         * string/test-memrchr.c: New file.
1442         * string/test-memrchr-ifunc.c: New file.
1443         * string/Makefile: Add new memrchr testcase.
1444
1445 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
1446
1447         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1448         fanotify_init returns EPERM.
1449
1450 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
1451
1452         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1453         errors.
1454         (top level): Treat second token from macro or constant entries for
1455         allowed headers as allowed.
1456         * include/complex.h: Condition internal declarations on
1457         [!_ISOMAC].
1458         * include/fenv.h: Condition include of <stdbool.h> and internal
1459         declarations on [!_ISOMAC].
1460
1461 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
1462
1463         [BZ #15923]
1464         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1465
1466 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
1467
1468         * configure.in (--enable-versioning): Remove configure option.
1469         (libc_cv_asm_symver_directive): Remove configure test.
1470         (libc_cv_ld_version_script_option): Likewise.
1471         (VERSIONING): Remove variable and AC_SUBST.
1472         (DO_VERSIONING): Remove AC_DEFINE.
1473         * configure: Regenerated.
1474         * config.h.in (DO_VERSIONING): Remove macro.
1475         * Makerules [$(versioning) = yes]: Change conditionals to
1476         [$(build-shared) = yes].
1477         * config.make.in (versioning): Remove variable.
1478         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1479         [$(build-shared) = yes].
1480         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1481         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1482         * elf/Makefile [$(versioning) = yes]: Change conditionals to
1483         [$(build-shared) = yes].
1484         * extra-lib.mk [$(versioning) = yes]: Likewise.
1485         * hurd/Makefile [$(versioning) = yes]: Likewise.
1486         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1487         [SHARED].
1488         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1489         [SHARED].
1490         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1491         [SHARED && !NO_HIDDEN].
1492         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1493         [SHARED].
1494         [SHARED && DO_VERSIONING]: Likewise..
1495         * libio/Makefile [$(versioning) = yes]: Change conditionals to
1496         [$(build-shared) = yes].
1497         * manual/install.texi (--disable-versioning): Remove
1498         documentation.
1499         * INSTALL: Regenerated.
1500         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1501         to [SHARED].
1502         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1503         [$(build-shared) = yes].
1504         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1505         * sysdeps/i386/i686/multiarch/strstr-c.c
1506         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1507         [SHARED && !NO_HIDDEN].
1508         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1509         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1510         * sysdeps/powerpc/powerpc32/dl-machine.c
1511         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1512         * sysdeps/powerpc/powerpc32/sysdep.h
1513         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1514         to [SHARED && PIC && !NO_HIDDEN].
1515         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1516         conditional to [SHARED].
1517
1518 2013-09-04   Will Newton  <will.newton@linaro.org>
1519
1520         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1521         * benchtests/bench-string.h: Include bench-timing.h instead
1522         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1523         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1524         call to HP_TIMING_DIFF_INIT.
1525         * benchtests/bench-memccpy.c: Use bench-timing.h macros
1526         instead of hp-timing.h macros.
1527         * benchtests/bench-memchr.c: Likewise.
1528         * benchtests/bench-memcmp.c: Likewise.
1529         * benchtests/bench-memcpy.c: Likewise.
1530         * benchtests/bench-memmem.c: Likewise.
1531         * benchtests/bench-memmove.c: Likewise.
1532         * benchtests/bench-memset.c: Likewise.
1533         * benchtests/bench-rawmemchr.c: Likewise.
1534         * benchtests/bench-strcasecmp.c: Likewise.
1535         * benchtests/bench-strcasestr.c: Likewise.
1536         * benchtests/bench-strcat.c: Likewise.
1537         * benchtests/bench-strchr.c: Likewise.
1538         * benchtests/bench-strcmp.c: Likewise.
1539         * benchtests/bench-strcpy.c: Likewise.
1540         * benchtests/bench-strcpy_chk.c: Likewise.
1541         * benchtests/bench-strlen.c: Likewise.
1542         * benchtests/bench-strncasecmp.c: Likewise.
1543         * benchtests/bench-strncat.c: Likewise.
1544         * benchtests/bench-strncmp.c: Likewise.
1545         * benchtests/bench-strncpy.c: Likewise.
1546         * benchtests/bench-strnlen.c: Likewise.
1547         * benchtests/bench-strpbrk.c: Likewise.
1548         * benchtests/bench-strrchr.c: Likewise.
1549         * benchtests/bench-strspn.c: Likewise.
1550         * benchtests/bench-strstr.c: Likewise.
1551
1552 2013-09-04  Will Newton  <will.newton@linaro.org>
1553
1554         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1555
1556 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
1557
1558         [BZ #15427]
1559         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1560         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1561         * math/libm-test.inc (lgamma_test_data): Add more tests.
1562         * sysdeps/i386/fpu/libm-test-ulps: Update.
1563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1564
1565 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
1566
1567         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1568         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1569         Add ifunc.
1570         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1571         Add strcmp-sse2-unaligned
1572         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1573
1574 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1575
1576         * Versions.def (libc): Add GLIBC_2.19.
1577
1578 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1579
1580         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1581         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1582
1583 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
1584
1585         [BZ #14155]
1586         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1587         intermediate calculations in recurrence.
1588         (__ieee754_ynf): Likewise.
1589         * math/libm-test.inc (jn_test_data): Do not allow spurious
1590         underflow exception.  Add more tests.
1591         (yn_test_data): Add more tests.
1592         * sysdeps/i386/fpu/libm-test-ulps: Update.
1593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1594
1595 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
1596
1597         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1598
1599 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
1600
1601         * csu/init-first.c: Fix then/than typos.
1602         * locale/programs/ld-collate.c: Likewise.
1603         * locale/programs/linereader.h: Likewise.
1604         * manual/charset.texi: Likewise.
1605         * manual/filesys.texi: Likewise.
1606         * manual/stdio.texi: Likewise.
1607         * manual/string.texi: Likewise.
1608         * stdlib/fmtmsg.c: Likewise.
1609         * sysdeps/i386/stpncpy.S: Likewise.
1610         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1611         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1612         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1613         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1614
1615 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
1616
1617         * elf/dl-open.c: Fix typos.
1618         * iconvdata/gbbig5.c: Likewise.
1619         * iconvdata/iso-2022-jp.c: Likewise.
1620         * iconv/gconv_int.h: Likewise.
1621         * iconv/loop.c: Likewise.
1622         * nis/rpcsvc/nis.h: Likewise.
1623         * resolv/ns_name.c: Likewise.
1624         * stdio-common/vfscanf.c: Likewise.
1625         * streams/stropts.h: Likewise.
1626         * sunrpc/rpc_thread.c: Likewise.
1627         * sysdeps/i386/strpbrk.S: Likewise.
1628         * sysdeps/ieee754/k_standard.c: Likewise.
1629         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1630         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1631         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1632         * sysdeps/mach/hurd/profil.c: Likewise.
1633         * sysdeps/s390/dl-procinfo.h: Likewise.
1634         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1635         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1636         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1637         * sysdeps/x86_64/dl-trampoline.S: Likewise.
1638         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1639
1640 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
1641
1642         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1643         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1644
1645 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
1646
1647         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1648         aix specific files.
1649         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1650         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1651         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1652         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1653         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1654         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1655         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1656         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1657
1658 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
1659             Roland McGrath  <roland@hack.frob.com>
1660
1661         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1662         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1663
1664 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1665
1666         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1667         __executable_start symbol instead of _start.
1668
1669 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
1670
1671         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1672         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1673         Move macros to...
1674         * sysdeps/gnu/ldsodefs.h: ... this new file.
1675
1676         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1677         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1678         instead of ELFOSABI_LINUX.
1679
1680         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1681         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1682         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1683         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1684         Likewise.
1685         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1686         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1687         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1688         Likewise.
1689         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1690         (ibm_extended_long_double): Add ieee_nan member.
1691         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1692         (do_test): New function.
1693
1694         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1695         TEST_TRUNC.
1696         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1697         functions, renamed from truncdfsf_test, trunctfsf_test,
1698         trunctfdf_test.
1699         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1700         functions.
1701         (do_test): Run all these.
1702
1703 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
1704
1705         * argp/argp-help.c: Fix typos.
1706         * argp/argp-parse.c: Likewise.
1707         * debug/backtracesyms.c: Likewise.
1708         * elf/elf.h: Likewise.
1709         * malloc/malloc.c: Likewise.
1710         * nis/nis_print.c: Likewise.
1711         * resolv/res_comp.c: Likewise.
1712         * stdlib/stdlib.h: Likewise.
1713         * sunrpc/clnt_tcp.c: Likewise.
1714         * sunrpc/clnt_udp.c: Likewise.
1715         * sunrpc/clnt_unix.c: Likewise.
1716         * sysdeps/unix/bsd/ptsname.c: Likewise.
1717         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1718         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1720         Likewise.
1721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1722         Likewise.
1723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1724         Likewise.
1725         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1726
1727 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1728
1729         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1730         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1731
1732 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
1733
1734         [BZ #15897]
1735         * dlfcn/Makefile (tests): Add bug-dl-leaf.
1736         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1737         ($(objpfx)bug-dl-leaf): New rule.
1738         ($(objpfx)bug-dl-leaf.so): Likewise.
1739         ($(objpfx)bug-dl-leaf.out): Likewise.
1740         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1741         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1742         * dlfcn/bug-dl-leaf.c: New test.
1743         * dlfcn/bug-dl-leaf-lib.c: Likewise.
1744         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1745         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1746         (dlclose): Likewise.
1747         (dlmopen): Likewise.
1748
1749 2013-08-27  Roland McGrath  <roland@hack.frob.com>
1750
1751         * include/netdb.h [!_ISOMAC]:
1752         Don't include <tls.h>.
1753         (h_errno, __libc_h_errno): Move declaration and macros out of
1754         [_LIBC_REENTRANT].
1755
1756         * include/resolv.h [_RESOLV_H_]:
1757         Don't include <tls.h>.
1758         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1759         * resolv/res_libc.c: Don't include <tls.h>.
1760         (_res): Use __attribute__ ((nocommon)) in place of
1761         __attribute__ ((section (".bss"))).
1762
1763         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1764         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1765
1766         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1767
1768         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1769         only under [SIOCGIFCONF && SIOCGIFNETMASK].
1770
1771         * resolv/res_mkquery.c: Include <sys/time.h>.
1772
1773         * inet/ifreq.c: Moved to ...
1774         * sysdeps/unix/ifreq.c: ... here.
1775         * inet/ifreq.c: New file, true stub version.
1776
1777         * socket/sa_len.c: New file.
1778         * socket/Makefile (aux): Add it.
1779         * sysdeps/unix/sysv/linux/Makefile
1780         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1781         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1782         and #include <socket/sa_len.c>.
1783         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1784         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1785
1786         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1787         * bits/socket.h: ... here.
1788
1789         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1790         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1791         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1792
1793 2013-08-27  Andreas Schwab  <schwab@suse.de>
1794
1795         [BZ #15736]
1796         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1797         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1798         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1799         * string/test-strcasecmp.c (test_main): Run tests in several
1800         locales.
1801         * string/test-strncasecmp.c (test_main): Likewise.
1802
1803         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1804         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1805         to __strcasecmp_nonascii and __strncasecmp_nonascii.
1806         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1807         (__strncasecmp_ssse3) [PIC]: Likewise.
1808
1809 2013-08-26  Roland McGrath  <roland@hack.frob.com>
1810
1811         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1812
1813         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1814         instead of explicitly declaring xdecrypt.
1815         * nis/nss_nis/nis-publickey.c: Likewise.
1816
1817 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1818
1819         [BZ #15890]
1820         * nscd/aicache.c: Include res_hconf.h.
1821         (addhstaiX): Initialize res_hconf.
1822
1823 2013-08-26  Andreas Schwab  <schwab@suse.de>
1824
1825         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1826         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1827
1828 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1829
1830         * nscd/aicache.c (addhstaiX): Fix indentation.
1831
1832 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
1833
1834         * configure.ac: Quote $build_pt_chown test.
1835         * configure: Regenerated.
1836
1837 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
1838
1839         [BZ #15532]
1840         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1841         * math/s_cexpf.c (__cexpf): Likewise.
1842         * math/s_cexpl.c (__cexpl): Likewise.
1843         * math/libm-test.inc (cexp_test_data): Correct expected return
1844         value for NaN + i0.  Add another test.
1845
1846 2013-08-22  David S. Miller  <davem@davemloft.net>
1847
1848         * po/ca.po: Update Catalan translation from translation project.
1849         * po/uk.po: Add Ukrainian translations from translation project.
1850
1851 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
1852
1853         [BZ #15797]
1854         * math/s_fdim.c (__fdim): Check for infinite arguments if result
1855         is infinite, not alongside NaN test.
1856         * math/s_fdimf.c (__fdimf): Likewise.
1857         * math/s_fdiml.c (__fdiml): Likewise.
1858         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
1859         errno is unchanged.
1860
1861 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
1862
1863         * argp/argp-help.c: Fix typos.
1864         * crypt/speeds.c: Likewise.
1865         * csu/check_fds.c: Likewise.
1866         * elf/dl-load.c: Likewise.
1867         * elf/dl-open.c: Likewise.
1868         * elf/reldep3.c: Likewise.
1869         * elf/reldep.c: Likewise.
1870         * elf/sprof.c: Likewise.
1871         * iconv/iconv_charmap.c: Likewise.
1872         * iconv/skeleton.c: Likewise.
1873         * iconv/strtab.c: Likewise.
1874         * io/lockf64.c: Likewise.
1875         * libio/libioP.h: Likewise.
1876         * resolv/gai_notify.c: Likewise.
1877         * resolv/ns_name.c: Likewise.
1878         * resolv/ns_samedomain.c: Likewise.
1879         * resolv/res_send.c: Likewise.
1880         * stdlib/random.c: Likewise.
1881         * sunrpc/rpc/xdr.h: Likewise.
1882         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1883         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1884         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1885         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1886         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1887         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1888         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1889         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1890         * sysdeps/mach/hurd/check_fds.c: Likewise.
1891         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1892         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1893         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1894         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1895         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1896         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1897         * sysdeps/pthread/aio_notify.c: Likewise.
1898         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1899         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1900         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1901         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1902         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1903
1904 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1905
1906         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1907         version if bit_Slow_SSE4_2 is set.
1908         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1909         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1910
1911 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1912
1913         [BZ #15867]
1914         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1915         trampoline stack frame information.
1916         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1917         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1918         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1919         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1920         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1921         * sysdeps/unix/sysv/linux/powerpc/init-first.c
1922         (_libc_vdso_platform_setup): Initialize the signal trampolines.
1923         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1924         sa_flags value.
1925         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1926         interrupting a syscall and set with option SA_SIGINFO.
1927
1928 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1929
1930         [BZ #15531]
1931         * math/s_cproj.c (__cproj): Only return an infinity if one part of
1932         argument is infinite.
1933         * math/s_cprojf.c (__cprojf): Likewise.
1934         * math/s_cprojl.c (__cprojl): Likewise.
1935         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1936         * math/libm-test.inc (cproj_test_data): Add more tests.
1937
1938         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1939
1940         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1941         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1942         size.  Use __ffs to determine corresponding shift.
1943
1944 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1945             Roland McGrath  <roland@hack.frob.com>
1946
1947         * Makefile (INSTALL): Remove trailing blank lines from output of
1948         makeinfo.
1949
1950 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1951
1952         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1953         Align 32 bit compat elf_greg to 8 bytes.
1954
1955 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1956
1957         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1958
1959 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1960
1961         * string/strcoll_l.c (coll_seq): New structure.
1962         (get_next_seq_cached): New function.
1963         (get_next_seq): New function.
1964         (do_compare): New function.
1965         (STRCOLL): Use GNU style definition.  Simplify implementation
1966         by using get_next_seq, get_next_seq_cached and do_compare.
1967
1968 2013-08-16  Florian Weimer  <fweimer@redhat.com>
1969
1970         [BZ #14699]
1971         CVE-2013-4237
1972         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1973         member.
1974         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1975         member.
1976         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1977         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1978         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
1979         conditional.
1980         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1981         GETDENTS_64BIT_ALIGNED.
1982         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1983         * manual/filesys.texi (Reading/Closing Directory): Document
1984         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
1985         strongly.
1986         * manual/conf.texi (Limits for Files): Add portability note to
1987         NAME_MAX, PATH_MAX.
1988         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1989
1990 2013-08-13  Andreas Schwab  <schwab@suse.de>
1991
1992         [BZ #15749]
1993         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1994         of fabs.
1995         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1996         LDBL_MAX_EXP >= 16384]: Add tests for it.
1997
1998 2013-08-12  David S. Miller  <davem@davemloft.net>
1999
2000         * version.h (RELEASE): Set to "development".
2001         (VERSION): Set to "2.18.90".
2002         * NEWS: Add 2.19 section.
2003
2004 2013-08-03  David S. Miller  <davem@davemloft.net>
2005
2006         * po/ko.po: Update Korean translation from translation project.
2007
2008 2013-08-01  David S. Miller  <davem@davemloft.net>
2009
2010         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
2011         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2012         Bilka.
2013
2014 2013-07-30  David S. Miller  <davem@davemloft.net>
2015
2016         * po/fr.po: Update French translation from translation project.
2017
2018 2013-07-28  David S. Miller  <davem@davemloft.net>
2019
2020         * po/cs.po: Update Czech translation from translation project.
2021
2022         * po/sv.po: Update Swedish translation from translation project.
2023
2024 2013-07-27  David S. Miller  <davem@davemloft.net>
2025
2026         * po/eo.po: Update Esperanto translation from translation project.
2027
2028         * po/vi.po: Update Vietnamese translation from translation project.
2029
2030         * po/de.po: Update German translation from translation project.
2031
2032 2013-07-26  David S. Miller  <davem@davemloft.net>
2033
2034         * po/bg.po: Update Bulgarian translation from translation project.
2035
2036         * po/nl.po: Update Dutch translation from translation project.
2037         * po/pl.po: Update Polish translation from translation project.
2038         * po/ru.po: Update Russian translation from translation project.
2039
2040 2013-07-24  David S. Miller  <davem@davemloft.net>
2041
2042         * po/libc.pot: Update.
2043
2044 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2045
2046         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2047         variable page size.
2048         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2049         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2050         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2051
2052 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2053
2054         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2055
2056 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2057             Andreas Schwab  <schwab@suse.de>
2058             Roland McGrath  <roland@hack.frob.com>
2059             Joseph Myers  <joseph@codesourcery.com>
2060             Carlos O'Donell  <carlos@redhat.com>
2061
2062         [BZ #15755]
2063         * config.h.in: Define HAVE_PT_CHOWN.
2064         * config.make.in (build-pt-chown): New variable.
2065         * configure.in (--enable-pt_chown): New configure option.
2066         * configure: Regenerate.
2067         * login/Makefile: Include Makeconfig.  Build pt_chown only if
2068         build-pt-chown is enabled.
2069         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2070         pt_chown to fix pty ownership.
2071         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2072         CLOSE_ALL_FDS.
2073         * manual/install.texi (Configuring and compiling): Mention
2074         --enable-pt_chown. Add @findex for grantpt.
2075         * INSTALL: Regenerate.
2076
2077 2013-07-20  David S. Miller  <davem@davemloft.net>
2078
2079         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2080         difference between 32-bit and 64-bit.
2081
2082 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
2083
2084         [BZ #15711]
2085         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2086         Avoid system header dependency with -ffreestanding.
2087         ($(objpfx)bits/syscall%d): Likewise.
2088
2089 2013-07-13  David S. Miller  <davem@davemloft.net>
2090
2091         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2092         underflows from atanl/atan2l due to bug 15319.
2093         (casinh_test_data): Likewise.
2094
2095 2013-07-07  David S. Miller  <davem@davemloft.net>
2096
2097         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2098
2099 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
2100
2101         * sysdeps/i386/fpu/libm-test-ulps: Update.
2102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2103
2104 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2105
2106         * configure.in (--enable-lock-elision): Fix message text.
2107         * INSTALL: Regenerate.
2108         * configure: Regenerate.
2109
2110 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2111
2112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2113
2114 2013-07-03  Andreas Jaeger  <aj@suse.de>
2115
2116         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2117         define.
2118         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2119         (ptrace_peeksiginfo_args): Add.
2120         (__ptrace_peeksiginfo_flags): Add.
2121         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2122         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2123         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2124
2125 2013-07-03  Allan McRae  <allan@archlinux.org>
2126
2127         * sysdeps/i386/fpu/libm-test-ulps: Update.
2128
2129 2013-07-02  David S. Miller  <davem@davemloft.net>
2130
2131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2132
2133 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
2134
2135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2136
2137 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2138
2139         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2141
2142 2013-07-02  Andi Kleen <ak@linux.intel.com>
2143
2144         * config.h.in (ENABLE_LOCK_ELISION): Add.
2145         * configure.in (--enable-lock-elision): Add option.
2146         * manual/install.texi: Document --enable lock elision.
2147         * configure: Regenerate
2148         * INSTALL: Regenerate.
2149
2150 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
2151
2152         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2153         SSE4.2 strcasecmp for libc.a.
2154         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2155
2156 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2157
2158         [BZ #13304]
2159         * soft-fp/op-common.h (_FP_FMA): New macro.
2160         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2161         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
2162         (_FP_MUL_MEAT_1_imm): ... here.
2163         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
2164         (_FP_MUL_MEAT_1_wide): ... here.
2165         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
2166         (_FP_MUL_MEAT_1_hard): ... here.
2167         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2168         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
2169         (_FP_MUL_MEAT_2_wide): ... here.
2170         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
2171         (_FP_MUL_MEAT_2_wide_3mul): ... here.
2172         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
2173         (_FP_MUL_MEAT_2_gmp): ... here.
2174         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2175         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
2176         (_FP_MUL_MEAT_4_wide): ... here.
2177         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
2178         (_FP_MUL_MEAT_4_gmp): ... here.
2179         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2180         (_FP_WFRACBITS_DW_S): Likewise.
2181         (_FP_WFRACXBITS_DW_S): Likewise.
2182         (_FP_HIGHBIT_DW_S): Likewise.
2183         (FP_FMA_S): Likewise.
2184         (_FP_FRAC_HIGH_DW_S): Likewise.
2185         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2186         (_FP_WFRACBITS_DW_D): Likewise.
2187         (_FP_WFRACXBITS_DW_D): Likewise.
2188         (_FP_HIGHBIT_DW_D): Likewise.
2189         (FP_FMA_D): Likewise.
2190         (_FP_FRAC_HIGH_DW_D): Likewise.
2191         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2192         (_FP_WFRACBITS_DW_E): Likewise.
2193         (_FP_WFRACXBITS_DW_E): Likewise.
2194         (_FP_HIGHBIT_DW_E): Likewise.
2195         (FP_FMA_E): Likewise.
2196         (_FP_FRAC_HIGH_DW_E): Likewise.
2197         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2198         (_FP_WFRACBITS_DW_Q): Likewise.
2199         (_FP_WFRACXBITS_DW_Q): Likewise.
2200         (_FP_HIGHBIT_DW_Q): Likewise.
2201         (FP_FMA_Q): Likewise.
2202         (_FP_FRAC_HIGH_DW_Q): Likewise.
2203         * soft-fp/fmasf4.c: New file.
2204         * soft-fp/fmadf4.c: Likewise.
2205         * soft-fp/fmatf4.c: Likewise.
2206
2207 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2208
2209         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2210         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2211         Silvermont.
2212         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2213         macro.
2214         (index_Slow_SSE4_2): Likewise.
2215         (index_Prefer_PMINUB_for_stringop): Likewise.
2216         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2217         bit_Slow_SSE4_2 is set.
2218         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2219         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2220
2221 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2222
2223         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2224         rtld_global._dl_hwcap2.
2225         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2226         POWER8.
2227         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2228         POWER8 feature descriptions defined in _dl_hwcap2.
2229         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2230         string handling for POWER8 feature bits.
2231         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2232         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2233         _dl_powerpc_cap_flags.
2234         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2235         * sysdeps/powerpc/rtld-global-offsets.sym
2236         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2237         _dl_hwcap2 in the rtld_global_ro structure.
2238
2239 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2240
2241         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2242         hardware capabilities in support of AT_HWCAP2.
2243         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2244         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2245         GLRO(dl_hwcap2).
2246         (_dl_show_auxv): Add support for calling _dl_procinfo to display
2247         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
2248         explicitly the unknown a_type display mechanism is used.
2249         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2250         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2251         struct member.
2252         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2253         to macro prototype for AT_HWCAP2 support.
2254         * sysdeps/i386/dl-procinfo.h: Likewise.
2255         * sysdeps/s390/dl-procinfo.h: Likewise.
2256         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2257         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
2258         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
2259         return -1 for unknown a_type display fallback.
2260         * sysdeps/sparc/dl-procinfo.h: Likewise.
2261         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2262         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2263
2264 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
2265
2266         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2267         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2268
2269 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
2270
2271         [BZ #12492]
2272         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2273         mprotect making __stack_prot writable.
2274
2275 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
2276             Joseph Myers  <joseph@codesourcery.com>
2277
2278         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2279         as being properly aligned.
2280
2281 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
2282
2283         * dlfcn/modstatic5.c: New file.
2284         * dlfcn/tststatic5.c: New file.
2285         * dlfcn/Makefile (tests): Add tststatic5.
2286         (tests-static): Likewise.
2287         (modules-names): Add modstatic5.
2288         (tststatic5-ENV): New variable.
2289         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2290
2291         [BZ #15022]
2292         * elf/dl-support.c (_dl_main_map): New variable.
2293         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2294         (_dl_nns, _dl_load_adds): Set to 1.
2295         (_dl_initial_searchlist): Refer to _dl_main_map.
2296         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2297         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2298         call to _dl_get_origin.
2299         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2300         around call_map.
2301         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2302         * dlfcn/modstatic3.c: New file.
2303         * dlfcn/tststatic3.c: New file.
2304         * dlfcn/tststatic4.c: New file.
2305         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2306         (tests-static): Likewise.
2307         (modules-names): Add modstatic3.
2308         (tststatic3-ENV, tststatic4-ENV): New variables.
2309         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2310         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2311
2312 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
2313
2314         * configure.in (CC): Require GCC version 4.4 or later.
2315         * configure: Regenerated.
2316         * manual/install.texi (Tools for Compilation): Update GCC version
2317         requirement.
2318         * INSTALL: Regenerated.
2319
2320 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2321
2322         [BZ #15674]
2323         * string/test-memcmp.c (check2): New.
2324         (main): Call check2.
2325
2326         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2327
2328 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
2329
2330         [BZ #15022]
2331         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2332         over to...
2333         (dl_open_worker) [!SHARED]: ... here.
2334
2335 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2336
2337         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2338
2339 2013-06-25  Richard Henderson  <rth@redhat.com>
2340
2341         * locale/programs/locarchive.c: Include <libc-internal.h>
2342
2343 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
2344
2345         * manual/texinfo.tex: Update to version 2013-06-21.17, with
2346         trailing whitespace removed.
2347
2348 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2349
2350         [BZ #10283]
2351         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2352         * locale/programs/locarchive.c: Include libc-mmap.h.
2353         (prepare_address_space): Take two new outputs (the mmap base and len).
2354         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
2355         values.
2356         (create_archive): Declare new mmap base and len values for
2357         prepare_address_space, and store the result in ah.
2358         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2359         (enlarge_archive): If ah->mmap_base is not NULL, use that and
2360         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2361         Declare new mmap base and len values for
2362         prepare_address_space, and store the result in new_ah.
2363         (open_archive): Declare new mmap base and len values for
2364         prepare_address_space, and store the result in ah.
2365         (close_archive): If ah->mmap_base is not NULL, use that and
2366         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2367         * sysdeps/generic/libc-mmap.h: New file.
2368
2369 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2370
2371         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2372         (ALIGN_UP): Likewise.
2373         (PTR_ALIGN_DOWN): Likewise.
2374         (PTR_ALIGN_UP): Likewise.
2375
2376 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2377
2378         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2379         entry mapped to PPC_PLATFORM_POWER8.
2380         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2381         POWER8.
2382         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2383         (_dl_string_platform): Add case for exporting platform position for
2384         POWER8.
2385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2386         search path to sysdeps/powerpc/powerpc32/power8 directory.
2387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2388         search path to sysdeps/powerpc/powerpc64/power8 directory.
2389         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2390         power7 directories.
2391         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2392         power7 directories.
2393
2394 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2395
2396         * INSTALL: Regenerate.
2397
2398         * nscd/connections.c (nscd_init): Fix comment.
2399
2400 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
2401
2402         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2403
2404         [BZ #15667]
2405         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2406         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2407
2408 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
2409
2410         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2411         DL_DST_REQ_STATIC.
2412         (DL_DST_REQ_STATIC): Remove macro.
2413
2414 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
2415
2416         [BZ #7006]
2417         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2418         with a shift of 0 bits.
2419
2420 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
2421
2422         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2423         $(tststatic-ENV).
2424
2425 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2426
2427         [BZ #15655]
2428         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2429
2430 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2431
2432         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2433         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2434         accepts -fno-tree-loop-distribute-patterns.
2435         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2436         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2437         recursive call.
2438         * string/memset.c (memset): Likewise.
2439         * string/test-memmove.c (simple_memmove): Disable loop transformation
2440         to library calls.
2441         * string/test-memset.c (simple_memset): Likewise.
2442         * benchtests/bench-memmove.c (simple_memmove): Likewise.
2443         * benchtests/bench-memset.c (simple_memset): Likewise.
2444         * configure: Regenerated.
2445
2446 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
2447
2448         * math/test-misc.c (main): Ignore fesetround failure when failures
2449         of subsequent rounding tests would be ignored.
2450
2451         [BZ #15654]
2452         * math/fedisblxcpt.c (fedisableexcept): Return 0.
2453         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2454         * math/fegetenv.c (__fegetenv): Return 0.
2455         * math/fegetexcept.c (fegetexcept): Return 0.
2456         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2457         FE_TONEAREST.
2458         * math/feholdexcpt.c (feholdexcept): Return 0.
2459         * math/fesetenv.c (__fesetenv): Return 0.
2460         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2461         argument FE_TONEAREST.
2462         * math/feupdateenv.c (__feupdateenv): Return 0.
2463         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2464
2465 2013-06-18  Roland McGrath  <roland@hack.frob.com>
2466
2467         * elf/rtld-Rules (rtld-compile-command.S): New variable.
2468         (rtld-compile-command.s, rtld-compile-command.c): New variables.
2469         ($(objpfx)rtld-%.os rules): Use them.
2470
2471 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2472
2473         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2474         fields.
2475
2476 2013-06-17  Roland McGrath  <roland@hack.frob.com>
2477
2478         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2479         length of target pattern, then descending length of dependency pattern.
2480         * configure.in (AWK): Require gawk 3.1.2 or newer.
2481         * manual/install.texi (Tools for Compilation): Say that we do.
2482         * configure: Regenerated.
2483
2484         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2485         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2486         * scripts/sysd-rules.awk: ... this new script.
2487         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2488         than a glob-style pattern.
2489
2490 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
2491
2492         * math/test-misc.c (main): Do not treat incorrectly rounded
2493         conversions as failure unless ROUNDING_TESTS passes.
2494
2495 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
2496
2497         [BZ #15631]
2498         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2499         restore exception state around main square root computation, then
2500         check for inexactness explicitly.
2501
2502         * math/libm-test.inc (fma_test_data): Add another test.
2503
2504 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2505
2506         * manual/threads.texi (Non-POSIX Extensions): New document
2507         node.  Document pthread_getattr_default_np and
2508         pthread_setattr_default_np.
2509
2510         * Versions.def (libpthread): Add GLIBC_2.18.
2511         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2513         Likewise.
2514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2515         Likewise.
2516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2517         Likewise.
2518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2519         Likewise.
2520         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2521         Likewise.
2522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2523         Likewise.
2524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2525         Likewise.
2526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2527         Likewise.
2528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2529         Likewise.
2530
2531 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2532
2533         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2534         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2535
2536 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2537             H.J. Lu  <hjl.tools@gmail.com>
2538
2539         [BZ #15627]
2540         * sysdeps/x86_64/rtld-memset.c: Remove file.
2541         * sysdeps/x86_64/rtld-memset.S: New file.
2542
2543 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
2544
2545         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2546         (test_in_one_mode): Take arguments for whether the rounding mode
2547         is supported for each floating-point type.
2548         (do_test): Pass new arguments to test_in_one_mode using
2549         ROUNDING_TESTS.
2550
2551 2013-06-13  Roland McGrath  <roland@hack.frob.com>
2552
2553         * posix/tst-waitid.c (do_test): Distinguish different instances of
2554         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
2555         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2556         before entering the kernel for waitpid.
2557
2558 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2559
2560         * NEWS: Fix note on clock function precision.  Text by Roland
2561         McGrath.
2562
2563 2013-06-13  Roland McGrath  <roland@hack.frob.com>
2564
2565         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2566         it into place only when and if the sanity check passes.
2567
2568 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
2569
2570         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2571         output for whether conversion result is exact.  Take argument
2572         indicating whether type is IBM long double.
2573         (round_for_all): Change need_exact field to ibm_ld.
2574         * stdlib/tst-strtod-round.c (struct exactness): New type.
2575         (struct test): Change bool ld_ok field to struct exactness exact.
2576         (TEST): Update all definitions for change to field.
2577         (tests): Regenerate array contents.
2578         (test_in_one_mode): Take pointer to new field instead of old ld_ok
2579         field value.  Check for IBM long double here.
2580         (do_test): Update calls to test_in_one_mode.
2581
2582 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2583
2584         [BZ #12515]
2585         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2586         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2587
2588 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2589
2590         [BZ #15605]
2591         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2592         generated by the compiler on loop optimizations.
2593         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2594         general definitions.
2595
2596 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
2597
2598         * math/bug-nextafter.c: Include <math-tests.h>.
2599         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2600         the relevant type.
2601         * math/bug-nexttoward.c: Include <math-tests.h>.
2602         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2603         the relevant type.
2604         * math/test-misc.c: Include <math-tests.h>.
2605         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2606         the relevant type.
2607
2608 2013-06-12  Andreas Jaeger  <aj@suse.de>
2609
2610         * po/ia.po: Update Interlingua translation from translation
2611         project.
2612
2613 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2614
2615         * include/fenv.h: Include stdbool.h.
2616         (struct rm_ctx): New structure.
2617         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2618         Define macro.
2619         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2620         (SET_RESTORE_ROUNDF): Likewise.
2621         (SET_RESTORE_ROUNDL): Likewise.
2622         (SET_RESTORE_ROUND_NOEX): Likewise.
2623         (SET_RESTORE_ROUND_NOEXF): Likewise.
2624         (SET_RESTORE_ROUND_NOEXL): Likewise.
2625         (SET_RESTORE_ROUND_53BIT): Likewise.
2626         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2627         (libc_feresetround_noexf_ctx): Likewise.
2628         (libc_feresetround_noexl_ctx): Likewise.
2629         (libc_feholdsetround_53bit_ctx): Likewise.
2630         (libc_feresetround_53bit_ctx): Likewise.
2631         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2632         (libc_feholdexcept_setround_sse_ctx): New function.
2633         (libc_fesetenv_sse_ctx): Likewise.
2634         (libc_feupdateenv_sse_ctx): Likewise.
2635         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2636         (libc_feholdexcept_setround_387_ctx): Likewise.
2637         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2638         (libc_feholdsetround_387_prec_ctx): Likewise.
2639         (libc_feholdsetround_387_ctx): Likewise.
2640         (libc_feholdsetround_387_53bit_ctx): Likewise.
2641         (libc_feholdsetround_sse_ctx): Likewise.
2642         (libc_feresetround_sse_ctx): Likewise.
2643         (libc_feresetround_387_ctx): Likewise.
2644         (libc_feupdateenv_387_ctx): Likewise.
2645         (libc_feholdexcept_setroundf_ctx): Define macro.
2646         (libc_fesetenvf_ctx): Likewise.
2647         (libc_feupdateenvf_ctx): Likewise.
2648         (libc_feholdsetroundf_ctx): Likewise.
2649         (libc_feresetroundf_ctx): Likewise.
2650         (libc_feholdexcept_setround_ctx): Likewise.
2651         (libc_fesetenv_ctx): Likewise.
2652         (libc_feupdateenv_ctx): Likewise.
2653         (libc_feholdsetround_ctx): Likewise.
2654         (libc_feresetround_ctx): Likewise.
2655         (libc_feholdexcept_setroundl_ctx): Likewise.
2656         (libc_feupdateenvl_ctx): Likewise.
2657         (libc_feholdsetroundl_ctx): Likewise.
2658         (libc_feresetroundl_ctx): Likewise.
2659         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2660         (libc_feresetround_53bit_ctx): Likewise.
2661
2662 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2663
2664         * locale/iso-639.def: Convert to UTF-8.
2665
2666 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
2667
2668         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2669         (EXCEPTION_TESTS_double): Likewise.
2670         (EXCEPTION_TESTS_long_double): Likewise.
2671         (EXCEPTION_TESTS): Likewise.
2672         * math/libm-test.inc (test_exceptions): Only test exceptions if
2673         EXCEPTION_TESTS (FLOAT).
2674
2675 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2676
2677         * benchtests/Makefile (string-bench): Add strcpy_chk and
2678         stpcpy_chk.
2679         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2680         * benchtests/bench-stpcpy_chk.c: New file.
2681         * benchtests/bench-strcpy_chk-ifunc.c: New file.
2682         * benchtests/bench-strcpy_chk.c: New file.
2683         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2684         code.
2685         (do_test): Likewise.
2686
2687 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2688
2689         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2690         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2691         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2692         with tabs where appropriate.
2693         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2694         dl-procinfo.h.
2695         [PPC_PLATFORM_PPC440]: Likewise.
2696         [PPC_PLATFORM_PPC464]: Likewise.
2697         [PPC_PLATFORM_PPC476]: Likewise.
2698         (_dl_string_platform): Add support for detecting ppc405, ppc440,
2699         ppc464, and ppc476 platform strings merging from ports/
2700         dl-procinfo.h.
2701
2702 2013-06-11  Andreas Schwab  <schwab@suse.de>
2703
2704         [BZ #14991]
2705         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2706         (from_ucs4_idx): Regenerate.
2707         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2708         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2709         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2710         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2711         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2712         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2713         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2714         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2715         from FROM_LOOP and TO_LOOP specific macros.
2716         (BODY): Handle combining characters.
2717         * iconvdata/BIG5HKSCS.irreversible: Update.
2718         * iconvdata/BIG5HKSCS.precomposed: New file.
2719         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2720         characters.
2721         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2722
2723 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2724
2725         * include/sys/time.h: Fix indentation and add copyright header.
2726
2727         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2728         (do_test): Likewise.
2729         * string/test-memchr.c (do_one_test): Likewise.
2730         (do_test): Likewise.
2731         * string/test-memcmp.c (do_one_test): Likewise.
2732         (do_test): Likewise.
2733         * string/test-memcpy.c (do_one_test): Likewise.
2734         (do_test): Likewise.
2735         * string/test-memmem.c (do_one_test): Likewise.
2736         (do_test): Likewise.
2737         (do_random_tests): Likewise.
2738         * string/test-memmove.c (do_one_test): Likewise.
2739         (do_test): Likewise.
2740         * string/test-memset.c (do_one_test): Likewise.
2741         (do_test): Likewise.
2742         * string/test-rawmemchr.c (do_one_test): Likewise.
2743         (do_test): Likewise.
2744         * string/test-strcasecmp.c (do_one_test): Likewise.
2745         (do_test): Likewise.
2746         * string/test-strcasestr.c (do_one_test): Likewise.
2747         (do_test): Likewise.
2748         * string/test-strcat.c (do_one_test): Likewise.
2749         (do_test): Likewise.
2750         * string/test-strchr.c (do_one_test): Likewise.
2751         (do_test): Likewise.
2752         * string/test-strcmp.c (do_one_test): Likewise.
2753         (do_test): Likewise.
2754         * string/test-strcpy.c (do_one_test): Likewise.
2755         (do_test): Likewise.
2756         * string/test-string.h: Likewise.
2757         (test_init): Likewise.
2758         * string/test-strlen.c (do_one_test): Likewise.
2759         (do_test): Likewise.
2760         * string/test-strncasecmp.c (do_one_test): Likewise.
2761         (do_test): Likewise.
2762         * string/test-strncat.c (do_one_test): Likewise.
2763         (do_test): Likewise.
2764         * string/test-strncmp.c (do_one_test): Likewise.
2765         (do_test_limit): Likewise.
2766         (do_test): Likewise.
2767         * string/test-strncpy.c (do_one_test): Likewise.
2768         (do_test): Likewise.
2769         * string/test-strnlen.c (do_one_test): Likewise.
2770         (do_test): Likewise.
2771         * string/test-strpbrk.c (do_one_test): Likewise.
2772         (do_test): Likewise.
2773         * string/test-strrchr.c (do_one_test): Likewise.
2774         (do_test): Likewise.
2775         * string/test-strspn.c (do_one_test): Likewise.
2776         (do_test): Likewise.
2777         * string/test-strstr.c (do_one_test): Likewise.
2778         (do_test): Likewise.
2779
2780         * benchtests/Makefile (string-bench): Add string benchmarks.
2781         * benchtests/bench-bcopy-ifunc.c: New file.
2782         * benchtests/bench-bcopy.c: New file.
2783         * benchtests/bench-bzero-ifunc.c: New file.
2784         * benchtests/bench-bzero.c: New file.
2785         * benchtests/bench-memccpy-ifunc.c: New file.
2786         * benchtests/bench-memccpy.c: New file.
2787         * benchtests/bench-memchr-ifunc.c: New file.
2788         * benchtests/bench-memchr.c: New file.
2789         * benchtests/bench-memcmp-ifunc.c: New file.
2790         * benchtests/bench-memcmp.c: New file.
2791         * benchtests/bench-memmem-ifunc.c: New file.
2792         * benchtests/bench-memmem.c: New file.
2793         * benchtests/bench-memmove-ifunc.c: New file.
2794         * benchtests/bench-memmove.c: New file.
2795         * benchtests/bench-mempcpy-ifunc.c: New file.
2796         * benchtests/bench-mempcpy.c: New file.
2797         * benchtests/bench-memset-ifunc.c: New file.
2798         * benchtests/bench-memset.c: New file.
2799         * benchtests/bench-rawmemchr-ifunc.c: New file.
2800         * benchtests/bench-rawmemchr.c: New file.
2801         * benchtests/bench-stpcpy-ifunc.c: New file.
2802         * benchtests/bench-stpcpy.c: New file.
2803         * benchtests/bench-stpncpy-ifunc.c: New file.
2804         * benchtests/bench-stpncpy.c: New file.
2805         * benchtests/bench-strcasecmp-ifunc.c: New file.
2806         * benchtests/bench-strcasecmp.c: New file.
2807         * benchtests/bench-strcasestr-ifunc.c: New file.
2808         * benchtests/bench-strcasestr.c: New file.
2809         * benchtests/bench-strcat-ifunc.c: New file.
2810         * benchtests/bench-strcat.c: New file.
2811         * benchtests/bench-strchr-ifunc.c: New file.
2812         * benchtests/bench-strchr.c: New file.
2813         * benchtests/bench-strchrnul-ifunc.c: New file.
2814         * benchtests/bench-strchrnul.c: New file.
2815         * benchtests/bench-strcmp-ifunc.c: New file.
2816         * benchtests/bench-strcmp.c: New file.
2817         * benchtests/bench-strcpy-ifunc.c: New file.
2818         * benchtests/bench-strcpy.c: New file.
2819         * benchtests/bench-strcspn-ifunc.c: New file.
2820         * benchtests/bench-strcspn.c: New file.
2821         * benchtests/bench-strlen-ifunc.c: New file.
2822         * benchtests/bench-strlen.c: New file.
2823         * benchtests/bench-strncasecmp-ifunc.c: New file.
2824         * benchtests/bench-strncasecmp.c: New file.
2825         * benchtests/bench-strncat-ifunc.c: New file.
2826         * benchtests/bench-strncat.c: New file.
2827         * benchtests/bench-strncmp-ifunc.c: New file.
2828         * benchtests/bench-strncmp.c: New file.
2829         * benchtests/bench-strncpy-ifunc.c: New file.
2830         * benchtests/bench-strncpy.c: New file.
2831         * benchtests/bench-strnlen-ifunc.c: New file.
2832         * benchtests/bench-strnlen.c: New file.
2833         * benchtests/bench-strpbrk-ifunc.c: New file.
2834         * benchtests/bench-strpbrk.c: New file.
2835         * benchtests/bench-strrchr-ifunc.c: New file.
2836         * benchtests/bench-strrchr.c: New file.
2837         * benchtests/bench-strspn-ifunc.c: New file.
2838         * benchtests/bench-strspn.c: New file.
2839         * benchtests/bench-strstr-ifunc.c: New file.
2840         * benchtests/bench-strstr.c: New file.
2841
2842         * benchtests/Makefile: Disable parallel execution of targets.
2843         (string-bench): Add memcpy.
2844         (benchset): New variable to store a list of benchmark sets.
2845         (bench-func): Renamed from bench.
2846         (bench-set): New target.
2847         (bench): Depend on bench-func and bench-set.
2848         * benchtests/README: Add section on benchmark sets.
2849         * benchtests/bench-memcpy-ifunc.c: New file.
2850         * benchtests/bench-memcpy.c: New file.
2851         * benchtests/bench-string.h: New file.
2852
2853 2013-06-11  Andreas Schwab  <schwab@suse.de>
2854
2855         [BZ #15577]
2856         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2857         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2858         values in the triple.
2859         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2860         terminator in the group key.
2861
2862 2013-06-11  Andreas Jaeger  <aj@suse.de>
2863
2864         * po/zh_TW.po: Update Chinese (traditional) translation from
2865         translation project.
2866
2867 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2868
2869         * include/time.h (__clock_gettime): Add libc_hidden_proto.
2870         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2871         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
2872         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2873         (clock_getcpuclockid): Likewise.
2874         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2875         Add weak_alias and libc_hidden_def.
2876         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2877         * rt/clock_gettime.c (clock_gettime): Rename to
2878         __clock_gettime.  Add weak_alias and libc_hidden_def.
2879         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2880         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2881         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
2882         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2883         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2884         Likewise.
2885         * rt/clock_settime.c (clock_settime): Rename to
2886         __clock_settime.  Add weak_alias and libc_hidden_def.
2887         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2888
2889 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
2890
2891         * mach/err_boot.sub: Remove trailing whitespace.
2892         * mach/err_ipc.sub: Likewise.
2893         * mach/err_mach.sub: Likewise.
2894
2895         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2896         (ROUNDING_TESTS_double): Likewise.
2897         (ROUNDING_TESTS_long_double): Likewise.
2898         (ROUNDING_TESTS): Likewise.
2899         * math/libm-test.inc: Include <math-tests.h>.
2900         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2901         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2902         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2903         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2904
2905 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2906
2907         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2908         of assigning.
2909
2910 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
2911
2912         * sysdeps/gnu/errlist.awk: Do not generate space at end of
2913         otherwise empty TRANS lines.
2914         * sysdeps/gnu/errlist.c: Regenerated.
2915
2916         * catgets/gencat.c (error_print): Use (void) in function
2917         definition.
2918         * crypt/crypt_util.c (__init_des): Likewise.
2919         * crypt/speeds.c (Stop): Likewise.
2920         (main): Likewise.
2921         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2922         * inet/ruserpass.c (token): Likewise.
2923         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2924         * intl/localealias.c (extend_alias_table): Likewise.
2925         * intl/plural-exp.c (init_germanic_plural): Likewise.
2926         * libio/fcloseall.c (__fcloseall): Likewise.
2927         * libio/genops.c (_IO_flush_all): Likewise.
2928         (_IO_flush_all_linebuffered): Likewise.
2929         (_IO_cleanup): Likewise.
2930         (_IO_iter_begin): Likewise.
2931         (_IO_iter_end): Likewise.
2932         (_IO_list_lock): Likewise.
2933         (_IO_list_unlock): Likewise.
2934         (_IO_list_resetlock): Likewise.
2935         * libio/getchar.c (getchar): Likewise.
2936         * libio/getchar_u.c (getchar_unlocked): Likewise.
2937         * libio/getwchar.c (getwchar): Likewise.
2938         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2939         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2940         * login/getpt.c (__getpt): Likewise.
2941         * login/tst-utmp.c (main): Likewise.
2942         * malloc/hooks.c (__malloc_check_init): Likewise.
2943         * malloc/malloc.c (__malloc_stats): Likewise.
2944         * malloc/mtrace.c (tr_break): Likewise.
2945         (mtrace): Likewise.
2946         (muntrace): Likewise.
2947         * misc/fstab.c (endfsent): Likewise.
2948         * misc/getclktck.c (__getclktck): Likewise.
2949         * misc/getdtsz.c (__getdtablesize): Likewise.
2950         * misc/gethostid.c (gethostid): Likewise.
2951         * misc/getpagesize.c (__getpagesize): Likewise.
2952         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2953         (__get_nprocs): Likewise.
2954         (__get_phys_pages): Likewise.
2955         (__get_avphys_pages): Likewise.
2956         * misc/getttyent.c (getttyent): Likewise.
2957         (setttyent): Likewise.
2958         (endttyent): Likewise.
2959         * misc/getusershell.c (getusershell): Likewise.
2960         (endusershell): Likewise.
2961         (setusershell): Likewise.
2962         (initshells): Likewise.
2963         * misc/hsearch.c (__hdestroy): Likewise.
2964         * misc/sync.c (sync): Likewise.
2965         * misc/syslog.c (closelog_internal): Likewise.
2966         (closelog): Likewise.
2967         * misc/ttyslot.c (ttyslot): Likewise.
2968         * misc/vhangup.c (vhangup): Likewise.
2969         * posix/fork.c (__fork): Likewise.
2970         * posix/getegid.c (__getegid): Likewise.
2971         * posix/geteuid.c (__geteuid): Likewise.
2972         * posix/getgid.c (__getgid): Likewise.
2973         * posix/getpid.c (__getpid): Likewise.
2974         * posix/getppid.c (__getppid): Likewise.
2975         * posix/getuid.c (__getuid): Likewise.
2976         * posix/pause.c (pause): Likewise.
2977         * posix/setpgrp.c (setpgrp): Likewise.
2978         * posix/setsid.c (__setsid): Likewise.
2979         * posix/test-vfork.c (noop): Likewise.
2980         * resolv/gethnamaddr.c (_endhtent): Likewise.
2981         (_gethtent): Likewise.
2982         (ht_endhostent): Likewise.
2983         (gethostent): Likewise.
2984         (dns_service): Likewise.
2985         * stdlib/drand48.c (drand48): Likewise.
2986         * stdlib/lrand48.c (lrand48): Likewise.
2987         * stdlib/mrand48.c (mrand48): Likewise.
2988         * stdlib/rand.c (rand): Likewise.
2989         * stdlib/random.c (__random): Likewise.
2990         * stdlib/setenv.c (clearenv): Likewise.
2991         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2992         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2993         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2994         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2995         (__get_nprocs): Likewise.
2996         (__get_phys_pages): Likewise.
2997         (__get_avphys_pages): Likewise.
2998         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2999         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3000         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3001         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3002         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3003         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3004         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3005         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3006         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3007         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3008         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3009         * sysdeps/mach/hurd/sync.c (sync): Likewise.
3010         * sysdeps/posix/clock.c (clock): Likewise.
3011         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3012         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3013         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3014         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3015         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3016         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3017         (__get_nprocs_conf): Likewise.
3018         (__get_phys_pages): Likewise.
3019         (__get_avphys_pages): Likewise.
3020         * time/clock.c (clock): Likewise.
3021         * time/tzset.c (__tzname_max): Likewise.
3022
3023 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
3024
3025         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3026         (__bswap_32): Do not use "register".
3027         * crypt/crypt.c (_ufc_doit_r): Likewise.
3028         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3029         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3030         * gmon/gmon.c (__monstartup): Likewise.
3031         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3032         * hurd/hurdmalloc.c (more_memory): Likewise.
3033         (malloc): Likewise.
3034         (free): Likewise.
3035         (realloc): Likewise.
3036         (malloc_fork_prepare): Likewise.
3037         (malloc_fork_parent): Likewise.
3038         (malloc_fork_child): Likewise.
3039         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3040         (_svcauth_des): Likewise.
3041         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3042         * inet/inet_net.c (inet_network): Likewise.
3043         * inet/inet_netof.c (inet_netof): Likewise.
3044         * inet/rcmd.c (__validuser2_sa): Likewise.
3045         * io/fts.c (fts_open): Likewise.
3046         (fts_load): Likewise.
3047         (fts_close): Likewise.
3048         (fts_read): Likewise.
3049         (fts_children): Likewise.
3050         (fts_build): Likewise.
3051         (fts_stat): Likewise.
3052         (fts_sort): Likewise.
3053         (fts_alloc): Likewise.
3054         (fts_lfree): Likewise.
3055         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3056         (_IO_file_xsgetn): Likewise.
3057         (_IO_file_xsgetn_mmap): Likewise.
3058         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3059         (_IO_cookie_write): Likewise.
3060         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3061         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3062         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3063         * malloc/obstack.c (_obstack_begin): Likewise.
3064         (_obstack_begin_1): Likewise.
3065         (_obstack_newchunk): Likewise.
3066         (_obstack_allocated_p): Likewise.
3067         (obstack_free): Likewise.
3068         (_obstack_memory_used): Likewise.
3069         * misc/getttyent.c (getttynam): Likewise.
3070         (getttyent): Likewise.
3071         (skip): Likewise.
3072         (value): Likewise.
3073         * misc/getusershell.c (initshells): Likewise.
3074         * misc/syslog.c (__vsyslog_chk): Likewise.
3075         * misc/ttyslot.c (ttyslot): Likewise.
3076         * nis/nis_hash.c (__nis_hash): Likewise.
3077         * posix/fnmatch_loop.c (FCT): Likewise.
3078         * posix/getconf.c (print_all): Likewise.
3079         (main): Likewise.
3080         * posix/getopt.c (exchange): Likewise.
3081         * posix/glob.c (globfree): Likewise.
3082         (prefix_array): Likewise.
3083         (__glob_pattern_type): Likewise.
3084         * resolv/arpa/nameser.h (NS_GET16): Likewise.
3085         (NS_GET32): Likewise.
3086         (NS_PUT16): Likewise.
3087         (NS_PUT32): Likewise.
3088         * resolv/gethnamaddr.c (getanswer): Likewise.
3089         (gethostbyname2): Likewise.
3090         (gethostbyaddr): Likewise.
3091         (_gethtent): Likewise.
3092         (_gethtbyname2): Likewise.
3093         (_gethtbyaddr): Likewise.
3094         * resolv/ns_print.c (dst_s_get_int16): Likewise.
3095         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3096         * resolv/res_init.c (__res_vinit): Likewise.
3097         (net_mask): Likewise.
3098         * resolv/res_mkquery.c (outchar): Likewise.
3099         (PRINT): Likewise.
3100         * stdio-common/printf_fp.c (outchar): Likewise.
3101         (PRINT): Likewise.
3102         * stdio-common/printf_fphex.c (outchar): Likewise.
3103         (PRINT): Likewise.
3104         * stdio-common/printf_size.c (outchar): Likewise.
3105         (PRINT): Likewise.
3106         * stdio-common/test_rdwr.c (main): Likewise.
3107         * stdio-common/tfformat.c (matches): Likewise.
3108         * stdio-common/vfprintf.c (outchar): Likewise.
3109         (printf_unknown): Likewise.
3110         (buffered_vfprintf): Likewise.
3111         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3112         * stdio-common/xbug.c (AppendToBuffer): Likewise.
3113         (ReadFile): Likewise.
3114         * stdlib/qsort.c (SWAP): Likewise.
3115         (_quicksort): Likewise.
3116         * stdlib/setenv.c (__add_to_environ): Likewise.
3117         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3118         * stdlib/strtol_l.c (__strtol_l): Likewise.
3119         * stdlib/tst-strtod.c (main): Likewise.
3120         * stdlib/tst-strtol.c (main): Likewise.
3121         * stdlib/tst-strtoll.c (main): Likewise.
3122         * string/bits/string2.h (__strcmp_cc): Likewise.
3123         (__strcmp_cg): Likewise.
3124         (__strcspn_c1): Likewise.
3125         (__strcspn_c2): Likewise.
3126         (__strcspn_c3): Likewise.
3127         (__strspn_c1): Likewise.
3128         (__strspn_c2): Likewise.
3129         (__strspn_c3): Likewise.
3130         (__strsep_1c): Likewise.
3131         (__strsep_2c): Likewise.
3132         (__strsep_3c): Likewise.
3133         * string/memccpy.c (__memccpy): Likewise.
3134         * string/stpcpy.c (__stpcpy): Likewise.
3135         * string/strcmp.c (strcmp): Likewise.
3136         * string/strrchr.c (strrchr): Likewise.
3137         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3138         Likewise.
3139         * sysdeps/mach/hurd/getcwd.c
3140         (_hurd_canonicalize_directory_name_internal): Likewise.
3141         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3142         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3143         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3144         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3145         Likewise, in both definitions.
3146         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3147         definitions.
3148         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3149         64] (__bswap_64): Likewise.
3150         * time/test_time.c (main): Likewise.
3151         * time/tzfile.c (__tzfile_read): Likewise.
3152         (__tzfile_compute): Likewise.
3153         * time/tzset.c (__tzset_parse_tz): Likewise.
3154         (tzset_internal): Likewise.
3155         (compute_change): Likewise.
3156         * wcsmbs/wcscat.c (__wcscat): Likewise.
3157         * wcsmbs/wcschr.c (wcschr): Likewise.
3158         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3159         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3160         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3161         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3162         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3163         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3164         * wcsmbs/wmemchr.c (wmemchr): Likewise.
3165         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3166         * wcsmbs/wmemset.c (wmemset): Likewise.
3167
3168 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
3169
3170         * scripts/config.guess: Update to version 2013-05-16.
3171         * scripts/config.sub: Update to version 2013-04-24.
3172         * scripts/install-sh: Update to version 2011-11-20.07.
3173         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3174         * scripts/move-if-change: Update to version 2012-01-06 07:23.
3175
3176 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
3177
3178         * debug/fgetws_u_chk.c: Fix leading whitespaces.
3179         * elf/sln.c: Likewise.
3180         * hurd/hurd/ioctl.h: Likewise.
3181         * hurd/hurdmalloc.c: Likewise.
3182         * hurd/xattr.c: Likewise.
3183         * include/shlib-compat.h: Likewise.
3184         * inet/ruserpass.c: Likewise.
3185         * libio/iofgets_u.c: Likewise.
3186         * libio/iofgetws_u.c: Likewise.
3187         * locale/programs/ld-identification.c: Likewise.
3188         * locale/programs/ld-time.c: Likewise.
3189         * mach/msg-destroy.c: Likewise.
3190         * nss/nss_files/files-netgrp.c: Likewise.
3191         * resolv/res_data.c: Likewise.
3192         * soft-fp/op-1.h: Likewise.
3193         * soft-fp/op-2.h: Likewise.
3194         * soft-fp/op-4.h: Likewise.
3195         * soft-fp/op-common.h: Likewise.
3196         * stdio-common/printf_fphex.c: Likewise.
3197         * stdlib/strtod_l.c: Likewise.
3198         * sunrpc/rpc/clnt.h: Likewise.
3199         * sysdeps/generic/framestate.c: Likewise.
3200         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3201         * sysdeps/i386/bsd-setjmp.S: Likewise.
3202         * sysdeps/i386/__longjmp.S: Likewise.
3203         * sysdeps/i386/setjmp.S: Likewise.
3204         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3205         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3206         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3207         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3208         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3209         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3210         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3211         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3212         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3213         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3214         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3215         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3216         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3217         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3218         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3219         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3220         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3221         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3222         * sysdeps/ieee754/support.c: Likewise.
3223         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3224         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3225         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3226         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3227         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3228         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3229         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3230         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3231         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3232         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3233         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3234         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3235         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3236         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3237         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3238         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3239         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3241
3242 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
3243
3244         * posix/transbug.c: Remove executable mode.
3245
3246 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
3247
3248         * crypt/speeds.c: Remove trailing whitespace.
3249         * dlfcn/default.c: Likewise.
3250         * elf/ifuncdep2.c: Likewise.
3251         * elf/ifuncmain1.c: Likewise.
3252         * elf/ifuncmain1vis.c: Likewise.
3253         * elf/testobj.h: Likewise.
3254         * elf/tst-stackguard1.c: Likewise.
3255         * gmon/sys/gmon.h: Likewise.
3256         * hurd/hurdmsg.c: Likewise.
3257         * hurd/new-fd.c: Likewise.
3258         * hurd/ports-get.c: Likewise.
3259         * iconvdata/ibm1008_420.c: Likewise.
3260         * inet/tst-getni1.c: Likewise.
3261         * inet/tst-getni2.c: Likewise.
3262         * libio/ioungetc.c: Likewise.
3263         * libio/wfiledoalloc.c: Likewise.
3264         * manual/libm-err-tab.pl: Likewise.
3265         * math/w_dremf.c: Likewise.
3266         * misc/ftruncate.c: Likewise.
3267         * posix/bug-glob2.c: Likewise.
3268         * posix/tst-pcre.c: Likewise.
3269         * posix/wait4.c: Likewise.
3270         * resolv/README: Likewise.
3271         * resolv/res_debug.h: Likewise.
3272         * resolv/tst-inet_ntop.c: Likewise.
3273         * setjmp/bug269-setjmp.c: Likewise.
3274         * soft-fp/extended.h: Likewise.
3275         * soft-fp/op-1.h: Likewise.
3276         * soft-fp/op-2.h: Likewise.
3277         * soft-fp/op-4.h: Likewise.
3278         * soft-fp/op-8.h: Likewise.
3279         * soft-fp/testit.c: Likewise.
3280         * stdio-common/bug16.c: Likewise.
3281         * stdlib/random.c: Likewise.
3282         * sunrpc/rpcsvc/rquota.x: Likewise.
3283         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3284         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3285         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3286         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3287         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3288         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3289         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3290         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3291         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3292         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3293         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3294         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3295         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3296         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3297         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3298         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3299         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3300         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3301         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3302         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3303         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3304         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3305         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3306         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3307         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3308         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3309         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3310         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3311         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3312         * sysdeps/ieee754/s_lib_version.c: Likewise.
3313         * sysdeps/mach/hurd/check_fds.c: Likewise.
3314         * sysdeps/mach/hurd/getsockname.c: Likewise.
3315         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3316         * sysdeps/mach/hurd/recvfrom.c: Likewise.
3317         * sysdeps/powerpc/bits/link.h: Likewise.
3318         * sysdeps/powerpc/dl-procinfo.c: Likewise.
3319         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3320         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3321         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3322         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3323         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3324         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3325         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3326         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3327         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3328         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3329         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3330         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3331         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3332         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3333         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3334         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3335         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3336         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3337         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3338         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3339         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3340         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3341         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3342         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3343         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3344         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3345         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3346         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3347         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3348         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3349         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3350         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3351         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3352         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3353         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3354         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3355         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3356         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3357         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3358         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3359         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3360         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3361         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3362         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3363         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3364         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3365         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3366         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3367         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3368         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3369         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3370         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3371         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3372         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3373         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3374         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3375         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3376         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3377         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3378         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3379         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3380         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3381         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3382         * sysdeps/powerpc/sysdep.h: Likewise.
3383         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3384         * sysdeps/s390/s390-64/sub_n.S: Likewise.
3385         * sysdeps/sh/dl-trampoline.S: Likewise.
3386         * sysdeps/sh/memset.S: Likewise.
3387         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3388         * sysdeps/sh/strlen.S: Likewise.
3389         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3390         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3391         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3392         * sysdeps/sparc/sparc32/rem.S: Likewise.
3393         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3394         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3395         * sysdeps/sparc/sparc32/strchr.S: Likewise.
3396         * sysdeps/sparc/sparc32/udiv.S: Likewise.
3397         * sysdeps/sparc/sparc32/urem.S: Likewise.
3398         * sysdeps/sparc/sparc64/add_n.S: Likewise.
3399         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3400         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3401         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3402         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3403         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3404         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3405         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3406         * sysdeps/unix/bsd/times.c: Likewise.
3407         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3408         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3412         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3413         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3414         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3415         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3416         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3417         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3418         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3419         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3420         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3421         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3422         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3423         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3424         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3425         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3426         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3427         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3428         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3429         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3430         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3431         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3432         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3433         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3434         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3435         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3436         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3437         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3438         * sysdeps/x86_64/strcspn.S: Likewise.
3439
3440 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3441
3442         * locale/C-translit.h: Revert #include <stdint.h> because this is a
3443         generated file.  Regenerate properly from gen-translit.pl.
3444         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
3445         locale/C-translit.h.
3446
3447 2013-06-05  Andreas Schwab  <schwab@suse.de>
3448
3449         [BZ #15100]
3450         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3451         week as 6 instead of -1.
3452         * time/tst-strptime.c (day_tests): Add test case.
3453
3454 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3455
3456         * sysdeps/generic/math_private.h
3457         (libc_feholdexcept_setround_53bit): Replace with
3458         libc_feholdsetround_53bit.
3459         (libc_feupdateenv_53bit): Replace with
3460         libc_feresetround_53bit.
3461         (SET_RESTORE_ROUND_53BIT): Adjust.
3462
3463 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3464
3465         * string/test-strchrnul.c: Add copyright header.
3466
3467         * posix/tst-getaddrinfo4.c: Increase test timeout.
3468
3469 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
3470
3471         [BZ #15536]
3472         * math/libm-test.inc (MAX_EXP): Remove
3473         (MIN_EXP): Define.
3474         (ulp): Use MIN_EXP - MANT_DIG.
3475         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3476
3477 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
3478
3479         * po/be.po: Revert last change.
3480         * po/zh_CN.po: Likewise.
3481         * po/header.pot: Likewise.
3482
3483 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
3484
3485         * Makefile ($(common-objpfx)linkobj/libc.so): Define
3486         link-libc-deps to empty as target-specific variable.
3487         * Makerules (link-libc-args): New variable.
3488         (libc-for-link): Likewise.
3489         (link-libc-deps): Likewise.
3490         (lib%.so): Depend on $(link-libc-deps).  Link with
3491         $(link-libc-args).
3492         (build-module): Link with $(link-libc-args).
3493         (build-module-asneeded): Likewise.
3494         (build-module-helper-objlist): Filter out $(link-libc-deps) from
3495         list of objects.
3496         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3497         target-specific variable.
3498         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3499         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3500         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3501         libc.
3502         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3503         libc and ld.so.
3504         ($(objpfx)libpcprofile.so): Likewise.
3505         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3506         libc_nonshared.a.
3507         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3508         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3509         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3510         $(link-libc-deps).
3511         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3512         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3513         * login/Makefile ($(objpfx)libutil.so): Likewise.
3514         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3515         * math/Makefile ($(objpfx)libm.so): Likewise.
3516         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3517         $(objpfx)libnsl.so): Define libc-for-link as target-specific
3518         variable instead of depending directly on libc.
3519         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3520         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3521         $(link-libc-deps).
3522         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3523         libc.
3524         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3525         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3526         ($(objpfx)libanl.so): Likewise.
3527         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3528         ld.so.
3529         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3530         $(link-libc-deps).
3531         * sysdeps/i386/fpu/Makefile: Remove file.
3532         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3533         ($(objpfx)libm.so): Remove dependency on ld.so.
3534
3535 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
3536
3537         [BZ # 15553]
3538         * nis/yp_xdr.c (XDRMAXNAME): Define.
3539         (XDRMAXRECORD): Define.
3540         (xdr_domainname): Use XDRMAXNAME.
3541         (xdr_mapname): Likewise.
3542         (xdr_peername): Likewise.
3543         (xdr_keydat): Use XDRMAXRECORD.
3544         (xdr_valdat): Likewise.
3545
3546 2013-05-30  Jeff Law  <law@redhat.com>
3547
3548         [BZ #14256]
3549         * manual/errno.texi (ESTALE): Update to account for more than
3550         just NFS file systems.
3551         * sysdeps/gnu/errlist.c: Regenerated.
3552
3553 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3554
3555         [BZ #15465]
3556         * elf/Makefile (tests): Add tst-null-argv.
3557         (modules-names):  Add tst-null-argv-lib.
3558         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3559         (tst-null-argv-ENV): Set environment for tst-null-argv.
3560         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3561         (RTLD_PROGNAME): New macro.
3562         * elf/tst-null-argv.c: New test case.
3563         * elf/tst-null-argv-lib.c: Library for test case.
3564         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3565         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3566         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3567         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3568         * elf/dl-init.c (call_init): Likewise.
3569         (_dl_init): Likewise.
3570         * elf/dl-load.c (print_search_path): Likewise.
3571         (_dl_map_object): Likewise.
3572         * elf/dl-lookup.c (do_lookup_x): Likewise.
3573         (add_dependency): Likewise.
3574         (_dl_lookup_symbol_x): Likewise.
3575         (_dl_debug_bindings): Likewise.
3576         * elf/dl-open.c (_dl_show_scope): Likewise.
3577         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3578         * elf/dl-version.c (match_symbol): Likewise.
3579         (_dl_check_map_versions): Likewise.
3580         * elf/rtld.c (dl_main): Likewise.
3581         (print_unresolved): Use RTLD_PROGNAME.
3582         (print_missing_version): Likewise.
3583         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3584         (elf_machine_rela): Likewise.
3585         * sysdeps/powerpc/powerpc32/dl-machine.c
3586         (__process_machine_rela): Likewise.
3587         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3588         Likewise.
3589         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3590         Likewise.
3591         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3592         Likewise.
3593         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3594         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3595         Likewise.
3596         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3597         Likewise.
3598         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3599
3600 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
3601
3602         * po/be.po: Add descriptive title.
3603         * po/zh_CN.po: Likewise.
3604         * po/header.pot: Likewise.
3605
3606 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
3607
3608         * locale/programs/locarchive.c (create_archive): Inlucde fname in
3609         error message.
3610         (enlarge_archive): Likewise.
3611
3612 2013-05-28  Ben North  <ben@redfrontdoor.org>
3613
3614         * manual/arith.texi (frexp): It is the magnitude of the return
3615         value which lies in [0.5, 1), not the return value itself.
3616
3617 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3618
3619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3620
3621 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
3622
3623         * stdio-common/bug26.c (main): Correct fscanf template.
3624
3625         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3626         declare _dl_skip_args.
3627
3628         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3629         Don't declare.
3630
3631         * manual/platform.texi: Add missing @end deftypefun.
3632
3633 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
3634
3635         [BZ #15529]
3636         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3637         bit of mantissa of 2^16382.
3638         * math/libm-test.inc (hypot_test_data): Add more tests.
3639
3640         * math/libm-test.inc: Add drem and pow10 to list of tested
3641         functions.
3642         (pow10_test): New function.
3643         (drem_test): Likewise.
3644         (drem_test_tonearest): Likewise.
3645         (drem_test_towardzero): Likewise.
3646         (drem_test_downward): Likewise.
3647         (drem_test_upward): Likewise.
3648         (main): Call the new functions.
3649
3650         * math/libm-test.inc (finite_test_data): Remove.
3651         (finite_test): Run tests from isfinite_test_data.
3652         (gamma_test_data): Remove.
3653         (gamma_test): Run tests from lgamma_test_data.
3654         * sysdeps/i386/fpu/libm-test-ulps: Update.
3655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3656
3657 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3658
3659         * manual/platform.texi: Add PowerPC PPR function set documentation.
3660         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3661         implementation.
3662
3663 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
3664
3665         * math/libm-test.inc (MAX_EXP): Define.
3666         (ULPDIFF): Define.
3667         (ulp): New function.
3668         (check_float_internal): Use ULPDIFF.
3669         (cpow_test): Disable failing test.
3670         (check_ulp): Test ulp() implemetnation.
3671         (main): Call check_ulp before starting tests.
3672
3673 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
3674
3675         * math/gen-libm-test.pl (generate_testfile): Do not handle
3676         START_DATA and END_DATA.
3677         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3678         END_DATA.
3679         (acos_tonearest_test_data): Likewise.
3680         (acos_towardzero_test_data): Likewise.
3681         (acos_downward_test_data): Likewise.
3682         (acos_upward_test_data): Likewise.
3683         (acosh_test_data): Likewise.
3684         (asin_test_data): Likewise.
3685         (asin_tonearest_test_data): Likewise.
3686         (asin_towardzero_test_data): Likewise.
3687         (asin_downward_test_data): Likewise.
3688         (asin_upward_test_data): Likewise.
3689         (asinh_test_data): Likewise.
3690         (atan_test_data): Likewise.
3691         (atanh_test_data): Likewise.
3692         (atan2_test_data): Likewise.
3693         (cabs_test_data): Likewise.
3694         (cacos_test_data): Likewise.
3695         (cacosh_test_data): Likewise.
3696         (carg_test_data): Likewise.
3697         (casin_test_data): Likewise.
3698         (casinh_test_data): Likewise.
3699         (catan_test_data): Likewise.
3700         (catanh_test_data): Likewise.
3701         (cbrt_test_data): Likewise.
3702         (ccos_test_data): Likewise.
3703         (ccosh_test_data): Likewise.
3704         (ceil_test_data): Likewise.
3705         (cexp_test_data): Likewise.
3706         (cimag_test_data): Likewise.
3707         (clog_test_data): Likewise.
3708         (clog10_test_data): Likewise.
3709         (conj_test_data): Likewise.
3710         (copysign_test_data): Likewise.
3711         (cos_test_data): Likewise.
3712         (cos_tonearest_test_data): Likewise.
3713         (cos_towardzero_test_data): Likewise.
3714         (cos_downward_test_data): Likewise.
3715         (cos_upward_test_data): Likewise.
3716         (cosh_test_data): Likewise.
3717         (cosh_tonearest_test_data): Likewise.
3718         (cosh_towardzero_test_data): Likewise.
3719         (cosh_downward_test_data): Likewise.
3720         (cosh_upward_test_data): Likewise.
3721         (cpow_test_data): Likewise.
3722         (cproj_test_data): Likewise.
3723         (creal_test_data): Likewise.
3724         (csin_test_data): Likewise.
3725         (csinh_test_data): Likewise.
3726         (csqrt_test_data): Likewise.
3727         (ctan_test_data): Likewise.
3728         (ctan_tonearest_test_data): Likewise.
3729         (ctan_towardzero_test_data): Likewise.
3730         (ctan_downward_test_data): Likewise.
3731         (ctan_upward_test_data): Likewise.
3732         (ctanh_test_data): Likewise.
3733         (ctanh_tonearest_test_data): Likewise.
3734         (ctanh_towardzero_test_data): Likewise.
3735         (ctanh_downward_test_data): Likewise.
3736         (ctanh_upward_test_data): Likewise.
3737         (erf_test_data): Likewise.
3738         (erfc_test_data): Likewise.
3739         (exp_test_data): Likewise.
3740         (exp_tonearest_test_data): Likewise.
3741         (exp_towardzero_test_data): Likewise.
3742         (exp_downward_test_data): Likewise.
3743         (exp_upward_test_data): Likewise.
3744         (exp10_test_data): Likewise.
3745         (exp2_test_data): Likewise.
3746         (expm1_test_data): Likewise.
3747         (fabs_test_data): Likewise.
3748         (fdim_test_data): Likewise.
3749         (finite_test_data): Likewise.
3750         (floor_test_data): Likewise.
3751         (fma_test_data): Likewise.
3752         (fma_towardzero_test_data): Likewise.
3753         (fma_downward_test_data): Likewise.
3754         (fma_upward_test_data): Likewise.
3755         (fmax_test_data): Likewise.
3756         (fmin_test_data): Likewise.
3757         (fmod_test_data): Likewise.
3758         (fpclassify_test_data): Likewise.
3759         (frexp_test_data): Likewise.
3760         (gamma_test_data): Likewise.
3761         (hypot_test_data): Likewise.
3762         (ilogb_test_data): Likewise.
3763         (isfinite_test_data): Likewise.
3764         (isgreater_test_data): Likewise.
3765         (isgreaterequal_test_data): Likewise.
3766         (isinf_test_data): Likewise.
3767         (isless_test_data): Likewise.
3768         (islessequal_test_data): Likewise.
3769         (islessgreater_test_data): Likewise.
3770         (isnan_test_data): Likewise.
3771         (isnormal_test_data): Likewise.
3772         (issignaling_test_data): Likewise.
3773         (isunordered_test_data): Likewise.
3774         (j0_test_data): Likewise.
3775         (j1_test_data): Likewise.
3776         (jn_test_data): Likewise.
3777         (ldexp_test_data): Likewise.
3778         (lgamma_test_data): Likewise.
3779         (lrint_test_data): Likewise.
3780         (lrint_tonearest_test_data): Likewise.
3781         (lrint_towardzero_test_data): Likewise.
3782         (lrint_downward_test_data): Likewise.
3783         (lrint_upward_test_data): Likewise.
3784         (llrint_test_data): Likewise.
3785         (llrint_tonearest_test_data): Likewise.
3786         (llrint_towardzero_test_data): Likewise.
3787         (llrint_downward_test_data): Likewise.
3788         (llrint_upward_test_data): Likewise.
3789         (log_test_data): Likewise.
3790         (log10_test_data): Likewise.
3791         (log1p_test_data): Likewise.
3792         (log2_test_data): Likewise.
3793         (logb_test_data): Likewise.
3794         (logb_downward_test_data): Likewise.
3795         (lround_test_data): Likewise.
3796         (llround_test_data): Likewise.
3797         (modf_test_data): Likewise.
3798         (nearbyint_test_data): Likewise.
3799         (nextafter_test_data): Likewise.
3800         (nexttoward_test_data): Likewise.
3801         (pow_test_data): Likewise.
3802         (pow_tonearest_test_data): Likewise.
3803         (pow_towardzero_test_data): Likewise.
3804         (pow_downward_test_data): Likewise.
3805         (pow_upward_test_data): Likewise.
3806         (remainder_test_data): Likewise.
3807         (remainder_tonearest_test_data): Likewise.
3808         (remainder_towardzero_test_data): Likewise.
3809         (remainder_downward_test_data): Likewise.
3810         (remainder_upward_test_data): Likewise.
3811         (remquo_test_data): Likewise.
3812         (rint_test_data): Likewise.
3813         (rint_tonearest_test_data): Likewise.
3814         (rint_towardzero_test_data): Likewise.
3815         (rint_downward_test_data): Likewise.
3816         (rint_upward_test_data): Likewise.
3817         (round_test_data): Likewise.
3818         (scalb_test_data): Likewise.
3819         (scalbn_test_data): Likewise.
3820         (scalbln_test_data): Likewise.
3821         (signbit_test_data): Likewise.
3822         (sin_test_data): Likewise.
3823         (sin_tonearest_test_data): Likewise.
3824         (sin_towardzero_test_data): Likewise.
3825         (sin_downward_test_data): Likewise.
3826         (sin_upward_test_data): Likewise.
3827         (sincos_test_data): Likewise.
3828         (sinh_test_data): Likewise.
3829         (sinh_tonearest_test_data): Likewise.
3830         (sinh_towardzero_test_data): Likewise.
3831         (sinh_downward_test_data): Likewise.
3832         (sinh_upward_test_data): Likewise.
3833         (sqrt_test_data): Likewise.
3834         (tan_test_data): Likewise.
3835         (tan_tonearest_test_data): Likewise.
3836         (tan_towardzero_test_data): Likewise.
3837         (tan_downward_test_data): Likewise.
3838         (tan_upward_test_data): Likewise.
3839         (tanh_test_data): Likewise.
3840         (tgamma_test_data): Likewise.
3841         (trunc_test_data): Likewise.
3842         (y0_test_data): Likewise.
3843         (y1_test_data): Likewise.
3844         (yn_test_data): Likewise.
3845         (significand_test_data): Likewise.
3846
3847         * math/gen-libm-test.pl (@functions): Remove variable.
3848         (generate_testfile): Don't handle START and END lines.
3849         * math/libm-test.inc (START): New macro.
3850         (END): Likewise.
3851         (END_COMPLEX): Likewise.
3852         (acos_test): Use END macro without arguments.
3853         (acos_test_tonearest): Likewise.
3854         (acos_test_towardzero): Likewise.
3855         (acos_test_downward): Likewise.
3856         (acos_test_upward): Likewise.
3857         (acosh_test): Likewise.
3858         (asin_test): Likewise.
3859         (asin_test_tonearest): Likewise.
3860         (asin_test_towardzero): Likewise.
3861         (asin_test_downward): Likewise.
3862         (asin_test_upward): Likewise.
3863         (asinh_test): Likewise.
3864         (atan_test): Likewise.
3865         (atanh_test): Likewise.
3866         (atan2_test): Likewise.
3867         (cabs_test): Likewise.
3868         (cacos_test): Use END_COMPLEX macro without arguments.
3869         (cacosh_test): Likewise.
3870         (carg_test): Use END macro without arguments.
3871         (casin_test): Use END_COMPLEX macro without arguments.
3872         (casinh_test): Likewise.
3873         (catan_test): Likewise.
3874         (catanh_test): Likewise.
3875         (cbrt_test): Use END macro without arguments.
3876         (ccos_test): Use END_COMPLEX macro without arguments.
3877         (ccosh_test): Likewise.
3878         (ceil_test): Use END macro without arguments.
3879         (cexp_test): Use END_COMPLEX macro without arguments.
3880         (cimag_test): Use END macro without arguments.
3881         (clog_test): Use END_COMPLEX macro without arguments.
3882         (clog10_test): Likewise.
3883         (conj_test): Likewise.
3884         (copysign_test): Use END macro without arguments.
3885         (cos_test): Likewise.
3886         (cos_test_tonearest): Likewise.
3887         (cos_test_towardzero): Likewise.
3888         (cos_test_downward): Likewise.
3889         (cos_test_upward): Likewise.
3890         (cosh_test): Likewise.
3891         (cosh_test_tonearest): Likewise.
3892         (cosh_test_towardzero): Likewise.
3893         (cosh_test_downward): Likewise.
3894         (cosh_test_upward): Likewise.
3895         (cpow_test): Use END_COMPLEX macro without arguments.
3896         (cproj_test): Likewise.
3897         (creal_test): Use END macro without arguments.
3898         (csin_test): Use END_COMPLEX macro without arguments.
3899         (csinh_test): Likewise.
3900         (csqrt_test): Likewise.
3901         (ctan_test): Likewise.
3902         (ctan_test_tonearest): Likewise.
3903         (ctan_test_towardzero): Likewise.
3904         (ctan_test_downward): Likewise.
3905         (ctan_test_upward): Likewise.
3906         (ctanh_test): Likewise.
3907         (ctanh_test_tonearest): Likewise.
3908         (ctanh_test_towardzero): Likewise.
3909         (ctanh_test_downward): Likewise.
3910         (ctanh_test_upward): Likewise.
3911         (erf_test): Use END macro without arguments.
3912         (erfc_test): Likewise.
3913         (exp_test): Likewise.
3914         (exp_test_tonearest): Likewise.
3915         (exp_test_towardzero): Likewise.
3916         (exp_test_downward): Likewise.
3917         (exp_test_upward): Likewise.
3918         (exp10_test): Likewise.
3919         (exp2_test): Likewise.
3920         (expm1_test): Likewise.
3921         (fabs_test): Likewise.
3922         (fdim_test): Likewise.
3923         (finite_test): Likewise.
3924         (floor_test): Likewise.
3925         (fma_test): Likewise.
3926         (fma_test_towardzero): Likewise.
3927         (fma_test_downward): Likewise.
3928         (fma_test_upward): Likewise.
3929         (fmax_test): Likewise.
3930         (fmin_test): Likewise.
3931         (fmod_test): Likewise.
3932         (fpclassify_test): Likewise.
3933         (frexp_test): Likewise.
3934         (gamma_test): Likewise.
3935         (hypot_test): Likewise.
3936         (ilogb_test): Likewise.
3937         (isfinite_test): Likewise.
3938         (isgreater_test): Likewise.
3939         (isgreaterequal_test): Likewise.
3940         (isinf_test): Likewise.
3941         (isless_test): Likewise.
3942         (islessequal_test): Likewise.
3943         (islessgreater_test): Likewise.
3944         (isnan_test): Likewise.
3945         (isnormal_test): Likewise.
3946         (issignaling_test): Likewise.
3947         (isunordered_test): Likewise.
3948         (j0_test): Likewise.
3949         (j1_test): Likewise.
3950         (jn_test): Likewise.
3951         (ldexp_test): Likewise.
3952         (lgamma_test): Likewise.
3953         (lrint_test): Likewise.
3954         (lrint_test_tonearest): Likewise.
3955         (lrint_test_towardzero): Likewise.
3956         (lrint_test_downward): Likewise.
3957         (lrint_test_upward): Likewise.
3958         (llrint_test): Likewise.
3959         (llrint_test_tonearest): Likewise.
3960         (llrint_test_towardzero): Likewise.
3961         (llrint_test_downward): Likewise.
3962         (llrint_test_upward): Likewise.
3963         (log_test): Likewise.
3964         (log10_test): Likewise.
3965         (log1p_test): Likewise.
3966         (log2_test): Likewise.
3967         (logb_test): Likewise.
3968         (logb_test_downward): Likewise.
3969         (lround_test): Likewise.
3970         (llround_test): Likewise.
3971         (modf_test): Likewise.
3972         (nearbyint_test): Likewise.
3973         (nextafter_test): Likewise.
3974         (nexttoward_test): Likewise.
3975         (pow_test): Likewise.
3976         (pow_test_tonearest): Likewise.
3977         (pow_test_towardzero): Likewise.
3978         (pow_test_downward): Likewise.
3979         (pow_test_upward): Likewise.
3980         (remainder_test): Likewise.
3981         (remainder_test_tonearest): Likewise.
3982         (remainder_test_towardzero): Likewise.
3983         (remainder_test_downward): Likewise.
3984         (remainder_test_upward): Likewise.
3985         (remquo_test): Likewise.
3986         (rint_test): Likewise.
3987         (rint_test_tonearest): Likewise.
3988         (rint_test_towardzero): Likewise.
3989         (rint_test_downward): Likewise.
3990         (rint_test_upward): Likewise.
3991         (round_test): Likewise.
3992         (scalb_test): Likewise.
3993         (scalbn_test): Likewise.
3994         (scalbln_test): Likewise.
3995         (signbit_test): Likewise.
3996         (sin_test): Likewise.
3997         (sin_test_tonearest): Likewise.
3998         (sin_test_towardzero): Likewise.
3999         (sin_test_downward): Likewise.
4000         (sin_test_upward): Likewise.
4001         (sincos_test): Likewise.
4002         (sinh_test): Likewise.
4003         (sinh_test_tonearest): Likewise.
4004         (sinh_test_towardzero): Likewise.
4005         (sinh_test_downward): Likewise.
4006         (sinh_test_upward): Likewise.
4007         (sqrt_test): Likewise.
4008         (tan_test): Likewise.
4009         (tan_test_tonearest): Likewise.
4010         (tan_test_towardzero): Likewise.
4011         (tan_test_downward): Likewise.
4012         (tan_test_upward): Likewise.
4013         (tanh_test): Likewise.
4014         (tgamma_test): Likewise.
4015         (trunc_test): Likewise.
4016         (y0_test): Likewise.
4017         (y1_test): Likewise.
4018         (yn_test): Likewise.
4019         (significand_test): Likewise.
4020
4021 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
4022
4023         [BZ #15381]
4024         * libio/genops.c (_IO_no_init): Initialize wide struct info.
4025
4026 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4027
4028         [BZ #14894]
4029         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4030         __ppc_mdoio and __ppc_mdoom.
4031         * manual/platform.texi: Document new functions __ppc_yield,
4032         __ppc_mdoio and __ppc_mdoom.
4033
4034 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
4035
4036         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4037         (main): Mention "tls" pseudo-hwcap is legacy.
4038         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4039
4040 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4041
4042         * math/gen-libm-test.pl (parse_args): Output only string of
4043         arguments as text for test name, not full call or descriptions of
4044         tests for extra outputs.
4045         (generate_testfile): Do not pass function name to parse_args.
4046         Generate this_func variable from START.
4047         * math/libm-test.inc (struct test_f_f_data): Rename test_name
4048         field to arg_str.
4049         (struct test_ff_f_data): Likewise.
4050         (test_ff_f_data_nexttoward): Likewise.
4051         (struct test_fi_f_data): Likewise.
4052         (struct test_fl_f_data): Likewise.
4053         (struct test_if_f_data): Likewise.
4054         (struct test_fff_f_data): Likewise.
4055         (struct test_c_f_data): Likewise.
4056         (struct test_f_f1_data): Likewise.  Remove field extra_name.
4057         (struct test_fF_f1_data): Likewise.
4058         (struct test_ffI_f1_data): Likewise.
4059         (struct test_c_c_data): Rename test_name field to arg_str.
4060         (struct test_cc_c_data): Likewise.
4061         (struct test_f_i_data): Likewise.
4062         (struct test_ff_i_data): Likewise.
4063         (struct test_f_l_data): Likewise.
4064         (struct test_f_L_data): Likewise.
4065         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
4066         and extra2_name.
4067         (COMMON_TEST_SETUP): New macro.
4068         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4069         (COMMON_TEST_CLEANUP): Likewise.
4070         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4071         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
4072         macros.
4073         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4074         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
4075         macros.
4076         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4077         (RUN_TEST_fff_f): Take argument string.  Call new setup and
4078         cleanup macros.
4079         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4080         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
4081         macros.
4082         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4083         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
4084         macros.
4085         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4086         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
4087         cleanup macros.
4088         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4089         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
4090         cleanup macros.
4091         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4092         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
4093         cleanup macros.
4094         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4095         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
4096         macros.
4097         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4098         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
4099         macros.
4100         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4101         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
4102         macros.
4103         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4104         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
4105         cleanup macros.
4106         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4107         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
4108         cleanup macros.
4109         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4110         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
4111         macros.
4112         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4113         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
4114         cleanup macros.
4115         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4116         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
4117         macros.
4118         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4119         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
4120         macros.
4121         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4122         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
4123         cleanup macros.
4124         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4125
4126 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4127
4128         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4129         to _sifields.sigfault.
4130         (si_addr_lsb): Define new macro.
4131         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4132         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4133         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4134
4135 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
4136
4137         [BZ #15441]
4138         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4139         returns -1.
4140         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4141         null return -1.
4142         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4143         loading the domain.
4144
4145 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4146
4147         * math/gen-libm-test.pl (parse_args): Do not include expected
4148         result in test name.
4149         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4150         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4151         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4152         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4153         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4155
4156 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4157
4158         * benchtests/Makefile: Sort function entries.
4159
4160         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4161         tanh, asinh, acosh, atanh.
4162         * benchtests/acos-inputs: New file.
4163         * benchtests/acosh-inputs: New file.
4164         * benchtests/asin-inputs: New file.
4165         * benchtests/asinh-inputs: New file.
4166         * benchtests/atanh-inputs: New file.
4167         * benchtests/cosh-inputs: New file.
4168         * benchtests/log-inputs: New file.
4169         * benchtests/sinh-inputs: New file.
4170         * benchtests/tanh-inputs: New file.
4171
4172 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
4173
4174         [BZ #15339]
4175         * posix/tst-getaddrinfo4.c: New test.
4176         * posix/Makefile (tests): Add it.
4177
4178 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4179
4180         [BZ #15339]
4181         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4182         when no services were used.
4183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4184         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4185
4186 2013-05-21  Andreas Schwab  <schwab@suse.de>
4187
4188         [BZ #15014]
4189         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4190         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4191         successful.
4192         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4193         redundant variable declarations and reallocation of buffer when
4194         parsing as IPv6 address.  Always set NSS status when called from
4195         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
4196         buffer too small.  Correct computation of needed size.
4197         * nss/Makefile (tests): Add test-digits-dots.
4198         * nss/test-digits-dots.c: New test.
4199
4200 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4201
4202         * benchtests/Makefile: Remove instructions for adding
4203         benchmark tests.
4204         * benchtests/README: New file to explain how to execute and
4205         enhance the benchmark tests.
4206
4207 2013-05-21  Andreas Schwab  <schwab@suse.de>
4208
4209         [BZ #15493]
4210         * setjmp/Makefile (tests): Add tst-sigsetjmp.
4211         * setjmp/tst-sigsetjmp.c: New test.
4212
4213 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4214
4215         * sysdeps/x86_64/memset.S (memset): New implementation.
4216         (__bzero): Likewise.
4217         (__memset_tail): New function.
4218
4219 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4220
4221         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4222         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4223         __memcpy_sse2_unaligned ifunc selection.
4224         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4225         Add memcpy-sse2-unaligned.S.
4226         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4227         Add: __memcpy_sse2_unaligned.
4228
4229 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
4230
4231         [BZ #15490]
4232         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4233         math_force_eval before restoring floating-point envrionment.
4234         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4235         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4236         Likewise.
4237         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4238         <math_private.h>.
4239         (__nearbyintl): Use math_force_eval before restoring
4240         floating-point environment.
4241         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4242
4243         * math/gen-libm-test.pl (special_functions): Remove.
4244         (parse_args): Don't handle TEST_extra.  Handle functions with no
4245         return value.
4246         * math/libm-test.inc (struct test_sincos_data): Replace with
4247         struct test_fFF_11_data.
4248         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4249         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4250         (sincos_test_data): Change element type to struct
4251         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
4252         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4253         RUN_TEST_LOOP_sincos.
4254         * math/README.libm-test: Don't mention special handling of
4255         individual functions.
4256         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4257         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4258         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4259         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4260         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4262
4263         * math/gen-libm-test.pl (get_variable): Remove function.
4264         (parse_args): Don't show pointer parameters to call in test
4265         names.  Use "extra output N" in test names for extra outputs
4266         rather than naming variables.
4267
4268 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
4269
4270         [BZ #15488]
4271         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4272         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4273         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4274         double tests.
4275         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4276         disable.
4277         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4278         check_long_double.
4279
4280         * math/gen-libm-test.pl (@tests): Remove variable.
4281         ($count): Likewise.
4282         (new_test): Remove function.
4283         (show_exceptions): New function.
4284         (special_functions): Use show_exceptions instead of new_test.
4285         (parse_args): Likewise.
4286         (generate_testfile): Pass only function name in generated call to
4287         print_max_error or print_complex_max_error.
4288         (get_ulps): Do not handle complex tests specially.
4289         (output_test): Rename to ...
4290         (get_all_ulps_for_test): ... this.  Return a string rather than
4291         printing to a file.  Require ulps to be present.
4292         (output_ulps): Generate arrays rather than #defines.
4293         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4294         (struct ulp_data): New type.
4295         (BUILD_COMPLEX_ULP): Remove macro.
4296         (compare_ulp_data): New function.
4297         (find_ulps): Likewise.
4298         (find_test_ulps): Likewise.
4299         (find_function_ulps): Likewise.
4300         (find_complex_function_ulps): Likewise.
4301         (print_max_error): Determine allowed ulps using
4302         find_function_ulps.
4303         (print_complex_max_error): Determine allowed ulps using
4304         find_complex_function_ulps.
4305         (check_float_internal): Determine max ulps using find_test_ulps.
4306         (check_float): Do not take max_ulp parameter.  Update call to
4307         check_float_internal.
4308         (check_complex): Likewise.
4309         (check_int): Do not take max_ulp parameter.
4310         (check_long): Likewise.
4311         (check_bool): Likewise.
4312         (check_longlong): Likewise.
4313         (struct test_f_f_data): Remove max_ulp field.
4314         (struct test_ff_f_data): Likewise.
4315         (struct test_ff_f_data_nexttoward): Likewise.
4316         (struct test_fi_f_data): Likewise.
4317         (struct test_fl_f_data): Likewise.
4318         (struct test_if_f_data): Likewise.
4319         (struct test_fff_f_data): Likewise.
4320         (struct test_c_f_data): Likewise.
4321         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4322         (struct test_fF_f1_data): Likewise.
4323         (struct test_ffI_f1_data): Likewise.
4324         (struct test_c_c_data): Remove max_ulp field.
4325         (struct test_cc_c_data): Likewise.
4326         (struct test_f_i_data): Likewise.
4327         (struct test_ff_i_data): Likewise.
4328         (struct test_f_l_data): Likewise.
4329         (struct test_f_L_data): Likewise.
4330         (struct test_sincos_data): Likewise.
4331         (RUN_TEST_f_f): Do not handle ulps.
4332         (RUN_TEST_LOOP_f_f): Likewise.
4333         (RUN_TEST_2_f): Likewise.
4334         (RUN_TEST_LOOP_2_f): Likewise.
4335         (RUN_TEST_fff_f): Likewise.
4336         (RUN_TEST_LOOP_fff_f): Likewise.
4337         (RUN_TEST_c_f): Likewise.
4338         (RUN_TEST_LOOP_c_f): Likewise.
4339         (RUN_TEST_f_f1): Likewise.
4340         (RUN_TEST_LOOP_f_f1): Likewise.
4341         (RUN_TEST_fF_f1): Likewise.
4342         (RUN_TEST_LOOP_fF_f1): Likewise.
4343         (RUN_TEST_fI_f1): Likewise.
4344         (RUN_TEST_LOOP_fI_f1): Likewise.
4345         (RUN_TEST_ffI_f1): Likewise.
4346         (RUN_TEST_LOOP_ffI_f1): Likewise.
4347         (RUN_TEST_c_c): Likewise.
4348         (RUN_TEST_LOOP_c_c): Likewise.
4349         (RUN_TEST_cc_c): Likewise.
4350         (RUN_TEST_LOOP_cc_c): Likewise.
4351         (RUN_TEST_f_i): Likewise.
4352         (RUN_TEST_LOOP_f_i): Likewise.
4353         (RUN_TEST_f_i_tg): Likewise.
4354         (RUN_TEST_LOOP_f_i_tg): Likewise.
4355         (RUN_TEST_ff_i_tg): Likewise.
4356         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4357         (RUN_TEST_f_b): Likewise.
4358         (RUN_TEST_LOOP_f_b): Likewise.
4359         (RUN_TEST_f_b_tg): Likewise.
4360         (RUN_TEST_LOOP_f_b_tg): Likewise.
4361         (RUN_TEST_f_l): Likewise.
4362         (RUN_TEST_LOOP_f_l): Likewise.
4363         (RUN_TEST_f_L): Likewise.
4364         (RUN_TEST_LOOP_f_L): Likewise.
4365         (RUN_TEST_sincos): Likewise.
4366         (RUN_TEST_LOOP_sincos): Likewise.
4367
4368 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
4369
4370         [BZ #15480]
4371         [BZ #15485]
4372         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4373         main case of finite arguments, set rounding mode to FE_TONEAREST
4374         and discard exceptions.
4375         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4376         exceptions.
4377         (remainder_tonearest_test_data): New variable.
4378         (remainder_test_tonearest): New function.
4379         (remainder_towardzero_test_data): New variable.
4380         (remainder_test_towardzero): New function.
4381         (remainder_downward_test_data): New variable.
4382         (remainder_test_downward): New function.
4383         (remainder_upward_test_data): New variable.
4384         (remainder_test_upward): New function.
4385         (main): Call the new test functions.
4386
4387         * math/libm-test.inc (struct test_f_f1_data): Remove field
4388         extra_init.
4389         (struct test_fF_f1_data): Likewise.
4390         (struct test_ffI_f1_data): Likewise.
4391         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
4392         based on value of EXTRA_EXPECTED.
4393         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4394         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
4395         EXTRA_VAR based on value of EXTRA_EXPECTED.
4396         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4397         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
4398         EXTRA_VAR based on value of EXTRA_EXPECTED.
4399         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4400         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
4401         EXTRA_VAR based on value of EXTRA_EXPECTED.
4402         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4403         * math/gen-libm-test.pl (parse_args): Don't output initializers
4404         for extra output values.
4405
4406         * math/libm-test.inc (check_int): Expect result to be exactly
4407         equal to expected value and do not handle ulps.
4408         (check_long): Likewise.
4409         (check_longlong): Likewise.
4410
4411         * math/libm-test.inc (ceil_test_data): Test for "inexact"
4412         exceptions.
4413         (cimag_test_data): Likewise.
4414         (conj_test_data): Likewise.
4415         (copysign_test_data): Likewise.
4416         (cproj_test_data): Likewise.
4417         (creal_test_data): Likewise.
4418         (fabs_test_data): Likewise.
4419         (fdim_test_data): Likewise.
4420         (finite_test_data): Likewise.
4421         (floor_test_data): Likewise.
4422         (fmax_test_data): Likewise.
4423         (fmin_test_data): Likewise.
4424         (fmod_test_data): Likewise.
4425         (fpclassify_test_data): Likewise.
4426         (frexp_test_data): Likewise.
4427         (ilogb_test_data): Likewise.
4428         (isfinite_test_data): Likewise.
4429         (isgreater_test_data): Likewise.
4430         (isgreaterequal_test_data): Likewise.
4431         (isinf_test_data): Likewise.
4432         (isless_test_data): Likewise.
4433         (islessequal_test_data): Likewise.
4434         (islessgreater_test_data): Likewise.
4435         (isnan_test_data): Likewise.
4436         (isnormal_test_data): Likewise.
4437         (issignaling_test_data): Likewise.
4438         (isunordered_test_data): Likewise.
4439         (ldexp_test_data): Likewise.
4440         (lrint_test_data): Likewise.
4441         (lrint_test_data) [TEST_FLOAT]: Disable one test.
4442         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4443         (lrint_tonearest_test_data): Test for "inexact" exceptions.
4444         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4445         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4446         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4447         test input.
4448         (lrint_towardzero_test_data): Test for "inexact" exceptions.
4449         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4450         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4451         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4452         that test input.
4453         (lrint_downward_test_data): Test for "inexact" exceptions.
4454         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4455         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4456         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4457         test input.
4458         (lrint_upward_test_data): Test for "inexact" exceptions.
4459         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4460         test input.
4461         (llrint_test_data): Test for "inexact" exceptions.
4462         (llrint_test_data) [TEST_FLOAT]: Disable one test.
4463         (llrint_tonearest_test_data): Test for "inexact" exceptions.
4464         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4465         (llrint_towardzero_test_data): Test for "inexact" exceptions.
4466         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4467         (llrint_downward_test_data): Test for "inexact" exceptions.
4468         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4469         (llrint_upward_test_data): Test for "inexact" exceptions.
4470         (logb_test_data): Likewise.
4471         (logb_downward_test_data): Likewise.
4472         (nextafter_test_data): Likewise.
4473         (nexttoward_test_data): Likewise.
4474         (remainder_test_data): Likewise.
4475         (remquo_test_data): Likewise.
4476         (scalbn_test_data): Likewise.
4477         (scalbln_test_data): Likewise.
4478         (signbit_test_data): Likewise.
4479         (sqrt_test_data): Likewise.
4480         (significand_test_data): Likewise.
4481
4482 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4483
4484         [BZ #15424]
4485         * benchtests/bench-modf.c (struct args): Mark arg0 as
4486         volatile.
4487         * scripts/bench.pl: Mark members of struct args as volatile.
4488
4489 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4490
4491         [BZ # 15497]
4492         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4493         negative infinity on POWER6 or lower.
4494         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4495
4496 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4497
4498         [BZ #15442]
4499         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4500         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4501         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4502         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4503         (_FP_SETQNAN): New macro.
4504         (_FP_SETQNAN_SEMIRAW): Likewise.
4505         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4506         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4507         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4508         (FP_EXTEND): Use _FP_FRAC_SNANP.
4509         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4510         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4511         into account.
4512         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4513         New macro.
4514         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4515         Likewise.
4516
4517 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4518
4519         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4520         with DIVIDE_BY_ZERO_EXCEPTION.
4521         (gamma_test_data): Likewise.
4522         (lgamma_test_data): Likewise.
4523         (log_test_data): Likewise.
4524         (log10_test_data): Likewise.
4525         (log2_test_data): Likewise.
4526         (tgamma_test_data): Likewise.
4527
4528         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4529         (acos_test_tonearest): Likewise.
4530         (acos_test_towardzero): Likewise.
4531         (acos_test_downward): Likewise.
4532         (acos_test_upward): Likewise.
4533         (acosh_test): Likewise.
4534         (asin_test): Likewise.
4535         (asin_test_tonearest): Likewise.
4536         (asin_test_towardzero): Likewise.
4537         (asin_test_downward): Likewise.
4538         (asin_test_upward): Likewise.
4539         (asinh_test): Likewise.
4540         (atan_test): Likewise.
4541         (atanh_test): Likewise.
4542         (atan2_test): Likewise.
4543         (cabs_test): Likewise.
4544         (cacos_test): Likewise.
4545         (cacosh_test): Likewise.
4546         (casin_test): Likewise.
4547         (casinh_test): Likewise.
4548         (catan_test): Likewise.
4549         (catanh_test): Likewise.
4550         (cbrt_test): Likewise.
4551         (ccos_test): Likewise.
4552         (ccosh_test): Likewise.
4553         (cexp_test): Likewise.
4554         (clog_test): Likewise.
4555         (clog10_test): Likewise.
4556         (cos_test): Likewise.
4557         (cos_test_tonearest): Likewise.
4558         (cos_test_towardzero): Likewise.
4559         (cos_test_downward): Likewise.
4560         (cos_test_upward): Likewise.
4561         (cosh_test): Likewise.
4562         (cosh_test_tonearest): Likewise.
4563         (cosh_test_towardzero): Likewise.
4564         (cosh_test_downward): Likewise.
4565         (cosh_test_upward): Likewise.
4566         (cpow_test): Likewise.
4567         (csin_test): Likewise.
4568         (csinh_test): Likewise.
4569         (csqrt_test): Likewise.
4570         (ctan_test): Likewise.
4571         (ctan_test_tonearest): Likewise.
4572         (ctan_test_towardzero): Likewise.
4573         (ctan_test_downward): Likewise.
4574         (ctan_test_upward): Likewise.
4575         (ctanh_test): Likewise.
4576         (ctanh_test_tonearest): Likewise.
4577         (ctanh_test_towardzero): Likewise.
4578         (ctanh_test_downward): Likewise.
4579         (ctanh_test_upward): Likewise.
4580         (erf_test): Likewise.
4581         (erfc_test): Likewise.
4582         (exp_test): Likewise.
4583         (exp_test_tonearest): Likewise.
4584         (exp_test_towardzero): Likewise.
4585         (exp_test_downward): Likewise.
4586         (exp_test_upward): Likewise.
4587         (exp10_test): Likewise.
4588         (exp2_test): Likewise.
4589         (expm1_test): Likewise.
4590         (fmod_test): Likewise.
4591         (gamma_test): Likewise.
4592         (hypot_test): Likewise.
4593         (j0_test): Likewise.
4594         (j1_test): Likewise.
4595         (jn_test): Likewise.
4596         (lgamma_test): Likewise.
4597         (log_test): Likewise.
4598         (log10_test): Likewise.
4599         (log1p_test): Likewise.
4600         (log2_test): Likewise.
4601         (logb_test_downward): Likewise.
4602         (pow_test): Likewise.
4603         (pow_test_tonearest): Likewise.
4604         (pow_test_towardzero): Likewise.
4605         (pow_test_downward): Likewise.
4606         (pow_test_upward): Likewise.
4607         (remainder_test): Likewise.
4608         (remquo_test): Likewise.
4609         (sin_test): Likewise.
4610         (sin_test_tonearest): Likewise.
4611         (sin_test_towardzero): Likewise.
4612         (sin_test_downward): Likewise.
4613         (sin_test_upward): Likewise.
4614         (sincos_test): Likewise.
4615         (sinh_test): Likewise.
4616         (sinh_test_tonearest): Likewise.
4617         (sinh_test_towardzero): Likewise.
4618         (sinh_test_downward): Likewise.
4619         (sinh_test_upward): Likewise.
4620         (sqrt_test): Likewise.
4621         (tan_test): Likewise.
4622         (tan_test_tonearest): Likewise.
4623         (tan_test_towardzero): Likewise.
4624         (tan_test_downward): Likewise.
4625         (tan_test_upward): Likewise.
4626         (tanh_test): Likewise.
4627         (tgamma_test): Likewise.
4628         (y0_test): Likewise.
4629         (y1_test): Likewise.
4630         (yn_test): Likewise.
4631
4632         * math/gen-libm-test.pl (adjust_arg): Remove function.
4633         (special_function): Remove argument $in_func.  Only handle
4634         generating output for tables of tests, not inside functions.
4635         (parse_args): Likewise.
4636         (generate_testfile): Remove variable $in_func.  Update call to
4637         parse_args.
4638         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4639         (MINUS_ZERO_INIT): Rename macro to minus_zero.
4640         (PLUS_INFTY_INIT): Rename macro to plus_infty.
4641         (MINUS_INFTY_INIT): Rename macro to minus_infty.
4642         (QNAN_VALUE_INIT): Rename macro to qnan_value.
4643         (MAX_VALUE_INIT): Rename macro to max_value.
4644         (MIN_VALUE_INIT): Rename macro to min_value.
4645         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4646         (plus_zero): Remove variable.
4647         (minus_zero): Likewise.
4648         (plus_infty): Likewise.
4649         (minus_infty): Likewise.
4650         (qnan_value): Likewise.
4651         (max_value): Likewise.
4652         (min_value): Likewise.
4653         (min_subnorm_value): Likewise.
4654
4655 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4656
4657         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4658         uint64_t or uint32_t usage.
4659         * crypt/sha256-block.c: Likewise.
4660         * crypt/sha256-crypt.c: Likewise.
4661         * crypt/sha256.c: Likewise.
4662         * crypt/sha512-block.c: Likewise.
4663         * crypt/sha512-crypt.c: Likewise.
4664         * crypt/sha512.c: Likewise.
4665         * debug/backtrace-tst.c: Likewise.
4666         * debug/pcprofiledump.c: Likewise.
4667         * elf/cache.c: Likewise.
4668         * elf/dl-cache.c: Likewise.
4669         * elf/dl-misc.c: Likewise.
4670         * elf/dl-profile.c: Likewise.
4671         * elf/dl-support.c: Likewise.
4672         * elf/ldconfig.c: Likewise.
4673         * elf/sprof.c: Likewise.
4674         * iconv/dummy-repertoire.c: Likewise.
4675         * iconv/iconv_charmap.c: Likewise.
4676         * iconv/skeleton.c: Likewise.
4677         * iconvdata/8bit-generic.c: Likewise.
4678         * iconvdata/cp737.h: Likewise.
4679         * iconvdata/cp775.h: Likewise.
4680         * iconvdata/ibm1008.h: Likewise.
4681         * iconvdata/ibm1025.h: Likewise.
4682         * iconvdata/ibm1046.h: Likewise.
4683         * iconvdata/ibm1097.h: Likewise.
4684         * iconvdata/ibm1112.h: Likewise.
4685         * iconvdata/ibm1122.h: Likewise.
4686         * iconvdata/ibm1123.h: Likewise.
4687         * iconvdata/ibm1124.h: Likewise.
4688         * iconvdata/ibm1129.h: Likewise.
4689         * iconvdata/ibm1130.h: Likewise.
4690         * iconvdata/ibm1132.h: Likewise.
4691         * iconvdata/ibm1133.h: Likewise.
4692         * iconvdata/ibm1137.h: Likewise.
4693         * iconvdata/ibm1140.h: Likewise.
4694         * iconvdata/ibm1141.h: Likewise.
4695         * iconvdata/ibm1142.h: Likewise.
4696         * iconvdata/ibm1143.h: Likewise.
4697         * iconvdata/ibm1144.h: Likewise.
4698         * iconvdata/ibm1145.h: Likewise.
4699         * iconvdata/ibm1146.h: Likewise.
4700         * iconvdata/ibm1147.h: Likewise.
4701         * iconvdata/ibm1148.h: Likewise.
4702         * iconvdata/ibm1149.h: Likewise.
4703         * iconvdata/ibm1153.h: Likewise.
4704         * iconvdata/ibm1154.h: Likewise.
4705         * iconvdata/ibm1155.h: Likewise.
4706         * iconvdata/ibm1156.h: Likewise.
4707         * iconvdata/ibm1157.h: Likewise.
4708         * iconvdata/ibm1158.h: Likewise.
4709         * iconvdata/ibm1160.h: Likewise.
4710         * iconvdata/ibm1161.h: Likewise.
4711         * iconvdata/ibm1162.h: Likewise.
4712         * iconvdata/ibm1163.h: Likewise.
4713         * iconvdata/ibm1164.h: Likewise.
4714         * iconvdata/ibm1166.h: Likewise.
4715         * iconvdata/ibm1167.h: Likewise.
4716         * iconvdata/ibm12712.h: Likewise.
4717         * iconvdata/ibm1390.h: Likewise.
4718         * iconvdata/ibm1399.h: Likewise.
4719         * iconvdata/ibm16804.h: Likewise.
4720         * iconvdata/ibm4517.h: Likewise.
4721         * iconvdata/ibm4899.h: Likewise.
4722         * iconvdata/ibm4909.h: Likewise.
4723         * iconvdata/ibm4971.h: Likewise.
4724         * iconvdata/ibm5347.h: Likewise.
4725         * iconvdata/ibm803.h: Likewise.
4726         * iconvdata/ibm856.h: Likewise.
4727         * iconvdata/ibm901.h: Likewise.
4728         * iconvdata/ibm902.h: Likewise.
4729         * iconvdata/ibm9030.h: Likewise.
4730         * iconvdata/ibm9066.h: Likewise.
4731         * iconvdata/ibm921.h: Likewise.
4732         * iconvdata/ibm922.h: Likewise.
4733         * iconvdata/ibm9448.h: Likewise.
4734         * iconvdata/isiri-3342.h: Likewise.
4735         * iconvdata/jis0201.h: Likewise.
4736         * include/link.h: Likewise.
4737         * include/netdb.h: Likewise.
4738         * inet/check_native.c: Likewise.
4739         * inet/check_pf.c: Likewise.
4740         * inet/getipv4sourcefilter.c: Likewise.
4741         * inet/getnameinfo.c: Likewise.
4742         * inet/getsourcefilter.c: Likewise.
4743         * inet/htonl.c: Likewise.
4744         * inet/setipv4sourcefilter.c: Likewise.
4745         * inet/setsourcefilter.c: Likewise.
4746         * inet/test-inet6_opt.c: Likewise.
4747         * inet/tst-network.c: Likewise.
4748         * locale/C-collate.c: Likewise.
4749         * locale/C-ctype.c: Likewise.
4750         * locale/C-time.c: Likewise.
4751         * locale/C-translit.h: Likewise.
4752         * locale/loadarchive.c: Likewise.
4753         * locale/programs/3level.h: Likewise.
4754         * locale/programs/charmap.c: Likewise.
4755         * locale/programs/charmap.h: Likewise.
4756         * locale/programs/ld-address.c: Likewise.
4757         * locale/programs/ld-collate.c: Likewise.
4758         * locale/programs/ld-ctype.c: Likewise.
4759         * locale/programs/ld-identification.c: Likewise.
4760         * locale/programs/ld-measurement.c: Likewise.
4761         * locale/programs/ld-messages.c: Likewise.
4762         * locale/programs/ld-monetary.c: Likewise.
4763         * locale/programs/ld-name.c: Likewise.
4764         * locale/programs/ld-numeric.c: Likewise.
4765         * locale/programs/ld-paper.c: Likewise.
4766         * locale/programs/ld-telephone.c: Likewise.
4767         * locale/programs/ld-time.c: Likewise.
4768         * locale/programs/linereader.c: Likewise.
4769         * locale/programs/locale.c: Likewise.
4770         * locale/programs/locarchive.c: Likewise.
4771         * locale/programs/locfile.h: Likewise.
4772         * locale/programs/repertoire.c: Likewise.
4773         * locale/programs/simple-hash.c: Likewise.
4774         * locale/programs/simple-hash.h: Likewise.
4775         * malloc/memusage.c: Likewise.
4776         * malloc/memusagestat.c: Likewise.
4777         * nis/nis_defaults.c: Likewise.
4778         * nis/nis_hash.c: Likewise.
4779         * nis/nis_print.c: Likewise.
4780         * nis/nis_xdr.c: Likewise.
4781         * nscd/connections.c: Likewise.
4782         * nscd/hstcache.c: Likewise.
4783         * nscd/nscd_gethst_r.c: Likewise.
4784         * nscd/nscd_getserv_r.c: Likewise.
4785         * nscd/nscd_helper.c: Likewise.
4786         * nscd/servicescache.c: Likewise.
4787         * nss/makedb.c: Likewise.
4788         * nss/nss_db/db-XXX.c: Likewise.
4789         * nss/nss_db/db-initgroups.c: Likewise.
4790         * nss/nss_db/db-netgrp.c: Likewise.
4791         * nss/nss_files/files-network.c: Likewise.
4792         * nss/nss_files/files-parse.c: Likewise.
4793         * posix/bug-regex5.c: Likewise.
4794         * posix/fnmatch_loop.c: Likewise.
4795         * posix/regcomp.c: Likewise.
4796         * posix/regexec.c: Likewise.
4797         * posix/tst-rfc3484-2.c: Likewise.
4798         * posix/tst-rfc3484-3.c: Likewise.
4799         * posix/tst-rfc3484.c: Likewise.
4800         * resolv/nss_dns/dns-canon.c: Likewise.
4801         * resolv/nss_dns/dns-network.c: Likewise.
4802         * resolv/res_init.c: Likewise.
4803         * resolv/res_mkquery.c: Likewise.
4804         * resolv/tst-aton.c: Likewise.
4805         * stdlib/cxa_atexit.c: Likewise.
4806         * stdlib/cxa_finalize.c: Likewise.
4807         * stdlib/gen-fpioconst.c: Likewise.
4808         * stdlib/strtol_l.c: Likewise.
4809         * string/tst-endian.c: Likewise.
4810         * sunrpc/auth_des.c: Likewise.
4811         * sunrpc/clnt_udp.c: Likewise.
4812         * sunrpc/rtime.c: Likewise.
4813         * sunrpc/svcauth_des.c: Likewise.
4814         * sunrpc/xdr.c: Likewise.
4815         * sunrpc/xdr_intXX_t.c: Likewise.
4816         * sunrpc/xdr_rec.c: Likewise.
4817         * sysdeps/generic/ldconfig.h: Likewise.
4818         * sysdeps/generic/ldsodefs.h: Likewise.
4819         * sysdeps/generic/memusage.h: Likewise.
4820         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4821         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4822         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4823         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4824         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4825         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4826         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4827         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4828         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4829         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4830         * sysdeps/posix/getaddrinfo.c: Likewise.
4831         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4832         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4833         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4834         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4835         * sysdeps/powerpc/test-gettimebase.c: Likewise.
4836         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4837         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4838         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4839         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4840         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4841         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4842         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4843         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4844         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4845         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4846         * sysdeps/x86_64/dl-tls.h: Likewise.
4847         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4848         * time/alt_digit.c: Likewise.
4849         * time/era.c: Likewise.
4850         * wcsmbs/tst-c16c32-1.c: Likewise.
4851
4852 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4853
4854         * math/libm-test.inc (struct test_sincos_data): New type.
4855         (RUN_TEST_LOOP_sincos): New macro.
4856         (sincos_test_data): New variable.
4857         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4858
4859 2013-05-16  Richard Henderson  <rth@redhat.com>
4860
4861         * math/atest-exp2.c (LIMB64): New macro.
4862         (CONSTSZ): New macro.
4863         (mp_exp1, mp_exp_m1, mp_log2): New variables.
4864         (hexdig): Move ...
4865         (print_mpn_fp): ... to function scope.
4866         (read_mpn_hex): Remove.
4867         (get_log2): Remove.
4868         (exp2_mpn): Use mp_log2.
4869         (main): Use mp_exp1.
4870
4871 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4872
4873         * math/libm-test.inc: Remove comment about not testing "inexact"
4874         exceptions.
4875         (INEXACT_EXCEPTION): New macro.
4876         (NO_INEXACT_EXCEPTION): Likewise.
4877         (INVALID_EXCEPTION_OK): Update value.
4878         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4879         (OVERFLOW_EXCEPTION_OK): Likewise.
4880         (UNDERFLOW_EXCEPTION_OK): Likewise.
4881         (IGNORE_ZERO_INF_SIGN): Likewise.
4882         (ERRNO_UNCHANGED): Likewise.
4883         (ERRNO_EDOM): Likewise.
4884         (ERRNO_ERANGE): Likewise.
4885         (test_exceptions): Handle testing "inexact" exceptions.
4886         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4887         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4888         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4889         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4890         INEXACT_EXCEPTION.
4891         (rint_towardzero_test_data): Likewise.
4892         (rint_downward_test_data): Likewise.
4893         (rint_upward_test_data): Likewise.
4894
4895         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4896         with OVERFLOW_EXCEPTION.
4897         (exp10_test_data): Likewise.
4898         (exp2_test_data): Likewise.
4899         (expm1_test_data): Likewise.
4900         (lgamma_test_data): Likewise.
4901         (pow_test_data): Likewise.
4902         (tgamma_test_data): Likewise.
4903         (yn_test_data): Remove duplicate test of overflow.
4904
4905         * math/libm-test.inc (struct test_cc_c_data): New type.
4906         (RUN_TEST_LOOP_cc_c): New macro.
4907         (cpow_test_data): New variable.
4908         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4909
4910         * math/libm-test.inc (struct test_f_L_data): New type.
4911         (RUN_TEST_LOOP_f_L): New macro.
4912         (llrint_test_data): New variable.
4913         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4914         (llrint_tonearest_test_data): New variable.
4915         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4916         (llrint_towardzero_test_data): New variable.
4917         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4918         (llrint_downward_test_data): New variable.
4919         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4920         (llrint_upward_test_data): New variable.
4921         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4922         (llround_test_data): New variable.
4923         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4924
4925 2013-05-13  Peter Collingbourne  <pcc@google.com>
4926
4927         * math/atest-exp2.c (get_log2): Remove const attribute.
4928
4929 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4930
4931         * math/libm-test.inc (struct test_f_l_data): New type.
4932         (RUN_TEST_LOOP_f_l): New macro.
4933         (lrint_test_data): New variable.
4934         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4935         (lrint_tonearest_test_data): New variable.
4936         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4937         (lrint_towardzero_test_data): New variable.
4938         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4939         (lrint_downward_test_data): New variable.
4940         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4941         (lrint_upward_test_data): New variable.
4942         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4943         (lround_test_data): New variable.
4944         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4945
4946 2013-05-15  Peter Collingbourne  <pcc@google.com>
4947
4948         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4949         (EXTRACT_WORDS64) Use where appropriate.
4950         (INSERT_WORDS64) Likewise.
4951
4952         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4953         constraints with x constraints.
4954         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4955
4956         * malloc/obstack.c (_obstack_compat): Add initializer.
4957
4958 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4959
4960         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4961         si_trapno and add si_addr_lsb to _sifields.sigfault.
4962         (si_trapno): Remove macro.
4963         (si_addr_lsb): Define new macro.
4964         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4965
4966 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4967
4968         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4969         instead of TEST_f_l.
4970         (llrint_test_tonearest): Likewise.
4971         (llrint_test_towardzero): Likewise.
4972         (llrint_test_downward): Likewise.
4973         (llrint_test_upward): Likewise.
4974         (llround_test): Likewise.
4975
4976         * math/libm-test.inc (struct test_f_i_data): Add comment.
4977         (RUN_TEST_LOOP_f_b): New macro.
4978         (RUN_TEST_LOOP_f_b_tg): Likewise.
4979         (finite_test_data): New variable.
4980         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4981         (isfinite_test_data): New variable.
4982         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4983         (isinf_test_data): New variable.
4984         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4985         (isnan_test_data): New variable.
4986         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4987         (isnormal_test_data): New variable.
4988         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4989         (issignaling_test_data): New variable.
4990         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4991         (signbit_test_data): New variable.
4992         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4993
4994         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4995         with INVALID_EXCEPTION.
4996         (acosh_test_data): Likewise.
4997         (asin_test_data): Likewise.
4998         (atanh_test_data): Likewise.
4999         (fmod_test_data): Likewise.
5000         (log_test_data): Likewise.
5001         (log10_test_data): Likewise.
5002         (log2_test_data): Likewise.
5003         (pow_test_data): Likewise.
5004         (sqrt_test_data): Likewise.
5005         (y0_test_data): Likewise.
5006         (y1_test_data): Likewise.
5007         (yn_test_data): Likewise.
5008
5009         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5010         function contents.
5011
5012         * math/libm-test.inc (struct test_ff_i_data): New type.
5013         (RUN_TEST_LOOP_ff_i_tg): New macro.
5014         (isgreater_test_data): New variable.
5015         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5016         (isgreaterequal_test_data): New variable.
5017         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5018         (isless_test_data): New variable.
5019         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5020         (islessequal_test_data): New variable.
5021         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5022         (islessgreater_test_data): New variable.
5023         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5024         (isunordered_test_data): New variable.
5025         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5026
5027 2013-05-14  David S. Miller  <davem@davemloft.net>
5028
5029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5030
5031 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
5032
5033         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5034
5035         * math/libm-test.inc (struct test_fF_f1_data): Change type of
5036         extra_test to int.
5037         (struct test_f_i_data): Change type of max_ulp to int.
5038
5039         * math/libm-test.inc (test_ffI_f1_data): New type.
5040         (RUN_TEST_LOOP_ffI_f1): New macro.
5041         (remquo_test_data): New variable.
5042         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5043
5044         * setjmp/tst-setjmp-fp.c: New file.
5045         * setjmp/Makefile (tests): Add tst-setjmp-fp.
5046         (link-libm): New variable.
5047         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5048
5049         * math/libm-test.inc (struct test_f_i_data): New type.
5050         (RUN_TEST_LOOP_f_i): New macro.
5051         (RUN_TEST_LOOP_f_i_tg): Likewise.
5052         (fpclassify_test_data): New variable.
5053         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5054         (ilogb_test_data): New variable.
5055         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5056
5057         * math/libm-test.inc (scalbln_test): Correct function name in END
5058         call.
5059
5060         * math/libm-test.inc (struct test_f_f1_data): Add comment.
5061         (RUN_TEST_LOOP_fI_f1): New macro.
5062         (frexp_test_data): New variable.
5063         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5064
5065         * math/libm-test.inc (struct test_fF_f1_data): New type.
5066         (RUN_TEST_LOOP_fF_f1): New macro.
5067         (modf_test_data): New variable.
5068         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5069
5070         * math/libm-test.inc (struct test_f_f1_data): New type.
5071         (RUN_TEST_LOOP_f_f1): New macro.
5072         (gamma_test_data): New variable.
5073         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5074         (lgamma_test_data): New variable.
5075         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5076
5077 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
5078
5079         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5080         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5081         (main): Comment "tls" pseudo-hwcap.
5082
5083 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
5084
5085         * math/libm-test.inc (struct test_fl_f_data): New type.
5086         (RUN_TEST_LOOP_fl_f): New variable.
5087         (scalbln_test_data): New variable.
5088         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5089
5090         * math/libm-test.inc (struct test_fi_f_data): New type.
5091         (RUN_TEST_LOOP_fi_f): New macro.
5092         (ldexp_test_data): New variable.
5093         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5094         (scalbn_test_data): New variable.
5095         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5096
5097         * math/libm-test.inc (struct test_c_f_data): New type.
5098         (RUN_TEST_LOOP_c_f): New macro.
5099         (cabs_test_data): New variable.
5100         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5101         (carg_test_data): New variable.
5102         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5103         (cimag_test_data): New variable.
5104         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5105         (creal_test_data): New variable.
5106         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5107
5108         * math/libm-test.inc (struct test_if_f_data): New type.
5109         (RUN_TEST_LOOP_if_f): New macro.
5110         (jn_test_data): New variable.
5111         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5112         (yn_test_data): New variable.
5113         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5114
5115         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5116
5117 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5118
5119         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5120         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5121
5122 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5123
5124         * benchtests/Makefile (CPPFLAGS-nonlib): Add
5125         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5126         (bench-deps): Add bench-timing.h.
5127         * benchtests-bench-skeleton.c: Include bench-timing.h.
5128         (main): Use TIMING_* macros instead of clock_gettime.
5129         * benchtests/bench-timing.h: New file.
5130
5131         [BZ #14582]
5132         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5133         Renamed from _LIB_VERSION.
5134         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5135
5136 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
5137
5138         * math/libm-test.inc (struct test_fff_f_data): New type.
5139         (RUN_TEST_LOOP_fff_f): New macro.
5140         (fma_test_data): New variable.
5141         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5142         (fma_towardzero_test_data): New variable.
5143         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5144         (fma_downward_test_data): New variable.
5145         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5146         (fma_upward_test_data): New variable.
5147         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5148
5149         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5150         (struct test_c_c_data): New type.
5151         (RUN_TEST_LOOP_c_c): New macro.
5152         (cacos_test_data): New variable.
5153         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5154         (cacosh_test_data): New variable.
5155         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5156         (casin_test_data): New variable.
5157         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5158         (casinh_test_data): New variable.
5159         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5160         (catan_test_data): New variable.
5161         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5162         (catanh_test_data): New variable.
5163         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5164         (ccos_test_data): New variable.
5165         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5166         (ccosh_test_data): New variable.
5167         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5168         (cexp_test_data): New variable.
5169         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5170         (clog_test_data): New variable.
5171         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5172         (clog10_test_data): New variable.
5173         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5174         (conj_test_data): New variable.
5175         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5176         (cproj_test_data): New variable.
5177         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5178         (csin_test_data): New variable.
5179         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5180         (csinh_test_data): New variable.
5181         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5182         (csqrt_test_data): New variable.
5183         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5184         (ctan_test_data): New variable.
5185         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5186         (ctan_tonearest_test_data): New variable.
5187         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5188         (ctan_towardzero_test_data): New variable.
5189         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5190         (ctan_downward_test_data): New variable.
5191         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5192         (ctan_upward_test_data): New variable.
5193         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5194         (ctanh_test_data): New variable.
5195         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5196         (ctanh_tonearest_test_data): New variable.
5197         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5198         (ctanh_towardzero_test_data): New variable.
5199         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5200         (ctanh_downward_test_data): New variable.
5201         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5202         (ctanh_upward_test_data): New variable.
5203         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5204         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5205         of BUILD_COMPLEX.
5206
5207         * math/libm-test.inc (struct test_ff_f_data): New type.
5208         (struct test_ff_f_data_nexttoward): Likewise.
5209         (RUN_TEST_LOOP_2_f): New macro.
5210         (RUN_TEST_LOOP_ff_f): Likewise.
5211         (atan2_test_data): New variable.
5212         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5213         (copysign_test_data): New variable.
5214         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5215         (fdim_test_data): New variable.
5216         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5217         (fmax_test_data): New variable.
5218         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5219         (fmin_test_data): New variable.
5220         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5221         (fmod_test_data): New variable.
5222         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5223         (hypot_test_data): New variable.
5224         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5225         (nextafter_test_data): New variable.
5226         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5227         (nexttoward_test_data): New variable.
5228         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5229         (pow_test_data): New variable.
5230         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5231         (pow_tonearest_test_data): New variable.
5232         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5233         (pow_towardzero_test_data): New variable.
5234         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5235         (pow_downward_test_data): New variable.
5236         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5237         (pow_upward_test_data): New variable.
5238         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5239         (remainder_test_data): New variable.
5240         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5241         (scalb_test_data): New variable.
5242         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5243         * sysdeps/i386/fpu/libm-test-ulps: Update.
5244
5245 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
5246
5247         * math/libm-test.inc (fma_test): Use max_value instead of local
5248         variable fltmax.
5249         (nextafter_test): Likewise.
5250
5251         * math/libm-test.inc (acos_towardzero_test_data): New variable.
5252         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5253         (acos_downward_test_data): New variable.
5254         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5255         (acos_upward_test_data): New variable.
5256         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5257         (acosh_test_data): New variable.
5258         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5259         (asin_test_data): New variable.
5260         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5261         (asin_tonearest_test_data): New variable.
5262         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5263         (asin_towardzero_test_data): New variable.
5264         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5265         (asin_downward_test_data): New variable.
5266         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5267         (asin_upward_test_data): New variable.
5268         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5269         (asinh_test_data): New variable.
5270         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5271         (atan_test_data): New variable.
5272         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5273         (atanh_test_data): New variable.
5274         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5275         (cbrt_test_data): New variable.
5276         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5277         (ceil_test_data): New variable.
5278         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5279         (cos_test_data): New variable.
5280         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5281         (cos_tonearest_test_data): New variable.
5282         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5283         (cos_towardzero_test_data): New variable.
5284         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5285         (cos_downward_test_data): New variable.
5286         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5287         (cos_upward_test_data): New variable.
5288         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5289         (cosh_test_data): New variable.
5290         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5291         (cosh_tonearest_test_data): New variable.
5292         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5293         (cosh_towardzero_test_data): New variable.
5294         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5295         (cosh_downward_test_data): New variable.
5296         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5297         (cosh_upward_test_data): New variable.
5298         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5299         (erf_test_data): New variable.
5300         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5301         (erfc_test_data): New variable.
5302         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5303         (exp_test_data): New variable.
5304         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5305         (exp_tonearest_test_data): New variable.
5306         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5307         (exp_towardzero_test_data): New variable.
5308         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5309         (exp_downward_test_data): New variable.
5310         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5311         (exp_upward_test_data): New variable.
5312         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5313         (exp10_test_data): New variable.
5314         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5315         (exp2_test_data): New variable.
5316         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5317         (expm1_test_data): New variable.
5318         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5319         (fabs_test_data): New variable.
5320         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5321         (floor_test_data): New variable.
5322         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5323         (j0_test_data): New variable.
5324         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5325         (j1_test_data): New variable.
5326         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5327         (log_test_data): New variable.
5328         (log_test): Run tests with RUN_TEST_LOOP_f_f.
5329         (log10_test_data): New variable.
5330         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5331         (log1p_test_data): New variable.
5332         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5333         (log2_test_data): New variable.
5334         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5335         (logb_test_data): New variable.
5336         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5337         (logb_downward_test_data): New variable.
5338         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5339         (nearbyint_test_data): New variable.
5340         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5341         (rint_test_data): New variable.
5342         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5343         (rint_tonearest_test_data): New variable.
5344         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5345         (rint_towardzero_test_data): New variable.
5346         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5347         (rint_downward_test_data): New variable.
5348         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5349         (rint_upward_test_data): New variable.
5350         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5351         (round_test_data): New variable.
5352         (round_test): Run tests with RUN_TEST_LOOP_f_f.
5353         (sin_test_data): New variable.
5354         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5355         (sin_tonearest_test_data): New variable.
5356         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5357         (sin_towardzero_test_data): New variable.
5358         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5359         (sin_downward_test_data): New variable.
5360         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5361         (sin_upward_test_data): New variable.
5362         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5363         (sinh_test_data): New variable.
5364         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5365         (sinh_tonearest_test_data): New variable.
5366         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5367         (sinh_towardzero_test_data): New variable.
5368         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5369         (sinh_downward_test_data): New variable.
5370         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5371         (sinh_upward_test_data): New variable.
5372         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5373         (sqrt_test_data): New variable.
5374         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5375         (tan_test_data): New variable.
5376         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5377         (tan_tonearest_test_data): New variable.
5378         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5379         (tan_towardzero_test_data): New variable.
5380         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5381         (tan_downward_test_data): New variable.
5382         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5383         (tan_upward_test_data): New variable.
5384         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5385         (tanh_test_data): New variable.
5386         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5387         (tgamma_test_data): New variable.
5388         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5389         (trunc_test_data): New variable.
5390         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5391         (y0_test_data): New variable.
5392         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5393         (y1_test_data): New variable.
5394         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5395         (significand_test_data): New variable.
5396         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5397
5398 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
5399
5400         [BZ #12387]
5401         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5402
5403 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5404
5405         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5406
5407 2013-05-10  Andreas Jaeger  <aj@suse.de>
5408
5409         [BZ #15448]
5410         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5411         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5412
5413 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
5414
5415         * math/gen-libm-test.pl (adjust_arg): New function.
5416         (special_functions): Handle generating output in both functions
5417         and arrays.
5418         (parse_args): Likewise.
5419         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
5420         $in_func argument to parse_args.
5421         * math/libm-test.inc (struct test_f_f_data): New type.
5422         (IF_ROUND_INIT_): New macro.
5423         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5424         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5425         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5426         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5427         (ROUND_RESTORE_): Likewise.
5428         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5429         (ROUND_RESTORE_FE_TONEAREST): Likewise.
5430         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5431         (ROUND_RESTORE_FE_UPWARD): Likewise.
5432         (RUN_TEST_LOOP_f_f): New macro.
5433         (acos_test_data): New variable.
5434         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5435         (acos_tonearest_test_data): New variable.
5436         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5437
5438 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5439
5440         * benchtests/bench-skeleton.c (startup): Fix coding style.
5441
5442 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
5443
5444         [BZ #6809]
5445         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5446         negative infinity argument.
5447         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5448         negative infinity argument.
5449         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5450         negative infinity argument.
5451         * math/libm-test.inc (tgamma_test): Expect errno to be set for
5452         domain errors.
5453
5454 2013-05-10  Florian Weimer  <fweimer@redhat.com>
5455
5456         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5457         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5458         * iconv/iconv_prog.c (main): Likewise.
5459         * locale/programs/charmap-dir.c (charmap_readdir)
5460         (fopen_uncompressed): Likewise.
5461         * locale/programs/locfile.c (siblings_uncached)
5462         (write_locale_data): Use lstat64 instead of lstat.
5463         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5464         stat.
5465
5466 2013-05-10  Andreas Jaeger  <aj@suse.de>
5467
5468         [BZ #15395]
5469         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5470         localization.
5471         Include <locale.h>.
5472
5473 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
5474
5475         * elf/dl-close.c (_dl_close_worker): Add comments.
5476
5477 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
5478
5479         [BZ #15359]
5480         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5481         high part of pi/2.
5482         (__ieee754_rem_pio2l): Update comments.
5483
5484         [BZ #15429]
5485         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5486         high part of pi/2.
5487         (__ieee754_rem_pio2l): Update comments.
5488
5489         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5490         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5491
5492         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5493         M_PI_4l.
5494
5495         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5496         (M_PI_34_LOG10El): Likewise.
5497         (M_PI2_LOG10El): Likewise.
5498         (M_PI4_LOG10El): Likewise.
5499         (M_PI_LOG10El): Likewise.
5500
5501 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5502
5503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5504
5505 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
5506
5507         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5508         (MINUS_ZERO_INIT): Likewise.
5509         (PLUS_INFTY_INIT): Likewise.
5510         (MINUS_INFTY_INIT): Likewise.
5511         (QNAN_VALUE_INIT): Likewise.
5512         (MAX_VALUE_INIT): Likewise.
5513         (MIN_VALUE_INIT): Likewise.
5514         (MIN_SUBNORM_VALUE_INIT): Likewise.
5515         (plus_zero): Initialize with PLUS_ZERO_INIT.
5516         (minus_zero): Initialize with MINUS_ZERO_INIT.
5517         (plus_infty): Initialize with PLUS_INFTY_INIT.
5518         (minus_infty): Initialize with MINUS_INFTY_INIT.
5519         (qnan_value): Initialize with QNAN_VALUE_INIT.
5520         (max_value): Initialize with MAX_VALUE_INIT.
5521         (min_value): Initialize with MIN_VALUE_INIT.
5522         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5523
5524         * math/libm-test.inc (RUN_TEST_if_f): New macro.
5525         (jn_test): Use TEST_if_f instead of TEST_ff_f.
5526         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5527         (yn_test): Use TEST_if_f instead of TEST_ff_f.
5528
5529         * math/libm-test.inc (RUN_TEST_f_f): New macro.
5530         (RUN_TEST_2_f): Likewise.
5531         (RUN_TEST_ff_f): Likewise.
5532         (RUN_TEST_fi_f): Likewise.
5533         (RUN_TEST_fl_f): Likewise.
5534         (RUN_TEST_fff_f): Likewise.
5535         (RUN_TEST_c_f): Likewise.
5536         (RUN_TEST_f_f1): Likewise.
5537         (RUN_TEST_fF_f1): Likewise.
5538         (RUN_TEST_fI_f1): Likewise.
5539         (RUN_TEST_ffI_f1): Likewise.
5540         (RUN_TEST_c_c): Likewise.
5541         (RUN_TEST_cc_c): Likewise.
5542         (RUN_TEST_f_i): Likewise.
5543         (RUN_TEST_f_i_tg): Likewise.
5544         (RUN_TEST_ff_i_tg): Likewise.
5545         (RUN_TEST_f_b): Likewise.
5546         (RUN_TEST_f_b_tg): Likewise.
5547         (RUN_TEST_f_l): Likewise.
5548         (RUN_TEST_f_L): Likewise.
5549         (RUN_TEST_sincos): Likewise.
5550         * math/gen-libm-test.pl (new_test): Take new argument to indicate
5551         whether to show exceptions.  Do not include ");\n" in return
5552         value.
5553         (special_functions): Output call to RUN_TEST_sincos instead of
5554         check_float calls.  Update calls to new_test.
5555         (parse_args): Output call to single RUN_TEST_* macro instead of
5556         check_* calls and other assignments.  Update calls to new_test.
5557
5558         [BZ #2546]
5559         [BZ #2560]
5560         [BZ #5159]
5561         [BZ #15426]
5562         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5563         input to result for tgamma overflow.
5564         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5565         (gamma_coeff): New variable.
5566         (NCOEFF): New macro.
5567         (gamma_positive): New function.
5568         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5569         underflow here.  Use gamma_positive instead of exp (lgamma) for
5570         other arguments.
5571         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5572         (gamma_coeff): New variable.
5573         (NCOEFF): New macro.
5574         (gammaf_positive): New function.
5575         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5576         underflow here.  Use gamma_positive instead of exp (lgamma) for
5577         other arguments.
5578         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5579         (gamma_coeff): New variable.
5580         (NCOEFF): New macro.
5581         (gammal_positive): New function.
5582         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5583         underflow here.  Use gamma_positive instead of exp (lgamma) for
5584         other arguments.
5585         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5586         (gamma_coeff): New variable.
5587         (NCOEFF): New macro.
5588         (gammal_positive): New function.
5589         (__ieee754_gammal_r): Handle positive infinity, overflow and
5590         underflow here.  Handle NaN the same as positive infinity.  Remove
5591         check x < 0xffffffff for negative integers.  Use gamma_positive
5592         instead of exp (lgamma) for other arguments.
5593         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5594         (gamma_coeff): New variable.
5595         (NCOEFF): New macro.
5596         (gammal_positive): New function.
5597         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5598         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5599         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5600         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5601         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5602         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5603         * sysdeps/generic/math_private.h (__gamma_productf): New
5604         prototype.
5605         (__gamma_product): Likewise.
5606         (__gamma_productl): Likewise.
5607         * math/Makefile (libm-calls): Add gamma_product.
5608         * math/libm-test.inc (tgamma_test): Add more tests.
5609         * sysdeps/i386/fpu/libm-test-ulps: Update.
5610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5611
5612 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
5613
5614         * benchtests/bench-skeleton.c (main): Preheat CPU.
5615
5616 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
5617
5618         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5619
5620 2013-05-07  Roland McGrath  <roland@hack.frob.com>
5621
5622         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5623         and _dl_skip_args_internal.
5624
5625 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
5626
5627         * manual/message.texi (Message Translation): Talk about users.
5628         Message to key mapping impacts design.
5629
5630 2013-05-06  Roland McGrath  <roland@hack.frob.com>
5631
5632         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5633
5634         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5635
5636         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5637         * sysdeps/wordsize-64/glob64.c: ... here.
5638
5639         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5640         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5641         New macros.
5642
5643         * debug/getlogin_r_chk.c: Moved to ...
5644         * login/getlogin_r_chk.c: ... here.
5645         * debug/Makefile (routines): Move getlogin_r_chk to ...
5646         * login/Makefile (routines): ... here.
5647         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5648         * login/Versions (libc: GLIBC_2.4): ... here.
5649
5650         * io/poll.c (__poll): Renamed from poll.
5651         Add libc_hidden_def.
5652         (poll): Define as weak alias.
5653
5654         * debug/ptsname_r_chk.c: Moved to ...
5655         * login/ptsname_r_chk.c: ... here.
5656         * debug/Makefile (routines): Move ptsname_r_chk to ...
5657         * login/Makefile (routines): ... here.
5658         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5659         * login/Versions (libc: GLIBC_2.4): ... here.
5660
5661         * posix/getlogin.c: Moved to ...
5662         * login/getlogin.c: ... here.
5663         * posix/getlogin_r.c: Moved to ...
5664         * login/getlogin_r.c: ... here.
5665         * posix/getlogin_r.c: Moved to ...
5666         * login/getlogin_r.c: ... here.
5667         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5668         * login/Makefile (routines): ... here.
5669         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5670         * login/Versions (libc: GLIBC_2.0): ... here.
5671
5672         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5673         (setrlimit): Define as weak alias.
5674
5675         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5676         Call __ names for open, ftruncate, and close.
5677         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5678         (truncate): Define as weak alias.
5679
5680 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
5681
5682         * math/gen-libm-test.pl (parse_args): Initialize x before each
5683         test of frexp, modf and remquo.
5684
5685         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5686         test signgam value.
5687
5688 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5689
5690         [BZ #15418]
5691         [BZ #15419]
5692         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5693         internal tests.
5694         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5695
5696 2013-05-06  Roland McGrath  <roland@hack.frob.com>
5697
5698         * elf/dl-writev.h: New file.
5699         * elf/dl-misc.c: Include it.
5700         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5701         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5702
5703 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
5704
5705         * math/libm-test.inc (noXFails): Remove variable.
5706         (noXPasses): Likewise.
5707         (BUILD_COMPLEX_INT): Remove macro.
5708         (print_screen): Remove xfail argument.
5709         (print_screen_max_error): Likewise.
5710         (update_stats): Likewise.
5711         (print_max_error): Likewise.  Update calls to other affected
5712         functions.
5713         (print_complex_max_error): Likewise.
5714         (test_single_exception): Update calls to print_screen.
5715         (test_single_errno): Likewise.
5716         (check_float_internal): Remove xfail argument.  Update calls to
5717         other affected functions.
5718         (check_float): Likewise.
5719         (check_complex): Likewise.
5720         (check_int): Likewise.
5721         (check_long): Likewise.
5722         (check_bool): Likewise.
5723         (check_longlong): Likewise.
5724         (main): Don't print noXFails and noXPasses.
5725         * math/gen-libm-test.pl (top level): Don't mention expected
5726         failure handling in comment.
5727         (new_test): Don't handle expected failures.
5728         (parse_args): Don't mention expected failure handling in comment.
5729         (generate_testfile): Don't handle expected failures.
5730         (parse_ulps): Likewise.
5731         (print_ulps_file): Likewise.
5732         (get_failure): Remove function.
5733         (output_test): Don't handle expected failures.
5734         * make/README.libm-test: Don't mention expected failure handling.
5735
5736         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
5737         (minus_zero): Likewise.
5738         (plus_infty): Likewise.
5739         (minus_infty): Likewise.
5740         (qnan_value): Likewise.
5741         (max_value): Likewise.
5742         (min_value): Likewise.
5743         (min_subnorm_value): Likewise.
5744         (initialize): Do not initialize those variables dynamically.
5745
5746 2013-05-03  Roland McGrath  <roland@hack.frob.com>
5747
5748         * io/open.c (__open_2): Moved to ...
5749         * io/open_2.c: ... this new file.
5750         * io/open64.c (__open64_2): Moved to ...
5751         * io/open64_2.c: ... this new file.
5752         * io/openat.c (__openat_2): Moved to ...
5753         * io/openat_2.c: ... this new file.
5754         * io/openat64.c (__openat64_2): Moved to ...
5755         * io/openat64_2.c: ... this new file.
5756         * io/Makefile (routines): Add them.
5757         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5758         * sysdeps/unix/sysv/linux/open_2.c: File removed.
5759         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5760         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5761         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5762         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5763         (__openat64): Add hidden_ver.
5764         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5765         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5766
5767         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5768         Separately conditionalize setting of GLRO(dl_sysinfo) so
5769         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5770         as well, but the actual setting is only under [NEED_DL_SYSINFO].
5771
5772 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5773
5774         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5775         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5776         definition.
5777         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5778         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5779         (_libc_vdso_platform_setup): Add __vdso_time initialization.
5780         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5781         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5782
5783 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
5784
5785         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5786         test signgam value.
5787
5788         * math/libm-test.inc (hypot_test): Do not use
5789         IGNORE_ZERO_INF_SIGN.
5790
5791 2013-05-03  Andreas Jaeger  <aj@suse.de>
5792
5793         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5794         Linux 3.9.
5795         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5796         (PF_MAX): Adjust for VSOCK change.
5797
5798 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5799
5800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5801
5802 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
5803
5804         [BZ #15264]
5805         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5806         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5807         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5808
5809 2013-05-02  David S. Miller  <davem@davemloft.net>
5810
5811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5812
5813 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
5814
5815         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5816
5817 2013-05-01  Roland McGrath  <roland@hack.frob.com>
5818
5819         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5820
5821 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
5822
5823         [BZ #14952]
5824         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5825         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5826         Use __attribute__ ((__gnu_inline__)).
5827         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5828         Don't use __attribute__ ((__gnu_inline__)).
5829
5830 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
5831
5832         [BZ #15423]
5833         * math/s_catan.c (__catan): Handle small real or imaginary part of
5834         input specially to avoid spurious underflow.
5835         * math/s_catanf.c (__catanf): Likewise.
5836         * math/s_catanh.c (__catanh): Likewise.
5837         * math/s_catanhf.c (__catanhf): Likewise.
5838         * math/s_catanhl.c (__catanhl): Likewise.
5839         * math/s_catanl.c (__catanl): Likewise.
5840         * math/libm-test.inc (catan_test): Add more tests.
5841         (catanh_test): Likewise.
5842         * sysdeps/i386/fpu/libm-test-ulps: Update.
5843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5844
5845 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5846
5847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5848
5849 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
5850
5851         [BZ #15416]
5852         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5853         accurately for denominator in atan2.
5854         * math/s_catanf.c (__catanf): Likewise.
5855         * math/s_catanh.c (__catanh): Likewise.
5856         * math/s_catanhf.c (__catanhf): Likewise.
5857         * math/s_catanhl.c (__catanhl): Likewise.
5858         * math/s_catanl.c (__catanl): Likewise.
5859         * math/libm-test.inc (catan_test): Add more tests.
5860         (catanh_test): Likewise.
5861         * sysdeps/i386/fpu/libm-test-ulps: Update.
5862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5863
5864 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5865
5866         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5867
5868         * benchtests/Makefile (bench): Remove slow benchmarks.
5869         * benchtests/atan-inputs: Add slow benchmark inputs.
5870         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5871         (BENCH_FUNC): Accept variant offset.
5872         (VARIANT): Define.
5873         * benchtests/bench-skeleton.c (main): Run benchmark for each
5874         variant.
5875         * benchtests/cos-inputs: Add slow benchmark inputs.
5876         * benchtests/exp-inputs: Likewise.
5877         * benchtests/pow-inputs: Likewise.
5878         * benchtests/sin-inputs: Likewise.
5879         * benchtests/slowatan-inputs: Remove.
5880         * benchtests/slowatan.c: Remove.
5881         * benchtests/slowcos-inputs: Remove.
5882         * benchtests/slowcos.c: Remove.
5883         * benchtests/slowexp-inputs: Remove.
5884         * benchtests/slowexp.c: Remove.
5885         * benchtests/slowpow-inputs: Remove.
5886         * benchtests/slowpow.c: Remove.
5887         * benchtests/slowsin-inputs: Remove.
5888         * benchtests/slowsin.c: Remove.
5889         * benchtests/slowtan-inputs: Remove.
5890         * benchtests/slowtan.c: Remove.
5891         * benchtests/tan-inputs: Add slow benchmark inputs.
5892         * scripts/bench.pl: Parse comments and directives.
5893
5894         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
5895         in CPPFLAGS.
5896         ($(objpfx)bench-%.c): Remove *-ITER.
5897         * benchtests/bench-modf.c: Remove definition of ITER.
5898         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5899         (main): Loop for DURATION seconds instead of fixed number of
5900         iterations.
5901         * scripts/bench.pl: Don't expect iterations in parameters.
5902
5903 2013-04-29  Roland McGrath  <roland@hack.frob.com>
5904
5905         * io/fchdir.c (__fchdir): Renamed from fchdir.
5906         (fchdir): Define as weak alias.
5907
5908 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5909
5910         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5911         (ERRNO_EDOM): Likewise.
5912         (ERRNO_ERANGE): Likewise.
5913         (noErrnoTests): New variable.
5914         (init_max_error): Set errno to 0.
5915         (test_single_errno): New function.
5916         (test_errno): Likewise.
5917         (check_float_internal): Call test_errno.  Set errno to 0.
5918         (check_complex): Refer to errno tests in comment.
5919         (check_int): Call test_errno.  Set errno to 0.
5920         (check_long): Likewise.
5921         (check_bool): Likewise.
5922         (check_longlong): Likewise.
5923         (cos_test): Use ERRNO_* flags for errno tests instead of
5924         check_int.
5925         (expm1_test): Likewise.
5926         (fmod_test): Likewise.
5927         (ilogb_test): Likewise.
5928         (lgamma_test): Likewise.
5929         (pow_test): Likewise.
5930         (remainder_test): Likewise.
5931         (sin_test): Likewise.
5932         (tan_test): Likewise.
5933         (yn_test): Likewise.
5934         (initialize): Set errno to 0.
5935         (main): Print number of errno tests.
5936         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5937
5938 2013-04-29  Andreas Jaeger  <aj@suse.de>
5939
5940         [BZ #15084]
5941         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5942         and RES_USEVC.
5943
5944         [BZ #15085]
5945         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5946         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5947         unimplemented.
5948
5949         [BZ #15380]
5950         * stdlib/random.c (__initstate): Return NULL if
5951         __initstate fails.
5952
5953         [BZ #15086]
5954         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5955         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5956         RES_SNGLKUPREOP.
5957
5958 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5959
5960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5961
5962 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5963
5964         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5965         of individual tests.
5966         (casin_test): Likewise.
5967         (casinh_test): Likewise.
5968
5969 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
5970
5971         [BZ #15409]
5972         * math/s_catan.c (__catan): Handle arguments with large real or
5973         imaginary part separately without squaring.
5974         * math/s_catanf.c (__catanf): Likewise.
5975         * math/s_catanh.c (__catanh): Likewise.
5976         * math/s_catanhf.c (__catanhf): Likewise.
5977         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5978         and redefine.
5979         (__catanhl): Handle arguments with large real or imaginary part
5980         separately without squaring.
5981         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5982         and redefine.
5983         (__catanl): Handle arguments with large real or imaginary part
5984         separately without squaring.
5985         * math/libm-test.inc (catan_test): Add more tests.
5986         (catanh_test): Likewise.
5987         * sysdeps/i386/fpu/libm-test-ulps: Update.
5988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5989
5990 2013-04-27  Andreas Jaeger  <aj@suse.de>
5991
5992         [BZ #15007]
5993         * stdlib/stdlib.h: Update guards for qecvt.
5994         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5995         <stdlib.h>.
5996
5997 2013-04-27  Allan McRae  <allan@archlinux.org>
5998
5999         * sysdeps/i386/fpu/libm-test-ulps: Update.
6000
6001 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
6002
6003         [BZ #15406]
6004         * math/s_catan.c: Include <float.h>.
6005         (__catan): Ensure underflow exception occurs for underflowed
6006         result.
6007         * math/s_catanf.c: Include <float.h>.
6008         (__catanf): Ensure underflow exception occurs for underflowed
6009         result.
6010         * math/s_catanh.c: Include <float.h>.
6011         (__catanh): Ensure underflow exception occurs for underflowed
6012         result.
6013         * math/s_catanhf.c: Include <float.h>.
6014         (__catanhf): Ensure underflow exception occurs for underflowed
6015         result.
6016         * math/s_catanhl.c: Include <float.h>.
6017         (__catanhl): Ensure underflow exception occurs for underflowed
6018         result.
6019         * math/s_catanl.c: Include <float.h>.
6020         (__catanl): Ensure underflow exception occurs for underflowed
6021         result.
6022         * math/libm-test.inc (catan_test): Add more tests.
6023         (catanh_test): Likewise.
6024
6025         [BZ #15405]
6026         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6027         underflowed result.
6028         * math/s_ccoshf.c (__ccoshf): Likewise.
6029         * math/s_ccoshl.c (__ccoshl): Likewise.
6030         * math/s_csin.c (__csin): Likewise.
6031         * math/s_csinf.c (__csinf): Likewise.
6032         * math/s_csinh.c (__csinh): Likewise.
6033         * math/s_csinhf.c (__csinhf): Likewise.
6034         * math/s_csinhl.c (__csinhl): Likewise.
6035         * math/s_csinl.c (__csinl): Likewise.
6036         * math/libm-test.inc (ccos_test): Add more tests.
6037         (ccosh_test): Likewise.
6038         (csin_test): Likewise.
6039         (csinh_test): Likewise.
6040
6041 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6042
6043         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6044         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6045         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6046         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6047         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6048         powerpc/power5+/fpu folders.
6049         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6050
6051
6052 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6053
6054         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6055
6056 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
6057
6058         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6059         additions to variable.
6060         [$(config-machine) = x86_64] (modules-names): Likewise.
6061         ($(objpfx)tst-audit3): Remove dependency.
6062         ($(objpfx)tst-audit3.out): Likewise.
6063         ($(objpfx)tst-audit4): Likewise.
6064         ($(objpfx)tst-audit4.out): Likewise.
6065         ($(objpfx)tst-audit5): Likewise.
6066         ($(objpfx)tst-audit5.out): Likewise.
6067         ($(objpfx)tst-audit6): Likewise.
6068         ($(objpfx)tst-audit6.out): Likewise.
6069         ($(objpfx)tst-audit7): Likewise.
6070         ($(objpfx)tst-audit7.out): Likewise.
6071         (tst-audit3-ENV): Remove variable.
6072         (tst-audit4-ENV): Likewise.
6073         (tst-audit5-ENV): Likewise.
6074         (tst-audit6-ENV): Likewise.
6075         (tst-audit7-ENV): Likewise.
6076         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6077         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6078         addition to variable.
6079         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6080         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6081         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6082         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6083         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6084         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6085         tst-audit3, tst-audit4 and tst-audit5.
6086         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6087         tst-audit6 and tst-audit7.
6088         [$(subdir) = elf] (modules-names): Add audit modules for those
6089         tests.
6090         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6091         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6092         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6093         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6094         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6095         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6096         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6097         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6098         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6099         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6100         [$(subdir) = elf] (tst-audit3-ENV): New variable.
6101         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6102         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6103         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6104         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6105         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6106         Likewise.
6107         [$(subdir) = elf && $(config-cflags-avx) = yes]
6108         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6109         [$(subdir) = elf && $(config-cflags-avx) = yes]
6110         (CFLAGS-tst-auditmod4a.c): Likewise.
6111         [$(subdir) = elf && $(config-cflags-avx) = yes]
6112         (CFLAGS-tst-auditmod4b.c): Likewise.
6113         [$(subdir) = elf && $(config-cflags-avx) = yes]
6114         (CFLAGS-tst-auditmod6b.c): Likewise.
6115         [$(subdir) = elf && $(config-cflags-avx) = yes]
6116         (CFLAGS-tst-auditmod6c.c): Likewise.
6117         [$(subdir) = elf && $(config-cflags-avx) = yes]
6118         (CFLAGS-tst-auditmod7b.c): Likewise.
6119         * elf/tst-audit3.c: Move to ...
6120         * sysdeps/x86_64/tst-audit3.c: ... here.
6121         * elf/tst-audit4.c: Move to ...
6122         * sysdeps/x86_64/tst-audit4.c: ... here.
6123         * elf/tst-audit5.c: Move to ...
6124         * sysdeps/x86_64/tst-audit5.c: ... here.
6125         * elf/tst-audit6.c: Move to ...
6126         * sysdeps/x86_64/tst-audit6.c: ... here.
6127         * elf/tst-audit7.c: Move to ...
6128         * sysdeps/x86_64/tst-audit7.c: ... here.
6129         * elf/tst-auditmod3a.c: Move to ...
6130         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6131         * elf/tst-auditmod3b.c: Move to ...
6132         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6133         * elf/tst-auditmod4a.c: Move to ...
6134         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6135         * elf/tst-auditmod4b.c: Move to ...
6136         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6137         * elf/tst-auditmod5a.c: Move to ...
6138         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6139         * elf/tst-auditmod5b.c: Move to ...
6140         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6141         * elf/tst-auditmod6a.c: Move to ...
6142         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6143         * elf/tst-auditmod6b.c: Move to ...
6144         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6145         * elf/tst-auditmod6c.c: Move to ...
6146         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6147         * elf/tst-auditmod7a.c: Move to ...
6148         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6149         * elf/tst-auditmod7b.c: Move to ...
6150         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6151
6152 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
6153
6154         [BZ #15366]
6155         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6156         define unconditionally.
6157         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6158         define unconditionally.
6159         (INT8_C, INT16_C, etc.): Likewise.
6160
6161 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
6162
6163         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6164         __ehdr_start with hidden visibility.
6165
6166         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6167
6168 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
6169
6170         * math/libm-test.inc (cos_test): Use accurate hex constants.
6171         (sincost_test): Likewise.
6172
6173 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
6174
6175         * math/libm-test.inc (catan_test): Add more tests.
6176         (catanh_test): Likewise.
6177
6178         * math/s_catanf.c (__catanf): Use suffixed floating-point
6179         constants.
6180         * math/s_catanhf.c (__catanhf): Likewise.
6181         * math/s_catanhl.c (__catanhl): Likewise.
6182         * math/s_catanl.c (__catanl): Likewise.
6183
6184         [BZ #15394]
6185         * math/s_catan.c (__catan): Calculate imaginary part of result
6186         with log1p not log unless computing log of number close to 0.
6187         * math/s_catanf.c (__catanf): Likewise.
6188         * math/s_catanl.c (__catanl): Likewise.
6189         * math/s_catanh.c (__catanh): Calculate real part of result with
6190         log1p not log unless computing log of number close to 0.
6191         * math/s_catanhf.c (__catanhf): Likewise.
6192         * math/s_catanhl.c (__catanhl): Likewise.
6193         * math/libm-test.inc (catan_test): Add more tests.
6194         (catanh_test): Likewise.
6195         * sysdeps/i386/fpu/libm-test-ulps: Update.
6196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6197
6198 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6199
6200         * benchtests/Makefile: Mention files in which fast and slow
6201         paths of math functions are implemented.
6202
6203 2013-04-23  Roland McGrath  <roland@hack.frob.com>
6204
6205         * sysdeps/posix/timespec_get.c: New file.
6206
6207 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6208
6209         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6210         POWER.
6211         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6212         for POWER.
6213         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6214         powerpc/power5/fpu folders.
6215         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6216         * benchtests/Makefile: Add modf testcase.
6217         * benchtests/bench-modf.c: New file: Benchmark test for mo
6218
6219 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6220
6221         [BZ #14888]
6222         * time/Makefile (tests): Add tst-strptime-whitespace.
6223         * time/strptime_l.c (get_number): Use ISSPACE.
6224         (__strptime_internal): Likewise.
6225         * time/tst-strptime-whitespace.c: New test case.
6226
6227 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
6228
6229         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6230         member.
6231         (_nss_files_init): Set it here.
6232
6233 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
6234
6235         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6236         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6237         unsigned.
6238
6239 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
6240
6241         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6242
6243 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6244
6245         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6246         size just once.
6247
6248 2013-04-21  David S. Miller  <davem@davemloft.net>
6249
6250         * po/ru.po: Update Russion translation from translation project.
6251
6252 2013-04-17  Adam Conrad  <adconrad@0c3.net>
6253
6254         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6255         and setfsgid.
6256
6257 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
6258
6259         * configure.in: Remove i386 configure warning. Remove i386 case.
6260         * configure: Regenerate.
6261         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6262         Add example to error message.
6263         * sysdeps/i386/configure: Regenerate.
6264
6265 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6266
6267         * benchtests/Makefile (bench): Add cos, tan, slowcos and
6268         slowtan.
6269         * benchtests/cos-inputs: New file.
6270         * benchtests/slowcos-inputs: New file.
6271         * benchtests/slowcos.c: New file.
6272         * benchtests/slowtan-inputs: New file.
6273         * benchtests/slowtan.c: New file.
6274         * benchtests/tan-inputs: New file.
6275
6276 2013-04-16  Roland McGrath  <roland@hack.frob.com>
6277
6278         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6279         considered kosher.
6280
6281 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6282
6283         * benchtests/Makefile: Include cppflags-iterator.mk to add
6284         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6285
6286         * Makefile.in (bench-clean): New target.
6287         * benchtests/Makefile (bench-clean): Likewise.
6288
6289 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
6290
6291         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6292
6293 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
6294
6295         * stdio-common/tstdiomisc.c: Fix coding-style violation.
6296
6297 2013-04-15  Andreas Schwab  <schwab@suse.de>
6298
6299         * nscd/grpcache.c (cache_addgr): Properly check for short write.
6300         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6301         * nscd/pwdcache.c (cache_addpw): Likewise.
6302         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
6303         more than recsize.
6304
6305 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6306
6307         * benchtests/Makefile (bench): Write all output to
6308         bench-out.tmp together.
6309
6310 2013-04-15  Andreas Schwab  <schwab@suse.de>
6311
6312         * nscd/nscd.c (main): Don't fork again after closing files.
6313
6314 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6315
6316         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6317
6318         * benchtests/Rules (bench-deps): Collect dependencies into a
6319         single variable.  Add Makefile to dependencies.
6320         ($(objpfx)bench-%.c): Depend on bench-deps.
6321
6322 2013-04-12  Roland McGrath  <roland@hack.frob.com>
6323             Xavier Roche  <roche+kml2@exalead.com>
6324
6325         [BZ #15361]
6326         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6327         just that it's a file descriptor.
6328         * manual/llio.texi (Synchronizing AIO Operations): Update description
6329         for EBADF error from aio_fsync.
6330
6331 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6332
6333         * Rules (bench): Move target definition...
6334         * benchtests/Makefile: ... here.
6335
6336 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
6337
6338         * math/libm-test.inc (cos_test): Fix PI/2 test.
6339         (sincos_test): Likewise.
6340         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6341         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6342
6343 2013-04-11  Andreas Schwab  <schwab@suse.de>
6344
6345         [BZ #13988]
6346         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6347         accept exponent character only when digits were seen.
6348         * stdio-common/Makefile (tests): Add bug26.
6349         * stdio-common/bug26.c: New file.
6350
6351         [BZ #14293]
6352         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6353         non-freeable.
6354
6355 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6356
6357         * Makeconfig (rtld-prefix): Define built linker prefix.
6358         * Rules (run-bench): Use it.
6359         * math/Makefile (run-regen-ulps): Likewise.
6360
6361         * Rules (bench): Remove eval.
6362
6363 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6364             Roland McGrath  <roland@hack.frob.com>
6365             Ondrej Bilka  <neleai@seznam.cz>
6366
6367         [BZ #15346]
6368         * time/getdate.c: Include ctype.h and alloca.h.
6369         (__getdate_r): Trim leading and trailing spaces of input.
6370         * time/tst-getdate.c (tests): Add tests with leading and
6371         trailing spaces.
6372
6373 2013-04-08  Roland McGrath  <roland@hack.frob.com>
6374
6375         [BZ #14280]
6376         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6377         when computing value.
6378
6379 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6380
6381         * math/README.libm-test (How can I generate "libm-test-ulps"?):
6382         Use testrun.sh to run libm tests.
6383
6384         [BZ #15309]
6385         * elf/dl-open.c (dl_open_worker): memset all of seen array.
6386
6387 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
6388
6389         [BZ #15264]
6390         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6391
6392 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6393
6394         * Makefile.in (regen-ulps): New target.
6395         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6396         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6397         [ifneq (no,$(PERL)] (regen-ulps): New target.
6398         [ifeq (no,$(PERL)] (regen-ulps): New target.
6399         * math/libm-test.inc (ulps_file_name): Define.
6400         (output_dir): New variable.
6401         (options): Add "output-dir" option.
6402         (parse_opt): Handle 'o' case.
6403         (main): If output_dir is non-NULL use it as a prefix
6404         otherwise use "".
6405         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6406
6407 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6408
6409         [BZ #10060, #10062]
6410         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6411         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6412         fail configure if __sync_val_compare_and_swap is not inlined.
6413         * sysdeps/i386/configure: Regenerate.
6414         * configure.in: Build for i686 when configured for i386.
6415         * configure: Regenerate.
6416         * README: Remove i386 reference.
6417
6418 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6419
6420         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6421         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6422
6423 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
6424
6425         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6426         (lmsnanval): New variables.
6427         (F): Add conversion tests.
6428         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6429         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6430
6431         * stdio-common/tstdiomisc.c (F): Properly collect individual
6432         tests' results.
6433
6434         [BZ #14686, #15336]
6435         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6436         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6437         Instead, use input NaN values or generate a qNaN by arithmetic
6438         operation.  Also fix bugs to comply with the standard.
6439         * math/libm-test.inc (remainder_test): Add more tests.
6440
6441         [BZ #15335, #15342]
6442         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6443         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6444         input NaN values or generate a qNaN by arithmetic operation.
6445
6446         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6447         unreachable code.
6448
6449         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6450         definitions.
6451
6452 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
6453
6454         [BZ #14478]
6455         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6456         underflowed result.
6457         * math/s_cexpf.c (__cexpf): Likewise.
6458         * math/s_cexpl.c (__cexpl): Likewise.
6459         * math/libm-test.inc (cexp_test): Add more tests.
6460
6461 2013-04-03  Andreas Schwab  <schwab@suse.de>
6462
6463         [BZ #15330]
6464         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6465         order arrays from heap if bigger than alloca cutoff.
6466
6467 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
6468
6469         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6470         (SNAN_TESTS_double): Refer to GCC PR56831.
6471         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6472         GCC PR56828.
6473
6474 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6475
6476         * Rules (bench): Move bench.out after the run is complete.
6477
6478         * Rules (bench): Echo currently running benchmark.
6479
6480         * benchtests/Makefile (bench): Add atan and slowatan.
6481         * benchtests/atan-inputs: New file.
6482         * benchtests/slowatan-inputs: New file.
6483         * benchtests/slowatan.c: New file.
6484
6485         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6486         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6487         its value.
6488
6489         [BZ #15305]
6490         * sysdeps/unix/sysv/linux/kernel-features.h
6491         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6492         __ASSUME_XFS_RESTRICTED_CHOWN.
6493         * sysdeps/unix/sysv/linux/pathconf.c
6494         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6495         Save and restore errno.
6496
6497 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
6498
6499         [BZ #15327]
6500         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6501         arguments using __kernel_casinh.
6502         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6503         arguments using __kernel_casinhf.
6504         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6505         arguments using __kernel_casinhl.
6506         * math/libm-test.inc (cacosh_test): Add more tests.
6507         * sysdeps/i386/fpu/libm-test-ulps: Update.
6508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6509
6510 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6511
6512         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6513         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6514
6515         * bench/Makefile (bench): Add sin and slowsin.
6516         * benchtests/sin-inputs: New file.
6517         * benchtests/slowsin-inputs: New file.
6518         * benchtests/slowsin.c: New file.
6519
6520         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6521         (bench): Add slowexp and slowpow.
6522         (exp-ITER): Increase iterations.
6523         (pow-ITER): Likewise.
6524         * benchtests/exp-inputs: Change input.
6525         * benchtests/pow-inputs: Likewise.
6526         * benchtests/slowexp-inputs: New file.
6527         * benchtests/slowexp.c: New file.
6528         * benchtests/slowpow-inputs: New file.
6529         * benchtests/slowpow.c: New file.
6530
6531 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6532
6533         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6534         instructions.
6535         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6536         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6537         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6538         * benchtests/Makefile: Add rint benchtest.
6539         * benchtests/rint-inputs: Input for rint benchtest.
6540
6541 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
6542
6543         * Versions.def (libm): Add GLIBC_2.18.
6544         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6545         hidden libm prototypes.
6546         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6547         * math/Makefile (libm-calls): Add s_issignaling.
6548         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6549         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
6550         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6551         declaration.
6552         * math/math.h [__USE_GNU] (issignaling): New macro.
6553         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6554         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6555         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6556         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6557         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6558         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6559         * manual/arith.texi (issignaling): New section.
6560         * manual/libm-err-tab.pl (@all_functions): Update comment.
6561         * math/gen-libm-test.pl (parse_args): Apply special handling for
6562         issignaling.
6563         * math/libm-test.inc (print_float, issignaling_test): New
6564         functions.
6565         (check_float_internal): Add issignaling checks.
6566         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6567         default definition.
6568         * sysdeps/powerpc/math-tests.h: New file.
6569         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6570         tests.
6571         * math/test-snan.c (TEST_FUNC): Likewise.
6572
6573 2013-03-30  David S. Miller  <davem@davemloft.net>
6574
6575         * po/de.po: Update from translation team.
6576
6577 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
6578
6579         [BZ #10357]
6580         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6581         imaginary part less than 1.0 and real part less than 0.5
6582         specially.
6583         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6584         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6585         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6586         (cacos_test): Add more tests.
6587         (casin_test): Likewise.
6588         (casinh_test): Likewise.
6589         * sysdeps/i386/fpu/libm-test-ulps: Update.
6590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6591
6592 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6593
6594         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6595         ONE with its value.
6596
6597         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6598         (__pow_mp): Replace ONE and MONE with their values.
6599         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6600         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6601         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6602         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6603         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6604         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6605
6606         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6607
6608         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6609         (__pow_mp): Replace ZERO and MZERO with their values.
6610         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6611         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6612         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6613         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6614         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6615         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6616         (__sqr): Likewise.
6617
6618         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6619
6620         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6621
6622 2013-03-28  Roland McGrath  <roland@hack.frob.com>
6623
6624         * include/stdlib.h [!SHARED] (__call_tls_dtors):
6625         Declare with __attribute__ ((weak)).
6626         * stdlib/exit.c (__libc_atexit) [!SHARED]:
6627         Call __call_tls_dtors only if it's not NULL.
6628
6629 2013-03-28  Roland McGrath  <roland@hack.frob.com>
6630
6631         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6632         didn't do it already, then set _dl_phdr and _dl_phnum based on the
6633         magic __ehdr_start linker symbol if it's defined.
6634         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6635         them up here if it was already done.
6636
6637         * elf/dl-support.c (_dl_phdr): Make pointer to const.
6638         (_dl_aux_init): Use const in cast when setting it.
6639         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6640         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6641         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6642
6643         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6644         Declare them here.
6645         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6646         * csu/libc-tls.c: Nor here.
6647         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6648
6649         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6650         (__libc_message): Never call vsyslog.
6651
6652 2013-03-28  Alan Modra  <amodra@gmail.com>
6653
6654         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6655         Define as empty.
6656         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6657         Likewise.
6658
6659 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6660
6661         [BZ #15214]
6662         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6663         underflow.
6664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6665
6666 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6667
6668         [BZ #15304]
6669         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6670         Don't add gid passed as argument.
6671
6672         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6673
6674 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
6675
6676         [BZ #15307]
6677         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6678         imaginary part between 1.0 and 1.5 and real part less than 0.5
6679         specially.
6680         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6681         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6682         * math/libm-test.inc (cacos_test): Add more tests.
6683         (casin_test): Likewise.
6684         (casinh_test): Likewise.
6685         * sysdeps/i386/fpu/libm-test-ulps: Update.
6686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6687
6688 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6689
6690         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6691         constants.
6692         (norm): Likewise.
6693         (denorm): Likewise.
6694         (__dbl_mp): Likewise.
6695         (add_magnitudes): Likewise.
6696         (sub_magnitudes): Likewise.
6697         (__add): Likewise.
6698         (__sub): Likewise.
6699         (__mul): Likewise.
6700         (__sqr): Likewise.
6701         (__inv): Likewise.
6702         (__dvd): Likewise.
6703
6704         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6705         commented code.
6706         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6707         (__dubcos): Likewise.
6708         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6709         (__ieee754_acos): Likewise.
6710         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6711         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6712         (__exp1): Likewise.
6713         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6714         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6715         (log1): Likewise.
6716         (my_log2): Likewise.
6717         (checkint): Likewise.
6718         * sysdeps/ieee754/dbl-64/e_remainder.c
6719         (__ieee754_remainder): Likewise.
6720         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6721         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6722         (bsloww): Likewise.
6723         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6724
6725         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6726         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6727         MANTISSA_STORE_T to store computations on mantissa.  Use
6728         macros for rounding and division.
6729         (denorm): Likewise.
6730         (__dbl_mp): Likewise.
6731         (add_magnitudes): Likewise.
6732         (sub_magnitudes): Likewise.
6733         (__mul): Likewise.
6734         (__sqr): Likewise.
6735         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
6736         powers of two in terms of TWOPOW macro.
6737         (mp_no): Make type of mantissa as MANTISSA_T.
6738         [!RADIXI]: Define RADIXI.
6739         [!TWO52]: Define TWO52.
6740         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6741
6742 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6743
6744         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6745         llroundl symbol when building for PPC32.
6746
6747 2013-03-24  Mark H Weaver  <mhw@netris.org>
6748
6749         * manual/arith.texi (Normalization Functions): Fix prototypes for
6750         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6751
6752 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6753
6754         [BZ #13889]
6755         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6756         high value to check if expl overflow.
6757         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6758         to check for underflow and overflow.
6759         * math/libm-test.inc: Add exp test.
6760
6761 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
6762
6763         [BZ #11120]
6764         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6765         with NOT_IN_libc.
6766
6767 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6768
6769         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6770         symbol.
6771
6772 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6773
6774         * math/gen-libm-test.pl (parse_args, special_functions): Properly
6775         wrap blocks consisting of several statements.
6776
6777         * sysdeps/generic/math-tests.h: New file.
6778         * sysdeps/i386/fpu/math-tests.h: Likewise.
6779         * math/test-snan.c: Include it.
6780         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6781
6782 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6783
6784         [BZ #15285]
6785         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6786         (__ieee754_j0l): Do not improve calculations using cos of twice
6787         input for inputs above LDBL_MAX / 2.0L.
6788         (__ieee754_y0l): Likewise.
6789         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6790         (__ieee754_j1l): Do not improve calculations using cos of twice
6791         input for inputs above LDBL_MAX / 2.0L.
6792         (__ieee754_y1l): Likewise.
6793         * math/libm-test.inc (j0_test): Add another test.
6794         (j1_test): Likewise.
6795         (y0_test): Likewise.
6796         (y1_test): Likewise.
6797         * sysdeps/i386/fpu/libm-test-ulps: Update.
6798
6799 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6800
6801         * Rules ($(objpfx)bench-%.c): Include code from a C source
6802         file.
6803
6804 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6805
6806         [BZ #15287]
6807         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6808         imaginary part 1.0 and real part less than 0.5 specially.
6809         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6810         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6811         * math/libm-test.inc (cacos_test): Add more tests.
6812         (casin_test): Likewise.
6813         (casinh_test): Likewise.
6814         * sysdeps/i386/fpu/libm-test-ulps: Update.
6815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6816
6817 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6818
6819         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6820         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6821
6822 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
6823
6824         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6825         * config.make.in (config-cflags-sse4): Remove variable.
6826         (config-cflags-avx): Likewise.
6827         (config-cflags-sse2avx): Likewise.
6828         (config-cflags-novzeroupper): Likewise.
6829         (config-asflags-i686): Likewise.
6830         (have-mfma4): Likewise.
6831         (have-as-vis3): Likewise.
6832         (MIG): Likewise.
6833         * configure.in (MIG): Do not AC_SUBST.
6834         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6835         (libc_cv_cc_sse4): Do not AC_SUBST.
6836         (libc_cv_cc_avx): Likewise.
6837         (libc_cv_cc_sse2avx): Likewise.
6838         (libc_cv_cc_novzeroupper): Likewise.
6839         (libc_cv_cc_fma4): Likewise.
6840         (libc_cv_as_i686): Likewise.
6841         (libc_cv_sparc_as_vis3): Likewise.
6842         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6843         LIBC_CONFIG_VAR.
6844         (config-asflags-i686): Likewise.
6845         (config-cflags-avx): Likewise.
6846         (config-cflags-sse2avx): Likewise.
6847         (have-mfma4): Likewise.
6848         (config-cflags-novzeroupper): Likewise.
6849         * sysdeps/mach/configure.in (MIG): Likewise.
6850         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6851         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6852         LIBC_CONFIG_VAR.
6853         (config-cflags-avx): Likewise.
6854         (config-cflags-sse2avx): Likewise.
6855         (have-mfma4): Likewise.
6856         (config-cflags-novzeroupper): Likewise.
6857         * configure: Regenerated.
6858         * sysdeps/i386/configure: Likewise.
6859         * sysdeps/mach/configure: Likewise.
6860         * sysdeps/sparc/configure: Likewise.
6861         * sysdeps/x86_64/configure: Likewise.
6862
6863 2013-03-20  Roland McGrath  <roland@hack.frob.com>
6864
6865         [BZ #14812]
6866         * locale/programs/localedef.c (options): Put N_ translation marker
6867         on argument names, not just descriptions.
6868
6869 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6870
6871         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6872
6873 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
6874
6875         [BZ #14176]
6876         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6877
6878 2013-03-19  Roland McGrath  <roland@hack.frob.com>
6879
6880         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6881         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6882         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6883         [!BEFORE_ABORT] (before_abort): New function.
6884         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6885         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6886         (writev_for_fatal): New function.
6887         (WRITEV_FOR_FATAL): New macro; call that.
6888         (backtrace_and_maps): New function.
6889         (BEFORE_ABORT): New macro; call that.
6890         (struct str_list): Type removed.
6891         (__libc_message, __libc_fatal): Functions removed.
6892         Include <sysdeps/posix/libc_fatal.c> instead.
6893
6894 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
6895
6896         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6897         constants.
6898         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6899         double constants.
6900
6901 2013-03-19  Andreas Schwab  <schwab@suse.de>
6902
6903         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6904         * sysdeps/gnu/configure: Regenerate.
6905
6906         * configure.in: Substitute libc_cv_rtlddir.
6907         * configure: Regenerate.
6908         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6909         * Makeconfig (rtlddir, inst_rtlddir): New variables.
6910         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6911         * elf/Makefile (install-others, CFLAGS-interp.c)
6912         (ldso_install, common-ldd-rewrite): Likewise.
6913         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6914         $(inst_slibdir)/$(rtld-installed-name).
6915         * scripts/rellns-sh: Add -p option.
6916         * Makerules (make-shlib-link): Use rellns-sh to get relative name
6917         for source.
6918
6919 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6920
6921         * manual/nptl.texi: Renamed to ...
6922         * manual/threads.texi: ... this.
6923         * manual/Makefile (chapters): Update.
6924
6925 2013-03-18  Roland McGrath  <roland@hack.frob.com>
6926
6927         [BZ #14812]
6928         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6929         on argument names, not just descriptions.
6930         * malloc/memusagestat.c (options): Likewise.
6931         * nss/getent.c (options): Likewise.
6932
6933 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
6934
6935         [BZ #14812]
6936         * iconv/iconv_prog.c (options): Put N_ translation marker
6937         on argument names, not just descriptions.
6938         * iconv/iconvconfig.c (options): Likewise.
6939
6940 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
6941
6942         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6943         implementation which is faster on all x86_64 architectures.
6944         Tested on AMD, Intel Nehalem, SNB, IVB.
6945         * sysdeps/x86_64/strnlen.S: Likewise.
6946
6947         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6948         Remove all multiarch strlen and strnlen versions.
6949         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6950         Remove strlen and strnlen related parts.
6951
6952         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6953         Inline strlen part.
6954         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6955
6956         * sysdeps/x86_64/multiarch/strlen.S: Remove.
6957         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6958         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6959         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6960         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6961         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6962
6963 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
6964
6965         * manual/memory.texi (Malloc Tunable Parameters):
6966         Sort parameters alphabetically. Add comments for missing entries.
6967
6968 2013-03-17  David S. Miller  <davem@davemloft.net>
6969
6970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6971
6972 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
6973
6974         [BZ #15283]
6975         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6976         for arguments at most half maximum finite value.
6977         * math/libm-test.inc (j0_test): Add more tests.
6978         (j1_test): Likewise.
6979         (y0_test): Likewise.
6980         (y1_test): Likewise.
6981         * sysdeps/i386/fpu/libm-test-ulps: Update.
6982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6983
6984         [BZ #14155]
6985         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6986         1 / x and functions P and Q for arguments above 0x1p256L.
6987         (__ieee754_y0l): Likewise.
6988         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6989         (__ieee754_y1l): Likewise.
6990         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6991         (j1_test): Likewise.
6992         (y0_test): Likewise.
6993         (y1_test): Likewise.
6994
6995 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
6996
6997         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6998         variable.
6999
7000 2013-03-15  Roland McGrath  <roland@hack.frob.com>
7001
7002         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7003         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7004         zero since it's initialized to EXEC_PAGESIZE.
7005
7006         * sysdeps/unix/sysv/linux/ldsodefs.h
7007         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7008         * sysdeps/generic/ldsodefs.h: ... here.
7009
7010 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
7011
7012         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7013
7014         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7015         math/test-snan.c.
7016         * math/test-snan.c: Renamed from
7017         sysdeps/powerpc/fpu/test-powerpc-snan.c.
7018         * math/Makefile (tests): Add test-snan.
7019         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7020         test-powerpc-snan.
7021
7022         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7023         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
7024         functions.
7025         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
7026         __builtin_nan family of functions.
7027         * math/libm-test.inc (initialize): Initialize qnan_value with
7028         __builtin_nan family of functions.
7029         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7030         Remove variables.
7031         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7032         Remove functions.
7033         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
7034         storage class.  Initialize qNaN_var and sNaN_var with
7035         __builtin_nan and __builtin_nans families of functions,
7036         respectively.
7037
7038         * math/libm-test.inc (acosh_test): Also test with qNaN input.
7039         (sqrt_test): Remove duplicate test with qNaN input.
7040         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7041         (round_test, signbit_test, significand_test): Note missing +/-Inf
7042         as well as qNaN tests.
7043
7044         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7045         qNaN_var.  Fix a few strings, too.
7046         * math/libm-test.inc (nan_value): Rename to qnan_value.
7047         * math/gen-libm-test.pl (%beautify): Adjust to that.
7048         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7049         * math/test-misc.c (main): Likewise.
7050         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7051         to __qnan_bytes, and __qnan_union, respectively.
7052         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7053         Likewise.
7054         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7055         and lqnanval, respectively.
7056         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7057         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7058         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7059         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7060
7061         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7062         * math/test-misc.c (main) [__x86_64__]: Enable test for long
7063         doubles.
7064
7065         * math/test-misc.c (main): Fix copy'n'pastos.
7066         * misc/tst-efgcvt.c (special): Likewise.
7067
7068         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7069         Remove declarations.
7070
7071 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7072
7073         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7074         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7075         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7076         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7077
7078 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7079
7080         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7081         macro to return vdso values correctly in IFUNC implementations.
7082         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7083         Optimization by using IFUNC.
7084
7085 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7086             Richard Henderson  <rth@redhat.com>
7087             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7088
7089         * Makefile.in (bench): New target.
7090         * NEWS: Mention the benchmark framework.
7091         * Rules (bench): Likewise.
7092         (binaries-bench): Generate binaries for functions to
7093         benchmark.
7094         * benchtests/Makefile: New makefile for benchmark tests.
7095         * benchtests/bench-skeleton.c: New skeleton file for benchmark
7096         programs.
7097         * benchtests/exp-inputs: New input file for EXP function.
7098         * benchtests/pow-inputs: New input file for POW function.
7099         * scripts/bench.pl: New script to generate source files for
7100         benchmark programs.
7101
7102 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7103
7104         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7105         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7106         computations on mantissa.  Use macros for rounding and
7107         division.
7108         (denorm): Likewise.
7109         (__dbl_mp): Likewise.
7110         (add_magnitudes): Likewise.
7111         (sub_magnitudes): Likewise.
7112         (__mul): Likewise.
7113         (__sqr): Likewise.
7114         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7115         powers of two in terms of TWOPOW macro.
7116         (mp_no): Make type of mantissa as MANTISSA_T.
7117         [!RADIXI]: Define RADIXI.
7118         [!TWO52]: Define TWO52.
7119         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7120
7121         * manual/nptl.texi (cindex): Modify threads to pthreads.
7122
7123 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
7124
7125         * sysdeps/x86_64/preconfigure: Regenerated.
7126
7127 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
7128
7129         [BZ #14155]
7130         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7131         0x1p28 and above.
7132         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7133         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7134         0x1p28 and above.
7135         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7136         * math/libm-test.inc (j0_test): Do not allow one spurious
7137         underflow exception.
7138         (y1_test): Likewise.
7139
7140 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7141
7142         * manual/Makefile (chapters): Add nptl.
7143         * manual/debug.texi (Debugging Support): Add link to Threads
7144         chapter.
7145         * manual/nptl.texi: New file.
7146
7147         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7148
7149 2013-03-14  Petr Baudis  <pasky@ucw.cz>
7150
7151         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7152         for non-NULL pointer before the memory validity test. Pointed
7153         out by Holger Brunck <holger.brunck@keymile.com>.
7154
7155 2013-03-13  Andreas Schwab  <schwab@suse.de>
7156
7157         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7158         instead of .os.
7159
7160 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
7161
7162         * timezone/zic.c: Update from tzcode 2013b.
7163
7164 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
7165
7166         * manual/install.texi (Configuring and compiling):
7167         Mention i686 and i586.
7168         * INSTALL: Regenerate.
7169
7170 2013-03-12  Roland McGrath  <roland@hack.frob.com>
7171
7172         * sysdeps/init_array/elf-init.c: New file.
7173         * csu/elf-init.c
7174         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7175         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7176
7177         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7178         __gmon_start__ as global, but as static with a .preinit_array pointer.
7179         * sysdeps/init_array/gmon-start.c: New file.  Use that.
7180         * sysdeps/init_array/crti.S: New file, empty except for comments.
7181         * sysdeps/init_array/crtn.S: Likewise.
7182
7183 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
7184
7185         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7186         definining bcopy.
7187         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7188         Remove Prefer_SSE_for_memop.
7189         * sysdeps/x86_64/multiarch/init-arch.h: Remove
7190         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7191         HAS_PREFER_SSE_FOR_MEMOP.
7192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7193         memset-x86-64.
7194         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7195         Remove bzero, memset ifunc support.
7196         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7197         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7198         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7199         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7200
7201 2013-03-11  Andreas Schwab  <schwab@suse.de>
7202
7203         [BZ #15234]
7204         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7205         by SHLIB_COMPAT.
7206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7207         (GLIBC_2.16): Remove pthread_atfork.
7208
7209 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7210
7211         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7212         (ptestcases.h): Likewise.
7213
7214 2013-03-08  Roland McGrath  <roland@hack.frob.com>
7215
7216         * Makeconfig ($(common-objpfx)config.status): Depend on
7217         sysdeps/*/preconfigure{,.in} too.
7218
7219 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
7220
7221         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7222         (__free_hook): Use void * instead of __malloc_ptr_t.
7223         (__malloc_hook): Likewise.
7224         (__realloc_hook): Likewise.
7225         (__memalign_hook): Likewise.
7226         (__after_morecore_hook): Likewise.
7227         * malloc/arena.c (save_malloc_hook): Likewise.
7228         (save_free_hook): Likewise.
7229         * malloc/hooks.c (malloc_hook_ini): Likewise.
7230         (realloc_hook_ini): Likewise.
7231         (memalign_hook_ini): Likewise.
7232         * malloc/malloc.c (malloc_hook_ini): Likewise.
7233         (realloc_hook_ini): Likewise.
7234         (memalign_hook_ini): Likewise.
7235         (__free_hook): Likewise.
7236         (__malloc_hook): Likewise.
7237         (__realloc_hook): Likewise.
7238         (__memalign_hook): Likewise.
7239         (__libc_malloc): Likewise.
7240         (__libc_free): Likewise.
7241         (__libc_realloc): Likewise.
7242         (__libc_memalign): Likewise.
7243         (__libc_valloc): Likewise.
7244         (__libc_pvalloc): Likewise.
7245         (__libc_calloc): Likewise.
7246         (__posix_memalign): Likewise.
7247         * malloc/morecore.c (__sbrk): Likewise.
7248         (__default_morecore): Likewise.
7249
7250         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7251
7252         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7253         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7254         __malloc_ptrdiff_t.
7255
7256         * malloc/malloc.h (__malloc_size_t): Remove macro.
7257         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7258         __malloc_size_t.
7259         (old_memalign_hook): Likewise.
7260         (old_realloc_hook): Likewise.
7261         (struct hdr): Likewise.
7262         (flood): Likewise.
7263         (mallochook): Likewise.
7264         (memalignhook): Likewise.
7265         (reallochook): Likewise.
7266         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7267         (tr_old_realloc_hook): Likewise.
7268         (tr_old_memalign_hook): Likewise.
7269         (tr_mallochook): Likewise.
7270         (tr_reallochook): Likewise.
7271         (tr_memalignhook): Likewise.
7272
7273 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7274
7275         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7276         default_ldbl_pack and using as default implementation.
7277         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7278         implementation.
7279         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7280         redundant definition.
7281         (ldbl_insert_mantissa): Likewise.
7282         (ldbl_canonicalize): Likewise.
7283         (ldbl_nearbyint): Likewise.
7284         (ldbl_pack): Rename to ldbl_pack_ppc.
7285         (ldbl_unpack): Rename to ldbl_unpack_ppc.
7286         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7287         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7288
7289 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7290
7291         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7292         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7293         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7294         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7296         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7297         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7298         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7299
7300 2013-03-07  Andreas Jaeger  <aj@suse.de>
7301
7302         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7303         bits/mman-linux.h.
7304
7305 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7306
7307         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7308         Include mpa.h and declare __MPEXP.
7309         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7310         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7311         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7312         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7313         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7314         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7315         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7316
7317         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7318         (__slowpow): Use long double EXPL and LOGL functions to
7319         compute POW.
7320         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7321         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7322         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7323         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7324         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7325         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7326
7327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7328         intermediate variable to calculate exponent.
7329         (__sqr): Likewise.
7330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7331         Likewise.
7332         (__sqr): Likewise.
7333
7334         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7335         [!NO__SQR]: Define __sqr.
7336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7337         and NO__SQR.  Remove all code except __mul and __sqr.  Include
7338         sysdeps/ieee754/dbl-64/mpa.c.
7339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7340
7341         [BZ #12723]
7342         * posix/Makefile (tests): Add tst-pathconf.
7343         * posix/tst-pathconf.c: New test case.
7344         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7345         _PC_PIPE_BUF.
7346         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7347
7348 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
7349
7350         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7351
7352 2013-03-06  Andreas Jaeger  <aj@suse.de>
7353
7354         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7355         definition via __MAP_ANONYMOUS.
7356
7357         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7358         it's not part of Linux headers.
7359
7360         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7361         (MAP_HUGE_MASK): Define.
7362
7363         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7364         Define.
7365         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7366         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7367         Define.
7368         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7369         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7370         Define.
7371         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7372         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7373         Define.
7374         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7375
7376         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7377         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7378         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7379         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7380         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7381         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7382
7383         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7384         Handle f2fs.
7385
7386         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7387         Handle f2fs and efivarfs.
7388
7389         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7390         f2fs.
7391
7392         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7393         (EFIVARFS_MAGIC): Add.
7394         (F2FS_LINK_MAX): Add.
7395
7396 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7397
7398         * stdio-common/vfprintf.c: Replace __builtin_expect with
7399         __glibc_unlikely.
7400
7401 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
7402
7403         [BZ #13550]
7404         * sysdeps/generic/bp-sym.h: Remove file.
7405         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7406         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7407         <bp-sym.h> and <bp-asm.h>.
7408         (__longjmp): Don't use BP_SYM.
7409         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7410         and <bp-asm.h>.
7411         (memcpy): Don't use BP_SYM.
7412         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7413         <bp-sym.h> and <bp-asm.h>.
7414         (memcpy): Don't use BP_SYM.
7415         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7416         <bp-asm.h>.
7417         (memcpy): Don't use BP_SYM.
7418         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7419         <bp-asm.h>.
7420         (memset): Don't use BP_SYM.
7421         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7422         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7423         (__bzero): Don't use BP_SYM.
7424         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7425         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7426         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7427         <bp-sym.h> and <bp-asm.h>.
7428         (memcmp): Don't use BP_SYM.  Remove comment about bounded
7429         pointers.
7430         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7431         <bp-sym.h> and <bp-asm.h>.
7432         (memcpy): Don't use BP_SYM.
7433         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7434         <bp-sym.h> and <bp-asm.h>.
7435         (memset): Don't use BP_SYM.
7436         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7437         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7438         (__bzero): Don't use BP_SYM.
7439         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7440         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7441         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7442         <bp-sym.h> and <bp-asm.h>.
7443         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7444         pointers.
7445         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7446         <bp-sym.h> and <bp-asm.h>.
7447         (memcpy): Don't use BP_SYM.
7448         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7449         <bp-sym.h> and <bp-asm.h>.
7450         (memset): Don't use BP_SYM.
7451         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7452         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7453         (__bzero): Don't use BP_SYM.
7454         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7455         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7456         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7457         <bp-sym.h> and <bp-asm.h>.
7458         (__memchr): Don't use BP_SYM.
7459         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7460         <bp-sym.h> and <bp-asm.h>.
7461         (memcmp): Don't use BP_SYM.  Remove comment about bounded
7462         pointers.
7463         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7464         <bp-sym.h> and <bp-asm.h>.
7465         (memcpy): Don't use BP_SYM.
7466         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7467         <bp-sym.h> and <bp-asm.h>.
7468         (__mempcpy): Don't use BP_SYM.
7469         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7470         <bp-sym.h> and <bp-asm.h>.
7471         (__memrchr): Don't use BP_SYM.
7472         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7473         <bp-sym.h> and <bp-asm.h>.
7474         (memset): Don't use BP_SYM.
7475         (__bzero): Likewise.
7476         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7477         <bp-sym.h> and <bp-asm.h>.
7478         (__rawmemchr): Don't use BP_SYM.
7479         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7480         <bp-sym.h> and <bp-asm.h>.
7481         (__STRCMP): Don't use BP_SYM.
7482         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7483         <bp-sym.h> and <bp-asm.h>.
7484         (strchr): Don't use BP_SYM.
7485         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7486         <bp-sym.h> and <bp-asm.h>.
7487         (__strchrnul): Don't use BP_SYM.
7488         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7489         <bp-sym.h> and <bp-asm.h>.
7490         (strlen): Don't use BP_SYM.
7491         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7492         <bp-sym.h> and <bp-asm.h>.
7493         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7494         pointers.
7495         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7496         <bp-sym.h> and <bp-asm.h>.
7497         (__strnlen): Don't use BP_SYM.
7498         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7499         <bp-sym.h> and <bp-asm.h>.
7500         (__GI__setjmp): Don't use BP_SYM.
7501         (_setjmp): Likewise.
7502         (__sigsetjmp): Likewise.
7503         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7504         (L(start_addresses)): Don't use BP_SYM.
7505         (_start): Likewise.
7506         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7507         <bp-asm.h>.
7508         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7509         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7510         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7511         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7512         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7513         <bp-asm.h>.
7514         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7515         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
7516         about bounded pointers.
7517         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7518         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7519         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7520         <bp-asm.h>.
7521         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
7522         about bounded pointers.  Remove GKM FIXME comments.
7523         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7524         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7525         <bp-asm.h>.
7526         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7527         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
7528         Remove GKM FIXME comments.
7529         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7530         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7531         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7532         <bp-asm.h>.
7533         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
7534         about bounded pointers.  Remove GKM FIXME comment.
7535         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7536         and <bp-asm.h>.
7537         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7538         pointers.
7539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7540         <bp-sym.h> and <bp-asm.h>.
7541         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7543         <bp-sym.h> and <bp-asm.h>.
7544         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
7545         comment.
7546
7547 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7548
7549         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7550         call free(NULL).
7551
7552 2013-03-05  David S. Miller  <davem@davemloft.net>
7553
7554         * po/es.po: Update from translation team.
7555
7556 2013-03-05  Andreas Jaeger  <aj@suse.de>
7557
7558         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7559         <bits/mman-linux.h>.
7560         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7561         is fine.
7562         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7563         <bits/mman-linux.h> to end of file.
7564         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7565         is fine.
7566         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7567         <bits/mman-linux.h> to end of file.
7568         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7569         is fine.
7570         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7571         <bits/mman-linux.h> to end of file.
7572
7573         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7574         (MCL_CURRENT, MCL_FUTURE): Define here.
7575
7576 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7577
7578         [BZ #15232]
7579         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7580         attribute_hidden.
7581         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7582
7583 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7584
7585         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7586         fourth parameter needed for rt_sigprocmask syscall.
7587         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7588         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7589         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7590         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7591         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7592         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7593
7594 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
7595
7596         [BZ #13550]
7597         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7598         comment about bounded pointers.
7599         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7600         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7601
7602 2013-03-04  Andreas Jaeger  <aj@suse.de>
7603
7604         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7605         common definitions.
7606
7607         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7608         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7609         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7610         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7611         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7612         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7613
7614 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7615
7616         [BZ #15055]
7617         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7618         __ieee754_sqrl instead of __sqrl.
7619
7620 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
7621
7622         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7623         * sysdeps/powerpc/fpu_control.h: ... here.
7624         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7625         * sysdeps/powerpc/bits/fenvinline.h: ... here.
7626         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7627         * sysdeps/powerpc/bits/mathinline.h: ... here.
7628
7629 2013-03-01  Roland McGrath  <roland@hack.frob.com>
7630
7631         * elf/dl-hwcaps.c (_dl_important_hwcaps):
7632         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7633         to just [NEED_DL_SYSINFO_DSO].
7634         * elf/dl-support.c: Likewise.
7635         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7636         * elf/rtld.c (dl_main): Likewise.
7637         * elf/setup-vdso.h (setup_vdso): Likewise.
7638         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7639         * sysdeps/unix/sysv/linux/dl-sysdep.c
7640         (_dl_discover_osversion): Likewise.
7641
7642 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
7643
7644         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7645         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7646
7647 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7648
7649         * NEWS: Mention libm performance improvements and non-x86 PI
7650         futex support.
7651
7652         * csu/libc-start.c (__pthread_initialize_minimal): Change
7653         function arguments.
7654         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7655
7656 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
7657
7658         [BZ #13550]
7659         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7660         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7661         <bp-sym.h> and <bp-asm.h>.
7662         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7663         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7664         and <bp-asm.h>.
7665         (memcpy): Don't use BP_SYM.
7666         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7667         <bp-asm.h>.
7668         (__mpn_add_n): Don't use BP_SYM.
7669         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7670         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7671         and <bp-asm.h>.
7672         (__mpn_addmul_1): Don't use BP_SYM.
7673         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7674         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7675         <bp-sym.h>.
7676         (_setjmp): Don't use BP_SYM.
7677         (__novmx_setjmp): Likewise.
7678         (__GI__setjmp): Likewise.
7679         (__vmx_setjmp): Likewise.
7680         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7681         <bp-sym.h>.
7682         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7683         (__bzero): Don't use BP_SYM.
7684         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7685         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7686         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7687         <bp-sym.h> and <bp-asm.h>.
7688         (memcpy): Don't use BP_SYM.
7689         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7690         <bp-sym.h> and <bp-asm.h>.
7691         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7692         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7693         <bp-sym.h> and <bp-asm.h>.
7694         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7695         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7696         <bp-asm.h>.
7697         (__mpn_lshift): Don't use BP_SYM.
7698         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7699         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7700         <bp-asm.h>.
7701         (memset): Don't use BP_SYM.
7702         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7703         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7704         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7705         <bp-asm.h>.
7706         (__mpn_mul_1): Don't use BP_SYM.
7707         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7708         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7709         <bp-sym.h> and <bp-asm.h>.
7710         (memcmp): Don't use BP_SYM.
7711         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7712         <bp-sym.h> and <bp-asm.h>.
7713         (memcpy): Don't use BP_SYM.
7714         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7715         <bp-sym.h> and <bp-asm.h>.
7716         (memset): Don't use BP_SYM.
7717         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7718         <bp-sym.h> and <bp-asm.h>.
7719         (strncmp): Don't use BP_SYM.
7720         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7721         <bp-sym.h> and <bp-asm.h>.
7722         (memcpy): Don't use BP_SYM.
7723         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7724         <bp-sym.h> and <bp-asm.h>.
7725         (memset): Don't use BP_SYM.
7726         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7727         <bp-sym.h> and <bp-asm.h>.
7728         (__memchr): Don't use BP_SYM.
7729         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7730         <bp-sym.h> and <bp-asm.h>.
7731         (memcmp): Don't use BP_SYM.
7732         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7733         <bp-sym.h> and <bp-asm.h>.
7734         (memcpy): Don't use BP_SYM.
7735         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7736         <bp-sym.h> and <bp-asm.h>.
7737         (__mempcpy): Don't use BP_SYM.
7738         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7739         <bp-sym.h> and <bp-asm.h>.
7740         (__memrchr): Don't use BP_SYM.
7741         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7742         <bp-sym.h> and <bp-asm.h>.
7743         (memset): Don't use BP_SYM.
7744         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7745         <bp-sym.h> and <bp-asm.h>.
7746         (__rawmemchr): Don't use BP_SYM.
7747         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7748         <bp-sym.h> and <bp-asm.h>.
7749         (__STRCMP): Don't use BP_SYM.
7750         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7751         <bp-sym.h> and <bp-asm.h>.
7752         (strchr): Don't use BP_SYM.
7753         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7754         <bp-sym.h> and <bp-asm.h>.
7755         (__strchrnul): Don't use BP_SYM.
7756         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7757         <bp-sym.h> and <bp-asm.h>.
7758         (strlen): Don't use BP_SYM.
7759         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7760         <bp-sym.h> and <bp-asm.h>.
7761         (strncmp): Don't use BP_SYM.
7762         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7763         <bp-sym.h> and <bp-asm.h>.
7764         (__strnlen): Don't use BP_SYM.
7765         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7766         <bp-asm.h>.
7767         (__mpn_rshift): Don't use BP_SYM.
7768         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7769         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7770         <bp-sym.h> and <bp-asm.h>.
7771         (__sigsetjmp): Don't use BP_SYM.
7772         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7773         (L(start_addresses)): Don't use BP_SYM.
7774         (_start): Likewise.
7775         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7776         <bp-asm.h>.
7777         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7778         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7779         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7780         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7781         <bp-asm.h>.
7782         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7783         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7784         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7785         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7786         <bp-asm.h>.
7787         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7788         comments.
7789         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7790         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7791         <bp-asm.h>.
7792         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
7793         FIXME comments.
7794         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7795         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7796         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7797         <bp-asm.h>.
7798         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7799         comment.
7800         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7801         and <bp-asm.h>.
7802         (strncmp): Don't use BP_SYM,
7803         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7804         <bp-asm.h>.
7805         (__mpn_sub_n): Don't use BP_SYM.
7806         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7807         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7808         and <bp-asm.h>.
7809         (__mpn_submul_1): Don't use BP_SYM.
7810         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7812         <bp-sym.h> and <bp-asm.h>.
7813         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7815         <bp-sym.h> and <bp-asm.h>.
7816         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
7817         comment.
7818
7819 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7820
7821         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7822         Use ZK to minimize writes to Z.
7823         (sub_magnitudes): Simplify code a bit.
7824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7825         Use ZK to minimize writes to Z.
7826         (sub_magnitudes): Simplify code a bit.
7827
7828 2013-02-27  Roland McGrath  <roland@hack.frob.com>
7829
7830         * csu/gmon-start.c: Add special exception to license text.
7831
7832 2013-02-27  Richard Henderson  <rth@redhat.com>
7833
7834         * scripts/config.guess: Update from config.git.
7835         * scripts/config.sub: Likewise.
7836
7837 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7838
7839         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7840
7841         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7842
7843         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7844
7845         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7846
7847         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7848
7849 2013-02-26  Roland McGrath  <roland@hack.frob.com>
7850
7851         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7852         [$(build-shared = yes].
7853
7854 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7855
7856         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7857         (__mul): Reduce iterations for calculating mantissa.
7858
7859         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7860         MPTWO.
7861         (__mpranred): Likewise.
7862
7863         [BZ #15160]
7864         * malloc/memusagestat.c (main): Draw graphs for heap and stack
7865         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7866
7867 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
7868
7869         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7870         Define __attribute__.
7871
7872 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7873
7874         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7875         unused.
7876         * posix/regex_internal.h (__attribute): Remove.
7877         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7878         (re_string_context_at): Likewise.
7879         (bitset_not): Use __attribute__ and mark function as possibly
7880         unused.
7881         (bitset_merge): Likewise.
7882         (bitset_mask): Likewise.
7883         (re_string_char_size_at): Likewise.
7884         (re_string_wchar_at): Likewise.
7885         (re_string_elem_size_at): Likewise.
7886
7887 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7888
7889         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7890         code.
7891         (cc32): Likewise.
7892
7893         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7894         (__acr): Likewise.
7895         (__cpy): Likewise.
7896         (norm): Likewise.
7897         (denorm): Likewise.
7898         (__dbl_mp): Likewise.
7899         (add_magnitudes): Likewise.
7900         (sub_magnitudes): Likewise.
7901         (__mul): Likewise.
7902         (__inv): Likewise.
7903
7904         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7905         style.
7906
7907         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7908         style.
7909
7910         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7911         code.
7912
7913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7914         up changes with default code.
7915         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7916         Likewise.
7917
7918 2013-02-24  Allan McRae  <allan@archlinux.org>
7919
7920         * manual/socket.texi (The Internet Namespace): Order menu items
7921         to match that in the file.
7922
7923         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7924         node listing of the info page menu.
7925
7926 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
7927
7928         [BZ #13550]
7929         * sysdeps/i386/bp-asm.h: Remove file.
7930         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7931         (PARMS): Do not use macros from bp-asm.h.
7932         (S1): Likewise.
7933         (S2): Likewise.
7934         (SIZE): Likewise.
7935         (__mpn_add_n): Do not use BP_SYM
7936         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7937         "bp-asm.h".
7938         (PARMS): Do not use macros from bp-asm.h.
7939         (S1): Likewise.
7940         (SIZE): Likewise.
7941         (__mpn_addmul_1): Do not use BP_SYM
7942         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7943         "bp-asm.h".
7944         (PARMS): Do not use macros from bp-asm.h.
7945         (SIGMSK): Likewise.
7946         (_setjmp): Likewise.  Do not use BP_SYM.
7947         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7948         "bp-asm.h".
7949         (PARMS): Do not use macros from bp-asm.h.
7950         (SIGMSK): Likewise.
7951         (setjmp): Likewise.  Do not use BP_SYM.
7952         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7953         "bp-asm.h".
7954         (PARMS): Do not use macros from bp-asm.h.
7955         (__frexp): Do not use BP_SYM.
7956         (frexp): Likewise.
7957         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7958         "bp-asm.h".
7959         (PARMS): Do not use macros from bp-asm.h.
7960         (__frexpf): Do not use BP_SYM.
7961         (frexpf): Likewise.
7962         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7963         "bp-asm.h".
7964         (PARMS): Do not use macros from bp-asm.h.
7965         (__frexpl): Do not use BP_SYM.
7966         (frexpl): Likewise.
7967         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7968         "bp-asm.h".
7969         (PARMS): Do not use macros from bp-asm.h.
7970         (__remquo): Do not use BP_SYM.
7971         (remquo): Likewise.
7972         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7973         "bp-asm.h".
7974         (PARMS): Do not use macros from bp-asm.h.
7975         (__remquof): Do not use BP_SYM.
7976         (remquof): Likewise.
7977         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7978         "bp-asm.h".
7979         (PARMS): Do not use macros from bp-asm.h.
7980         (__remquol): Do not use BP_SYM.
7981         (remquol): Likewise.
7982         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7983         "bp-asm.h".
7984         (PARMS): Do not use macros from bp-asm.h.
7985         (DEST): Likewise.
7986         (SRC): Likewise.
7987         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
7988         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7989         "bp-asm.h".
7990         (PARMS): Do not use macros from bp-asm.h.
7991         (strlen): Do not use BP_SYM.
7992         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7993         "bp-asm.h".
7994         (PARMS): Do not use macros from bp-asm.h.
7995         (S1): Likewise.
7996         (S2): Likewise.
7997         (SIZE): Likewise.
7998         (__mpn_add_n): Do not use BP_SYM.
7999         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8000         "bp-asm.h".
8001         (PARMS): Do not use macros from bp-asm.h.
8002         (S1): Likewise.
8003         (SIZE): Likewise.
8004         (__mpn_addmul_1): Do not use BP_SYM.
8005         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8006         weak_alias.
8007         (bzero): Likewise.
8008         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8009         "bp-asm.h".
8010         (PARMS): Do not use macros from bp-asm.h.
8011         (S): Likewise.
8012         (SIZE): Likewise.
8013         (__mpn_lshift): Do not use BP_SYM.
8014         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8015         "bp-asm.h".
8016         (PARMS): Do not use macros from bp-asm.h.
8017         (DEST): Likewise.
8018         (SRC): Likewise.
8019         (LEN): Likewise.
8020         (memcpy): Likewise.  Do not use BP_SYM.
8021         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8022         libc_hidden_def and weak_alias.
8023         (mempcpy): Do not use BP_SYM in weak_alias.
8024         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8025         "bp-asm.h".
8026         (PARMS): Do not use macros from bp-asm.h.
8027         (DEST): Likewise.
8028         (LEN): Likewise.
8029         [!BZERO_P] (CHR): Likewise.
8030         (memset): Likewise.  Do not use BP_SYM.
8031         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8032         "bp-asm.h".
8033         (PARMS): Do not use macros from bp-asm.h.
8034         (S1): Likewise.
8035         (SIZE): Likewise.
8036         (__mpn_mul_1): Do not use BP_SYM.
8037         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8038         "bp-asm.h".
8039         (PARMS): Do not use macros from bp-asm.h.
8040         (S): Likewise.
8041         (SIZE): Likewise.
8042         (__mpn_rshift): Do not use BP_SYM.
8043         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8044         "bp-asm.h".
8045         (PARMS): Do not use macros from bp-asm.h.
8046         (STR): Likewise.
8047         (CHR): Likewise.
8048         (strchr): Likewise.  Do not use BP_SYM.
8049         (index): Do not use BP_SYM in weak_alias.
8050         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8051         "bp-asm.h".
8052         (PARMS): Do not use macros from bp-asm.h.
8053         (DEST): Likewise.
8054         (SRC): Likewise.
8055         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
8056         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8057         "bp-asm.h".
8058         (PARMS): Do not use macros from bp-asm.h.
8059         (strlen): Do not use BP_SYM.
8060         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8061         "bp-asm.h".
8062         (PARMS): Do not use macros from bp-asm.h.
8063         (S1): Likewise.
8064         (S2): Likewise.
8065         (SIZE): Likewise.
8066         (__mpn_sub_n): Do not use BP_SYM.
8067         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8068         "bp-asm.h".
8069         (PARMS): Do not use macros from bp-asm.h.
8070         (S1): Likewise.
8071         (SIZE): Likewise.
8072         (__mpn_submul_1): Do not use BP_SYM.
8073         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8074         "bp-asm.h".
8075         (PARMS): Do not use macros from bp-asm.h.
8076         (S1): Likewise.
8077         (S2): Likewise.
8078         (SIZE): Likewise.
8079         (__mpn_add_n): Do not use BP_SYM.
8080         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8081         weak_alias.
8082         (bzero): Likewise.
8083         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8084         "bp-asm.h".
8085         (PARMS): Do not use macros from bp-asm.h.
8086         (BLK2): Likewise.
8087         (LEN): Likewise.
8088         (memcmp): Do not use BP_SYM.
8089         (bcmp): Do not use BP_SYM in weak_alias.
8090         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8091         "bp-asm.h".
8092         (PARMS): Do not use macros from bp-asm.h.
8093         (DEST): Likewise.
8094         (SRC): Likewise.
8095         (LEN): Likewise.
8096         (memcpy): Likewise.  Do not use BP_SYM.
8097         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8098         "bp-asm.h".
8099         (PARMS): Do not use macros from bp-asm.h.
8100         (DEST): Likewise.
8101         (SRC): Likewise.
8102         (LEN): Likewise.
8103         (memmove): Likewise.  Do not use BP_SYM.
8104         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8105         "bp-asm.h".
8106         (PARMS): Do not use macros from bp-asm.h.
8107         (DEST): Likewise.
8108         (SRC): Likewise.
8109         (LEN): Likewise.
8110         (__mempcpy): Likewise.  Do not use BP_SYM.
8111         (mempcpy): Do not use BP_SYM in weak_alias.
8112         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8113         "bp-asm.h".
8114         (PARMS): Do not use macros from bp-asm.h.
8115         (DEST): Likewise.
8116         (LEN): Likewise.
8117         [!BZERO_P] (CHR): Likewise.
8118         (memset): Likewise.  Do not use BP_SYM.
8119         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8120         "bp-asm.h".
8121         (PARMS): Do not use macros from bp-asm.h.
8122         (STR2): Likewise.
8123         (strcmp): Do not use BP_SYM.
8124         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8125         "bp-asm.h".
8126         (PARMS): Do not use macros from bp-asm.h.
8127         (STR): Likewise.
8128         (DELIM): Likewise.
8129         [USE_AS_STRTOK_R] (SAVE): Likewise.
8130         (FUNCTION): Likewise.  Do not use BP_SYM.
8131         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8132         aliases.
8133         (strtok_r): Likewise.
8134         (__GI___strtok_r): Likewise.
8135         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8136         (PARMS): Do not use macros from bp-asm.h.
8137         (S): Likewise.
8138         (SIZE): Likewise.
8139         (__mpn_lshift): Do not use BP_SYM.
8140         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8141         (PARMS): Do not use macros from bp-asm.h.
8142         (STR): Likewise.
8143         (CHR): Likewise.
8144         (__memchr): Do not use BP_SYM.
8145         (memchr): Do not use BP_SYM in weak_alias.
8146         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8147         (PARMS): Do not use macros from bp-asm.h.
8148         (BLK2): Likewise.
8149         (LEN): Likewise.
8150         (memcmp): Do not use BP_SYM.
8151         (bcmp): Do not use BP_SYM in weak_alias.
8152         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8153         (PARMS): Do not use macros from bp-asm.h.
8154         (S1): Likewise.
8155         (SIZE): Likewise.
8156         (__mpn_mul_1): Do not use BP_SYM.
8157         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8158         "bp-asm.h".
8159         (PARMS): Do not use macros from bp-asm.h.
8160         (STR): Likewise.
8161         (CHR): Likewise.
8162         (__rawmemchr): Do not use BP_SYM.
8163         (rawmemchr): Do not use BP_SYM in weak_alias.
8164         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8165         (PARMS): Do not use macros from bp-asm.h.
8166         (S): Likewise.
8167         (SIZE): Likewise.
8168         (__mpn_rshift): Do not use BP_SYM.
8169         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8170         (PARMS): Do not use macros from bp-asm.h.
8171         (SIGMSK): Likewise.
8172         (__sigsetjmp): Likewise.  Do not use BP_SYM.
8173         * sysdeps/i386/start.S: Do not include "bp-sym.h".
8174         (_start): Do not use BP_SYM.
8175         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8176         (PARMS): Do not use macros from bp-asm.h.
8177         (DEST): Likewise.
8178         (SRC): Likewise.
8179         (__stpcpy): Likewise.  Do not use BP_SYM.
8180         (stpcpy): Do not use BP_SYM in weak_alias.
8181         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8182         "bp-asm.h".
8183         (PARMS): Do not use macros from bp-asm.h.
8184         (DEST): Likewise.
8185         (SRC): Likewise.
8186         (LEN): Likewise.
8187         (__stpncpy): Likewise.  Do not use BP_SYM.
8188         (stpncpy): Do not use BP_SYM in weak_alias.
8189         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8190         (PARMS): Do not use macros from bp-asm.h.
8191         (STR): Likewise.
8192         (CHR): Likewise.
8193         (strchr): Likewise.  Do not use BP_SYM.
8194         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8195         "bp-asm.h".
8196         (PARMS): Do not use macros from bp-asm.h.
8197         (STR): Likewise.
8198         (CHR): Likewise.
8199         (__strchrnul): Likewise.  Do not use BP_SYM.
8200         (strchrnul): Do not use BP_SYM in weak_alias.
8201         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8202         "bp-asm.h".
8203         (PARMS): Do not use macros from bp-asm.h.
8204         (STOP): Likewise.
8205         (strcspn): Do not use BP_SYM.
8206         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8207         "bp-asm.h".
8208         (PARMS): Do not use macros from bp-asm.h.
8209         (STR): Likewise.
8210         (STOP): Likewise.
8211         (strpbrk): Likewise.  Do not use BP_SYM.
8212         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8213         "bp-asm.h".
8214         (PARMS): Do not use macros from bp-asm.h.
8215         (STR): Likewise.
8216         (CHR): Likewise.
8217         (strrchr): Likewise.  Do not use BP_SYM.
8218         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8219         (PARMS): Do not use macros from bp-asm.h.
8220         (SKIP): Likewise.
8221         (strspn): Do not use BP_SYM.
8222         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8223         (PARMS): Do not use macros from bp-asm.h.
8224         (STR): Likewise.
8225         (DELIM): Likewise.
8226         (SAVE): Likewise.
8227         (FUNCTION): Likewise.  Do not use BP_SYM.
8228         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8229         aliases.
8230         (strtok_r): Likewise.
8231         (__GI___strtok_r): Likewise.
8232         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8233         (PARMS): Do not use macros from bp-asm.h.
8234         (S1): Likewise.
8235         (S2): Likewise.
8236         (SIZE): Likewise.
8237         (__mpn_sub_n): Do not use BP_SYM.
8238         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8239         "bp-asm.h".
8240         (PARMS): Do not use macros from bp-asm.h.
8241         (S1): Likewise.
8242         (SIZE): Likewise.
8243         (__mpn_submul_1): Do not use BP_SYM.
8244         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8245         <bp-sym.h>.
8246         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8247         and <bp-asm.h>.
8248         (PARMS): Do not use macros from bp-asm.h.
8249         (FLAGS): Likewise.
8250         (PTID): Likewise.
8251         (TLS): Likewise.
8252         (CTID): Likewise.
8253         (__clone): Do not use BP_SYM.
8254         (clone): Do not use BP_SYM in weak_alias.
8255         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8256         and <bp-asm.h>.
8257         (PARMS): Do not use macros from bp-asm.h.
8258         (LEN): Likewise.
8259         (__mmap64): Do not use BP_SYM.
8260         (mmap64): Do not use BP_SYM in weak_alias.
8261         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8262         <bp-sym.h> and <bp-asm.h>.
8263         (PARMS): Do not use macros from bp-asm.h.
8264         (__posix_fadvise64_l64): Do not use BP_SYM.
8265         * sysdeps/unix/sysv/linux/i386/semtimedop.S
8266         (PARMS): Do not use macros from bp-asm.h.
8267         (NSOPS): Likewise.
8268         (semtimedop): Do not use BP_SYM.
8269         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8270         and <bp-asm.h>.
8271
8272 2013-02-21  Allan McRae  <allan@archlinux.org>
8273
8274         * manual/message.texi (Charset conversion in gettext):
8275         Move @end statement to beginning of line.
8276
8277 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8278
8279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8280         static.
8281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8282         Likewise.
8283
8284         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8285         (denorm): Likewise.
8286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8288
8289 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8290
8291         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8292         tail-call to the resolved function if pltexit isn't needed.
8293
8294 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8295
8296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8297         or Y being zero as being unlikely.
8298         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8299         Likewise.
8300
8301 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
8302
8303         * manual/nss.texi (System Databases and Name Service Switch):
8304         Remove frobnicate @pxref.
8305
8306 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8307
8308         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8309         __attribute__ ((unused)) to __attribute__ ((__unused__)).
8310
8311 2013-02-20  Petr Machata  <pmachata@redhat.com>
8312
8313         * elf/elf.h (R_ARM_TARGET1): New macro.
8314         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8315         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8316         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8317         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8318         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8319         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8320         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8321         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8322         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8323         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8324         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8325         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8326         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8327         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8328         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8329         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8330         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8331         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8332         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8333         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8334         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8335         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8336         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8337         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8338         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8339         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8340         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8341         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8342         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8343         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8344         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8345         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8346         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8347         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8348         (R_ARM_THM_GOT_BREL12): Likewise.
8349         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8350         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8351         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8352         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8353         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8354         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8355         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8356         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8357         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8358
8359 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8360
8361         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8362         __attribute_used__ to __attribute__ ((unused)).
8363
8364 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8365
8366         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8367         powerpc mpa.c.
8368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8369         comment formatting.
8370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8371
8372 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
8373
8374         [BZ #13550]
8375         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8376         Remove macro.
8377         (ENTER): Remove both macro definitions.
8378         (LEAVE): Likewise.
8379         (CHECK_BOUNDS_LOW): Likewise.
8380         (CHECK_BOUNDS_HIGH): Likewise.
8381         (CHECK_BOUNDS_BOTH): Likewise.
8382         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8383         (RETURN_BOUNDED_POINTER): Likewise.
8384         (RETURN_NULL_BOUNDED_POINTER): Likewise.
8385         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8386         (POP_ERRNO_LOCATION_RETURN): Likewise.
8387         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8388         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8389         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8390         macros.
8391         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8392         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8393         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8394         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8395         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8396         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8397         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8398         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8399         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8400         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8401         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8402         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8403         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8404         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8405         removed macros.
8406         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8407         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8408         macros.
8409         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8410         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8411         * sysdeps/i386/i586/memset.S (memset): Likewise.
8412         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8413         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8414         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8415         macros.
8416         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8417         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8418         Change uses of L(2) to L(out).
8419         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8420         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8421         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8422         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8423         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8424         removed macros.
8425         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8426         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8427         macros.
8428         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8429         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8430         (RETURN): Do not use macro LEAVE.
8431         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8432         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8433         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8434         * sysdeps/i386/i686/memset.S (memset): Likewise.
8435         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8436         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8437         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8438         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8439         Likewise.
8440         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8441         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
8442         L(1_2) and L(1_3) into L(1).
8443         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8444         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8445         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8446         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8447         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8448         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8449         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8450         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8451         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8452         macros.
8453         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8454         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8455         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8456         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8457         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8458         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8459         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8460         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8461         * sysdeps/i386/strcspn.S (strcspn): Likewise.
8462         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8463         * sysdeps/i386/strrchr.S (strrchr): Likewise.
8464         * sysdeps/i386/strspn.S (strspn): Likewise.
8465         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8466         conditional code.
8467         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8468         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8469         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8470         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
8471         L(1_3) into L(1_1).
8472         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8473         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8474         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8475         macros.
8476         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8477
8478 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
8479
8480         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8481         macro.
8482
8483 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8484
8485         * math/atest-exp.c (exp_mpn): Remove ROUND.
8486         * math/atest-exp2.c (exp_mpn): Likewise.
8487         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8488
8489         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8490         * stdlib/tst-tls-atexit-lib.c: Likewise.
8491         * stdlib/tst-tls-atexit.c: Likewise.
8492
8493 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8494
8495         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8496         and __attribute_alloc_size__.
8497
8498 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8499
8500         * include/programs/xmalloc.h: Change __attribute_alloc_size to
8501         __attribute_alloc_size__.
8502         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8503         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8504
8505 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8506
8507         * include/programs/xmalloc.h: New file.
8508         * catgets/gencat.c: Include it.
8509         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8510         * elf/pldd.c: Likewise.
8511         * iconv/iconv_charmap.c: Likewise.
8512         * iconv/iconvconfig.c: Likewise.
8513         * iconv/strtab.c: Likewise.
8514         * locale/programs/locale.c: Likewise.
8515         * locale/programs/localedef.h: Likewise.
8516         * locale/programs/simple-hash.c: Likewise.
8517         * nscd/nscd.h: Likewise.
8518         * nss/makedb.c: Likewise.
8519         * sysdeps/generic/ldconfig.h: Likewise.
8520
8521 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8522
8523         * Versions.def: Add GLIBC_2.18.
8524         * include/link.h (struct link_map): New member l_tls_dtor_count.
8525         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8526         (__call_tls_dtors): Likewise.
8527         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8528         __cxa_thread_atexit_impl.
8529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8530         Likewise.
8531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8532         Likewise.
8533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8534         Likewise.
8535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8536         Likewise.
8537         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8539         Likewise.
8540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8541         Likewise.
8542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8544         Likewise.
8545         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8546         (tests): Add test case tst-tls-atexit.
8547         (modules-names): Add shared library for tst-tls-atexit.
8548         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8549         (GLIBC_PRIVATE): Add __call_tls_dtors.
8550         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8551         for libstdc++.
8552         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8553         * stdlib/tst-tls-atexit.c: New test case.
8554         * stdlib/tst-tls-atexit-lib.c: New test case.
8555
8556         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8557
8558         * elf/Versions (ld): Add _dl_find_dso_for_object.
8559         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8560         * elf/dl-open.c (_dl_find_dso_for_object): New function.
8561         (dl_open_worker): Use _dl_find_dso_for_object.
8562         * elf/dl-sym.c (do_sym): Likewise.
8563         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8564
8565 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8566
8567         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8568         Syntactic changes only.
8569         (_dl_runtime_profile): Do a tail-call to the resolved function.
8570
8571 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
8572
8573         [BZ #13550]
8574         * sysdeps/x86_64/bp-asm.h: Remove file.
8575         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8576         <bp-sym.h> and <bp-asm.h>.
8577         (__clone): Do not use BP_SYM.
8578         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8579         <bp-sym.h> and <bp-asm.h>.
8580         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8581         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8582         "bp-asm.h".
8583         (_setjmp): Do not use BP_SYM.
8584         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8585         "bp-asm.h".
8586         (setjmp): Do not use BP_SYM.
8587         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8588         libc_hidden_def.
8589         (mempcpy): Do not use BP_SYM in weak_alias.
8590         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8591         "bp-asm.h".
8592         (strchr): Do not use BP_SYM.
8593         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8594         "bp-asm.h".
8595         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8596         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8597         (_start): Do not use BP_SYM.
8598         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8599         "bp-asm.h".
8600         (strcat): Do not use BP_SYM.
8601         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8602         "bp-asm.h".
8603         (STRCMP): Do not use BP_SYM.
8604         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8605         "bp-asm.h".
8606         (STRCPY): Do not use BP_SYM.
8607         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8608         "bp-asm.h".
8609         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8610         "bp-asm.h".
8611         (FUNCTION): Do not use BP_SYM.
8612         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8613         weak_alias.
8614         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8615
8616 2013-02-17  Andreas Jaeger  <aj@suse.de>
8617
8618         * time/Versions: Sort entries.
8619         * string/Versions: Likewise.
8620         * resolv/Versions: Likewise.
8621         * posix/Versions: Likewise.
8622         * iconv/Versions: Likewise.
8623         * elf/Versions: Likewise.
8624         * wcsmbs/Versions: Likewise.
8625
8626 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8627
8628         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8629         loop termination condition.
8630
8631         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8632         variable to calculate EZ.
8633         (__sqr): Likewise.
8634
8635         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8636         the lower precision input.
8637
8638 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
8639
8640         [BZ #13550]
8641         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8642         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8643         (run-via-rtld-prefix): Do not handle %-bp tests.
8644         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8645         (all-object-suffixes): Remove .ob.
8646         (bppfx): Remove variable.
8647         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8648         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8649         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8650         [$(build-bounded) = yes] (libtype.ob): Likewise.
8651         * Makerules (elide-routines.ob): Remove variable.
8652         (do-tests-clean): Do not handle *-bp.out.
8653         (common-mostlyclean): Do not handle *-bp and *-bp.out.
8654         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8655         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8656         (tests): Do not include $(tests-bp.out).
8657         (xtests): Do not include $(xtests-bp.out).
8658         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8659         [$(build-bounded) = yes] ($(addprefix
8660         $(objpfx),$(binaries-bounded))): Remove rule.
8661         ($(objpfx)%-bp.out): Remove rule.
8662         * config.make.in (build-bounded): Remove variable.
8663         * crypt/Makefile [$(build-bounded) = yes]
8664         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8665         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8666         append to variable.
8667         [$(build-bounded) = yes] (install-lib): Likewise.
8668         [$(build-bounded) = yes] (generated): Likewise.
8669         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8670         Remove rule.
8671         * intl/Makefile [$(build-bounded) = yes]
8672         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8673         * math/Makefile [$(build-bounded) = yes]
8674         ($(tests:%=$(objpfx)%-bp): Likewise.
8675         * misc/Makefile [$(build-bounded) = yes]
8676         ($(objpfx)tst-tsearch-bp): Likewise.
8677         * nptl/Makeconfig (bounded-thread-library): Remove variable.
8678         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8679         Remove dependency.
8680         * string/Makefile (o-objects.ob): Remove variable.
8681         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8682         (CFLAGS-.ob): Remove variable.
8683         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8684         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8685         both definitions of variable.
8686         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8687         (ASFLAGS-.ob): Remove variable.
8688
8689 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
8690
8691         [BZ #13550]
8692         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8693         Remove __BOUNDED_POINTERS__ from condition.
8694         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8695         * string/bits/string2.h [!__NO_STRING_INLINES &&
8696         !__BOUNDED_POINTERS__]: Likewise.
8697         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8698         Likewise.
8699         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8700         Remove conditional code.
8701         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8702         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8703         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8704         condition.
8705
8706         [BZ #13550]
8707         * csu/libc-start.c: Do not include <bp-sym.h>.
8708         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8709         * elf/dl-open.c: Do not include <bp-sym.h>.
8710         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8711         * math/fegetenv.c: Do not include <bp-sym.h>.
8712         (fegetenv): Do not use BP_SYM in versioned symbols.
8713         * nptl/sysdeps/pthread/bits/libc-lockP.h
8714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8715         <bp-sym.h>.
8716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8717         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8719         (__pthread_mutex_destroy): Likewise.
8720         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8721         (__pthread_mutex_lock): Likewise.
8722         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8723         (__pthread_mutex_trylock): Likewise.
8724         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8725         (__pthread_mutex_unlock): Likewise.
8726         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8727         (__pthread_mutexattr_init): Likewise.
8728         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8729         (__pthread_mutexattr_destroy): Likewise.
8730         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8731         (__pthread_mutexattr_settype): Likewise.
8732         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8733         (__pthread_rwlock_init): Likewise.
8734         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8735         (__pthread_rwlock_destroy): Likewise.
8736         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8737         (__pthread_rwlock_rdlock): Likewise.
8738         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8739         (__pthread_rwlock_tryrdlock): Likewise.
8740         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8741         (__pthread_rwlock_wrlock): Likewise.
8742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8743         (__pthread_rwlock_trywrlock): Likewise.
8744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8745         (__pthread_rwlock_unlock): Likewise.
8746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8747         (__pthread_key_create): Likewise.
8748         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8749         (__pthread_setspecific): Likewise.
8750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8751         (__pthread_getspecific): Likewise.
8752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8753         Likewise.
8754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8755         (_pthread_cleanup_push_defer): Likewise.
8756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8757         (_pthread_cleanup_pop_restore): Likewise.
8758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8759         (pthread_setcancelstate): Likewise.
8760         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8761         <bp-sym.h>.
8762         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8763         (memchr): Do not use BP_SYM in weak_alias.
8764         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8765         (fegetenv): Do not use BP_SYM in versioned symbols.
8766         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8767         (fesetenv): Do not use BP_SYM in versioned symbols.
8768         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8769         (feupdateenv): Do not use BP_SYM in versioned symbols.
8770         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8771         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8772         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8773         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8774         (open64): Do not use BP_SYM in weak_alias.
8775         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8776         (fegetenv): Do not use BP_SYM in versioned symbols.
8777         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8778         (fesetenv): Do not use BP_SYM in versioned symbols.
8779         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8780         (feupdateenv): Do not use BP_SYM in versioned symbols.
8781         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8782         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8783         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8784         (feraiseexcept): Do not use BP_SYM in versioned symbols.
8785         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8786         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8787         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8788         <bp-sym.h>.
8789         (__libc_start_main): Do not use BP_SYM.
8790
8791 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8792
8793         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8794         redundant return line.
8795         (norm): Likewise.
8796         (denorm): Likewise.
8797         (dbl_mp): Likewise.
8798         (sub_magnitudes): Likewise.
8799         (__add): Likewise.
8800         (__sub): Likewise.
8801         (__mul): Likewise.
8802         (__inv): Likewise.
8803         (__dvd): Likewise.
8804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8805         (norm): Likewise.
8806         (denorm): Likewise.
8807         (dbl_mp): Likewise.
8808         (sub_magnitudes): Likewise.
8809         (__add): Likewise.
8810         (__sub): Likewise.
8811         (__mul): Likewise.
8812         (__inv): Likewise.
8813         (__dvd): Likewise.
8814
8815         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8816         instead of __mul.
8817         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8818         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8819         (cc32): Likewise.
8820
8821         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8822         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8823         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8824         of __mul for squares.
8825         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8826         function
8827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8828         Likewise.
8829         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8830         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8831
8832 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
8833
8834         [BZ #13550]
8835         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8836         code.
8837         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8838         prototype or function definition.  Rename ubp_* variables and
8839         parameters.  Remove argv definitions conditional on
8840         [__BOUNDED_POINTERS__].
8841         * debug/backtrace.c (__backtrace): Do not use __unbounded.
8842         * elf/dl-runtime.c (_dl_fixup): Likewise.
8843         * include/set-hooks.h (RUN_HOOK): Likewise.
8844         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8845         definition.
8846         * string/strcpy.c (strcpy): Do not use __unbounded.
8847         * sysdeps/generic/frame.h (struct layout): Likewise.
8848         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8849         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8850         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8851         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8852         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8853         (__backtrace): Likewise.
8854         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8855         use __ptrvalue.
8856         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8857         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8858         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8859         Likewise.
8860         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8861         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8862         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8863         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8864         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8865         Do not use __unbounded.
8866         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8867         Rename __unboundedrlimits parameter to rlimits in prototype.
8868         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8869         Do not use __unbounded.
8870         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8871         not use __ptrvalue.
8872         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8873         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8874         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8875         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8876         __ptrvalue or __unbounded.
8877         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8878         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8879         use __unbounded.
8880         (__new_msgctl): Do not use __ptrvalue.
8881         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8882         __unbounded.
8883         (__libc_msgrcv): Do not use __ptrvalue.
8884         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8885         startup_info): Do not use __unbounded.
8886         (__libc_start_main): Likewise.  Rename ubp_* variables and
8887         parameters.  Remove argv definitions conditional on
8888         [__BOUNDED_POINTERS__].
8889         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8890         __ptrvalue.
8891         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8892         use __unbounded.
8893         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8894         or __ptrvalue.
8895         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8896         use __unbounded.
8897         (__new_shmctl): Do not use __ptrvalue.
8898         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8899         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8900         Likewise.
8901         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8902         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8903         (__libc_sigaction): Likewise.
8904         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8905         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8906         Likewise.
8907         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8908
8909 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
8910
8911         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8912
8913         * string/mempcpy.c: Implement by calling memcpy.
8914
8915 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8916
8917         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8918
8919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8920         evaluation.
8921
8922         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8923         values in the mantissa.
8924
8925         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8926         minimize writes to Z.
8927         (sub_magnitudes): Simplify code a bit.
8928
8929 2013-02-12  Roland McGrath  <roland@hack.frob.com>
8930
8931         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8932         from the message.  The linker prefixes all warnings with that already.
8933
8934 2013-02-12  Andreas Schwab  <schwab@suse.de>
8935
8936         [BZ #15078]
8937         * posix/regexec.c (extend_buffers): Add parameter min_len.
8938         (check_matching): Pass minimum needed length.
8939         (clean_state_log_if_needed): Likewise.
8940         (get_subexp): Likewise.
8941         * posix/Makefile (tests): Add bug-regex34.
8942         (bug-regex34-ENV): Define.
8943         * posix/bug-regex34.c: New file.
8944
8945         [BZ #11561]
8946         * posix/regcomp.c (parse_bracket_exp): When looking up collating
8947         elements compare against the byte sequence of it, not its name.
8948         * posix/Makefile (tests): Add bug-regex35.
8949         (bug-regex35-ENV): Define.
8950         * posix/bug-regex35.c: New file.
8951
8952 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8953
8954         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
8955         comment.
8956         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8957         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8958         (CHECK_EOL): Add undef.
8959
8960 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
8961
8962         * bits/stdlib-bsearch.h: New file.
8963         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8964         * stdlib/stdlib.h: Likewise.
8965
8966 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8967
8968         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8969         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8970         declaration.
8971         * manual/search.texi (Array Search Function): Add missing const in
8972         lfind prototype.
8973         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8974         declaration to use rlim_t.
8975         (Basic Scheduling Functions): Remove erroneous const from
8976         sched_getparam prototype.  Remove erroneous * from
8977         sched_get_priority_max and sched_get_priority_min prototypes.
8978         (Resource Usage): Fix summary @comment on vtimes to refer to
8979         sys/vtimes.h rather than vtimes.h.
8980         Add missing *s in vtimes prototype.
8981         (Limits on Resources): Fix ulimit prototype to return long int.
8982         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8983         prototypes to use long int rather than double.
8984         (BSD Random): Fix initstate and setstate to use char *, not void *.
8985         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8986         prototype to make second argument 'struct aiocb64 *const[]'.
8987         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8988         (Status of AIO Operations): Remove erroneous const in aio_return and
8989         aio_return64 prototypes.
8990         (Synchronizing I/O): Fix sync prototype to return void.
8991         * manual/startup.texi (Suboptions): Remove an erroneous const in
8992         getsubopt prototype.
8993         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8994         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8995         use size_t rather than int.
8996         (Scanning All Users): Likewise for getpwent_r.
8997         (Setting Groups): Add missing const to setgroups prototype.
8998         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8999         * manual/socket.texi (Host Names): Fix gethostbyaddr and
9000         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9001         'const void *' rather than 'const char *'.
9002         (Host Address Functions): Likewise for inet_ntop.
9003         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9004         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9005         ssize_t for return value.
9006         (Sending Data): Likewise for send, sendto, sendmsg.
9007         (Socket Option Functions): Add a missing const in setsockopt prototype.
9008         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9009         use wchar_t for the argument.
9010         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9011         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9012         take no arguments.
9013         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9014         double/float/long double for second argument.
9015         Fix return types of significand, significandf, significandl.
9016         * manual/filesys.texi (Setting Permissions): Use mode_t for second
9017         argument in fchmod prototype.
9018         (File Owner): Use uid_t and gid_t in fchown prototype.
9019         (File Times): Add const to utimes, futimes, and lutimes prototypes.
9020         (Making Special Files): Use mode_t and dev_t in mknod prototype.
9021         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9022         use 'const struct dirent **' as argument types to CMP function pointer
9023         argument.
9024         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9025         (File Times): Fix summary magic @comment for struct utimbuf and utime
9026         to refer to utime.h, not time.h.
9027         * manual/string.texi (Argz Functions): Add missing const in
9028         argz_extract and argz_next prototypes.
9029         (Finding Tokens in a String): Likewise for basename.
9030         (String/Array Comparison): Fix typo in wcscasecmp prototype.
9031         (Copying and Concatenation): Fix typo in wmemmove prototype.
9032         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9033         (Signal Stack): Remove erroneous const in sigstack prototype.
9034         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9035         prototype.
9036         (Simple Calendar Time): Likewise for stime.
9037         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9038         prototype.
9039         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9040         say sys/sysctl.h instead.
9041         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9042         and vsyslog prototypes.
9043
9044 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9045
9046         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9047         Remove.
9048
9049 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9050
9051         * misc/sys/mman.h: Fix typo in mremap comment.
9052
9053 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9054
9055         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9056         the '\0' terminator.
9057
9058 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9059
9060         [BZ #13550]
9061         * debug/segfault.c: Don't include <bp-checks.h>.
9062         * sysdeps/generic/bp-checks.h: Remove file.
9063         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9064         (__GETDENTS): Don't use CHECK_N.
9065         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9066         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9067         (__getgroups): Don't use CHECK_N.
9068         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9069         (setgroups): Don't use CHECK_N.
9070         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9071         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9072         (__libc_msgrcv): Don't use CHECK_N.
9073         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9074         (__libc_msgsnd): Don't use CHECK_N.
9075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9076         <bp-checks.h>.
9077         (__libc_pread): Don't use CHECK_N.
9078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9079         include <bp-checks.h>.
9080         (__libc_pread64): Don't use CHECK_N.
9081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9082         include <bp-checks.h>.
9083         (__libc_pwrite): Don't use CHECK_N.
9084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9085         include <bp-checks.h>.
9086         (__libc_pwrite64): Don't use CHECK_N.
9087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9088         <bp-checks.h>.
9089         (__libc_pread): Don't use CHECK_N.
9090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9091         include <bp-checks.h>.
9092         (__libc_pread64): Don't use CHECK_N.
9093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9094         include <bp-checks.h>.
9095         (__libc_pwrite): Don't use CHECK_N.
9096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9097         include <bp-checks.h>.
9098         (__libc_pwrite64): Don't use CHECK_N.
9099         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9100         (do_pread): Don't use CHECK_N.
9101         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9102         (do_pread64): Don't use CHECK_N.
9103         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9104         (do_pwrite): Don't use CHECK_N.
9105         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9106         (do_pwrite64): Don't use CHECK_N.
9107         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9108         (__libc_readv): Don't use CHECK_N.
9109         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9110         (semop): Don't use CHECK_N.
9111         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9112         <bp-checks.h>.
9113         (semtimedop): Don't use CHECK_N.
9114         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9115         (__libc_pread): Don't use CHECK_N.
9116         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9117         <bp-checks.h>.
9118         (__libc_pread64): Don't use CHECK_N.
9119         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9120         <bp-checks.h>.
9121         (__libc_pwrite): Don't use CHECK_N.
9122         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9123         <bp-checks.h>.
9124         (__libc_pwrite64): Don't use CHECK_N.
9125         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9126         <bp-checks.h>.
9127         (__libc_msgrcv): Don't use CHECK_N.
9128         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9129         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
9130         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9131         (__libc_writev): Don't use CHECK_N.
9132
9133 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9134
9135         * string/strcpy.c: Removed unused variable.
9136
9137         * Makeconfig (+sysdep-includes): Define with := rather than =.
9138         Use an existing include/ subdir of each sysdeps dir before it.
9139
9140 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9141
9142         * nscd/connection.c (register_traced_file): Comment function.
9143         [HAVE_INOTIFY] (union __inev): Define.
9144         [HAVE_INOTIFY] (inotify_check_files): New function.
9145         [HAVE_INOTIFY] (clear_db_cache): Likewise.
9146         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9147         clear_db_cache.
9148         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9149
9150 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9151
9152         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9153         loaded if not already and that a failure is permanent.
9154
9155 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9156
9157         [BZ #15006]
9158         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9159         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9160
9161 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9162
9163         [BZ #13550]
9164         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9165         (CHECK_1_NULL_OK): Likewise.
9166         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9167         (__fxstat): Do not use CHECK_1.
9168         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9169         <bp-checks.h>.
9170         (___fxstat64): Do not use CHECK_1.
9171         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9172         <bp-checks.h>.
9173         (__fxstatat): Do not use CHECK_1.
9174         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9175         <bp-checks.h>.
9176         (__fxstatat64): Do not use CHECK_1.
9177         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9178         <bp-checks.h>.
9179         (__fxstat): Do not use CHECK_1.
9180         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9181         <bp-checks.h>.
9182         (__fxstatat): Do not use CHECK_1.
9183         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9184         <bp-checks.h>.
9185         (__getresgid): Do not use CHECK_1.
9186         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9187         <bp-checks.h>.
9188         (__getresuid): Do not use CHECK_1.
9189         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9190         <bp-checks.h>.
9191         (__lxstat): Do not use CHECK_1.
9192         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9193         <bp-checks.h>.
9194         (__old_msgctl): Do not use CHECK_1.
9195         (__new_msgctl): Likewise.
9196         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9197         <bp-checks.h>.
9198         (__new_setrlimit): Do not use CHECK_1.
9199         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9200         <bp-checks.h>.
9201         (__old_shmctl): Do not use CHECK_1.
9202         (__new_shmctl): Likewise.
9203         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9204         <bp-checks.h>.
9205         (__xstat): Do not use CHECK_1.
9206         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9207         (__lxstat): Do not use CHECK_1.
9208         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9209         <bp-checks.h>.
9210         (___lxstat64): Do not use CHECK_1.
9211         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9212         (__old_msgctl): Do not use CHECK_1.
9213         (__new_msgctl): Likewise.
9214         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9215         <bp-checks.h>.
9216         (__gettimeofday): Do not use CHECK_1.
9217         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9218         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9219         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9220         <bp-checks.h>.
9221         (__gettimeofday): Do not use CHECK_1.
9222         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9223         (__old_shmctl): Do not use CHECK_1_NULL_OK.
9224         (__new_shmctl): Do not use CHECK_1.
9225         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9226         <bp-checks.h>.
9227         (do_sigtimedwait): Do not use CHECK_1.
9228         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9229         <bp-checks.h>.
9230         (do_sigwaitinfo): Do not use CHECK_1.
9231         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9232         <bp-checks.h>.
9233         (msgctl): Do not use CHECK_1.
9234         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9235         <bp-checks.h>.
9236         (shmctl): Do not use CHECK_1.
9237         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9238         (ustat): Do not use CHECK_1.
9239         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9240         <bp-checks.h>.
9241         (__fxstat): Do not use CHECK_1.
9242         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9243         <bp-checks.h>.
9244         (__fxstatat): Do not use CHECK_1.
9245         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9246         <bp-checks.h>.
9247         (__lxstat): Do not use CHECK_1.
9248         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9249         <bp-checks.h>.
9250         (__xstat): Do not use CHECK_1.
9251         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9252         (__xstat): Do not use CHECK_1.
9253         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9254         (___xstat64): Do not use CHECK_1.
9255
9256         [BZ #13550]
9257         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9258         definitions.
9259         (CHECK_BOUNDS_HIGH): Likewise.
9260         * string/strcpy.c: Do not include <bp-checks.h>.
9261         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9262
9263 2013-02-07  Roland McGrath  <roland@hack.frob.com>
9264
9265         * nscd/nscd-client.h (__nscd_drop_map_ref):
9266         Add __attribute__ ((unused)).
9267         * nis/nss-nisplus.h (niserr2nss): Likewise.
9268
9269         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9270         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9271
9272         * csu/libc-tls.c (init_static_tls, init_slotinfo):
9273         Remove inline keyword.
9274         * include/rounding-mode.h (round_away): Likewise.
9275         * libio/wfileops.c (adjust_wide_data): Likewise.
9276         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9277         (__m128i_strloadu_tolower): Likewise.
9278         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9279         (__m128i_strloadu_tolower): Likewise.
9280         * time/mktime.c (ydhms_diff): Likewise.
9281         * locale/elem-hash.h (elem_hash): Likewise.
9282         * locale/setlocale.c (setdata): Likewise.
9283         * posix/regex_internal.h (re_string_char_size_at): Likewise.
9284         (re_string_wchar_at): Likewise.
9285         (bitset_not, bitset_merge, bitset_mask): Likewise.
9286         [!(__GNUC__ > 3)] (inline): Remove macro.
9287         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9288         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9289         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9290         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9291         * string/memcmp.c (memcmp_bytes): Likewise.
9292         * locale/programs/locarchive.c (compute_hashval): Likewise.
9293         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9294         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9295         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9296         * nss/getent.c (print_rpc, print_protocols): Likewise.
9297         (print_passwd, print_group, print_aliases): Likewise.
9298         * nis/nss-nisplus.h (niserr2nss): Likewise.
9299         * nscd/connections.c (restart_p): Likewise.
9300         Change return type to bool.
9301
9302 2013-02-05  Roland McGrath  <roland@hack.frob.com>
9303
9304         * Makeconfig (all-Depend-files): Add existing
9305         $(sorted-subdirs:=/Depend) files.
9306         (all-subdirs): Remove nss.
9307         * sysdeps/unix/inet/Subdirs: Add it here instead.
9308         * hesiod/Depend: New file.
9309
9310         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9311         instead of calling alloca.
9312
9313         * io/lseek.c (__lseek): Rename to __libc_lseek.
9314         Define __lseek as an alias.
9315
9316         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9317
9318 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
9319
9320         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9321         else clause and remove check for non-standard endianness.
9322
9323 2013-02-04  David S. Miller  <davem@davemloft.net>
9324
9325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9326
9327 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
9328
9329         [BZ #13550]
9330         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9331         (__ubp_memchr): Remove prototype.
9332         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9333         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9334         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9335         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9336         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9337         Remove alias.
9338         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9339         (__ubp_memchr): Likewise.
9340         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9341         (__ubp_memchr): Likewise.
9342         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9343         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9344         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9345         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9346         CHECK_STRING.
9347         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9348         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9349         (__getcwd): Do not use CHECK_STRING.
9350         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9351         <bp-checks.h>.
9352         (__real_chown): Do not use CHECK_STRING.
9353         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9354         <bp-checks.h>.
9355         (fchownat): Do not use CHECK_STRING.
9356         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9357         CHECK_STRING.
9358         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9359         <bp-checks.h>.
9360         (__lchown): Do not use CHECK_STRING.
9361         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9362         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9363         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9364         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9366         include <bp-checks.h>.
9367         (truncate64): Do not use CHECK_STRING.
9368         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9369         <bp-checks.h>.
9370         (__real_chown): Do not use CHECK_STRING.
9371         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9372         <bp-checks.h>.
9373         (__lchown): Do not use CHECK_STRING.
9374         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9375         <bp-checks.h>.
9376         (__chown): Do not use CHECK_STRING.
9377         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9378         <bp-checks.h>.
9379         (truncate64): Do not use CHECK_STRING.
9380         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9381         Likewise.
9382         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9383         (__xmknod): Do not use CHECK_STRING.
9384         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9385         <bp-checks.h>.
9386         (__xmknodat): Do not use CHECK_STRING.
9387         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9388         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9389
9390 2013-02-04  Andreas Schwab  <schwab@suse.de>
9391
9392         [BZ #14142]
9393         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9394         * include/netdb.h: Likewise for h_errno.
9395         * elf/tst-stackguard1.c: Include <tls.h>.
9396
9397 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9398
9399         * elf/link.h (struct link_map): Extend the l_addr comment.
9400         * include/link.h (struct link_map): Likewise.
9401
9402 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
9403
9404         [BZ #13550]
9405         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9406         (BOUNDED_1): Remove macro.
9407         * debug/backtrace.c: Don't include <bp-checks.h>.
9408         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9409         (__backtrace): Likewise.
9410         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9411         <bp-checks.h>.
9412         (__backtrace): Don't use BOUNDED_1.
9413         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9414         <bp-checks.h>.
9415         (__backtrace): Don't use BOUNDED_1.
9416         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9417         (__backtrace): Don't use BOUNDED_1.
9418         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9419         (shmat): Don't use BOUNDED_N.
9420
9421 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
9422
9423         [BZ #13550]
9424         * sysdeps/generic/bp-start.h: Remove file.
9425         * csu/libc-start.c: Don't include <bp-start.h>.
9426         (LIBC_START_MAIN): Set up __environ directly instead of using
9427         INIT_ARGV_and_ENVIRON.
9428         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9429         <bp-start.h>.
9430
9431         [BZ #13550]
9432         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9433         definitions.
9434         (CHECK_FCNTL): Likewise.
9435         (CHECK_N_PAGES): Likewise.
9436
9437         [BZ #13550]
9438         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9439         definitions.
9440         (CHECK_SIGSET_NULL_OK): Likewise.
9441         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9442         <bp-checks.h>.
9443         (sigpending): Don't use CHECK_SIGSET.
9444         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9445         <bp-checks.h>.
9446         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9447         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9448         <bp-checks.h>.
9449         (do_sigsuspend): Don't use CHECK_SIGSET.
9450         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9451         use CHECK_SIGSET.
9452         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9453         (do_sigwait): Don't use CHECK_SIGSET.
9454         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9455         use CHECK_SIGSET.
9456         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9457         include <bp-checks.h>.
9458         (sigpending): Don't use CHECK_SIGSET.
9459         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9460         include <bp-checks.h>.
9461         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9462         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9463         <bp-checks.h>.
9464         (sigpending): Don't use CHECK_SIGSET.
9465         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9466         <bp-checks.h>.
9467         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9468
9469         [BZ #13550]
9470         * sysdeps/generic/bp-semctl.h: Remove file.
9471         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9472         <bp-checks.h> and <bp-semctl.h>.
9473         (__old_semctl): Don't use CHECK_SEMCTL.
9474         (__new_semctl): Likewise.
9475         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9476         and <bp-semctl.h>.
9477         (__old_semctl): Don't use CHECK_SEMCTL.
9478         (__new_semctl): Likewise.
9479         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9480         <bp-checks.h> and <bp-semctl.h>.
9481         (__old_semctl): Don't use CHECK_SEMCTL.
9482         (__new_semctl): Likewise.
9483         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9484         <bp-checks.h> and <bp-semctl.h>.
9485         (semctl): Don't use CHECK_SEMCTL.
9486
9487         [BZ #13550]
9488         * Makerules (elide-bp-thunks): Remove variable.
9489         (elide-routines.oS): Don't use $(elide-bp-thunks).
9490         (elide-routines.os): Likewise.
9491         (elide-routines.o): Likewise.
9492         (elide-routines.op): Likewise.
9493         (elide-routines.og): Likewise.
9494         (objects): Don't use $(bp-thunks).
9495         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9496         include.
9497         (common-generated): Do not add s-proto-bp.d.
9498         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9499         (int): Likewise.
9500         (typ): Likewise.
9501         Do not generate makefile rules for bounded-pointer thunks.
9502         * sysdeps/generic/bp-thunks.h: Remove file.
9503         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9504         * sysdeps/unix/s-proto-bp.S: Likewise.
9505
9506         [BZ #15062]
9507         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9508         parts of result separately when argument is not close to line from
9509         -i to i and one part of argument is small.
9510         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9511         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9512         * math/libm-test.inc (cacos_test): Add more tests.
9513         (casin_test): Likewise.
9514         (casinh_test): Likewise.
9515         * sysdeps/i386/fpu/libm-test-ulps: Update.
9516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9517
9518 2013-01-31  David S. Miller  <davem@davemloft.net>
9519
9520         * po/de.po: Update from translation team.
9521
9522 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
9523
9524         * time/tzfile.c: Include stdint.h for SIZE_MAX.
9525
9526 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
9527
9528         * configure.in (_AC_PROG_CC_C89): New definition.
9529         * configure: Regenerate.
9530
9531         * configure.in (AC_PROG_CPP): New definition.
9532         * configure: Regenerate.
9533
9534 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
9535
9536         * debug/tst-backtrace.h: New file.
9537         * debug/tst-backtrace2.c: Include tst-backtrace.h.
9538         (ret): Remove variable.
9539         (x): Likewise.
9540         (FAIL): Remove macro.
9541         (NO_INLINE): Likewise.
9542         (fn1): Use match function instead of strstr.
9543         * debug/tst-backtrace3.c: Include tst-backtrace.h.
9544         (ret): Remove variable.
9545         (x): Likewise.
9546         (FAIL): Remove macro.
9547         (NO_INLINE): Likewise.
9548         (fn): Use match function instead of strstr.
9549         * debug/tst-backtrace4.c: Include tst-backtrace.h.
9550         (ret): Remove variable.
9551         (x): Likewise.
9552         (FAIL): Remove macro.
9553         (NO_INLINE): Likewise.
9554         (handle_signal): Use match function instead of strstr.
9555         * debug/tst-backtrace5.c: Include tst-backtrace.h.
9556         (ret): Remove variable.
9557         (x): Likewise.
9558         (FAIL): Remove macro.
9559         (NO_INLINE): Likewise.
9560         (handle_signal): Use match function instead of strstr.
9561
9562 2013-01-23  Roland McGrath  <roland@hack.frob.com>
9563
9564         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9565
9566 2013-01-23  David S. Miller  <davem@davemloft.net>
9567
9568         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9569         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9570         argument of CAS if possible.
9571         * sysdeps/sparc/sparc64/bits/atomic.h
9572         (__arch_compare_and_exchange_val_32_acq): Likewise.
9573         (__arch_compare_and_exchange_val_64_acq): Likewise.
9574
9575 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
9576
9577         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9578         * sysdeps/posix/ulimit.c: ... this.
9579         Include <limits.h>.
9580         * sysdeps/unix/bsd/ulimit.c: Remove file.
9581
9582 2013-01-23  Adam Conrad  <adconrad@0c3.net>
9583
9584         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9585         (LDFLAGS-tst-array5): Likewise.
9586
9587 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
9588
9589         [BZ #15036]
9590         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9591         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9592         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9593         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9594
9595 2013-01-21  David S. Miller  <davem@davemloft.net>
9596
9597         * sysdeps/sparc/backtrace.c: New file.
9598         * sysdeps/sparc/sparc32/backtrace.h: New file.
9599         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9600         * sysdeps/sparc/sparc64/backtrace.h: New file.
9601         * sysdeps/sparc/sparc64/backtrace.c: Delete.
9602         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9603         -funwind-tables.
9604
9605 2013-01-21  Andreas Schwab  <schwab@suse.de>
9606
9607         [BZ #15020]
9608         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9609         closed its stdout.
9610
9611 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
9612
9613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9614         "mpa2.h".
9615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9616
9617 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
9618             Mark Mitchell  <mark@codesourcery.com>
9619             Tom de Vries  <tom@codesourcery.com>
9620             Paul Pluzhnikov  <ppluzhnikov@google.com>
9621
9622         * debug/tst-backtrace2.c: New file.
9623         * debug/tst-backtrace3.c: Likewise.
9624         * debug/tst-backtrace4.c: Likewise.
9625         * debug/tst-backtrace5.c: Likewise.
9626         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9627         (CFLAGS-tst-backtrace3.c): Likewise.
9628         (CFLAGS-tst-backtrace4.c): Likewise.
9629         (CFLAGS-tst-backtrace5.c): Likewise.
9630         (LDFLAGS-tst-backtrace2): Likewise.
9631         (LDFLAGS-tst-backtrace3): Likewise.
9632         (LDFLAGS-tst-backtrace4): Likewise.
9633         (LDFLAGS-tst-backtrace5): Likewise.
9634         (tests): Add new tests tst-backtrace2, tst-backtrace3,
9635         tst-backtrace4 and tst-backtrace5.
9636
9637 2013-01-18  Anton Blanchard  <anton@samba.org>
9638             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9639
9640         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9641         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9642         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9643         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9645         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9646         "+r" and remove output regs list as redundant.  Add explicit inline
9647         asm to specify register of return val to work around compiler codegen
9648         bug.  Remove (int) cast on return value.  Add return type parameter to
9649         use in macro so that this macro does not truncate return value for
9650         64-bit values.
9651         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9652         pass to INTERNAL_VSYSCALL_NCS.
9653         (INLINE_VSYSCALL): Add 'long int' as return type to
9654         INTERNAL_VSYSCALL_NCS macro invocation.
9655         (INTERNAL_VSYSCALL): Add 'long int' as return type to
9656         INTERNAL_VSYSCALL_NCS macro invocation.
9657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9658
9659 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9660
9661         [BZ #14496]
9662         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9663         Fix application of SIMD FP exception mask.
9664
9665         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9666         mp_no from a power of two.
9667         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9668         __mpexp_twomm1.  Use __pow_mp.
9669
9670         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9671         multiplication.
9672
9673 2013-01-17  David S. Miller  <davem@davemloft.net>
9674
9675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9676
9677 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
9678
9679         [BZ #15023]
9680         * include/complex.h: Condition contents on [!_COMPLEX_H].
9681         (__kernel_casinhf): New prototype.
9682         (__kernel_casinh): Likewise.
9683         (__kernel_casinhl): Likewise.
9684         * math/Makefile (libm_calls): Add k_casinh.
9685         * math/k_casinh.c: New file.
9686         * math/k_casinhf.c: Likewise.
9687         * math/k_casinhl.c: Likewise.
9688         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9689         finite nonzero arguments.
9690         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9691         finite nonzero arguments.
9692         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9693         finite nonzero arguments.
9694         * math/s_casinh.c: Do not include <float.h>.
9695         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9696         * math/s_casinhf.c: Do not include <float.h>.
9697         (__casinhf): Move code for finite nonzero arguments to
9698         k_casinhf.c.
9699         * math/s_casinhl.c: Do not include <float.h>.
9700         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9701         redefine.
9702         (__casinhl): Move code for finite nonzero arguments to
9703         k_casinhl.c.
9704         * math/libm-test.inc (cacos_test): Add more tests.
9705         * sysdeps/i386/fpu/libm-test-ulps: Update.
9706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9707
9708 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
9709
9710         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9711         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9712         [!HAVE_MREMAP]: Remove [defined linux] case.
9713         * malloc/arena.c: Do not include <malloc-sysdep.h>.
9714
9715 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9716
9717         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9718
9719 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
9720
9721         * elf/elf.h (R_386_SIZE32): New relocation.
9722         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9723         R_386_SIZE32.
9724         (elf_machine_rela): Likewise.
9725         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9726         R_X86_64_SIZE64 and R_X86_64_SIZE32.
9727
9728 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
9729
9730         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9731         (FP_FAST_FMA): Do not define.
9732         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9733         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9734         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9735         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9736         !_SOFT_FLOAT]: Likewise.
9737         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9738         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9739         value.
9740         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9741         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9742         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9743         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9744         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9745         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9746         file.
9747
9748 2013-01-16  Andreas Schwab  <schwab@suse.de>
9749
9750         [BZ #14327]
9751         * include/stdlib.h (__mktemp): Add declaration.
9752         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9753         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9754
9755 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9756
9757         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9758         definitions.
9759         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9760         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9761         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9762         definitions here.
9763         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9764         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9765         definitions.
9766         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9767         and ONE.
9768         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9769         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9770         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9771         definitions.
9772         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9773         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9774         definitions.
9775         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9776
9777         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9778
9779 2013-01-15  David S. Miller  <davem@davemloft.net>
9780
9781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9782         trunc{,f} to libm-sysdep_routes.
9783         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9785         file.
9786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9788         file.
9789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9790         file.
9791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9793         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9794         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9795         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9796         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9797         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9798         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9799
9800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9801         nearbyint{,f} to libm-sysdep_routes.
9802         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9804         New file.
9805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9806         file.
9807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9808         New file.
9809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9810         file.
9811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9813         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9814         file.
9815         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9816         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9817         file.
9818         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9819         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9820         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9821
9822         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9823         libc_feholdexcept and libc_fesetenv.
9824
9825 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
9826
9827         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9828
9829 2013-01-14  David S. Miller  <davem@davemloft.net>
9830
9831         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9832         (SPARC_ASM_VIS2_IFUNC): Likewise.
9833         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9835         use of 'siam' instruction.
9836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9837         Likewise.
9838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9839         Likewise.
9840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9841         Likewise.
9842         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9843         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9844         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9845         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9847         file.
9848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9849         file.
9850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9851         file.
9852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9853         file.
9854         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9855         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9856         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9857         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9859         new VIS2 routines.
9860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9863         Likewise.
9864         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9866         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9867         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9869         routines to libm-sysdep_routines.
9870         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9871
9872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9873         fdim/fdimf to libm-sysdep_routines.
9874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9875         file.
9876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9878         file.
9879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9882         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9883         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9884         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9885         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9886
9887 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9888
9889         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9890         to optimize copies.
9891
9892         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9894         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9895
9896         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9897         local variable MPTWO.
9898         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9899         Likewise.
9900
9901 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9902
9903         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9904         GLOB_NOESCAPE.
9905
9906 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9907
9908         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9909
9910 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9911
9912         * manual/pattern.texi (glob_t): Document gl_flags.
9913         (glob64_t): Likewise.
9914
9915 2013-01-11  David S. Miller  <davem@davemloft.net>
9916
9917         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9918         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9919         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
9920         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9921         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9922         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9923         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9924         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9925         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9926         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9927         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9928         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9929         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9930
9931         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9932         sparc V9 rather than using V8 code.
9933         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9934         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9935
9936         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9937         Move to...
9938         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9939         Here.
9940
9941 2013-01-11  Roland McGrath  <roland@hack.frob.com>
9942
9943         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9944         not in the main loop.
9945         * configure: Regenerated.
9946
9947 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
9948
9949         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9950         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9951         to just #else.
9952         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
9953         [!__GLIBC_HAVE_LONG_LONG] case.
9954         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9955         condition to just #else.
9956         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9957         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9958         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9959         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9960         unconditional.
9961         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9962         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9963         #elif condition to just #else.
9964         * sysdeps/unix/sysv/linux/sys/sysmacros.h
9965         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9966         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9967         #elif condition to just #else.
9968
9969 2013-01-11  Steve Ellcey  <sellcey@mips.com>
9970
9971         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9972         (EF_MIPS_ARCH_64): Fix value.
9973         (EF_MIPS_ARCH_32R2): New.
9974         (EF_MIPS_ARCH_64R2): New.
9975
9976 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
9977
9978         * Makeconfig (+link-pie-before-libc): New.
9979         (+link-pie-after-libc): Likewise.
9980         (+link-pie-tests): Likewise.
9981         (+link-pie): Rewritten.
9982         (link-before-libc): Remove $(config-LDFLAGS).
9983         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9984         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9985         (config-LDFLAGS): Renamed to ...
9986         (rtld-LDFLAGS): This.
9987         (rtld-tests-LDFLAGS): New macro.
9988         (link-libc-rpath-link): Likewise.
9989         (link-libc-tests-rpath-link): Likewise.
9990         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9991         (link-libc): Prepand $(link-libc-rpath-link).
9992         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9993         (test-program-prefix): New macro.
9994         (test-via-rtld-prefix): Likewise.
9995         (test-program-cmd): Likewise.
9996         (host-test-program-cmd): Likewise.
9997         * Makefile ($(common-objpfx)testrun.sh): Replace
9998         $(run-program-prefix) with $(test-program-prefix).
9999         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10000         $(rtld-LDFLAGS).
10001         ($(common-objpfx)shlib.lds): Likewise.
10002         (build-module-helper): Likewise.
10003         ($(common-objpfx)format.lds): Likewise.
10004         * Rules (binaries-pie-tests): New.
10005         (binaries-pie-notests): Likewise.
10006         (binaries-pie): Rewritten.
10007         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10008         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10009         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10010         (make-test-out): Replace $(host-built-program-cmd) with
10011         $(host-test-program-cmd).
10012         * config.make.in (build-hardcoded-path-in-tests): New variable.
10013         * configure.in (--enable-hardcoded-path-in-tests): New configure
10014         option.
10015         (hardcoded_path_in_tests): New AC_SUBST.
10016         * configure: Regenerated.
10017         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10018         $(built-program-cmd) with $(test-program-cmd).
10019         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10020         (test_program_cmd): This.
10021         * elf/Makefile ($(objpfx)order.out): Run test with
10022         $(test-program-prefix).
10023         ($(objpfx)order2.out): Likewise.
10024         ($(objpfx)tst-initorder.out): Likewise.
10025         ($(objpfx)tst-initorder2.out): Likewise.
10026         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10027         $(test-program-cmd).
10028         ($(objpfx)tst-array1-static.out): Likewise.
10029         ($(objpfx)tst-array2.out): Likewise.
10030         ($(objpfx)tst-array3.out): Likewise.
10031         ($(objpfx)tst-array4.out): Likewise.
10032         ($(objpfx)tst-array5.out): Likewise.
10033         ($(objpfx)tst-array5-static.out): Likewise.
10034         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10035         $(test-program-cmd).
10036         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10037         $(run-program-prefix) with $(test-program-prefix).
10038         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10039         (test_program_prefix): This.
10040         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10041         $(run-program-prefix) with $(test-program-prefix).
10042         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10043         (test_program_prefix): This.
10044         * iconvdata/tst-tables.sh: Likewise.
10045         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10046         $(run-program-prefix) with $(test-program-prefix).
10047         ($(objpfx)tst-translit.out): Likewise.
10048         ($(objpfx)tst-gettext2.out): Likewise.
10049         ($(objpfx)tst-gettext4.out): Likewise.
10050         ($(objpfx)tst-gettext6.out): Likewise.
10051         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10052         (test_program_prefix): This.
10053         * intl/tst-gettext2.sh: Likewise.
10054         * intl/tst-gettext4.sh  Likewise.
10055         * intl/tst-gettext6.sh: Likewise.
10056         * intl/tst-translit.sh: Likewise.
10057         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10058         with $(test-program-cmd).
10059         * libio/Makefile ($(objpfx)test-freopen.out): Replace
10060         $(run-program-prefix) with $(test-program-prefix).
10061         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10062         (test_program_prefix): This.
10063         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10064         $(run-program-prefix) with $(test-program-prefix).
10065         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10066         (test_program_prefix): This.
10067         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10068         * posix/Makefile ($(objpfx)globtest.out): Replace
10069         $(run-via-rtld-prefix) and $(test-wrapper) with
10070         $(test-program-prefix) and $(test-via-rtld-prefix).
10071         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10072         $(test-program-prefix).
10073         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10074         $(host-test-program-cmd).
10075         (tst-spawn-ARGS): Likewise.
10076         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10077         $(test-program-prefix).
10078         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10079         (test_via_rtld_prefix): This.
10080         (test_wrapper): Renamed to ...
10081         (test_program_prefix): This.
10082         (run_program_prefix): Replaced by test_program_prefix.
10083         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10084         (test_program_prefix): This.
10085         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10086         with $(host-test-program-cmd).
10087         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10088         $(run-program-prefix) with $(test-program-prefix).
10089         ($(objpfx)tst-printf.out): Likewise.
10090         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10091         $(test-program-cmd).
10092         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10093         (test_program_prefix): This.
10094         * stdio-common/tst-unbputc.sh: Likewise.
10095         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10096         $(run-program-prefix) with $(test-program-prefix).
10097         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10098         (test_program_prefix): This.
10099         * string/Makefile ($(objpfx)tst-svc.out):  Replace
10100         $(built-program-cmd) with $(test-program-cmd).
10101
10102 2013-01-11  Andreas Jaeger  <aj@suse.de>
10103
10104         [BZ #15003]
10105         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10106         value. Sync with Linux 3.7.
10107
10108 2013-01-10  David S. Miller  <davem@davemloft.net>
10109
10110         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10111         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10112         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10113
10114 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10115
10116         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10117         never set.
10118         * configure: Regenerated.
10119
10120 2013-01-10  David S. Miller  <davem@davemloft.net>
10121
10122         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10123         sparc V9 rather than using V8 code.
10124         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10125         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10126
10127 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10128
10129         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10130         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10131         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10132         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10133         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10134         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10135         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10136         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10137         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10138         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10139         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10140         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10141         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10142         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10143         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10144         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10145         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10146         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10147         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10148         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10149         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10150         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10151         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10152         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10153         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10154         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10155         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10156
10157 2013-01-10  David S. Miller  <davem@davemloft.net>
10158
10159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10160
10161 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10162
10163         * posix/Makefile (tests-static): New variable.
10164         (tests): Add $(tests-static).
10165         (tst-exec-static-ARGS): New variable.
10166         (tst-spawn-static-ARGS): Likewise.
10167         * posix/tst-exec-static.c: New file.
10168         * posix/tst-spawn-static.c: Likewise.
10169         * posix/tst-exec.c: Support run directly.
10170         * posix/tst-spawn.c: Likewise.
10171
10172 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
10173
10174         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10175         long.
10176         * math/bits/mathcalls.h (llrint): Likewise.
10177         (llround): Likewise.
10178         * stdlib/stdlib.h (struct drand48_data): Likewise.
10179         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10180         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10181         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10182         Likewise.
10183         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10184         Likewise.
10185         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10186         (elf_greg_t): Likewise.
10187         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10188         (__jmp_buf): Likewise.
10189         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10190         definitions.
10191         (llrint): Likewise, for all definitions.
10192         (llrintl): Likewise.
10193
10194         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10195         Remove [__GNUC__] condition.
10196         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10197         condition to just [__USE_ISOC99].
10198         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10199
10200 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10201
10202         [BZ #14200]
10203         * sysdeps/unix/sysv/linux/x86/bits/environments.h
10204         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10205         defined.
10206         (_POSIX_V6_ILP32_OFF32): Likewise.
10207         (_XBS5_ILP32_OFF32): Likewise.
10208         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10209         (__ILP32_OFFBIG_LDFLAGS): Likewise.
10210
10211 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10212
10213         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10214
10215         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10216         doubles __mpexp_twomm1.  Adjust usage.
10217         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10218         Remove.
10219
10220 2013-01-10  Andreas Schwab  <schwab@suse.de>
10221
10222         [BZ #14964]
10223         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10224         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10225
10226 2013-01-09  David S. Miller  <davem@davemloft.net>
10227
10228         [BZ #15003]
10229         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10230         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10231         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10232         TCP_FASTOPEN): Define.
10233         (tcp_repair_opt): New structure.
10234         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10235         enum values.
10236         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10237         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10238         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10239         (tcp_cookie_transactions): New structure.
10240
10241 2013-01-09  Anton Blanchard  <anton@samba.org>
10242
10243         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10244         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10245         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10246         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10247
10248 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
10249
10250         * include/features.h (__USE_ANSI): Remove.
10251
10252 2013-01-09  Roland McGrath  <roland@hack.frob.com>
10253
10254         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10255
10256         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10257
10258 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
10259
10260         * sysdeps/s390/fpu/libm-test-ulps: Update.
10261
10262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10263
10264         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10265         (__acr): Likewise.
10266         (__cpy): Likewise.
10267         (norm): Likewise.
10268         (denorm): Likewise.
10269         (__mp_dbl): Likewise.
10270         (__dbl_mp): Likewise.
10271         (add_magnitudes): Likewise.
10272         (sub_magnitudes): Likewise.
10273         (__add): Likewise.
10274         (__sub): Likewise.
10275         (__mul): Likewise.
10276         (__inv): Likewise.
10277         (__dvd): Likewise.
10278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10279         (__acr): Likewise.
10280         (__cpy): Likewise.
10281         (norm): Likewise.
10282         (denorm): Likewise.
10283         (__mp_dbl): Likewise.
10284         (__dbl_mp): Likewise.
10285         (add_magnitudes): Likewise.
10286         (sub_magnitudes): Likewise.
10287         (__add): Likewise.
10288         (__sub): Likewise.
10289         (__mul): Likewise.
10290         (__inv): Likewise.
10291         (__dvd): Likewise.
10292         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10293         (__acr): Likewise.
10294         (__cpy): Likewise.
10295         (norm): Likewise.
10296         (denorm): Likewise.
10297         (__mp_dbl): Likewise.
10298         (__dbl_mp): Likewise.
10299         (add_magnitudes): Likewise.
10300         (sub_magnitudes): Likewise.
10301         (__add): Likewise.
10302         (__sub): Likewise.
10303         (__mul): Likewise.
10304         (__inv): Likewise.
10305         (__dvd): Likewise.
10306
10307 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
10308
10309         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10310         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10311         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10312         2 && __USE_EXTERN_INLINES]: Likewise.
10313
10314 2013-01-08  Andreas Jaeger  <aj@suse.de>
10315
10316         [BZ# 14985]
10317         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10318         Remove.
10319         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10320         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10321
10322 2013-01-07  Anton Blanchard  <anton@samba.org>
10323
10324         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10325         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10326         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10327         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10328         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10329         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10330         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10331         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10332         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10333         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10334         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10335         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10336         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10337         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10338         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10339         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10340         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10341         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10342         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10343         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10344         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10345         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10346         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10347         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10348         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10349         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10350         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10351         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10352         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10353         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10354         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10355         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10356         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10357         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10358         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10359         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10360         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10361         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10362         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10363         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10364         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10365         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10366         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10367
10368 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
10369
10370         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10371         (__MALLOC_PMT): Likewise.
10372         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10373         [__GNUC__], only on [_LIBC].
10374         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10375         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10376         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10377         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10378         forward declaration.
10379         (realloc_hook_ini): Likewise.
10380         (memalign_hook_ini): Likewise.
10381         (__libc_memalign): Do not use __MALLOC_PMT in variable
10382         declaration.
10383         (__libc_valloc): Likewise.
10384         (__libc_pvalloc): Likewise.
10385         (__libc_calloc): Likewise.
10386         (__posix_memalign): Likewise.
10387
10388         [BZ #14996]
10389         * math/s_casinh.c: Include <float.h>.
10390         (__casinh): Do not do computation with squaring and square root
10391         for large arguments.
10392         * math/s_casinhf.c: Include <float.h>.
10393         (__casinhf): Do not do computation with squaring and square root
10394         for large arguments.
10395         * math/s_casinhl.c: Include <float.h>.
10396         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10397         (__casinhl): Do not do computation with squaring and square root
10398         for large arguments.
10399         * math/libm-test.inc (casin_test): Add more tests.
10400         (casinh_test): Likewise.
10401         * sysdeps/i386/fpu/libm-test-ulps: Update.
10402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10403
10404 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
10405
10406         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10407         (__x86_64_raw_data_cache_size): Likewise.
10408         (__x86_64_data_cache_size_half): Likewise.
10409         (__x86_64_raw_data_cache_size_half): Likewise.
10410         (__x86_64_shared_cache_size): Likewise.
10411         (__x86_64_raw_shared_cache_size): Likewise.
10412         (__x86_64_shared_cache_size_half): Likewise.
10413         (__x86_64_raw_shared_cache_size_half): Likewise.
10414         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10415         to ...
10416         (__x86_data_cache_size): This.
10417         (__x86_64_raw_data_cache_size): Renamed to ...
10418         (__x86_raw_data_cache_size): This.
10419         (__x86_64_data_cache_size_half): Renamed to ...
10420         (__x86_data_cache_size_half): This.
10421         (__x86_64_raw_data_cache_size_half): Renamed to ...
10422         (__x86_raw_data_cache_size_half): This.
10423         (__x86_64_shared_cache_size): Renamed to ...
10424         (__x86_shared_cache_size): This.
10425         (__x86_64_raw_shared_cache_size): Renamed to ...
10426         (__x86_raw_shared_cache_size): This.
10427         (__x86_64_shared_cache_size_half): Renamed to ...
10428         (__x86_shared_cache_size_half): This.
10429         (__x86_64_raw_shared_cache_size_half): Renamed to ...
10430         (__x86_raw_shared_cache_size_half): This.
10431         * sysdeps/x86_64/memcpy.S: Updated.
10432         * sysdeps/x86_64/memset.S: Likewise.
10433         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10434         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10435         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10436
10437 2013-01-04  David S. Miller  <davem@davemloft.net>
10438
10439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10440
10441 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
10442
10443         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10444         1 to avoid redefinition warning.
10445         (__USE_GNU): Don't define.
10446         (init_signaling_nan): Protoize.
10447
10448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10449
10450 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10451
10452         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10453         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10454         (__cpymn): Likewise.
10455         (norm): Remove commented code.
10456         (denorm): Likewise.
10457         (__mp_dbl): Likewise.
10458         (__inv): Likewise.
10459         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10460         (__cpymn): Likewise.
10461         (norm): Remove commented code.
10462         (denorm): Likewise.
10463         (__mp_dbl): Likewise.
10464         (__inv): Likewise.
10465
10466         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10467         mp_no value for 1.0 and 2.0.
10468         (norm): Use RADIXI instead of radixi.d.
10469         (denorm): Likewise.
10470         (__mul): Use 0.0 instead of zero.d.
10471         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10472         mp_no value for 1.0 and 2.0.
10473         (norm): Use RADIXI instead of radixi.d.
10474         (denorm): Likewise.
10475         (__mul): Use 0.0 instead of zero.d.
10476
10477 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
10478
10479         [BZ #14994]
10480         * math/s_casinh.c (__casinh): Reduce finite argument to first
10481         quadrant then set signs of results at the end.
10482         * math/s_casinhf.c (__casinhf): Likewise.
10483         * math/s_casinhl.c (__casinhl): Likewise.
10484         * math/libm-test.inc (casin_test): Add more tests.
10485         (casinh_test): Likewise.
10486         * sysdeps/i386/fpu/libm-test-ulps: Update.
10487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10488
10489 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10490
10491         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10492
10493         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10494
10495         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10496         declarations.
10497         (denorm): Likewise.
10498         (__mp_dbl): Likewise.
10499         (__inv): Likewise.
10500
10501         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10502         and adjust the header comment.
10503
10504         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10505         variable name from declaration.
10506
10507 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
10508
10509         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10510         Initialize COMMON_CPUID_INDEX_7 element.
10511         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10512         (CPUID_RTM): Likewise.
10513         (HAS_RTM): Likewise.
10514         (COMMON_CPUID_INDEX_7): New enum.
10515
10516 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
10517
10518         [BZ #14981]
10519         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10520         size is zero, record memory as freed.
10521
10522 2013-01-03  Andreas Jaeger  <aj@suse.de>
10523
10524         * po/ia.po: Add new Interlingua translation.
10525
10526 2012-01-03  Allan McRae  <allan@archlinux.org>
10527
10528         * locale/programs/localedef.c: Fix description of '--posix' flag.
10529
10530 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
10531
10532         * NEWS: Update dates in second copyright notice.
10533         * README: Update copyright dates in example.
10534         * manual/libc.texinfo: Update copyright dates.
10535         * scripts/test-installation.pl: Update copyright date in --version
10536         output.
10537
10538         * hurd/ctty-input.c: Fix copyright notice formatting.
10539         * hurd/ctty-output.c: Likewise.
10540         * hurd/dtable.c: Likewise.
10541         * hurd/hurd-raise.c: Likewise.
10542         * hurd/hurdprio.c: Likewise.
10543         * hurd/msgportdemux.c: Likewise.
10544         * misc/sys/file.h: Likewise.
10545         * misc/sys/ioctl.h: Likewise.
10546         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10547         * sysdeps/mach/hurd/chdir.c: Likewise.
10548         * sysdeps/mach/hurd/fchdir.c: Likewise.
10549         * sysdeps/mach/hurd/rename.c: Likewise.
10550         * sysdeps/mach/hurd/rmdir.c: Likewise.
10551         * sysdeps/mach/hurd/seekdir.c: Likewise.
10552         * sysdeps/mach/hurd/setsid.c: Likewise.
10553         * sysdeps/posix/wait3.c: Likewise.
10554
10555         * All files with FSF copyright notices: Update copyright dates
10556         using scripts/update-copyrights.
10557         * intl/plural.c: Regenerated.
10558         * locale/programs/charmap-kw.h: Likewise.
10559         * locale/programs/locfile-kw.h: Likewise.
10560
10561 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10562
10563         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10564         four values.
10565
10566         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10567         calculation loop and add branch prediction.
10568
10569         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10570         check access beyond bounds of m1np.
10571
10572         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10573         MPTWO.
10574         (__inv): Remove local variable MPTWO to use the global
10575         constant.
10576         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10577         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10578         variable MPTWO.
10579         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10580         MP3HALFS static const.
10581
10582 2013-01-01  David S. Miller  <davem@davemloft.net>
10583
10584         * po/ca.po: Update from translation team.
10585
10586 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
10587
10588         * scripts/update-copyrights: New file.
10589         * Makeconfig: Reformat copyright notice.
10590         * ctype/ctype.h: Likewise.
10591         * debug/swprintf_chk.c: Likewise.
10592         * elf/dl-cache.c: Likewise.
10593         * elf/dl-debug.c: Likewise.
10594         * elf/dl-object.c: Likewise.
10595         * grp/initgroups.c: Likewise.
10596         * hurd/Makefile: Likewise.
10597         * hurd/hurd/signal.h: Likewise.
10598         * hurd/hurdfault.c: Likewise.
10599         * hurd/hurdioctl.c: Likewise.
10600         * hurd/hurdlookup.c: Likewise.
10601         * hurd/intr-msg.c: Likewise.
10602         * iconv/gconv_open.c: Likewise.
10603         * libio/swprintf.c: Likewise.
10604         * locale/lc-ctype.c: Likewise.
10605         * locale/nl_langinfo.c: Likewise.
10606         * mach/Machrules: Likewise.
10607         * mach/Makefile: Likewise.
10608         * malloc/obstack.h: Likewise.
10609         * manual/Makefile: Likewise.
10610         * manual/tsort.awk: Likewise.
10611         * misc/bits/stab.def: Likewise.
10612         * nis/nis_print_group_entry.c: Likewise.
10613         * nis/nis_table.c: Likewise.
10614         * nis/nss_compat/compat-pwd.c: Likewise.
10615         * nis/nss_compat/compat-spwd.c: Likewise.
10616         * po/Makefile: Likewise.
10617         * posix/fnmatch.c: Likewise.
10618         * posix/regex.h: Likewise.
10619         * resolv/Makefile: Likewise.
10620         * resolv/nss_dns/dns-network.c: Likewise.
10621         * resolv/res_hconf.c: Likewise.
10622         * scripts/gen-sorted.awk: Likewise.
10623         * soft-fp/soft-fp.h: Likewise.
10624         * stdio-common/printf.h: Likewise.
10625         * stdlib/monetary.h: Likewise.
10626         * stdlib/random.c: Likewise.
10627         * stdlib/random_r.c: Likewise.
10628         * sysdeps/generic/Makefile: Likewise.
10629         * sysdeps/gnu/Makefile: Likewise.
10630         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10631         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10632         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10633         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10634         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10635         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10636         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10637         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10638         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10639         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10640         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10641         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10642         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10643         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10644         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10645         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10646         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10647         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10648         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10649         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10650         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10651         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10652         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10653         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10654         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10655         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10656         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10657         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10658         * sysdeps/mach/hurd/errnos.awk: Likewise.
10659         * sysdeps/mach/hurd/fork.c: Likewise.
10660         * sysdeps/mach/hurd/getcwd.c: Likewise.
10661         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10662         * sysdeps/mach/hurd/mmap.c: Likewise.
10663         * sysdeps/mach/hurd/utimes.c: Likewise.
10664         * sysdeps/mach/hurd/xmknod.c: Likewise.
10665         * sysdeps/posix/profil.c: Likewise.
10666         * sysdeps/posix/readdir_r.c: Likewise.
10667         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10668         * sysdeps/powerpc/bits/setjmp.h: Likewise.
10669         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10670         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10671         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10672         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10673         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10674         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10675         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10676         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10677         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10678         * sysdeps/pthread/lio_listio.c: Likewise.
10679         * sysdeps/sparc/dl-procinfo.h: Likewise.
10680         * sysdeps/unix/i386/sysdep.S: Likewise.
10681         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10682         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10683         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10684         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10686         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10687         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10688         * sysdeps/unix/sysv/linux/speed.c: Likewise.
10689         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10690         * sysdeps/wordsize-32/divdi3.c: Likewise.
10691         * time/sys/time.h: Likewise.
10692         * wcsmbs/Makefile: Likewise.
10693
10694 2013-01-01  David S. Miller  <davem@davemloft.net>
10695
10696         * po/fr.po: Update from translation team.
10697
10698         * catgets/gencat.c: Update copyright year.
10699         * csu/version.c: Likewise.
10700         * debug/catchsegv.sh: Likewise.
10701         * debug/pcprofiledump.c: Likewise.
10702         * debug/xtrace.sh: Likewise.
10703         * elf/ldconfig.c: Likewise.
10704         * elf/ldd.bash.in: Likewise.
10705         * elf/pldd.c: Likewise.
10706         * elf/sotruss.ksh: Likewise.
10707         * elf/sprof.c: Likewise.
10708         * iconv/iconv_prog.c: Likewise.
10709         * iconv/iconvconfig.c: Likewise.
10710         * locale/programs/locale.c: Likewise.
10711         * locale/programs/localedef.c: Likewise.
10712         * login/programs/pt_chown.c: Likewise.
10713         * malloc/memusage.sh: Likewise.
10714         * malloc/memusagestat.c: Likewise.
10715         * malloc/mtrace.pl: Likewise.
10716         * nscd/nscd.c: Likewise.
10717         * nss/getent.c: Likewise.
10718         * nss/makedb.c: Likewise.
10719         * posix/getconf.c: Likewise.
10720
10721 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10722
10723         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10724         numbers.
10725
10726 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
10727
10728         * math/bits/mathcalls.h (modf): Use __nonnull.
10729
10730 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10731
10732         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10733         (split): Use macro CN instead of the bare value.
10734         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10735         could be used.
10736         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10737         instead of the bare value.
10738         (power1): Likewise.
10739
10740 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10741
10742         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10743         __ATAN_TWOM.
10744         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10745
10746         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10747         their values.
10748         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10749         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10750         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10751         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10752
10753 2012-12-28  Andreas Jaeger  <aj@suse.de>
10754
10755         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
10756         values are from Linux 3.7.
10757
10758         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10759         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
10760
10761 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10762
10763         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10764         TRUE case.
10765
10766         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10767         (norm): Likewise.
10768         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10769         variables with preprocessor constants.
10770         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10771         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10772         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10773
10774 2012-12-27  Bruno Haible  <bruno@clisp.org>
10775
10776         [BZ #14317]
10777         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10778         only if needed.
10779
10780 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10781
10782         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10783         and use variable directly.
10784         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10785
10786         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10787         MPONE.
10788         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10789         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10790         variable MPONE.
10791         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10792         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10793         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10794         include directive.  Remove local variable MPONE.
10795         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10796         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10797         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10798
10799 2012-12-25  David S. Miller  <davem@davemloft.net>
10800
10801         * version.h (RELEASE): Set to "development".
10802         (VERSION): Set to "2.17.90".
10803         * NEWS: Add 2.18 section.
10804
10805 2012-12-21  David S. Miller  <davem@davemloft.net>
10806
10807         * po/hr.po: Update from translation team.
10808
10809 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10810
10811         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10812
10813 2012-12-19  Steve Ellcey  <sellcey@mips.com>
10814
10815         * NEWS:  Mention new memcpy for MIPS.
10816
10817 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10818
10819         * manual/contrib.texi (Contributors): Spelling correction.
10820
10821 2012-12-15  David S. Miller  <davem@davemloft.net>
10822
10823         * po/ru.po: Update from translation team.
10824
10825 2012-12-13  David S. Miller  <davem@davemloft.net>
10826
10827         * NEWS: Mention IFUNC testsuite enhancements.
10828
10829         * po/pl.po: Update from translation team.
10830         * po/bg.po: Likewise.
10831
10832         * manual/contrib.texi (Contributors): Update entries for Hongjiu
10833         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
10834
10835 2012-12-11  David S. Miller  <davem@davemloft.net>
10836
10837         * po/sv.po: Update from translation team.
10838
10839         * po/vi.po: Update from translation team.
10840
10841         * po/cs.po: Update from translation team.
10842
10843         * po/de.po: Update from translation team.
10844         * po/eo.po: Likewise.
10845         * po/nl.po: Likewise.
10846
10847 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10848
10849         [BZ #14246]
10850         * manual/argp.texi (Argp Helper Functions): Move node to follow
10851         Argp Parsing State.
10852
10853         [BZ #14872]
10854         * manual/conf.texi (Limits on File System Capacity): Mention if
10855         terminating null is included in the max size.
10856
10857 2012-12-10  Andreas Jaeger  <aj@suse.de>
10858
10859         * po/cs.po: Update from translation team.
10860
10861 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10862
10863         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10864         void pointer and cast to uintptr_t.
10865         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10866         path.
10867         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10868         * sysdeps/s390/s390-64/memset.S: Likewise.
10869
10870 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
10871
10872         [BZ #14833]
10873         * menual/message.texi (Message Translation): Fix typos.
10874         (Helper programs for gettext): Likewise.
10875
10876 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
10877
10878         [BZ #14898]
10879         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10880         Change to -1.
10881
10882 2012-12-07  David S. Miller  <davem@davemloft.net>
10883
10884         * po/libc.pot: Update.
10885
10886 2012-12-07  Richard Henderson  <rth@redhat.com>
10887
10888         [BZ #10114]
10889         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10890         normal/normal case to before the switch.
10891         (_FP_DIV): Likewise.
10892
10893 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
10894             Mike Frysinger  <vapier@gentoo.org>
10895
10896         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10897         check for __NR_fadvise64_64.
10898
10899 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
10900
10901         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10902         0, not just to plain "0" as a statement.
10903         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10904         with cw.
10905
10906 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
10907
10908         * NEWS: Use sourceware.org in Bugzilla URL.
10909
10910 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10911
10912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10913         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10914
10915         * stdio-common/tst-put-error.c (do_test): Add newline to the
10916         padded test to ensure flush.
10917
10918 2012-12-05  Jeff Law  <law@redhat.com>
10919
10920         * sunrpc/etc.rpc (fedfs_admin): Add entry.
10921
10922 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
10923
10924         * README: Don't refer to ports add-on as distributed separately.
10925         Mention AArch64 in list of systems supported in the ports add-on.
10926
10927         * LICENSES: Add more non-FSF copyright and license notices.
10928
10929         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10930         ((unused)).
10931
10932         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10933
10934         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10935         10000 as width of padded output.
10936
10937 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10938
10939         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10940
10941         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10942         variable LX with __attribute__ ((unused)).
10943         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10944         Likewise.
10945         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10946         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10947         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10948         with __attribute__ ((unused)).
10949
10950 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
10951
10952         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10953
10954 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10955
10956         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10957         (CFLAGS-nldbl-acos.c): New variable.
10958         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10959         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10960         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10961         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10962         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10963         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10964         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10965         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10966         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10967         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10968         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10969         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10970         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10971         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10972         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10973         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10974         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10975         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10976         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10977         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10978         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10979         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10980         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10981         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10982         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10983         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10984         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10985         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10986         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10987         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10988         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10989         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10990         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10991         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10992         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10993         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10994         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10995         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10996         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10997         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10998         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10999         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11000         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11001         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11002         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11003         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11004         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11005         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11006         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11007         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11008         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11009         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11010         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11011         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11012         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11013         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11014         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11015         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11016         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11017         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11018         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11019         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11020         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11021         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11022         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11023         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11024         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11025         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11026         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11027         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11028         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11029         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11030         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11031         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11032         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11033         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11034         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11035         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11036         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11037         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11038         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11039         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11040         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11041         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11042         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11043         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11044         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11045         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11046         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11047         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11048         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11049         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11050         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11051         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11052         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11053         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11054         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11055
11056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11057         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11058
11059         [BZ #14914]
11060         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11061         whole low double instead of just low 47 bits when splitting values
11062         into two parts.
11063
11064 2012-12-03  Allan McRae  <allan@archlinux.org>
11065
11066         * manual/stdio.texi (Predefined Printf Handlers): Remove
11067         @hsep and @vsep usage.
11068
11069 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
11070
11071         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11072         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11073
11074 2012-12-03  Jeff Law  <law@redhat.com>
11075
11076         * time/sys/time.h (settimeofday): Do not mark TV argument
11077         as __nonnull.
11078
11079 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
11080
11081         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11082         when currently writing and seek to current position when not.
11083         * libio/Makefile (tests): Remove bug-fclose1.
11084         * libio/bug-fclose1.c: Delete.
11085
11086 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
11087
11088         * manual/arith.texi (feenableexcept): Fix typo.
11089         (fedisableexcept): Likewise.
11090
11091 2012-11-30  Roland McGrath  <roland@hack.frob.com>
11092
11093         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11094         second, differently-typed declaration, rather than a cast.
11095
11096 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11097
11098         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11099         * include/rpc/svc.h: ... here.
11100
11101 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
11102
11103         [BZ #13013]
11104         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11105         depending n and resplen2 to catch cases where answer
11106         equals answerp2.
11107
11108 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
11109
11110         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11111         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11112
11113 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
11114
11115         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11116
11117 2012-11-29  Roland McGrath  <roland@hack.frob.com>
11118
11119         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11120
11121 2012-11-28  Jeff Law  <law@redhat.com>
11122
11123         [BZ #13761]
11124         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11125         dataset_temporary.  Track alloca usage into alloca_used.
11126         If dataset is large allocate and release it via malloc/free.
11127
11128 2012-06-04  Florian Weimer  <fweimer@redhat.com>
11129
11130         [BZ #14197]
11131         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11132
11133 2012-11-28  David S. Miller  <davem@davemloft.net>
11134
11135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11136
11137 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11138
11139         [BZ #14803]
11140         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11141         of pi/2 rounded to nearest to 64 bits.
11142         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11143         nearest to 64 bits.
11144         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11145         bits.
11146
11147 2012-11-28  Jeff Law <law@redhat.com>
11148             Martin Osvald <mosvald@redhat.com>
11149
11150         [BZ #14889]
11151         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11152         * sunrpc/svc.c: Include time.h.
11153         (__svc_accept_failed): New function.
11154         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11155         any reason other than EINTR, call __svc_accept_failed.
11156         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11157         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11158
11159 2012-11-28  Andreas Schwab  <schwab@suse.de>
11160
11161         * scripts/abilist.awk: Also handle indirect functions in .opd
11162         section.
11163
11164 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11165
11166         [BZ #13881]
11167         * sysdeps/x86/fpu/powl_helper.c: New file.
11168         * sysdeps/x86/fpu/Makefile: Likewise.
11169         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11170         (p3): New object.
11171         (__ieee754_powl): Use __powl_helper for finite arguments except
11172         integer exponents below 8.
11173         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11174         (p3): New object.
11175         (__ieee754_powl): Use __powl_helper for finite arguments except
11176         integer exponents below 8.
11177         * math/libm-test.inc (pow_test): Add more tests and enable some
11178         previously disabled tests.
11179         * sysdeps/i386/fpu/libm-test-ulps: Update.
11180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11181
11182 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11183             Carlos O'Donell  <carlos_odonell@mentor.com>
11184
11185         * nss/makedb.c (is_prime): Assert that input is odd and greater
11186         than 4.  Note that fact in a comment too.
11187         (next_prime): Add 4 to input.
11188
11189 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11190
11191         [BZ #11741]
11192         * libio/Makefile (tests): Add test case tst-fwrite-error.
11193         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11194         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11195         * libio/tst-fwrite-error.c: New test case.
11196
11197 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
11198
11199         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11200         before casting to void *.
11201         * include/libc-internal.h (__pointer_type): New macro.
11202         (__integer_if_pointer_type_sub): Likewise.
11203         (__integer_if_pointer_type): Likewise.
11204         (cast_to_integer): Likewise.
11205         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11206         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11207         before casting to atomic64_t.
11208         (atomic_exchange_acq): Likewise.
11209         (__arch_exchange_and_add_body): Likewise.
11210         (__arch_add_body): Likewise.
11211         (atomic_add_negative): Likewise.
11212         (atomic_add_zero): Likewise.
11213
11214 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
11215
11216         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11217         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11218         (add_fdes): Likewise.
11219         (linear_search_fdes): Likewise.
11220         (binary_search_unencoded_fdes): Likewise.
11221
11222 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
11223
11224         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11225
11226 2012-11-24  Adam Conrad  <adconrad@0c3.net>
11227
11228         * configure.in: Autodetect C++ header directories.
11229         * configure: Regenerated.
11230
11231 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
11232
11233         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11234
11235 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
11236
11237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11238
11239 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
11240
11241         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11242         LDBL_MANT_DIG == 106]: Disable some tests.
11243         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11244         Likewise.
11245         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11246         Likewise.
11247
11248         [BZ #14871]
11249         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11250         input for small inputs.  Return +/- pi/2 for large inputs.
11251         * math/libm-test.inc (atan_test): Add more tests.
11252
11253         * sysdeps/generic/unwind-dw2-fde-glibc.c
11254         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11255         __attribute__ ((unused)).
11256
11257         [BZ #14645]
11258         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11259         x * y if x and y are nonzero and z is zero.
11260
11261         [BZ #14811]
11262         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11263         nonzero exponents with absolute value below 0x1p-117 to +/-
11264         0x1p-117.
11265
11266         [BZ #14869]
11267         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11268         up arguments below 2**-450, not just those below 2**-500.
11269         * math/libm-test.inc (hypot_test): Add another test.
11270
11271         [BZ #14868]
11272         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11273         Return a+b for ratio over 2**120, not 2**60.
11274         * math/libm-test.inc (hypot_test): Add another test.
11275
11276         * math/libm-test.inc (clog_test): Use
11277         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11278         (clog10_test): Likewise.
11279
11280         [BZ #6778]
11281         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11282
11283 2012-11-22  Andreas Schwab  <schwab@suse.de>
11284
11285         * sysdeps/i386/fpu/libm-test-ulps: Update.
11286
11287 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
11288
11289         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11290         printf output with newline.
11291
11292 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
11293
11294         [BZ #14865]
11295         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11296         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11297         -z nodlopen, -z initfirst and -z execstack support.
11298         * configure: Regenerated.
11299
11300         * elf/elf.h (DF_1_NODIRECT): New macro.
11301         (DF_1_IGNMULDEF): Likewise.
11302         (DF_1_NOKSYMS): Likewise.
11303         (DF_1_NOHDR): Likewise.
11304         (DF_1_EDITED): Likewise.
11305         (DF_1_NORELOC): Likewise.
11306         (DF_1_SYMINTPOSE): Likewise.
11307         (DF_1_GLOBAUDIT): Likewise.
11308         (DF_1_SINGLETON): Likewise.
11309         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11310         DT_1_SUPPORTED_MASK bits.
11311         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11312
11313 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
11314
11315         * sysdeps/unix/make-syscalls.sh: Document prefixes.
11316
11317 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
11318
11319         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11320         macro.
11321
11322         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11323         (sendmmsg): Move declarations...
11324         * socket/sys/socket.h: ... here.
11325         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11326         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11327         include it from...
11328         * socket/recvmmsg.c: ... this new file.
11329         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11330         (sendmmsg): Rename to __sendmmsg, create weak alias and make
11331         definition of __sendmmsg hidden.
11332         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11333         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11334         Move ENOSYS stub into and include it from...
11335         * socket/sendmmsg.c: ... this new file.
11336         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11337         (sysdep_routines): Move recvmmsg and sendmmsg...
11338         * socket/Makefile (routines): ... here.
11339         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11340         (GLIBC_PRIVATE): Add __sendmmsg.
11341         * include/sys/socket.h (__sendmmsg): Add declarations.
11342         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11343         sendmmsg.
11344
11345 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
11346
11347         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11348         variable I1 with __attribute__ ((unused)).
11349         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11350
11351 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11352
11353         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11354         DUMMY variables with __attribute__ ((unused)).
11355
11356         * bits/byteswap.h: Include <bits/types.h>.
11357         (__bswap_64): Use __uint64_t instead of unsigned long long int.
11358
11359 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11360
11361         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11362         string_t.  Do not manually set errno.
11363         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11364         length with __strnlen.  Make sure to both set errno and return it on
11365         failure.
11366
11367 2012-11-19  David S. Miller  <davem@davemloft.net>
11368
11369         With help from Joseph Myers.
11370         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11371         very large arguments properly.
11372         * math/libm-test.inc (atan_test): New tests.
11373         (atan2_test): New tests.
11374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11375         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11376
11377 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11378
11379         [BZ #14856]
11380         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11381         Define to 3.
11382
11383         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11384         [POSIX] (EADDRNOTAVAIL): Likewise.
11385         [POSIX] (EAFNOSUPPORT): Likewise.
11386         [POSIX] (EALREADY): Likewise.
11387         [POSIX] (ECONNABORTED): Likewise.
11388         [POSIX] (ECONNREFUSED): Likewise.
11389         [POSIX] (ECONNRESET): Likewise.
11390         [POSIX] (EDESTADDRREQ): Likewise.
11391         [POSIX] (EDQUOT): Likewise.
11392         [POSIX] (EHOSTUNREACH): Likewise.
11393         [POSIX] (EIDRM): Likewise.
11394         [POSIX] (EISCONN): Likewise.
11395         [POSIX] (ELOOP): Likewise.
11396         [POSIX] (EMULTIHOP): Likewise.
11397         [POSIX] (ENETDOWN): Likewise.
11398         [POSIX] (ENETUNREACH): Likewise.
11399         [POSIX] (ENOBUFS): Likewise.
11400         [POSIX] (ENODATA): Likewise.
11401         [POSIX] (ENOLINK): Likewise.
11402         [POSIX] (ENOMSG): Likewise.
11403         [POSIX] (ENOPROTOOPT): Likewise.
11404         [POSIX] (ENOSR): Likewise.
11405         [POSIX] (ENOSTR): Likewise.
11406         [POSIX] (ENOTCONN): Likewise.
11407         [POSIX] (ENOTSOCK): Likewise.
11408         [POSIX] (EOPNOTSUPP): Likewise.
11409         [POSIX] (EOVERFLOW): Likewise.
11410         [POSIX] (EPROTO): Likewise.
11411         [POSIX] (EPROTONOSUPPORT): Likewise.
11412         [POSIX] (EPROTOTYPE): Likewise.
11413         [POSIX] (ESTALE): Likewise.
11414         [POSIX] (ETIME): Likewise.
11415         [POSIX] (ETXTBSY): Likewise.
11416         [POSIX] (EWOULDBLOCK): Likewise.
11417         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11418         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11419         [POSIX] (SEEK_CUR): Likewise.
11420         [POSIX] (SEEK_END): Likewise.
11421         [POSIX || UNIX98] (mode_t): Do not require.
11422         [POSIX] (off_t): Likewise.
11423         [POSIX] (pid_t): Likewise.
11424         [POSIX] (sys/stat.h): Do not allow header.
11425         [POSIX] (unistd.h): Likewise.
11426         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11427         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11428         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11429         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11430         require.
11431         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11432         sigevent): Specify elements.
11433         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11434         entry.
11435         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11436         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11437
11438         * conform/data/cpio.h-data [POSIX]: Disable whole file.
11439         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11440         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11441         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11442         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11443         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11444         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11445         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11446         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11447         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11448         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11449         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11450         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11451         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11452         Likewise.
11453         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11454         Likewise.
11455         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11456         Likewise.
11457         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11458         Likewise.
11459         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11460         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11461         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11462         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11463         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11464         Specify lower bound on value.
11465         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11466         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11467         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11468         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11469         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11470         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11471         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11472         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11473         value.
11474         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11475         as optional.
11476         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11477         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11478         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11479         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11480         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11481         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11482         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11483         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11484         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11485         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11486         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11487         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11488         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11489         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11490         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11491         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11492         entry.
11493         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11494         optional.
11495         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11496         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11497         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11498         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11499         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11500         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11501         Likewise.
11502         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11503         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11504         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11505         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11506         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
11507         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11508         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11509         as optional.
11510         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11511         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11512         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11513         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11514         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11515         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11516         specify as optional.
11517         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11518         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11519         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11520         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11521         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11522         [XPG3] (NL_LANGMAX): Likewise.
11523         [POSIX || XPG3] (NL_MSGMAX): Likewise.
11524         [POSIX || XPG3] (NL_NMAX): Likewise.
11525         [POSIX || XPG3] (NL_SETMAX): Likewise.
11526         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11527         [XPG3] (NZERO): Likewise.
11528         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11529         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11530         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11531         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11532         (REG_ERANGE): Expect.
11533         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11534         optional-constant.
11535         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11536         Use (void) in prototype.
11537         [POSIX] (*_t): Allow.
11538         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11539         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11540         (WRDE_BADVAL): Expect.
11541
11542         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11543         expect.
11544         [XPG3 || XPG4] (O_RSYNC): Likewise.
11545         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11546         Likewise.
11547         [XPG3 || XPG4] (pthread_sigmask): Likewise.
11548         [XPG3 || XPG4] (sigqueue): Likewise.
11549         [XPG3 || XPG4] (sigtimedwait): Likewise.
11550         [XPG3 || XPG4] (sigwaitinfo): Likewise.
11551         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11552         [XPG3 || XPG4] (vsnprintf): Likewise.
11553         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11554         Likewise.
11555         [XPG3 || XPG4] (blksize_t): Likewise.
11556         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11557         Likewise.
11558         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11559         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11560         [XPG3 || XPG4] (struct itimerspec): Likewise.
11561         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11562         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11563         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11564         [XPG3 || XPG4] (clockid_t): Likewise.
11565         [XPG3 || XPG4] (timer_t): Likewise.
11566         [XPG3 || XPG4] (clock_getres): Likewise.
11567         [XPG3 || XPG4] (clock_gettime): Likewise.
11568         [XPG3 || XPG4] (clock_settime): Likewise.
11569         [XPG3 || XPG4] (nanosleep): Likewise.
11570         [XPG3 || XPG4] (timer_create): Likewise.
11571         [XPG3 || XPG4] (timer_delete): Likewise.
11572         [XPG3 || XPG4] (timer_gettime): Likewise.
11573         [XPG3 || XPG4] (timer_getoverrun): Likewise.
11574         [XPG3 || XPG4] (timer_settime): Likewise.
11575         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11576         [XPG3 || XPG4] (getlogin_r): Likewise.
11577         [XPG3 || XPG4] (pread): Likewise.
11578         [XPG3 || XPG4] (pthread_atfork): Likewise.
11579         [XPG3 || XPG4] (pwrite): Likewise.
11580
11581         [BZ #14835]
11582         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11583         <bits/siginfo.h>.
11584
11585 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11586
11587         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11588         finalizing MALLSTREAM.
11589
11590         * sysdeps/mach/hurd/syncfs.c: New file.
11591
11592 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11593
11594         [BZ #14719]
11595         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11596         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11597         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11598         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11599         (_nss_dns_gethostbyname4_r): Likewise.
11600         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11601         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11602
11603 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
11604
11605         [BZ #13763]
11606         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11607
11608 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
11609
11610         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11611         * elf/cache.c (print_entry): Print ",AArch64" for
11612         FLAG_AARCH64_LIB64
11613
11614         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11615         * elf/cache.c (print_entry): Print ",hard-float" for
11616         FLAG_ARM_LIBHF.
11617
11618 2012-11-18  David S. Miller  <davem@davemloft.net>
11619
11620         With help from Joseph Myers.
11621         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11622         cutoff to 2**-13.
11623         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11624         cutoff to 2**-25.
11625         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11626         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11627         small.
11628         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11629         * math/libm-test.inc (y0_test): New tests.
11630         (y1_test): New tests.
11631         * sysdeps/i386/fpu/libm-test-ulps: Update.
11632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11634
11635 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
11636
11637         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11638         64-bit targets.
11639         * configure: Regenerated.
11640
11641 2012-11-17  David S. Miller  <davem@davemloft.net>
11642
11643         [BZ #14811]
11644         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11645         nonzero exponents with absolute value below 0x1p-128 to +/-
11646         0x1p-128.
11647
11648 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
11649
11650         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11651
11652         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11653
11654         * posix/getconf-speclist.c: New file.
11655         * posix/posix-envs.def: Likewise.
11656         * posix/confstr.c (START_ENV_GROUP): New macro.
11657         (END_ENV_GROUP): Likewise.
11658         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11659         (KNOWN_PRESENT_ENV_STRING): Likewise.
11660         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11661         (UNKNOWN_ENVIRONMENT): Likewise.
11662         (confstr): Include posix-envs.def instead of handling
11663         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11664         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11665         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11666         (END_ENV_GROUP): Likewise.
11667         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11668         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11669         (UNKNOWN_ENVIRONMENT): Likewise.
11670         (__sysconf): Include posix-envs.def instead of handling associated
11671         cases directly here.
11672         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11673         preprocessing getconf-speclist.c rather than running getconf or
11674         generating empty file.
11675
11676 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
11677
11678         * scripts/check-local-headers.sh: Ignore 'mach' headers.
11679
11680 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
11681
11682         [BZ #14672]
11683         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11684
11685 2012-11-16  David S. Miller  <davem@davemloft.net>
11686
11687         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11688         smaller than LDBL_EPSILON/2.0L, just return xm1.
11689
11690 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
11691
11692         * elf/tst-array1.c (init): Set constructor priority to 1000.
11693         (fini): Set destructor priority to 1000.
11694         * elf/tst-array2dep.c: Likewise.
11695
11696 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11697
11698         [BZ #11741]
11699         * libio/fileops.c (_IO_new_file_write): Correctly return error.
11700         (_IO_new_file_xsputn): Also return EOF if none of the input
11701         data was written when overflow failed.
11702         * libio/iopadn.c (_IO_padn): Likewise.
11703         * libio/iowpadn.c (_IO_wpadn): Likewise.
11704         * stdio-common/tst-put-error.c: Add copyright notice.
11705         (do_test): Add case for printing padded string.
11706         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11707         _IO_padn returned error.
11708         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11709         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11710         return EOF.
11711
11712 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11713
11714         * libio/libioP.h: Add comment note that the references to C++
11715         bits are now obsolete.
11716
11717 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11718
11719         * math/libm-test.inc (check_complex): Use asprintf.
11720
11721 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
11722
11723         * debug/pcprofiledump.c (print_version): Update copyright year.
11724         * malloc/memusagestat.c (print_version): Likewise.
11725
11726 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11727
11728         [BZ #14831]
11729         * elf/Makefile (tests): Add tst-audit8.
11730         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11731         ($(objpfx)tst-audit8.out): New target.
11732         (tst-audit8-ENV): New variable.
11733         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11734         audit if l_reloc_result is NULL.
11735         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11736         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11737         * elf/tst-audit8.c: New file.
11738
11739 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11740
11741         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11742         * misc/Makefile (CFLAGS-select.c): Define.
11743         * posix/Makefile (CFLAGS-pause.c): Define.
11744
11745 2012-11-13  David S. Miller  <davem@davemloft.net>
11746
11747         * crypt/Makefile: Move test targets after toplevel Rules
11748         inclusion.  Grab any necessary sysdep routines when linking.
11749         * crypt/md5.c (md5_process_block): Remove define, we will always
11750         name it __md5_process_block.
11751         (md5_finish_ctx): Update md5_process_block call.
11752         (md5_stream): Likewise.
11753         (md5_process_bytes): Likewise.
11754         (md5_process_block): Rename to __md5_process_block and move to ...
11755         * crypt/md5-block.c: ... here.
11756         * crypt/sha256.c (sha256_process_block): Move to ...
11757         * crypt/sha256-block.c: ... here.
11758         * crypt/sha512.c (sha512_process_block): Move to ...
11759         * crypt/sha512-block.c: ... here.
11760         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11761         path.
11762         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11763         * sysdeps/sparc/sparc64/multiarch/Makefile
11764         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11765         crypt subdir.
11766         (localedef-aux): Add md5 crypto assembler when in locale subdir.
11767         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11768         multiarch changes.
11769         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11770         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11771         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11772         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11773         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11774         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11775         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11776         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11777         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11778         file.
11779         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11780         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11781         file.
11782         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11783
11784 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
11785
11786         * timezone/tzselect.ksh: Update from tzcode git revision
11787         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11788         * timezone/zdump.c: Likewise.
11789         * timezone/zic.c: Likewise.
11790         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11791         in TZVERSION setting, not $(PKGVERSION).
11792         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
11793         REPORT_BUGS_TO settings.
11794
11795         [BZ #14838]
11796         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11797         macro.
11798
11799 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11800
11801         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11802         detection to immediately after _FP_ROUND().
11803         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11804         bits are 0.
11805
11806 2012-11-11  David S. Miller  <davem@davemloft.net>
11807
11808         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11809         inttypes.h
11810         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11811         __close rather than their public counterparts.
11812
11813 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
11814
11815         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11816         file.
11817         [UNIX98] (sem_timedwait): Do not expect.
11818         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11819         [XPG4 || UNIX98] (sockatmark): Do not expect.
11820         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11821         (clock_getcpuclockid): Do not expect.
11822         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11823         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11824         Do not expect.
11825         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11826         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11827         [UNIX98] (vwscanf): Likewise.
11828         [UNIX98] (vswscanf): Likewise.
11829
11830 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
11831
11832         * timezone/version.h: Remove file.
11833         * timezone/README: Do not refer to version.h.
11834         * timezone/Makefile ($(objpfx)zic.o): New dependency on
11835         $(objpfx)version.h.
11836         ($(objpfx)zdump.o): Likewise.
11837         ($(objpfx)version.h): New target.
11838
11839         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11840         2012i.
11841         * timezone/README: Don't mention modification to tzselect.ksh.
11842         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11843         work on unmodified tzselect.ksh.  Substitute version numbers in
11844         tzselect.ksh.
11845
11846         * Makefile (format-me): Remove.
11847         (INSTALL): Adjust indentation.  Use commands directly instead of
11848         using $(format-me).
11849
11850         * aclocal.m4 (ACX_PKGVERSION): New macro.
11851         (ACX_BUGURL): Likewise.
11852         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11853         (PKGVERSION): New AC_DEFINE_UNQUOTED.
11854         (REPORT_BUGS_TO): Likewise.
11855         * configure: Regenerated.
11856         * config.h.in (PKGVERSION): New macro.
11857         (REPORT_BUGS_TO): Likewise.
11858         * config.make.in (PKGVERSION): New variable.
11859         (PKGVERSION_TEXI): Likewise.
11860         (REPORT_BUGS_TO): Likewise.
11861         (REPORT_BUGS_TEXI): Likewise.
11862         * Makefile (format-me): Use -I$(common-objpfx)manual.
11863         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11864         ($(common-objpfx)manual/%): New target.
11865         (manual/%): Remove target.
11866         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11867         (print_version): Use PKGVERSION.
11868         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11869         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11870         and REPORT_BUGS_TO.
11871         ($(objpfx)xtrace): Likewise.
11872         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11873         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11874         (print_version): Use PKGVERSION.
11875         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11876         (do_version): Use PKGVERSION.
11877         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11878         REPORT_BUGS_TO.
11879         (common-ldd-rewrite): Likewise.
11880         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11881         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11882         (print_version): Use PKGVERSION.
11883         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11884         * elf/pldd.c (argp_program_bug_address): Remove variable.
11885         (more_help): New function.
11886         (argp): Use more_help.
11887         (print_version): Use PKGVERSION.
11888         * elf/sln.c (main): Use PKGVERSION.
11889         (usage): Use REPORT_BUGS_TO.
11890         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11891         (top level): Use PKGVERSION.
11892         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11893         (print_version): Use PKGVERSION.
11894         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11895         (print_version): Use PKGVERSION.
11896         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11897         (print_version): Use PKGVERSION.
11898         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11899         (print_version): Use PKGVERSION.
11900         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11901         (print_version): Use PKGVERSION.
11902         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11903         (print_version): Use PKGVERSION.
11904         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11905         and BUGURL.
11906         ($(objpfx)memusage): Likewise.
11907         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11908         (do_version): Use PKGVERSION.
11909         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11910         (print_version): Use PKGVERSION.
11911         * malloc/mtrace.pl ($PACKAGE): Remove variable.
11912         ($PKGVERSION): New variable.
11913         ($REPORT_BUGS_TO): Likewise.
11914         (usage): Use $REPORT_BUGS_TO.
11915         (top level): Use $PKGVERSION.
11916         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11917         ($(objpfx)pkgvers.texi): New rule.
11918         ($(objpfx)stamp-pkgvers): Likewise.
11919         * manual/install.texi: Include pkgvers.texi.
11920         (--with-pkgversion): Document new configure option.
11921         (--with-bugurl): Likewise.
11922         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11923         than necessarily for this particular distribution.  Use
11924         REPORT_BUGS_TO for where to report bugs.
11925         * INSTALL: Regenerated.
11926         * manual/libc.texinfo: Include pkgvers.texi.
11927         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11928         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11929         (print_version): Use PKGVERSION.
11930         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11931         (print_version): Use PKGVERSION.
11932         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11933         (print_version): Use PKGVERSION.
11934         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11935         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11936         macro.
11937         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11938         (print_version): Use PKGVERSION.
11939         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11940         (print_version): Use PKGVERSION.
11941         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11942         and PKGVERSION.
11943
11944         * timezone/checktab.awk: Update from tzcode 2012i.
11945         * timezone/ialloc.c: Likewise.
11946         * timezone/private.h: Likewise.
11947         * timezone/scheck.c: Likewise.
11948         * timezone/tzfile.h: Likewise.
11949         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11950         (TZVERSION): Hardcode tzcode version number.
11951         * timezone/zdump.c: Update from tzcode 2012i.
11952         * timezone/zic.c: Likewise.
11953         * timezone/version.h: New file.
11954         * timezone/README: Describe version.h.  Update upstream location.
11955
11956         [BZ #14824]
11957         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11958         (mktemp): Enable declaration.
11959         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11960         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11961         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11962         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11963         Likewise.
11964         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11965         Likewise.
11966         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11967         Likewise.
11968         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11969         Likewise.
11970         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11971         Likewise.
11972         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11973         Likewise.
11974
11975         [BZ #14821]
11976         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11977         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
11978         for copies of such integer values.
11979         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11980         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11981
11982 2012-11-09  Andreas Jaeger  <aj@suse.de>
11983
11984         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11985         definitions and declarations that are provided by
11986         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11987
11988 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11989
11990         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11991         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11992         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11993         definition.
11994
11995 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11996
11997         * elf/elf.h: Update comment before AArch64 relocations.
11998
11999 2012-11-07  David S. Miller  <davem@davemloft.net>
12000
12001         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12002         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12003         (__start_context): Declare.
12004         (__makecontext_ret): Delete.
12005         (__makecontext): Hook up __start_context instead of
12006         __makecontext_ret.
12007         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12008         (sysdep_routines): Add __start_context when in stdlib.
12009
12010 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12011
12012         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12013         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12014         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
12015         hardcoded "nm".
12016         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
12017         (READELF): New variable.  Use it instead of hardcoded "readelf".
12018
12019 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12020
12021         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12022         * sysdeps/x86/Makefile: Here.
12023         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12024         * sysdeps/x86/tst-xmmymm.sh: This.
12025
12026 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12027
12028         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12029         expectations.
12030         [UNIX98] (pthread_barrier_t): Do not expect.
12031         [UNIX98] (pthread_barrierattr_t): Likewise.
12032         [UNIX98] (pthread_spinlock_t): Likewise.
12033         [UNIX98] (pthread_barrier_destroy): Likewise.
12034         [UNIX98] (pthread_barrier_init): Likewise.
12035         [UNIX98] (pthread_barrier_wait): Likewise.
12036         [UNIX98] (pthread_barrierattr_destroy): Likewise.
12037         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12038         [UNIX98] (pthread_barrierattr_init): Likewise.
12039         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12040         [UNIX98] (pthread_getcpuclockid): Likewise.
12041         [UNIX98] (pthread_mutex_timedlock): Likewise.
12042         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12043         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12044         [UNIX98] (pthread_sigmask): Likewise.
12045         [UNIX98] (pthread_spin_destroy): Likewise.
12046         [UNIX98] (pthread_spin_init): Likewise.
12047         [UNIX98] (pthread_spin_lock): Likewise.
12048         [UNIX98] (pthread_spin_trylock): Likewise.
12049         [UNIX98] (pthread_spin_unlock): Likewise.
12050         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12051         Do not expect.
12052         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12053         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12054         [XPG3 || XPG4] (pthread_cond_t): Likewise.
12055         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12056         [XPG3 || XPG4] (pthread_key_t): Likewise.
12057         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12058         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12059         [XPG3 || XPG4] (pthread_once_t): Likewise.
12060         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12061         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12062         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12063         [XPG3 || XPG4] (pthread_t): Likewise.
12064
12065         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12066         not expect.
12067         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12068
12069         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12070         Change function return type to int.
12071
12072         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12073         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12074         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12075         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12076         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12077         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12078         [!POSIX] (posix_madvise): Likewise.
12079         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12080         && !UNIX98].
12081         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12082         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12083         (mode_t): Likewise.
12084         (posix_mem_offset): Likewise.
12085         (posix_typed_mem_get_info): Likewise.
12086         (posix_typed_mem_open): Likewise.
12087
12088         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12089         Change condition to [XOPEN2K8].
12090
12091         * conform/conformtest.pl: Preprocess allow-header data with -x c
12092         instead of from stdin.
12093         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12094         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12095         [C99-based standards] (cerfc): Likewise.
12096         [C99-based standards] (cexp2): Likewise.
12097         [C99-based standards] (cexpm1): Likewise.
12098         [C99-based standards] (clog10): Likewise.
12099         [C99-based standards] (clog1p): Likewise.
12100         [C99-based standards] (clog2): Likewise.
12101         [C99-based standards] (clgamma): Likewise.
12102         [C99-based standards] (ctgamma): Likewise.
12103         [C99-based standards] (cerff): Likewise.
12104         [C99-based standards] (cerfcf): Likewise.
12105         [C99-based standards] (cexp2f): Likewise.
12106         [C99-based standards] (cexpm1f): Likewise.
12107         [C99-based standards] (clog10f): Likewise.
12108         [C99-based standards] (clog1pf): Likewise.
12109         [C99-based standards] (clog2f): Likewise.
12110         [C99-based standards] (clgammaf): Likewise.
12111         [C99-based standards] (ctgammaf): Likewise.
12112         [C99-based standards] (cerfl): Likewise.
12113         [C99-based standards] (cerfcl): Likewise.
12114         [C99-based standards] (cexp2l): Likewise.
12115         [C99-based standards] (cexpm1l): Likewise.
12116         [C99-based standards] (clog10l): Likewise.
12117         [C99-based standards] (clog1pl): Likewise.
12118         [C99-based standards] (clog2l): Likewise.
12119         [C99-based standards] (clgammal): Likewise.
12120         [C99-based standards] (ctgammal): Likewise.
12121         * conform/data/inttypes.h-data [C99-based standards]: Include
12122         stdint.h-data.  Remove all expectations for stdint.h contents.
12123         [C99-based standards] (PRI*): Do not allow.
12124         [C99-based standards] (SCN*): Likewise.
12125         [C99-based standards] (*_t): Likewise.
12126         [C99-based-standards] (PRId8): Expect macro.
12127         [C99-based-standards] (PRIi8): Likewise.
12128         [C99-based-standards] (PRIo8): Likewise.
12129         [C99-based-standards] (PRIu8): Likewise.
12130         [C99-based-standards] (PRIx8): Likewise.
12131         [C99-based-standards] (PRIX8): Likewise.
12132         [C99-based-standards] (SCNd8): Likewise.
12133         [C99-based-standards] (SCNi8): Likewise.
12134         [C99-based-standards] (SCNo8): Likewise.
12135         [C99-based-standards] (SCNu8): Likewise.
12136         [C99-based-standards] (SCNx8): Likewise.
12137         [C99-based-standards] (PRIdLEAST8): Likewise.
12138         [C99-based-standards] (PRIiLEAST8): Likewise.
12139         [C99-based-standards] (PRIoLEAST8): Likewise.
12140         [C99-based-standards] (PRIuLEAST8): Likewise.
12141         [C99-based-standards] (PRIxLEAST8): Likewise.
12142         [C99-based-standards] (PRIXLEAST8): Likewise.
12143         [C99-based-standards] (SCNdLEAST8): Likewise.
12144         [C99-based-standards] (SCNiLEAST8): Likewise.
12145         [C99-based-standards] (SCNoLEAST8): Likewise.
12146         [C99-based-standards] (SCNuLEAST8): Likewise.
12147         [C99-based-standards] (SCNxLEAST8): Likewise.
12148         [C99-based-standards] (PRIdFAST8): Likewise.
12149         [C99-based-standards] (PRIiFAST8): Likewise.
12150         [C99-based-standards] (PRIoFAST8): Likewise.
12151         [C99-based-standards] (PRIuFAST8): Likewise.
12152         [C99-based-standards] (PRIxFAST8): Likewise.
12153         [C99-based-standards] (PRIXFAST8): Likewise.
12154         [C99-based-standards] (SCNdFAST8): Likewise.
12155         [C99-based-standards] (SCNiFAST8): Likewise.
12156         [C99-based-standards] (SCNoFAST8): Likewise.
12157         [C99-based-standards] (SCNuFAST8): Likewise.
12158         [C99-based-standards] (SCNxFAST8): Likewise.
12159         [C99-based-standards] (PRId16): Likewise.
12160         [C99-based-standards] (PRIi16): Likewise.
12161         [C99-based-standards] (PRIo16): Likewise.
12162         [C99-based-standards] (PRIu16): Likewise.
12163         [C99-based-standards] (PRIx16): Likewise.
12164         [C99-based-standards] (PRIX16): Likewise.
12165         [C99-based-standards] (SCNd16): Likewise.
12166         [C99-based-standards] (SCNi16): Likewise.
12167         [C99-based-standards] (SCNo16): Likewise.
12168         [C99-based-standards] (SCNu16): Likewise.
12169         [C99-based-standards] (SCNx16): Likewise.
12170         [C99-based-standards] (PRIdLEAST16): Likewise.
12171         [C99-based-standards] (PRIiLEAST16): Likewise.
12172         [C99-based-standards] (PRIoLEAST16): Likewise.
12173         [C99-based-standards] (PRIuLEAST16): Likewise.
12174         [C99-based-standards] (PRIxLEAST16): Likewise.
12175         [C99-based-standards] (PRIXLEAST16): Likewise.
12176         [C99-based-standards] (SCNdLEAST16): Likewise.
12177         [C99-based-standards] (SCNiLEAST16): Likewise.
12178         [C99-based-standards] (SCNoLEAST16): Likewise.
12179         [C99-based-standards] (SCNuLEAST16): Likewise.
12180         [C99-based-standards] (SCNxLEAST16): Likewise.
12181         [C99-based-standards] (PRIdFAST16): Likewise.
12182         [C99-based-standards] (PRIiFAST16): Likewise.
12183         [C99-based-standards] (PRIoFAST16): Likewise.
12184         [C99-based-standards] (PRIuFAST16): Likewise.
12185         [C99-based-standards] (PRIxFAST16): Likewise.
12186         [C99-based-standards] (PRIXFAST16): Likewise.
12187         [C99-based-standards] (SCNdFAST16): Likewise.
12188         [C99-based-standards] (SCNiFAST16): Likewise.
12189         [C99-based-standards] (SCNoFAST16): Likewise.
12190         [C99-based-standards] (SCNuFAST16): Likewise.
12191         [C99-based-standards] (SCNxFAST16): Likewise.
12192         [C99-based-standards] (PRId32): Likewise.
12193         [C99-based-standards] (PRIi32): Likewise.
12194         [C99-based-standards] (PRIo32): Likewise.
12195         [C99-based-standards] (PRIu32): Likewise.
12196         [C99-based-standards] (PRIx32): Likewise.
12197         [C99-based-standards] (PRIX32): Likewise.
12198         [C99-based-standards] (SCNd32): Likewise.
12199         [C99-based-standards] (SCNi32): Likewise.
12200         [C99-based-standards] (SCNo32): Likewise.
12201         [C99-based-standards] (SCNu32): Likewise.
12202         [C99-based-standards] (SCNx32): Likewise.
12203         [C99-based-standards] (PRIdLEAST32): Likewise.
12204         [C99-based-standards] (PRIiLEAST32): Likewise.
12205         [C99-based-standards] (PRIoLEAST32): Likewise.
12206         [C99-based-standards] (PRIuLEAST32): Likewise.
12207         [C99-based-standards] (PRIxLEAST32): Likewise.
12208         [C99-based-standards] (PRIXLEAST32): Likewise.
12209         [C99-based-standards] (SCNdLEAST32): Likewise.
12210         [C99-based-standards] (SCNiLEAST32): Likewise.
12211         [C99-based-standards] (SCNoLEAST32): Likewise.
12212         [C99-based-standards] (SCNuLEAST32): Likewise.
12213         [C99-based-standards] (SCNxLEAST32): Likewise.
12214         [C99-based-standards] (PRIdFAST32): Likewise.
12215         [C99-based-standards] (PRIiFAST32): Likewise.
12216         [C99-based-standards] (PRIoFAST32): Likewise.
12217         [C99-based-standards] (PRIuFAST32): Likewise.
12218         [C99-based-standards] (PRIxFAST32): Likewise.
12219         [C99-based-standards] (PRIXFAST32): Likewise.
12220         [C99-based-standards] (SCNdFAST32): Likewise.
12221         [C99-based-standards] (SCNiFAST32): Likewise.
12222         [C99-based-standards] (SCNoFAST32): Likewise.
12223         [C99-based-standards] (SCNuFAST32): Likewise.
12224         [C99-based-standards] (SCNxFAST32): Likewise.
12225         [C99-based-standards] (PRId64): Likewise.
12226         [C99-based-standards] (PRIi64): Likewise.
12227         [C99-based-standards] (PRIo64): Likewise.
12228         [C99-based-standards] (PRIu64): Likewise.
12229         [C99-based-standards] (PRIx64): Likewise.
12230         [C99-based-standards] (PRIX64): Likewise.
12231         [C99-based-standards] (SCNd64): Likewise.
12232         [C99-based-standards] (SCNi64): Likewise.
12233         [C99-based-standards] (SCNo64): Likewise.
12234         [C99-based-standards] (SCNu64): Likewise.
12235         [C99-based-standards] (SCNx64): Likewise.
12236         [C99-based-standards] (PRIdLEAST64): Likewise.
12237         [C99-based-standards] (PRIiLEAST64): Likewise.
12238         [C99-based-standards] (PRIoLEAST64): Likewise.
12239         [C99-based-standards] (PRIuLEAST64): Likewise.
12240         [C99-based-standards] (PRIxLEAST64): Likewise.
12241         [C99-based-standards] (PRIXLEAST64): Likewise.
12242         [C99-based-standards] (SCNdLEAST64): Likewise.
12243         [C99-based-standards] (SCNiLEAST64): Likewise.
12244         [C99-based-standards] (SCNoLEAST64): Likewise.
12245         [C99-based-standards] (SCNuLEAST64): Likewise.
12246         [C99-based-standards] (SCNxLEAST64): Likewise.
12247         [C99-based-standards] (PRIdFAST64): Likewise.
12248         [C99-based-standards] (PRIiFAST64): Likewise.
12249         [C99-based-standards] (PRIoFAST64): Likewise.
12250         [C99-based-standards] (PRIuFAST64): Likewise.
12251         [C99-based-standards] (PRIxFAST64): Likewise.
12252         [C99-based-standards] (PRIXFAST64): Likewise.
12253         [C99-based-standards] (SCNdFAST64): Likewise.
12254         [C99-based-standards] (SCNiFAST64): Likewise.
12255         [C99-based-standards] (SCNoFAST64): Likewise.
12256         [C99-based-standards] (SCNuFAST64): Likewise.
12257         [C99-based-standards] (SCNxFAST64): Likewise.
12258         [C99-based-standards] (PRIdMAX): Likewise.
12259         [C99-based-standards] (PRIiMAX): Likewise.
12260         [C99-based-standards] (PRIoMAX): Likewise.
12261         [C99-based-standards] (PRIuMAX): Likewise.
12262         [C99-based-standards] (PRIxMAX): Likewise.
12263         [C99-based-standards] (PRIXMAX): Likewise.
12264         [C99-based-standards] (SCNdMAX): Likewise.
12265         [C99-based-standards] (SCNiMAX): Likewise.
12266         [C99-based-standards] (SCNoMAX): Likewise.
12267         [C99-based-standards] (SCNuMAX): Likewise.
12268         [C99-based-standards] (SCNxMAX): Likewise.
12269         [C99-based-standards] (PRIdPTR): Likewise.
12270         [C99-based-standards] (PRIiPTR): Likewise.
12271         [C99-based-standards] (PRIoPTR): Likewise.
12272         [C99-based-standards] (PRIuPTR): Likewise.
12273         [C99-based-standards] (PRIxPTR): Likewise.
12274         [C99-based-standards] (PRIXPTR): Likewise.
12275         [C99-based-standards] (SCNdPTR): Likewise.
12276         [C99-based-standards] (SCNiPTR): Likewise.
12277         [C99-based-standards] (SCNoPTR): Likewise.
12278         [C99-based-standards] (SCNuPTR): Likewise.
12279         [C99-based-standards] (SCNxPTR): Likewise.
12280         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12281         allow.
12282         * conform/data/stdint.h-data: Update comments to clarify
12283         requirements.
12284         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
12285         type.
12286         [C99-based standards] (INT8_MAX): Likewise.
12287         [C99-based standards] (INT16_MIN): Likewise.
12288         [C99-based standards] (INT16_MAX): Likewise.
12289         [C99-based standards] (INT32_MIN): Likewise.
12290         [C99-based standards] (INT32_MAX): Likewise.
12291         [C99-based standards] (INT64_MIN): Likewise.
12292         [C99-based standards] (INT64_MAX): Likewise.
12293         [C99-based standards] (UINT8_MAX): Likewise.
12294         [C99-based standards] (UINT16_MAX): Likewise.
12295         [C99-based standards] (UINT32_MAX): Likewise.
12296         [C99-based standards] (UINT64_MAX): Likewise.
12297         [C99-based standards] (INT_LEAST8_MIN): Likewise.
12298         [C99-based standards] (INT_LEAST8_MAX): Likewise.
12299         [C99-based standards] (INT_LEAST16_MIN): Likewise.
12300         [C99-based standards] (INT_LEAST16_MAX): Likewise.
12301         [C99-based standards] (INT_LEAST32_MIN): Likewise.
12302         [C99-based standards] (INT_LEAST32_MAX): Likewise.
12303         [C99-based standards] (INT_LEAST64_MIN): Likewise.
12304         [C99-based standards] (INT_LEAST64_MAX): Likewise.
12305         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12306         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12307         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12308         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12309         [C99-based standards] (INT_FAST8_MIN): Likewise.
12310         [C99-based standards] (INT_FAST8_MAX): Likewise.
12311         [C99-based standards] (INT_FAST16_MIN): Likewise.
12312         [C99-based standards] (INT_FAST16_MAX): Likewise.
12313         [C99-based standards] (INT_FAST32_MIN): Likewise.
12314         [C99-based standards] (INT_FAST32_MAX): Likewise.
12315         [C99-based standards] (INT_FAST64_MIN): Likewise.
12316         [C99-based standards] (INT_FAST64_MAX): Likewise.
12317         [C99-based standards] (UINT_FAST8_MAX): Likewise.
12318         [C99-based standards] (UINT_FAST16_MAX): Likewise.
12319         [C99-based standards] (UINT_FAST32_MAX): Likewise.
12320         [C99-based standards] (UINT_FAST64_MAX): Likewise.
12321         [C99-based standards] (INTPTR_MIN): Likewise.
12322         [C99-based standards] (INTPTR_MAX): Likewise.
12323         [C99-based standards] (UINTPTR_MAX): Likewise.
12324         [C99-based standards] (INTMAX_MIN): Likewise.
12325         [C99-based standards] (INTMAX_MAX): Likewise.
12326         [C99-based standards] (UINTMAX_MAX): Likewise.
12327         [C99-based standards] (PTRDIFF_MIN): Likewise.
12328         [C99-based standards] (PTRDIFF_MAX): Likewise.
12329         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12330         [C99-based standards] (SIZE_MAX): Likewise.
12331         [C99-based standards] (WCHAR_MAX): Likewise.
12332         [C99-based standards] (WINT_MAX): Likewise.
12333         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
12334         constraint on value.
12335         [C99-based standards] (WCHAR_MIN): Likewise.
12336         [C99-based standards] (WINT_MIN): Likewise.
12337         [C99-based standards] (*_t): Allow.
12338         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12339         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12340         Include math.h-data and complex.h-data.  Remove all expectations
12341         of math.h and complex.h contents.
12342         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12343         at end of line.
12344         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12345         (struct tm): Expect tag.
12346         [C99-based-standards] (wcstof): Expect function.
12347         [C99-based-standards] (wcstold): Likewise.
12348         [C99-based-standards] (wcstoll): Likewise.
12349         [C99-based-standards] (wcstoull): Likewise.
12350         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12351         macro-int-constant.  Specify type.
12352         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
12353         constraint on value.
12354         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12355         Specify type.
12356         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12357         Specify value.
12358         [ISO C standards]: Do not allow headers.
12359         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12360         wcs[abcdefghijklmnopqrstuvwxyz]*.
12361         [ISO C standards] (*_t): Do not allow.
12362         * conform/data/wctype.h-data [C99-based standards] (iswblank):
12363         Expect function.
12364         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12365         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12366         Specify type.
12367         [ISO C standards]: Do not allow headers.
12368         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12369         is[abcdefghijklmnopqrstuvwxyz]*.
12370         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12371         to[abcdefghijklmnopqrstuvwxyz]*.
12372         [ISO C standards] (*_t): Do not allow.
12373         * conform/data/stdalign.h-data: New file.
12374         * conform/data/stdbool.h-data: Likewise.
12375         * conform/data/stdnoreturn.h-data: Likewise.
12376
12377 2012-11-07  Roland McGrath  <roland@hack.frob.com>
12378
12379         [BZ #14815]
12380         * manual/filesys.texi (Directory Entries): Typo fix.
12381         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12382
12383 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12384
12385         * elf/elf.h (EM_AARCH64): New macro.
12386         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12387         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12388         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12389         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12390         (R_AARCH64_TLSDESC): Likewise.
12391         (NT_ARM_TLS): Likewise.
12392         (NT_ARM_HW_BREAK): Likewise.
12393         (NT_ARM_HW_WATCH): Likewise.
12394
12395 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12396
12397         [BZ #14811]
12398         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12399         (__ieee754_powl): Saturate nonzero exponents with absolute value
12400         below 0x1p-79 to +/- 0x1p-79.
12401         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12402         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12403         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12404         nonzero exponents with absolute value below 0x1p-32 to +/-
12405         0x1p-32.
12406         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12407         (__ieee754_powl): Saturate nonzero exponents with absolute value
12408         below 0x1p-79 to +/- 0x1p-79.
12409         * math/libm-test.inc (pow_test): Add more tests.
12410
12411 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12412
12413         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12414         _dl_s390_cap_flags with kernel. Increase string length.
12415         (_dl_s390_platforms): Add z196 and zEC12.
12416
12417 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12418
12419         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12420         Change XOPEN21K to XOPEN2K.
12421
12422 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
12423
12424         * string/memmove.c: Use memcpy when possible.
12425
12426 2012-11-06  Andreas Jaeger  <aj@suse.de>
12427
12428         * po/eo.po: Update from translation team.
12429
12430 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
12431
12432         [BZ #14793]
12433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12434         exponent and small x and y exponents, scale x or y up.  Increase
12435         by 2 the exponent used in scaling up.
12436         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12437         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12438         * math/libm-test.inc (fma_test): Add more tests.
12439         (fma_test_towardzero): Likewise.
12440         (fma_test_downward): Likewise.
12441         (fma_test_upward): Likewise.
12442
12443 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
12444
12445         [BZ #14805]
12446         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12447         fenv_t *.
12448
12449         [BZ #14801]
12450         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12451         namespace for names of struct fields.
12452         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12453         fenv_t fields.
12454         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12455         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12456
12457 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12458
12459         [BZ #3665]
12460         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12461
12462 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12463
12464         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12465         PTR_DEMANGLE.
12466
12467         [BZ #5246]
12468         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12469         PTR_DEMANGLE.
12470
12471 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
12472
12473         [BZ #14797]
12474         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12475         definitely overflow as x * y not x * y + z.
12476         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12477         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12478         * math/libm-test.inc (fma_test): Add more tests.
12479         (fma_test_towardzero): Likewise.
12480         (fma_test_downward): Likewise.
12481         (fma_test_upward): Likewise.
12482
12483 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12484
12485         [BZ #157]
12486
12487         * include/stub-tag.h: Remove file.
12488         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12489         '#include' of it.
12490         * manual/maint.texi (Porting): Don't reference it.
12491         * Makerules ($(objpfx)stubs): Likewise.
12492         * dirent/closedir.c: Don't include <stub-tag.h>.
12493         * dirent/dirfd.c: Likewise.
12494         * dirent/fdopendir.c: Likewise.
12495         * dirent/getdents.c: Likewise.
12496         * dirent/getdents64.c: Likewise.
12497         * dirent/opendir.c: Likewise.
12498         * dirent/readdir.c: Likewise.
12499         * dirent/readdir64.c: Likewise.
12500         * dirent/readdir64_r.c: Likewise.
12501         * dirent/readdir_r.c: Likewise.
12502         * dirent/rewinddir.c: Likewise.
12503         * dirent/seekdir.c: Likewise.
12504         * dirent/telldir.c: Likewise.
12505         * gmon/profil.c: Likewise.
12506         * grp/setgroups.c: Likewise.
12507         * inet/if_index.c: Likewise.
12508         * io/access.c: Likewise.
12509         * io/chdir.c: Likewise.
12510         * io/chmod.c: Likewise.
12511         * io/chown.c: Likewise.
12512         * io/close.c: Likewise.
12513         * io/dup.c: Likewise.
12514         * io/dup2.c: Likewise.
12515         * io/dup3.c: Likewise.
12516         * io/euidaccess.c: Likewise.
12517         * io/faccessat.c: Likewise.
12518         * io/fchdir.c: Likewise.
12519         * io/fchmod.c: Likewise.
12520         * io/fchmodat.c: Likewise.
12521         * io/fchown.c: Likewise.
12522         * io/fchownat.c: Likewise.
12523         * io/fcntl.c: Likewise.
12524         * io/flock.c: Likewise.
12525         * io/fstatfs.c: Likewise.
12526         * io/fstatfs64.c: Likewise.
12527         * io/fstatvfs.c: Likewise.
12528         * io/fstatvfs64.c: Likewise.
12529         * io/futimens.c: Likewise.
12530         * io/fxstat.c: Likewise.
12531         * io/fxstat64.c: Likewise.
12532         * io/fxstatat.c: Likewise.
12533         * io/fxstatat64.c: Likewise.
12534         * io/getcwd.c: Likewise.
12535         * io/isatty.c: Likewise.
12536         * io/lchmod.c: Likewise.
12537         * io/lchown.c: Likewise.
12538         * io/link.c: Likewise.
12539         * io/linkat.c: Likewise.
12540         * io/lseek.c: Likewise.
12541         * io/lseek64.c: Likewise.
12542         * io/lxstat64.c: Likewise.
12543         * io/mkdir.c: Likewise.
12544         * io/mkdirat.c: Likewise.
12545         * io/mkfifo.c: Likewise.
12546         * io/mkfifoat.c: Likewise.
12547         * io/open.c: Likewise.
12548         * io/open64.c: Likewise.
12549         * io/openat.c: Likewise.
12550         * io/openat64.c: Likewise.
12551         * io/pipe.c: Likewise.
12552         * io/pipe2.c: Likewise.
12553         * io/poll.c: Likewise.
12554         * io/posix_fadvise.c: Likewise.
12555         * io/posix_fadvise64.c: Likewise.
12556         * io/posix_fallocate.c: Likewise.
12557         * io/posix_fallocate64.c: Likewise.
12558         * io/read.c: Likewise.
12559         * io/readlink.c: Likewise.
12560         * io/readlinkat.c: Likewise.
12561         * io/rmdir.c: Likewise.
12562         * io/sendfile.c: Likewise.
12563         * io/sendfile64.c: Likewise.
12564         * io/statfs.c: Likewise.
12565         * io/statfs64.c: Likewise.
12566         * io/statvfs.c: Likewise.
12567         * io/statvfs64.c: Likewise.
12568         * io/symlink.c: Likewise.
12569         * io/symlinkat.c: Likewise.
12570         * io/ttyname.c: Likewise.
12571         * io/ttyname_r.c: Likewise.
12572         * io/umask.c: Likewise.
12573         * io/unlink.c: Likewise.
12574         * io/unlinkat.c: Likewise.
12575         * io/utime.c: Likewise.
12576         * io/utimensat.c: Likewise.
12577         * io/write.c: Likewise.
12578         * io/xmknod.c: Likewise.
12579         * io/xmknodat.c: Likewise.
12580         * io/xstat.c: Likewise.
12581         * io/xstat64.c: Likewise.
12582         * login/getpt.c: Likewise.
12583         * login/grantpt.c: Likewise.
12584         * login/unlockpt.c: Likewise.
12585         * math/e_acoshl.c: Likewise.
12586         * math/e_acosl.c: Likewise.
12587         * math/e_asinl.c: Likewise.
12588         * math/e_atan2l.c: Likewise.
12589         * math/e_atanhl.c: Likewise.
12590         * math/e_coshl.c: Likewise.
12591         * math/e_expl.c: Likewise.
12592         * math/e_fmodl.c: Likewise.
12593         * math/e_gammal_r.c: Likewise.
12594         * math/e_hypotl.c: Likewise.
12595         * math/e_j0l.c: Likewise.
12596         * math/e_j1l.c: Likewise.
12597         * math/e_jnl.c: Likewise.
12598         * math/e_lgammal_r.c: Likewise.
12599         * math/e_log10l.c: Likewise.
12600         * math/e_log2l.c: Likewise.
12601         * math/e_logl.c: Likewise.
12602         * math/e_powl.c: Likewise.
12603         * math/e_rem_pio2l.c: Likewise.
12604         * math/e_sinhl.c: Likewise.
12605         * math/e_sqrtl.c: Likewise.
12606         * math/fclrexcpt.c: Likewise.
12607         * math/fedisblxcpt.c: Likewise.
12608         * math/feenablxcpt.c: Likewise.
12609         * math/fegetenv.c: Likewise.
12610         * math/fegetexcept.c: Likewise.
12611         * math/fegetround.c: Likewise.
12612         * math/feholdexcpt.c: Likewise.
12613         * math/fesetenv.c: Likewise.
12614         * math/fesetround.c: Likewise.
12615         * math/feupdateenv.c: Likewise.
12616         * math/fgetexcptflg.c: Likewise.
12617         * math/fraiseexcpt.c: Likewise.
12618         * math/fsetexcptflg.c: Likewise.
12619         * math/ftestexcept.c: Likewise.
12620         * math/k_cosl.c: Likewise.
12621         * math/k_rem_pio2l.c: Likewise.
12622         * math/k_sinl.c: Likewise.
12623         * math/k_tanl.c: Likewise.
12624         * math/s_asinhl.c: Likewise.
12625         * math/s_atanl.c: Likewise.
12626         * math/s_cbrtl.c: Likewise.
12627         * math/s_erfl.c: Likewise.
12628         * math/s_expm1l.c: Likewise.
12629         * math/s_log1pl.c: Likewise.
12630         * math/s_tanhl.c: Likewise.
12631         * misc/acct.c: Likewise.
12632         * misc/brk.c: Likewise.
12633         * misc/chflags.c: Likewise.
12634         * misc/chroot.c: Likewise.
12635         * misc/fchflags.c: Likewise.
12636         * misc/fgetxattr.c: Likewise.
12637         * misc/flistxattr.c: Likewise.
12638         * misc/fremovexattr.c: Likewise.
12639         * misc/fsetxattr.c: Likewise.
12640         * misc/fsync.c: Likewise.
12641         * misc/ftruncate.c: Likewise.
12642         * misc/futimes.c: Likewise.
12643         * misc/futimesat.c: Likewise.
12644         * misc/getdomain.c: Likewise.
12645         * misc/getdtsz.c: Likewise.
12646         * misc/gethostid.c: Likewise.
12647         * misc/gethostname.c: Likewise.
12648         * misc/getloadavg.c: Likewise.
12649         * misc/getpagesize.c: Likewise.
12650         * misc/getsysstats.c: Likewise.
12651         * misc/getxattr.c: Likewise.
12652         * misc/gtty.c: Likewise.
12653         * misc/ioctl.c: Likewise.
12654         * misc/lgetxattr.c: Likewise.
12655         * misc/listxattr.c: Likewise.
12656         * misc/llistxattr.c: Likewise.
12657         * misc/lremovexattr.c: Likewise.
12658         * misc/lsetxattr.c: Likewise.
12659         * misc/lutimes.c: Likewise.
12660         * misc/madvise.c: Likewise.
12661         * misc/mincore.c: Likewise.
12662         * misc/mlock.c: Likewise.
12663         * misc/mlockall.c: Likewise.
12664         * misc/mmap.c: Likewise.
12665         * misc/mprotect.c: Likewise.
12666         * misc/msync.c: Likewise.
12667         * misc/munlock.c: Likewise.
12668         * misc/munlockall.c: Likewise.
12669         * misc/munmap.c: Likewise.
12670         * misc/preadv.c: Likewise.
12671         * misc/preadv64.c: Likewise.
12672         * misc/ptrace.c: Likewise.
12673         * misc/pwritev.c: Likewise.
12674         * misc/pwritev64.c: Likewise.
12675         * misc/readv.c: Likewise.
12676         * misc/reboot.c: Likewise.
12677         * misc/remap_file_pages.c: Likewise.
12678         * misc/removexattr.c: Likewise.
12679         * misc/revoke.c: Likewise.
12680         * misc/select.c: Likewise.
12681         * misc/setdomain.c: Likewise.
12682         * misc/setegid.c: Likewise.
12683         * misc/seteuid.c: Likewise.
12684         * misc/sethostid.c: Likewise.
12685         * misc/sethostname.c: Likewise.
12686         * misc/setregid.c: Likewise.
12687         * misc/setreuid.c: Likewise.
12688         * misc/setxattr.c: Likewise.
12689         * misc/sstk.c: Likewise.
12690         * misc/stty.c: Likewise.
12691         * misc/swapoff.c: Likewise.
12692         * misc/swapon.c: Likewise.
12693         * misc/sync.c: Likewise.
12694         * misc/syncfs.c: Likewise.
12695         * misc/syscall.c: Likewise.
12696         * misc/truncate.c: Likewise.
12697         * misc/ualarm.c: Likewise.
12698         * misc/usleep.c: Likewise.
12699         * misc/ustat.c: Likewise.
12700         * misc/utimes.c: Likewise.
12701         * misc/vhangup.c: Likewise.
12702         * misc/writev.c: Likewise.
12703         * posix/_exit.c: Likewise.
12704         * posix/alarm.c: Likewise.
12705         * posix/execve.c: Likewise.
12706         * posix/fexecve.c: Likewise.
12707         * posix/fork.c: Likewise.
12708         * posix/fpathconf.c: Likewise.
12709         * posix/getaddrinfo.c: Likewise.
12710         * posix/getegid.c: Likewise.
12711         * posix/geteuid.c: Likewise.
12712         * posix/getgid.c: Likewise.
12713         * posix/getgroups.c: Likewise.
12714         * posix/getlogin.c: Likewise.
12715         * posix/getlogin_r.c: Likewise.
12716         * posix/getpgid.c: Likewise.
12717         * posix/getpid.c: Likewise.
12718         * posix/getppid.c: Likewise.
12719         * posix/getresgid.c: Likewise.
12720         * posix/getresuid.c: Likewise.
12721         * posix/getsid.c: Likewise.
12722         * posix/getuid.c: Likewise.
12723         * posix/glob64.c: Likewise.
12724         * posix/nanosleep.c: Likewise.
12725         * posix/pathconf.c: Likewise.
12726         * posix/pause.c: Likewise.
12727         * posix/posix_madvise.c: Likewise.
12728         * posix/pread.c: Likewise.
12729         * posix/pread64.c: Likewise.
12730         * posix/pwrite.c: Likewise.
12731         * posix/pwrite64.c: Likewise.
12732         * posix/sched_getaffinity.c: Likewise.
12733         * posix/sched_getp.c: Likewise.
12734         * posix/sched_gets.c: Likewise.
12735         * posix/sched_primax.c: Likewise.
12736         * posix/sched_primin.c: Likewise.
12737         * posix/sched_rr_gi.c: Likewise.
12738         * posix/sched_setaffinity.c: Likewise.
12739         * posix/sched_setp.c: Likewise.
12740         * posix/sched_sets.c: Likewise.
12741         * posix/sched_yield.c: Likewise.
12742         * posix/setgid.c: Likewise.
12743         * posix/setlogin.c: Likewise.
12744         * posix/setpgid.c: Likewise.
12745         * posix/setresgid.c: Likewise.
12746         * posix/setresuid.c: Likewise.
12747         * posix/setsid.c: Likewise.
12748         * posix/setuid.c: Likewise.
12749         * posix/sleep.c: Likewise.
12750         * posix/spawni.c: Likewise.
12751         * posix/sysconf.c: Likewise.
12752         * posix/times.c: Likewise.
12753         * posix/wait.c: Likewise.
12754         * posix/wait3.c: Likewise.
12755         * posix/wait4.c: Likewise.
12756         * posix/waitpid.c: Likewise.
12757         * resolv/gai_sigqueue.c: Likewise.
12758         * resource/getpriority.c: Likewise.
12759         * resource/getrlimit.c: Likewise.
12760         * resource/getrusage.c: Likewise.
12761         * resource/nice.c: Likewise.
12762         * resource/setpriority.c: Likewise.
12763         * resource/setrlimit.c: Likewise.
12764         * resource/ulimit.c: Likewise.
12765         * rt/aio_cancel.c: Likewise.
12766         * rt/aio_fsync.c: Likewise.
12767         * rt/aio_read.c: Likewise.
12768         * rt/aio_sigqueue.c: Likewise.
12769         * rt/aio_suspend.c: Likewise.
12770         * rt/aio_write.c: Likewise.
12771         * rt/clock_getres.c: Likewise.
12772         * rt/clock_gettime.c: Likewise.
12773         * rt/clock_nanosleep.c: Likewise.
12774         * rt/clock_settime.c: Likewise.
12775         * rt/lio_listio.c: Likewise.
12776         * rt/mq_close.c: Likewise.
12777         * rt/mq_getattr.c: Likewise.
12778         * rt/mq_notify.c: Likewise.
12779         * rt/mq_open.c: Likewise.
12780         * rt/mq_receive.c: Likewise.
12781         * rt/mq_send.c: Likewise.
12782         * rt/mq_setattr.c: Likewise.
12783         * rt/mq_timedreceive.c: Likewise.
12784         * rt/mq_timedsend.c: Likewise.
12785         * rt/mq_unlink.c: Likewise.
12786         * rt/shm_open.c: Likewise.
12787         * rt/shm_unlink.c: Likewise.
12788         * rt/timer_create.c: Likewise.
12789         * rt/timer_delete.c: Likewise.
12790         * rt/timer_getoverr.c: Likewise.
12791         * rt/timer_gettime.c: Likewise.
12792         * rt/timer_settime.c: Likewise.
12793         * setjmp/__longjmp.c: Likewise.
12794         * setjmp/setjmp.c: Likewise.
12795         * signal/kill.c: Likewise.
12796         * signal/killpg.c: Likewise.
12797         * signal/raise.c: Likewise.
12798         * signal/sigaction.c: Likewise.
12799         * signal/sigaltstack.c: Likewise.
12800         * signal/sigblock.c: Likewise.
12801         * signal/sigignore.c: Likewise.
12802         * signal/sigintr.c: Likewise.
12803         * signal/signal.c: Likewise.
12804         * signal/sigpause.c: Likewise.
12805         * signal/sigpending.c: Likewise.
12806         * signal/sigqueue.c: Likewise.
12807         * signal/sigreturn.c: Likewise.
12808         * signal/sigset.c: Likewise.
12809         * signal/sigsetmask.c: Likewise.
12810         * signal/sigstack.c: Likewise.
12811         * signal/sigsuspend.c: Likewise.
12812         * signal/sigtimedwait.c: Likewise.
12813         * signal/sigvec.c: Likewise.
12814         * signal/sigwait.c: Likewise.
12815         * signal/sigwaitinfo.c: Likewise.
12816         * signal/sysv_signal.c: Likewise.
12817         * socket/accept.c: Likewise.
12818         * socket/accept4.c: Likewise.
12819         * socket/bind.c: Likewise.
12820         * socket/connect.c: Likewise.
12821         * socket/getpeername.c: Likewise.
12822         * socket/getsockname.c: Likewise.
12823         * socket/getsockopt.c: Likewise.
12824         * socket/isfdtype.c: Likewise.
12825         * socket/listen.c: Likewise.
12826         * socket/recv.c: Likewise.
12827         * socket/recvfrom.c: Likewise.
12828         * socket/recvmsg.c: Likewise.
12829         * socket/send.c: Likewise.
12830         * socket/sendmsg.c: Likewise.
12831         * socket/sendto.c: Likewise.
12832         * socket/setsockopt.c: Likewise.
12833         * socket/shutdown.c: Likewise.
12834         * socket/sockatmark.c: Likewise.
12835         * socket/socket.c: Likewise.
12836         * socket/socketpair.c: Likewise.
12837         * stdio-common/ctermid.c: Likewise.
12838         * stdio-common/cuserid.c: Likewise.
12839         * stdio-common/remove.c: Likewise.
12840         * stdio-common/rename.c: Likewise.
12841         * stdio-common/renameat.c: Likewise.
12842         * stdio-common/tempname.c: Likewise.
12843         * stdlib/getcontext.c: Likewise.
12844         * stdlib/makecontext.c: Likewise.
12845         * stdlib/setcontext.c: Likewise.
12846         * stdlib/swapcontext.c: Likewise.
12847         * stdlib/system.c: Likewise.
12848         * streams/fattach.c: Likewise.
12849         * streams/fdetach.c: Likewise.
12850         * streams/getmsg.c: Likewise.
12851         * streams/getpmsg.c: Likewise.
12852         * streams/putmsg.c: Likewise.
12853         * streams/putpmsg.c: Likewise.
12854         * sysdeps/unix/bsd/getpt.c: Likewise.
12855         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12856         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12857         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12859         Likewise.
12860         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12861         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12862         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12863         * sysvipc/msgctl.c: Likewise.
12864         * sysvipc/msgget.c: Likewise.
12865         * sysvipc/msgrcv.c: Likewise.
12866         * sysvipc/msgsnd.c: Likewise.
12867         * sysvipc/semctl.c: Likewise.
12868         * sysvipc/semget.c: Likewise.
12869         * sysvipc/semop.c: Likewise.
12870         * sysvipc/semtimedop.c: Likewise.
12871         * sysvipc/shmat.c: Likewise.
12872         * sysvipc/shmctl.c: Likewise.
12873         * sysvipc/shmdt.c: Likewise.
12874         * sysvipc/shmget.c: Likewise.
12875         * termios/tcdrain.c: Likewise.
12876         * termios/tcflow.c: Likewise.
12877         * termios/tcflush.c: Likewise.
12878         * termios/tcgetattr.c: Likewise.
12879         * termios/tcgetpgrp.c: Likewise.
12880         * termios/tcsendbrk.c: Likewise.
12881         * termios/tcsetattr.c: Likewise.
12882         * termios/tcsetpgrp.c: Likewise.
12883         * time/adjtime.c: Likewise.
12884         * time/clock.c: Likewise.
12885         * time/getitimer.c: Likewise.
12886         * time/gettimeofday.c: Likewise.
12887         * time/setitimer.c: Likewise.
12888         * time/settimeofday.c: Likewise.
12889         * time/stime.c: Likewise.
12890         * time/time.c: Likewise.
12891
12892 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
12893
12894         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12895         /usr/old/bin.
12896
12897         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12898         instead of spaces.
12899         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12900
12901 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
12902
12903         [BZ #14796]
12904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12905         FE_TONEAREST before applying Dekker multiplication and Knuth
12906         addition.  Clear inexact exceptions and check for exact zero
12907         results afterwards.
12908         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12909         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12910         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12911         * math/libm-test.inc (fma_test): Add more tests.
12912         (fma_test_towardzero): Likewise.
12913         (fma_test_downward): Likewise.
12914         (fma_test_upward): Likewise.
12915         * sysdeps/generic/math_private.h (default_libc_fesetround): New
12916         function.
12917         (libc_fesetround): New macro.
12918         (libc_fesetroundf): Likewise.
12919         (libc_fesetroundl): Likewise.
12920         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12921         function.
12922         (libc_fesetround_387): Likewise.
12923         (libc_fesetroundf): New macro.
12924         (libc_fesetround): Likewise.
12925         (libc_fesetroundl): Likewise.
12926         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12927         function.
12928         (libc_fesetroundf): New macro.
12929         (libc_fesetround): Likewise.
12930         (libc_fesetroundl): Likewise.
12931         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12932         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12933         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12934         libm_hidden_ver.
12935         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12936         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12937         libm_hidden_def.
12938         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12939         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12940         libm_hidden_ver.
12941         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12942         libm_hidden_def.
12943
12944         [BZ #3439]
12945         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12946         integer constant usable in #if and use that to give value to enum
12947         constant.
12948         (FE_DIVBYZERO): Likewise.
12949         (FE_UNDERFLOW): Likewise.
12950         (FE_OVERFLOW): Likewise.
12951         (FE_INVALID): Likewise.
12952         (FE_INVALID_SNAN): Likewise.
12953         (FE_INVALID_ISI): Likewise.
12954         (FE_INVALID_IDI): Likewise.
12955         (FE_INVALID_ZDZ): Likewise.
12956         (FE_INVALID_IMZ): Likewise.
12957         (FE_INVALID_COMPARE): Likewise.
12958         (FE_INVALID_SOFTWARE): Likewise.
12959         (FE_INVALID_SQRT): Likewise.
12960         (FE_INVALID_INTEGER_CONVERSION): Likewise.
12961         (FE_TONEAREST): Likewise.
12962         (FE_TOWARDZERO): Likewise.
12963         (FE_UPWARD): Likewise.
12964         (FE_DOWNWARD): Likewise.
12965         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12966         (FE_DIVBYZERO): Likewise.
12967         (FE_OVERFLOW): Likewise.
12968         (FE_UNDERFLOW): Likewise.
12969         (FE_INEXACT): Likewise.
12970         (FE_TONEAREST): Likewise.
12971         (FE_DOWNWARD): Likewise.
12972         (FE_UPWARD): Likewise.
12973         (FE_TOWARDZERO): Likewise.
12974         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12975         (FE_UNDERFLOW): Likewise.
12976         (FE_OVERFLOW): Likewise.
12977         (FE_DIVBYZERO): Likewise.
12978         (FE_INVALID): Likewise.
12979         (FE_TONEAREST): Likewise.
12980         (FE_TOWARDZERO): Likewise.
12981         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12982         (FE_OVERFLOW): Likewise.
12983         (FE_UNDERFLOW): Likewise.
12984         (FE_DIVBYZERO): Likewise.
12985         (FE_INEXACT): Likewise.
12986         (FE_TONEAREST): Likewise.
12987         (FE_TOWARDZERO): Likewise.
12988         (FE_UPWARD): Likewise.
12989         (FE_DOWNWARD): Likewise.
12990         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12991         (FE_DIVBYZERO): Likewise.
12992         (FE_OVERFLOW): Likewise.
12993         (FE_UNDERFLOW): Likewise.
12994         (FE_INEXACT): Likewise.
12995         (FE_TONEAREST): Likewise.
12996         (FE_DOWNWARD): Likewise.
12997         (FE_UPWARD): Likewise.
12998         (FE_TOWARDZERO): Likewise.
12999
13000 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
13001
13002         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13003
13004 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
13005
13006         * scripts/cross-test-ssh.sh (command): Use newlines to separate
13007         commands.  Quote $PWD.
13008         (blacklist_exports): Don't use remove_newlines.  Replace "declare
13009         -x" by "export".
13010         (remove_newlines): Remove.
13011
13012 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
13013
13014         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13015         * stdlib/stdlib.h (atof): Moved to ...
13016         * include/bits/stdlib-float.h: Here.  New file.
13017         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13018         * stdlib/bits/stdlib-float.h: New file.
13019         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13020         -mno-sse -mno-mmx.
13021         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13022         <xmmintrin.h>.
13023
13024 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13025
13026         * conform/conformtest.pl (@headers): Add fenv.h.
13027         * conform/data/fenv.h-data: New file.
13028         * include/fenv.h [_ISOMAC]: Disable all contents of file except
13029         include of <math/fenv.h>.
13030
13031         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13032         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13033         && !UNIX98].  Enables tests for XOPEN2K8.
13034         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13035         POSIX2008]: Likewise.
13036
13037         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13038         (struct rusage): Do not expect type or its members.
13039
13040         [BZ #3439]
13041         * math/math.h (FP_NAN): Define macro to integer constant usable in
13042         #if and use that to give value to enum constant.
13043         (FP_INFINITE): Likewise.
13044         (FP_ZERO): Likewise.
13045         (FP_SUBNORMAL): Likewise.
13046         (FP_NORMAL): Likewise.
13047
13048 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
13049
13050         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13051         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13052         arguments.
13053
13054 2012-11-02  Roland McGrath  <roland@hack.frob.com>
13055
13056         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13057         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13058         autoconf-time if not.
13059         * configure.in: Remove AC_PREREQ.
13060
13061 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13062
13063         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13064         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13065         of the internal implementation.
13066
13067 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13068
13069         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13070         except include of <misc/sys/syslog.h>.
13071
13072 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13073
13074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13075         function returns with a NULL context exit with zero.
13076
13077 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13078
13079         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13080
13081 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
13082
13083         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13084         (run_program_cmd): This.
13085         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13086         (tst_langinfo): New variable.  Use it.
13087
13088 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
13089
13090         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13091         floating point opcodes.
13092
13093 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13094
13095         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13096         variable.
13097
13098         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13099
13100         * sysdeps/mach/hurd/powerpc: Remove directory.
13101         * sysdeps/mach/powerpc: Likewise.
13102
13103 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13104
13105         * scripts/check-local-headers.sh: Ignore c++ headers.
13106
13107 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13108
13109         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13110         __libc_cleanup_region_start argument.
13111
13112 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
13113
13114         [BZ #14784]
13115         [BZ #14785]
13116         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13117         x * y using scaling, not as x * y + z.
13118         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13119         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13120         * math/libm-test.inc (fma_test): Add more tests.
13121         (fma_test_towardzero): Likewise.
13122         (fma_test_downward): Likewise.
13123         (fma_test_upward): Likewise.
13124
13125 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13126
13127         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13128
13129 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13130
13131         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13132         New variable.
13133
13134 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
13135
13136         * rt/tst-shm.c (worker): Correct checking for mmap failure.
13137
13138 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13139
13140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13141         Fix sort order.
13142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13143         Likewise.
13144
13145 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13146
13147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13148         Fix the order of the list for glibc 2.17.
13149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13150         Likewise.
13151
13152 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13153
13154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13155
13156 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13157
13158         [BZ #14610]
13159         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13160         for low part of x being zero before using __atanl (y).
13161         * math/libm-test.inc (atan2_test): Add another test.
13162
13163         * manual/install.texi (Configuring and compiling): Document
13164         general use of test-wrapper and test-wrapper-env.
13165         * INSTALL: Regenerated.
13166
13167         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13168         (__fma): Do not extract and scale down low bits on after-rounding
13169         systems when result rounded to normal precision would have normal
13170         exponent.
13171         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13172         (__fmal): Do not extract and scale down low bits on after-rounding
13173         systems when result rounded to normal precision would have normal
13174         exponent.
13175         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13176         (__fmal): Do not extract and scale down low bits on after-rounding
13177         systems when result rounded to normal precision would have normal
13178         exponent.
13179         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13180         macro.
13181         (fma_test): Add more tests.
13182         (fma_test_towardzero): Likewise.
13183         (fma_test_downward): Likewise.
13184         (fma_test_upward): Likewise.
13185
13186 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
13187
13188         * sysdeps/i386/tininess.h: Renamed to ...
13189         * sysdeps/x86/tininess.h: This.
13190         * sysdeps/x86_64/tininess.h: Removed.
13191
13192 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13193
13194         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13195         input.  Use $(build-program-cmd).
13196         ($(objpfx)tst-array1-static.out): Likewise.
13197         ($(objpfx)tst-array2.out): Likewise.
13198         ($(objpfx)tst-array3.out): Likewise.
13199         ($(objpfx)tst-array4.out): Likewise.
13200         ($(objpfx)tst-array5.out): Likewise.
13201         ($(objpfx)tst-array5-static.out): Likewise.
13202
13203 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
13204
13205         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13206         if defined.
13207
13208         * nss/nsswitch.h (nss_interface_function): Provide new
13209         macro for use with NSS functions.
13210         * grp/initgroups.c: Use new macro.
13211         * nss/getXXbyYY.c: Likewise.
13212         * nss/getXXbyYY_r.c: Likewise.
13213         * nss/getXXent.c: Likewise.
13214         * nss/getXXent_r.c: Likewise.
13215         * sysdeps/posix/getaddrinfo.c: Likewise.
13216
13217 2012-10-30  Andreas Jaeger  <aj@suse.de>
13218
13219         * po/ru.po: Update Russion translation from translation project.
13220
13221 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13222
13223         [BZ #14152]
13224         [BZ #14783]
13225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13226         result and shift together with sticky bit instead of replicating
13227         round-to-nearest rounding.
13228         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13229         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13230         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
13231         missing underflow exceptions.
13232         (fma_test_towardzero): Add more tests.
13233         (fma_test_downward): Likewise.
13234         (fma_test_upward): Likewise.
13235
13236         [BZ #14047]
13237         * sysdeps/generic/tininess.h: New file.
13238         * sysdeps/i386/tininess.h: Likewise.
13239         * sysdeps/sh/tininess.h: Likewise.
13240         * sysdeps/x86_64/tininess.h: Likewise.
13241         * stdlib/tst-strtod-underflow.c: Likewise.
13242         * stdlib/tst-tininess.c: Likewise.
13243         * stdlib/strtod_l.c: Include <tininess.h>.
13244         (round_and_return): Do not set errno for exact underflow cases.
13245         Force an underflow exception when setting errno for underflow.
13246         Determine underflow based on rounding to normal precision if
13247         TININESS_AFTER_ROUNDING.
13248         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13249         ERANGE for exact underflow cases.
13250         * stdlib/Makefile (tests): Add tst-tininess and
13251         tst-strtod-underflow.
13252         ($(objpfx)tst-tininess): Use $(link-libm).
13253         ($(objpfx)tst-strtod-underflow): Likewise.
13254
13255 2012-10-30  Andreas Jaeger  <aj@suse.de>
13256
13257         [BZ#14767]
13258         * elf/Makefile (tests): Remove conditional for have-initfini-array
13259         since this is now always required and the variable does not exist
13260         anymore.
13261         (tests-static): Likewise.
13262         (modules-names): Likewise.
13263
13264         * po/eo.po: Add Esperanto translation from translation project.
13265
13266         * elf/tst-array1.c (fini_array): Make writeable so that it can be
13267         merged with constructor/destructor.
13268         (init_array): Likewise.
13269         * elf/tst-array2dep.c (fini_array): Likewise.
13270         (init_array): Likewise.
13271
13272 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
13273
13274         * manual/message.texi: Delete @cartouche tags.
13275
13276 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
13277
13278         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13279         EOPNOTSUPP.
13280         * sysdeps/mach/hurd/fsync.c: Likewise.
13281
13282         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13283         [_POSIX_REALTIME_SIGNALS]: Change condition to
13284         [_POSIX_REALTIME_SIGNALS > 0].
13285
13286 2012-10-27  Andreas Jaeger  <aj@suse.de>
13287
13288         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13289         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13290         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13291         [__WORDSIZE != 64]: Likewise.
13292
13293 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
13294
13295         *  iconvdata/tst-table.sh: Remove ${SHELL}.
13296         *  iconvdata/tst-tables.sh: Likewise.
13297
13298 2012-10-25  David S. Miller  <davem@davemloft.net>
13299
13300         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13301         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13302         of strtoull.
13303
13304         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13305         ifunc-impl-list.c
13306         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13307         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13308         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13309         file.
13310
13311 2012-10-25  Roland McGrath  <roland@hack.frob.com>
13312
13313         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13314         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13315         __getdirentries.
13316
13317 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13318             Jim Blandy  <jimb@codesourcery.com>
13319
13320         * scripts/cross-test-ssh.sh: New file.
13321         * manual/install.texi (Configuring and compiling): Document use of
13322         cross-test-ssh.sh.
13323         * INSTALL: Regenerated.
13324
13325 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
13326
13327         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13328         EOPNOTSUPP.
13329
13330 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13331
13332         * Makeconfig (run-program-prefix): Fix comment.
13333
13334 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13335             Jim Blandy  <jimb@codesourcery.com>
13336
13337         * Makeconfig (test-wrapper): New variable,
13338         (test-wrapper-env): Likewise.
13339         [$(cross-compiling) = yes && $(test-wrapper) != ""]
13340         (run-built-tests): Define to yes.
13341         (run-program-prefix): Use $(test-wrapper).
13342         (built-program-cmd): Likewise.
13343         * Rules (make-test-out): Use $(test-wrapper-env) and
13344         $(host-built-program-cmd).
13345         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13346         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13347         tst-pathopt.sh.
13348         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13349         $(test-wrapper-env) to tst-rtld-load-self.sh.
13350         ($(objpfx)order2.out): Use $(test-wrapper).
13351         ($(objpfx)tst-initorder.out): Likewise.
13352         ($(objpfx)tst-initorder2.out): Likewise.
13353         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13354         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13355         (test_wrapper_env): New variable.  Use it to run ld.so.
13356         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13357         Use it to run ld.so.
13358         (test_wrapper_env): Likewise.
13359         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13360         $(test-wrapper) to run-iconv-test.sh.
13361         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13362         (ICONV): Use $test_wrapper.
13363         * posix/Makefile ($(objpfx)globtest.out): Pass
13364         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13365         globtest.sh, not $(run-program-prefix).
13366         * posix/globtest.sh (run_via_rtld_prefix): New variable.
13367         (test_wrapper): Likewise.
13368         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
13369         set together with run_via_rtld_prefix.
13370         (run_program_prefix): Define in terms of test_wrapper and
13371         run_via_rtld_prefix.
13372
13373 2012-10-24  Roland McGrath  <roland@hack.frob.com>
13374
13375         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13376         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13377         Targets removed.
13378
13379         [BZ #14743]
13380         * include/time.h: Remove librt_hidden_proto (clock_gettime).
13381         Declare __clock_getres, __clock_gettime, __clock_settime,
13382         __clock_nanosleep, and __clock_getcpuclockid.
13383         * rt/clock_gettime.c: Define __clock_gettime as an alias.
13384         Remove librt_hidden_def (clock_gettime).
13385         * sysdeps/unix/clock_gettime.c: Likewise.
13386         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13387         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13388         * rt/clock_getres.c: Define __clock_getres as an alias.
13389         * sysdeps/posix/clock_getres.c: Likewise.
13390         * rt/clock_settime.c: Define __clock_settime as an alias.
13391         * sysdeps/unix/clock_settime.c: Likewise.
13392         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13393         * sysdeps/unix/clock_nanosleep.c: Likewise.
13394         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13395         * rt/clock-compat.c: New file.
13396         * rt/Makefile (librt-routines): Add clock-compat and move
13397         $(clock-routines) to ...
13398         (routines): ... here, new variable.
13399         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13400         Don't add get_clockfreq here.
13401         * rt/Versions (libc: GLIBC_2.17): New version set.
13402         Add clock_* symbols here.
13403         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
13404         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13405         (GLIBC_2.17): Add clock_* symbols.
13406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13408         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13410         Likewise.
13411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13412         Likewise.
13413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13417         * NEWS: Mention the move.
13418
13419         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13420         Use __open, __read, __close rather than their public counterparts.
13421         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13422         (__get_clockfreq_via_cpuinfo): Likewise.
13423         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13424         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13425
13426         * config.h.in (HAVE_IFUNC): New #undef.
13427         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13428         was successful.
13429         * configure: Regenerated.
13430
13431 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
13432
13433         * configure.in: Move READELF check to start of file.
13434         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13435         libc_cv_asm_gnu_indirect_function in the process.
13436         * configure: Regenerated.
13437
13438 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
13439
13440         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13441         send the output to /dev/null.
13442         (libc_cv_cc_with_libunwind): Likewise.
13443         (libc_cv_as_noexecstack): Likewise.
13444         * configure: Regenerate.
13445
13446 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13447
13448         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13449
13450         * posix/globtest.sh (TMPDIR): Do not set.
13451         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13452         (testout): Likewise.
13453
13454 2012-10-24  Andreas Jaeger  <aj@suse.de>
13455
13456         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13457         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13458         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13459         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13460         posix_fadvise64, posix_fallocate64.
13461
13462         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13463         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13464         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13465         Likewise.
13466         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13467         Likewise.
13468         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13469
13470         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13471         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13472         <bits/fcntl-linux.h>.
13473         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13474
13475         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13476         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13477         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13478         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13479         [__WORDSIZE != 64]: Likewise.
13480
13481 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
13482
13483         * Makeconfig (run-built-tests): New variable.
13484         * Rules [$(cross-compiling) = yes]: Change condition to
13485         [$(run-built-tests) = no].
13486         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13487         to [$(run-built-tests) = yes].
13488         * elf/Makefile [$(cross-compiling) = no]: Likewise
13489         * grp/Makefile [$(cross-compiling) = no]: Likewise.
13490         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13491         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13492         * intl/Makefile [$(cross-compiling) = no]: Likewise.
13493         * io/Makefile [$(cross-compiling) = no]: Likewise.
13494         * libio/Makefile [$(cross-compiling) = no]: Likewise.
13495         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13496         * misc/Makefile [$(cross-compiling) = no]: Likewise.
13497         * posix/Makefile [$(cross-compiling) = no]: Likewise.
13498         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13499         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13500         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13501         * string/Makefile [$(cross-compiling) = no]: Likewise.
13502
13503         * posix/Makefile ($(objpfx)globtest.out): Pass
13504         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13505         $(rtld-installed-name).
13506         * posix/globtest.sh (elf_objpfx): Remove variable.
13507         (rtld_installed_name): Likewise.
13508         (library_path): Likewise.
13509         (run_program_prefix): New variable.  Use for running globtest
13510         binary.
13511
13512 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
13513             Joseph Myers  <joseph@codesourcery.com>
13514
13515         * Makeconfig (host-built-program-cmd): New variable.
13516         * elf/Makefile (tst-stackguard1-ARGS): Use
13517         $(host-built-program-cmd).
13518         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13519         (tst-spawn-ARGS): Likewise.
13520         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13521
13522 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
13523             Jim Blandy  <jimb@codesourcery.com>
13524
13525         * Makeconfig (run-via-rtld-prefix): New variable.
13526         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13527         (built-program-cmd): Likewise.
13528
13529 2012-10-22  Andreas Jaeger  <aj@suse.de>
13530
13531         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13532         __O_RSYNC if it exists, otherwise to O_SYNC.
13533
13534 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
13535             Joseph Myers  <joseph@codesourcery.com>
13536
13537         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13538         /dev/null.
13539         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13540         from /dev/null
13541         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13542         /dev/null.
13543
13544 2012-10-22  Andreas Jaeger  <aj@suse.de>
13545
13546         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13547         Define always.
13548         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13549
13550         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13551         bits/fcntl-linux.h.
13552
13553         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13554         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13555
13556         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13557         to __O_LARGEFILE.
13558         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13559         to __O_LARGEFILE.
13560
13561 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
13562             Joseph Myers  <joseph@codesourcery.com>
13563
13564         * config.make.in (NM): New variable.
13565
13566 2012-10-21  Andreas Jaeger  <aj@suse.de>
13567
13568         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13569         definitions and declarations that are provided by
13570         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13571
13572 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
13573
13574         [BZ #14683]
13575         * elf/Makefile (tests-static): Add tst-leaks1-static.
13576         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13577         ($(objpfx)tst-leaks1-static): New rule.
13578         ($(objpfx)tst-leaks1-static-mem): Likewise.
13579         (tst-leaks1-static-ENV): New macro.
13580         * elf/dl-open.c (dl_open_worker): Check the main application
13581         only if SHARED is defined.
13582         * elf/tst-leaks1-static.c: New file.
13583
13584 2012-10-20  Andreas Jaeger  <aj@suse.de>
13585
13586         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13587         generic values for Linux.
13588         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13589         and declarations that are provided by <bits/fcntl-linux.h> and
13590         include <bits/fcntl-linux.h>.
13591         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13592         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13593
13594 2012-10-20  Roland McGrath  <roland@hack.frob.com>
13595
13596         * io/fcntl.h: Move include of <bits/types.h> to the top and
13597         include it unconditionally.
13598
13599 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
13600
13601         * wcsmbs/Makefile (tests-ifunc): New variable.
13602         (tests): Add $(tests-ifunc).
13603         * wcsmbs/test-wcschr-ifunc.c: New file.
13604         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13605         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13606         * wcsmbs/test-wcslen-ifunc.c: Likewise.
13607         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13608         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13609
13610         * string/Makefile (tests-ifunc): New variable.
13611         (tests): Add $(tests-ifunc).
13612         * string/test-memccpy.c (TEST_NAME): New macro.
13613         * string/test-memchr.c (TEST_NAME): Likewise.
13614         * string/test-memcmp.c (TEST_NAME): Likewise.
13615         * string/test-memcpy.c (TEST_NAME): Likewise.
13616         * string/test-memmem.c (TEST_NAME): Likewise.
13617         * string/test-memmove.c (TEST_NAME): Likewise.
13618         * string/test-memset.c (TEST_NAME): Likewise.
13619         * string/test-rawmemchr.c (TEST_NAME): Likewise.
13620         * string/test-stpcpy.c (TEST_NAME): Likewise.
13621         * string/test-stpncpy.c (TEST_NAME): Likewise.
13622         * string/test-strcasecmp.c (TEST_NAME): Likewise.
13623         * string/test-strcasestr.c (TEST_NAME): Likewise.
13624         * string/test-strcat.c (TEST_NAME): Likewise.
13625         * string/test-strchr.c (TEST_NAME): Likewise.
13626         * string/test-strcmp.c(TEST_NAME): Likewise.
13627         * string/test-strcpy.c (TEST_NAME): Likewise.
13628         * string/test-strcspn.c (TEST_NAME): Likewise.
13629         * string/test-strlen.c (TEST_NAME): Likewise.
13630         * string/test-strncasecmp.c (TEST_NAME): Likewise.
13631         * string/test-strncmp.c (TEST_NAME): Likewise.
13632         * string/test-strncpy.c (TEST_NAME): Likewise.
13633         * string/test-strnlen.c (TEST_NAME): Likewise.
13634         * string/test-strpbrk.c (TEST_NAME): Likewise.
13635         * string/test-strrchr.c (TEST_NAME): Likewise.
13636         * string/test-strspn.c (TEST_NAME): Likewise.
13637         * string/test-strstr.c (TEST_NAME): Likewise.
13638         * string/test-bcopy-ifunc.c: New file.
13639         * string/test-bzero-ifunc.c: Likewise.
13640         * string/test-memccpy-ifunc.c: Likewise.
13641         * string/test-memchr-ifunc.c: Likewise.
13642         * string/test-memcmp-ifunc.c: Likewise.
13643         * string/test-memcpy-ifunc.c: Likewise.
13644         * string/test-memmem-ifunc.c: Likewise.
13645         * string/test-memmove-ifunc.c: Likewise.
13646         * string/test-mempcpy-ifunc.c: Likewise.
13647         * string/test-memset-ifunc.c: Likewise.
13648         * string/test-rawmemchr-ifunc.c: Likewise.
13649         * string/test-stpcpy-ifunc.c: Likewise.
13650         * string/test-stpncpy-ifunc.c: Likewise.
13651         * string/test-strcasecmp-ifunc.c: Likewise.
13652         * string/test-strcasestr-ifunc.c: Likewise.
13653         * string/test-strcat-ifunc.c: Likewise.
13654         * string/test-strchr-ifunc.c: Likewise.
13655         * string/test-strchrnul-ifunc.c: Likewise.
13656         * string/test-strcmp-ifunc.c: Likewise.
13657         * string/test-strcpy-ifunc.c: Likewise.
13658         * string/test-strcspn-ifunc.c: Likewise.
13659         * string/test-strlen-ifunc.c: Likewise.
13660         * string/test-strncasecmp-ifunc.c: Likewise.
13661         * string/test-strncat-ifunc.c: Likewise.
13662         * string/test-strncmp-ifunc.c: Likewise.
13663         * string/test-strncpy-ifunc.c: Likewise.
13664         * string/test-strnlen-ifunc.c: Likewise.
13665         * string/test-strpbrk-ifunc.c: Likewise.
13666         * string/test-strrchr-ifunc.c: Likewise.
13667         * string/test-strspn-ifunc.c: Likewise.
13668         * string/test-strstr-ifunc.c: Likewise.
13669
13670         * debug/Makefile (tests-ifunc): New variable.
13671         (tests): Add $(tests-ifunc).
13672         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13673         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13674         * debug/test-stpcpy_chk-ifunc.c: New file.
13675         * debug/test-strcpy_chk-ifunc.c: Likewise.
13676
13677 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13678
13679         [BZ #13601]
13680         * elf/dl-load.c (open_verify): Retry read if the entire ELF
13681         header is not read in.
13682
13683 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
13684
13685         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
13686         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
13687         directly.  Pass built executable to script as
13688         $(built-program-cmd).
13689         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
13690         $testprogram without using LD_LIBRARY_PATH and $ldso.
13691
13692         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13693         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13694         $(rtld-installed-name).
13695         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13696         (rtld_installed_name): Likewise.
13697         (library_path): Likewise.
13698         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
13699         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13700         $(run-program-prefix) to tst-tables.sh.
13701         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
13702         it to run tst-table-from and tst-table-to.
13703         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13704         Pass it to tst-table.sh.
13705         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13706         $(run-program-prefix) to tst-gettext.sh.
13707         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13708         tst-translit.sh.
13709         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13710         tst-gettext2.sh.
13711         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
13712         to run tst-gettext.
13713         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
13714         to run tst-gettext2.
13715         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
13716         to run tst-translit.
13717         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13718         $(run-program-prefix) to tst-mtrace.sh.
13719         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
13720         to run tst-mtrace.
13721         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13722         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13723         $(rtld-installed-name).
13724         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13725         (rtld_installed_name): Likewise.
13726         (run_program_prefix): New variable.  Use it to run wordexp-test.
13727
13728         * Makeconfig (ARCH): Remove all definitions.
13729         (machine): Likewise.
13730         [ARCH]: Remove conditional code.
13731         [!objdir]: Give error.
13732         [!objdir] (objpfx): Remove.
13733         [!objdir] (common-objpfx): Likewise.
13734         [!objdir] (common-objdir): Likewise.
13735         * configure.in (config_makefile): Remove.  Hardcode Makefile in
13736         AC_CONFIG_FILES call.
13737         * configure: Regenerated.
13738
13739         [BZ #13888]
13740         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13741         or TMPDIR.
13742         (testout): Likewise.
13743
13744         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13745         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13746         $(rtld-installed-name).
13747         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13748         (rtld_installed_name): Likwise.
13749         (runit): Remove function.
13750         (run_getconf): New variable,  Use it for running getconf binary.
13751
13752 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
13753
13754         [BZ #14716]
13755         * string/test-memmem.c (check_result): New function.
13756         (do_one_test): Use it.
13757         (check1): New function.
13758         (test_main): Use it.
13759
13760 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
13761
13762         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13763
13764 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
13765
13766         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13767         (_G_LSEEK64): Likewise.
13768         (_G_MMAP64): Likewise.
13769         (_G_FSTAT64): Likewise.
13770         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13771         (_G_LSEEK64): Likewise.
13772         (_G_MMAP64): Likewise.
13773         (_G_FSTAT64): Likewise.
13774         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13775         unconditional.  Call __mmap64 directly.
13776         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13777         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
13778         __lseek64 directly.
13779         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13780         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
13781         __mmap64 directly.
13782         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13783         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13784         __lseek64 directly.
13785         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13786         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13787         __lseek64 directly.
13788         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13789         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
13790         __lseek64 directly.
13791         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13792         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
13793         __fxstat64 directly.
13794         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13795         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13796         unconditional.
13797         (freopen64) [!_G_OPEN64]: Remove conditional code.
13798         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13799         unconditional.
13800         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13801         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13802         unconditional.
13803         (ftello64) [!_G_LSEEK64]: Remove conditional code.
13804         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13805         unconditional.
13806         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13807         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13808         unconditional.
13809         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13810         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13811         unconditional.
13812         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13813         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13814         unconditional.
13815         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13816         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13817         unconditional.
13818         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13819
13820 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13821
13822         [BZ #12140]
13823         * manual/memory.texi (Malloc Tunable Parameters): Add note
13824         about free list pointers overwriting some perturb bytes.
13825         Wording suggested by Roland McGrath.
13826
13827 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
13828
13829         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13830         (lgamma_test): Likewise.
13831         (tgamma_test): Likewise.
13832
13833 2012-10-16  Florian Weimer  <fweimer@redhat.com>
13834
13835         [BZ #14700]
13836         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13837         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13838
13839 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
13840
13841         * NEWS: Mention BZ #14716.
13842         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13843         when removing AVAILABLE1_USES_J macro.
13844
13845 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
13846
13847         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13848         (__bswap_64): __uint64_t for unsigned 64-bit int.
13849
13850 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
13851
13852         * include/string.h (memmem): Declare libc hidden alias.
13853         * string/memmem.c (memmem): Define libc hidden alias.
13854         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13855         __read, __close instead of open, read, close.
13856
13857 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
13858
13859         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13860         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13861         global and hidden.
13862         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13863         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13864         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13865         Likewise.
13866         (__rawmemchr_sse2): Likewise.
13867         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13868         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13869         (__strchr_sse2): Likewise.
13870         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13871         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13872         (__strcasecmp_sse2): Likewise.
13873         (__strncasecmp_sse2): Likewise.
13874         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13875         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13876         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13877         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13878         (__strrchr_sse2): Likewise.
13879         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13880         ifunc-impl-list.c.
13881         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13882         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13883         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13884         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13885         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13886         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13887         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13888         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13889         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13890         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13891         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13892         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13893         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13894         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13895         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13896         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13897         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13898         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13899         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13900         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13901         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13902         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13903         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13904         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13905         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13906         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13907         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13908         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13909         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13910         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13911
13912         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13913         global and hidden.
13914         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13915         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13916         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13917         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13918         Likewise.
13919         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13920         Likewise.
13921         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13922         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13923         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13924         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13925         ifunc-impl-list.c.
13926         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13927         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13928         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13929         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13930         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13931         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13932         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13933         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13934         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13935         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13936         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13937         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13938         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13939         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13940         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13941         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13942         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13943         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13944         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13945         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13946         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13947         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13948         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13949         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13950         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13951         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13952         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13953         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13954         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13955         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13956         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13957         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13958         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13959         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13960         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13961         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13962         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13963         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13964         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13965         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13966         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13967
13968         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13969         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13970         * include/ifunc-impl-list.h: New file.
13971         * misc/ifunc-impl-list.c: Likewise.
13972         * misc/Makefile (routines): Add ifunc-impl-list.
13973         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13974         * string/test-string.h: Include <ifunc-impl-list.h>.
13975         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13976         impl_array): New variables.
13977         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13978         are defined.
13979         (test_init): Call __libc_ifunc_impl_list to initialize
13980         func_list if TEST_IFUNC and TEST_NAME are defined.
13981
13982         * string/Makefile (strop-tests): Add bcopy and bzero.
13983         * string/test-bcopy.c: New file.
13984         * string/test-bzero.c: Likewise.
13985         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13986         defined.
13987         * string/test-memset.c: Support bzero test if TEST_BZERO is
13988         defined.
13989         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13990         __libc_memmove.
13991         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13992         __libc_memset.
13993         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13994         of memset.
13995
13996 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
13997
13998         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13999         * configure: Regenerated.
14000
14001         * Makeconfig (+link-static-before-libc): Don't include
14002         $(link-static-libc).
14003
14004         * libio/libio.h (_IO_pos_t): Remove.
14005
14006 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14007
14008         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
14009         McGrath.
14010
14011 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14012
14013         * crypt/crypt-entry.c: Include fips-private.h.
14014         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14015         * crypt/md5c-test.c (main): Tolerate disabled MD5.
14016         * sysdeps/unix/sysv/linux/fips-private.h: New file.
14017         * sysdeps/generic/fips-private.h: New file, dummy fallback.
14018
14019 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14020
14021         * crypt/crypt-private.h: Include stdbool.h.
14022         (_ufc_setup_salt_r): Return bool.
14023         * crypt/crypt-entry.c: Include errno.h.
14024         (__crypt_r): Return NULL with EINVAL for bad salt.
14025         * crypt/crypt_util.c (bad_for_salt): New.
14026         (_ufc_setup_salt_r): Check that salt is long enough and within
14027         the specified alphabet.
14028         * crypt/badsalttest.c: New file.
14029         * crypt/Makefile (tests): Add it.
14030         ($(objpfx)badsalttest): New.
14031
14032 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
14033
14034         * NEWS: Add entry for BZ #14602.
14035
14036 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14037
14038         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14039         type-generic.
14040         * math/libm-test.inc: Update comment listing what functions and
14041         macros are tested.
14042         (isgreater_test): New function.
14043         (isgreaterequal_test): Likewise.
14044         (isless_test): Likewise.
14045         (islessequal_test): Likewise.
14046         (islessgreater_test): Likewise.
14047         (isunordered_test): Likewise.
14048         (main): Call the new functions.
14049
14050 2012-10-09  Roland McGrath  <roland@hack.frob.com>
14051
14052         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14053         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14054         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14055         * sysdeps/i386/configure: Regenerated.
14056         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14057         * sysdeps/mach/configure: Regenerated.
14058         * sysdeps/mach/hurd/configure: Regenerated.
14059         * sysdeps/powerpc/configure: Regenerated.
14060         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14061         * sysdeps/powerpc/powerpc64/configure: Regenerated.
14062         * sysdeps/s390/s390-32/configure: Regenerated.
14063         * sysdeps/s390/s390-64/configure: Regenerated.
14064         * sysdeps/sh/configure: Regenerated.
14065         * sysdeps/sparc/configure: Regenerated.
14066         * sysdeps/unix/sysv/linux/configure: Regenerated.
14067         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14068         * sysdeps/x86_64/configure: Regenerated.
14069
14070         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14071         defined.  Don't check if MAP is NULL.
14072
14073 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14074
14075         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14076         (_G_stat64): Likewise.
14077         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14078         (_G_stat64): Likewise.
14079         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14080         instead of struct _G_stat64.
14081         * libio/fileops.c (mmap_remap_check): Likewise.
14082         (decide_maybe_mmap): Likewise.
14083         (_IO_new_file_seekoff): Likewise.
14084         (_IO_file_stat): Likewise.
14085         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14086         _G_off64_t.
14087         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14088         instead of struct _G_stat64.
14089         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14090
14091 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
14092
14093         [BZ #14602]
14094         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14095         Replace with ...
14096         (CHECK_EOL): New macro.
14097         (two_way_short_needle): Check beginning of haystack for EOL.  Use
14098         CHECK_EOL.
14099         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14100         Replace with CHECK_EOL.
14101         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14102         Replace with CHECK_EOL.
14103
14104 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
14105
14106         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14107         type-generic.
14108         * math/libm-test.inc: Update comment listing what functions and
14109         macros are tested.
14110         (finite_test): New function.
14111         (isinf_test): Likewise.
14112         (isnan_test): Likewise.
14113         (fpclassify_test): Test subnormal input.
14114         (isfinite_test): Likewise.
14115         (isnormal_test): Likewise.
14116         (main): Call the new functions.
14117
14118 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
14119
14120         [BZ #14660]
14121         * Makerules (%.dynsym): Force C locale when running
14122         $(OBJDUMP) --dynamic-syms.
14123
14124 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
14125
14126         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14127         <stdint.h>.
14128
14129 2012-10-06  David S. Miller  <davem@davemloft.net>
14130
14131         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14132         upper 32-bits of the length value in %o2 since we use branch-on-register
14133         tests which consider the entire 64-bit register.
14134
14135 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
14136
14137         * string/test-strstr.c (check2): Add a test for page boundary.
14138
14139 2012-10-05  David S. Miller  <davem@davemloft.net>
14140
14141         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14142         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14143         file.
14144         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14145         sysdep_routines.
14146         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14147         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14148         and bzero when HWCAP_SPARC_CRYPTO is present.
14149
14150 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
14151
14152         [BZ #14602]
14153         * string/test-strstr.c (check2): New function.
14154         (test_main): Call check2.
14155
14156         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14157         and bug-strchr1.
14158         * string/bug-strcasestr1.c (do_test): Moved to ...
14159         * string/test-strcasestr.c (check1): Here.  New function.
14160         (do_one_test): Break out result checking code into ...
14161         (check_result): This.  New function.
14162         (do_one_test): Call check_result.
14163         (test_main): Call check1.
14164         * string/bug-strchr1.c (do_test): Moved to ...
14165         * string/test-strchr.c (check1): Here.  New function.
14166         (do_one_test): Break out result checking code into ...
14167         (check_result): This.  New function.
14168         (do_one_test): Call check_result.
14169         (test_main): Call check1.
14170         * string/bug-strstr1.c (main): Moved to ...
14171         * string/test-strstr.c (check1): Here.  New function.
14172         (do_one_test): Break out result checking code into ...
14173         (check_result): This.  New function.
14174         (do_one_test): Call check_result.
14175         (test_main): Call check1.
14176         * string/bug-strcasestr1.c: Removed.
14177         * string/bug-strchr1.c: Likewise.
14178         * string/bug-strstr1.c: Likewise.
14179
14180         * elf/Makefile (dl-routines): Add hwcaps.
14181         * elf/dl-support.c (_dl_important_hwcaps): Removed.
14182         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14183         (_dl_important_hwcaps): Moved to ...
14184         * elf/dl-hwcaps.c: Here.  New file.
14185         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14186
14187         [BZ #14557]
14188         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14189         if IS_IN_rtld isn't defined.
14190
14191         * elf/dl-support.c (_dl_sysinfo_map): New.
14192         Include "get-dynamic-info.h" and "setup-vdso.h".
14193         (_dl_non_dynamic_init): Call setup_vdso.
14194         * elf/dynamic-link.h: Don't include <assert.h>.
14195         (elf_get_dynamic_info): Moved to ...
14196         * elf/get-dynamic-info.h: Here.  New file.
14197         * elf/dynamic-link.h: Include "get-dynamic-info.h".
14198         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14199         * elf/setup-vdso.h: Here.  New file.
14200         * elf/rtld.c: Include "setup-vdso.h".
14201         (dl_main): Call setup_vdso.
14202
14203 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
14204
14205         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14206         creal in comment listing functions tested.  List finite, isinf,
14207         isnan, isless, islessequal, isgreater, isgreaterequal,
14208         islessgreater, isunordered, lgamma_r and pow10 as functions and
14209         macros not tested.  Mention which functions not tested are aliases
14210         for other functions.  Fix typo.  Note that signs of NaNs are not
14211         tested.
14212
14213         * scripts/config.guess: Update from config.git.
14214         * scripts/config.sub: Likewise.
14215
14216 2012-10-04  Roland McGrath  <roland@hack.frob.com>
14217
14218         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14219         * misc/madvise.c (madvise): Renamed to __madvise.
14220         Make madvise a weak alias.
14221         * include/sys/mman.h: Declare __madvise.
14222         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14223         * sysdeps/unix/syscalls.list
14224         (madvise): Make __madvise the strong name, and madvise a weak alias.
14225         * sysdeps/unix/sysv/linux/syscalls.list
14226         (madvise, mmap): Remove redundant entries.
14227         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14228         * malloc/malloc.c (mtrim): Likewise.
14229         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14230
14231 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14232
14233         * sysdeps/mach/hurd/dl-cache.c: File removed.
14234         * config.h.in (USE_LDCONFIG): New #undef.
14235         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14236         * configure: Regenerated.
14237         * elf/Makefile (dl-routines): Add dl-cache only under
14238         [$(use-ldconfig) = yes].
14239         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14240         cache on [USE_LDCONFIG].
14241         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14242         [USE_LDCONFIG].
14243         * elf/rtld.c (dl_main): Likewise.
14244
14245 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
14246
14247         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14248         _SC_LEVEL4_CACHE_LINESIZE.
14249
14250 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14251
14252         * sysdeps/unix/bsd/confstr.h: File removed.
14253
14254 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
14255
14256         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14257         sys/sdt-config.h.
14258
14259 2012-10-02  Roland McGrath  <roland@hack.frob.com>
14260
14261         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14262         Make 'mapoff' field ElfW(Off) rather than off_t.
14263
14264 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
14265
14266         * nscd/Makefile: Remove nscd-cflags and all its users.
14267         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14268         (CFLAGS-nonlib): Add compiler flags for nscd modules.
14269
14270         [BZ #10631]
14271         * malloc.c (malloc_printerr): Clarify error message.
14272
14273 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
14274
14275         [BZ #14648]
14276         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14277         Set bit_FMA_Usable if FMA is supported.
14278         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14279         macro.
14280         (bit_FMA4_Usable): Updated.
14281         (index_FMA_Usable): New macro.
14282         (CPUID_FMA): Likewise
14283         (HAS_FMA): Defined with bit_FMA_Usable.
14284
14285 2012-10-01  Roland McGrath  <roland@hack.frob.com>
14286
14287         * bits/types.h (__swblk_t): Type removed.
14288         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14289         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14290         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14291         (__SWBLK_T_TYPE): Likewise.
14292         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14293         (__SWBLK_T_TYPE): Likewise.
14294         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14295         (__SWBLK_T_TYPE): Likewise.
14296         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14297         (__SWBLK_T_TYPE): Likewise.
14298
14299 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
14300             Honza Horak <hhorak@redhat.com>
14301
14302         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14303         (xdr_mapname): Use YPMAXMAP as maxsize.
14304         (xdr_peername): Use YPMAXPEER as maxsize.
14305         (xdr_keydat): Use YPAXRECORD as maxsize.
14306         (xdr_valdat): Use YPMAXRECORD as maxsize.
14307
14308 2012-10-01  Roland McGrath  <roland@hack.frob.com>
14309
14310         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14311
14312         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14313         * csu/init-first.c: ... here.
14314         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14315         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14316         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14317         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14318         * sysdeps/i386/init-first.c: File removed.
14319         * sysdeps/sh/init-first.c: File removed.
14320
14321 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
14322
14323         [BZ #14645]
14324         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14325         if x * y might underflow to zero and z is zero.
14326         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14327         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14328         * math/libm-test.inc (min_subnorm_value): New variable.
14329         (fma_test): Add more tests.
14330         (fma_test_towardzero): Likewise.
14331         (fma_test_downward): Likewise
14332         (fma_test_upward): Likewise.
14333         (initialize): Set min_subnorm_value.
14334
14335 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
14336
14337         [BZ #14638]
14338         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14339         0 + 0.
14340         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14341         mode for addition resulting in exact zero.
14342         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14343         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14344         exact 0 + 0.
14345         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14346         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14347         * math/libm-test.inc (fma_test): Add more tests.
14348         (fma_test_towardzero): New function.
14349         (fma_test_downward): Likewise.
14350         (fma_test_upward): Likewise.
14351         (main): Call the new functions.
14352
14353 2012-09-28  David S. Miller  <davem@davemloft.net>
14354
14355         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14356
14357 2012-09-28  Roland McGrath  <roland@hack.frob.com>
14358
14359         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14360         instead of SIGALRM.
14361
14362         * sysdeps/gnu/_G_config.h: Moved to ...
14363         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14364         * sysdeps/mach/hurd/_G_config.h: Moved to ...
14365         * sysdeps/generic/_G_config.h: ... here.
14366
14367         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
14368
14369         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14370
14371         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14372         Conditionalize target on [libnss_test1.so-version].
14373
14374         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14375
14376         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14377         (elfobjdir): Move out of conditionals.
14378
14379         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14380         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14381         (__nss_lookup_function): Conditionalize label remove_from_tree on
14382         [!DO_STATIC_NSS || SHARED], matching its only use.
14383
14384 2012-09-28  David S. Miller  <davem@davemloft.net>
14385
14386         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14387         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14388         file.
14389         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14390         sysdep_routines.
14391         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14392         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14393         when HWCAP_SPARC_CRYPTO is present.
14394
14395 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14396
14397         * io/tst-mknodat.c: Create a FIFO instead of a socket.
14398
14399 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
14400
14401         [BZ #6530]
14402         * stdio-common/vfprintf.c (process_string_arg): Revert
14403         2000-07-22 change.
14404
14405 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
14406
14407         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14408         for testcase.
14409         * stdio-common/tst-sprintf.c: Include <locale.h>
14410         (main): Test sprintf's handling of incomplete multibyte
14411         characters.
14412
14413 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
14414
14415         * elf/dl-runtime.c (VERSYMIDX): Removed.
14416         * elf/dl-version.c (VERSYMIDX): Likewise.
14417         * elf/do-rel.h (VERSYMIDX): Likewise.
14418         (VALIDX): Likewise.
14419         * elf/dynamic-link.h (VERSYMIDX): Likewise.
14420         * elf/rtld.c (VALIDX): Likewise.
14421         (ADDRIDX): Likewise.
14422         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14423         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14424         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14425         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14426         (VALIDX): Likewise.
14427         (ADDRIDX): Likewise.
14428
14429 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14430
14431         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14432
14433 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
14434
14435         [BZ #11438]
14436         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14437         to global scope.
14438         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14439         addresses are in the same scope as 192.0.2/24.
14440         * posix/gai.conf: Document new scope table defaults.
14441
14442 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14443
14444         [BZ #5298]
14445         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14446         for ftell.  Compute offsets from write pointers instead.
14447         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14448
14449 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14450
14451         [BZ #14543]
14452         * libio/Makefile (tests): New test case tst-fseek.
14453         * libio/tst-fseek.c: New test case to verify that fseek/ftell
14454         combination works in wide mode.
14455         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14456         state when the external buffer state changes.
14457
14458 2012-09-27  David S. Miller  <davem@davemloft.net>
14459
14460         [BZ #14376]
14461         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14462         pass reloc->r_addend in as the 'high' argument to
14463         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14464
14465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14466
14467 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14468
14469         * rt/tst-aio2.c: Include <pthread.h>.
14470         * rt/tst-aio3.c: Likewise.
14471
14472 2012-09-27  Steve Ellcey  <sellcey@mips.com>
14473
14474         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14475
14476 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
14477
14478         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14479         contents on [SHARED].
14480
14481 2012-09-26  Marek Polacek  <polacek@redhat.com>
14482
14483         [BZ #14530]
14484         [BZ #13741]
14485         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14486         for C++ and GCC <4.3 as well as for non GCC compilers.
14487
14488 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
14489
14490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14491
14492 2012-09-25  Roland McGrath  <roland@hack.frob.com>
14493
14494         * Makefile.in (all, install): Declare with .PHONY.
14495         Reported by Michael Hope <michael.hope@linaro.org>.
14496
14497 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14498
14499         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14500         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14501         system header.
14502         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14503         Likewise.
14504         (sydep_routines): Add the new and the internal functions.
14505         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14506         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14508         (GLIBC_2.17): Add the new function.
14509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14510         (GLIBC_2.17): Likewise.
14511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14512         (GLIBC_2.17): Likewise.
14513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14514         (GLIBC_2.17): Likewise.
14515         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14516
14517 2012-09-25  Alan Modra  <amodra@gmail.com>
14518
14519         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14520         Add release barrier before setting once_control to say
14521         initialisation is done.  Add hints on lwarx.  Use macro in
14522         place of isync.
14523         (clear_once_control): Add release barrier.
14524
14525 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
14526
14527         [BZ #13629]
14528         * math/s_clog.c (__clog): Handle more values close to |z| = 1
14529         specially.
14530         * math/s_clog10.c (__clog10): Likewise.
14531         * math/s_clog10f.c (__clog10f): Likewise.
14532         * math/s_clog10l.c (__clog10l): Likewise.
14533         * math/s_clogf.c (__clogf): Likewise.
14534         * math/s_clogl.c (__clogl): Likewise.
14535         * math/Makefile (libm-calls): Add x2y2m1.
14536         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14537         (__x2y2m1): Likewise.
14538         (__x2y2m1l): Likewise.
14539         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14540         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14541         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14542         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14543         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14544         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14545         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14546         * sysdeps/i386/fpu/libm-test-ulps: Update.
14547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14548
14549         [BZ #14621]
14550         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14551         int as type of variable DEPTH.
14552         (glob): Use size_t instead of int as type of variables NEWCOUNT
14553         and OLD_PATHC.
14554
14555 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14556
14557         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14558         Add s_sincosf-sse2.
14559         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14560         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14561         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14562         macros for using routine as __sincosf_ia32.
14563         Use macro for function declaration and weak_alias.
14564         * sysdeps/i386/fpu/libm-test-ulps: Update.
14565
14566         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14567         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14568
14569         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14570         subnormal argument.
14571         * math/s_cexpf.c (__cexpf): Likewise.
14572         * math/s_csinf.c (__csinf): Likewise.
14573         * math/s_csinhf.c (__csinhf): Likewise.
14574         * math/s_ctanf.c (__ctanf): Likewise.
14575         * math/s_ctanhf.c (__ctanhf): Likewise.
14576         * math/s_ccosh.c (__ccoshf): Likewise.
14577         * math/s_cexp.c (__cexpl): Likewise.
14578         * math/s_csin.c (__csin): Likewise.
14579         * math/s_csinh.c (__csinh): Likewise.
14580         * math/s_ctan.c (__ctan): Likewise.
14581         * math/s_ctanh.c (ctanh): Likewise.
14582         * math/s_ccoshl.c (__ccoshl): Likewise.
14583         * math/s_cexpl.c (__cexpl): Likewise.
14584         * math/s_csinl.c (__csinl): Likewise.
14585         * math/s_csinhl.c (__csinhl): Likewise.
14586         * math/s_ctanl.c (__ctanl): Likewise.
14587         * math/s_ctanhl.c (__ctanhl): Likewise.
14588
14589 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
14590
14591         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14592         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14593         (_IO_off_t): Define to __off_t, not _G_off_t.
14594         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14595         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14596         (_IO_wint_t): Define to wint_t, not _G_wint_t.
14597         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14598         type of __dummy and __dummy2 fields.
14599         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14600         (_G_ssize_t): Likewise.
14601         (_G_off_t): Likewise.
14602         (_G_pid_t): Likewise.
14603         (_G_uid_t): Likewise.
14604         (_G_wchar_t): Likewise.
14605         (_G_wint_t): Likewise.
14606         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14607         (_G_ssize_t): Likewise.
14608         (_G_off_t): Likewise.
14609         (_G_pid_t): Likewise.
14610         (_G_uid_t): Likewise.
14611         (_G_wchar_t): Likewise.
14612         (_G_wint_t): Likewise.
14613         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14614         (_G_ssize_t): Likewise.
14615         (_G_off_t): Likewise.
14616         (_G_pid_t): Likewise.
14617         (_G_uid_t): Likewise.
14618         (_G_wchar_t): Likewise.
14619         (_G_wint_t): Likewise.
14620
14621 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14622
14623         * malloc/arena.c: Include malloc-sysdep.h.
14624         (shrink_heap): Use check_may_shrink_heap to decide if madvise
14625         is sufficient to shrink the heap or an unmap is needed.
14626         * sysdeps/generic/malloc-sysdep.h: New file.  Define
14627         new function check_may_shrink_heap.
14628         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
14629         new function check_may_shrink_heap.
14630
14631 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14632
14633         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14634         comments.
14635
14636 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
14637
14638         * catgets/test-gencat.sh: Add "set -e".
14639         * elf/tst-pathopt.sh: Likewise.
14640         * grp/tst_fgetgrent.sh: Likewise.
14641         * iconvdata/run-iconv-test.sh: Likewise.
14642         * intl/tst-gettext.sh: Likewise.
14643         * intl/tst-gettext2.sh: Likewise.
14644         * intl/tst-gettext4.sh: Likewise.
14645         * intl/tst-gettext6.sh: Likewise.
14646         * intl/tst-translit.sh: Likewise.
14647         * io/ftwtest-sh: Likewise.
14648         * libio/test-freopen.sh: Likewise.
14649         * malloc/tst-mtrace.sh: Likewise.
14650         * posix/globtest.sh: Likewise.
14651         * posix/tst-getconf.sh: Likewise.
14652         * posix/wordexp-tst.sh: Likewise.
14653         * stdio-common/tst-printf.sh: Likewise.
14654         * stdio-common/tst-unbputc.sh: Likewise.
14655         * stdlib/tst-fmtmsg.sh: Likewise.
14656         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14657         * catgets/Makefile: Do not specify -e option when running
14658         testsuite shell scripts.
14659         * elf/Makefile: Likewise.
14660         * grp/Makefile: Likewise.
14661         * iconvdata/Makefile: Likewise.
14662         * intl/Makefile: Likewise.
14663         * io/Makefile: Likewise.
14664         * libio/Makefile: Likewise.
14665         * malloc/Makefile: Likewise.
14666         * posix/Makefile: Likewise.
14667         * stdio-common/Makefile: Likewise.
14668         * stdlib/Makefile: Likewise.
14669         * sysdeps/x86_64/Makefile: Likewise.
14670
14671         * io/ftwtest-sh: Add copyright header.
14672         * posix/globtest.sh: Likewise.
14673         * posix/tst-getconf.sh: Likewise.
14674         * posix/wordexp-tst.sh: Likewise.
14675         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14676
14677 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
14678
14679         [BZ #13679]
14680         * Makeconfig (+link): Defined as $(+link-static) if
14681         $(build-shared) isn't yes.
14682         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14683         isn't yes.
14684         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14685
14686         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14687
14688         [BZ #14562]
14689         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14690         new chunk size with MALLOC_ALIGN_MASK.
14691
14692 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
14693
14694         [BZ #5044]
14695         * stdio-common/printf_fphex.c: Include <stdbool.h> and
14696         <rounding-mode.h>.
14697         (__printf_fphex): Determine rounding using get_rounding_mode and
14698         round_away.
14699         * stdio-common/tst-printf-round.c (struct hex_test): New
14700         structure.
14701         (hex_tests): New variable.
14702         (test_hex_in_one_mode): New function.
14703         (do_test): Also run tests for hex float output.
14704
14705 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
14706
14707         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14708         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14709         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14710         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14711         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14712         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14713         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14714         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14715
14716 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
14717
14718         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14719         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14720         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14721         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14722
14723 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
14724
14725         [BZ #14579]
14726         * elf/rtld.c (dl_main): Limit the check for self loading to normal
14727         mode only.
14728         * elf/tst-rtld-load-self.sh: New test.
14729         * elf/Makefile: Run it.
14730
14731 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
14732
14733         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14734         (tst-writev-ENV): Remove.
14735         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14736
14737 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
14738
14739         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14740
14741 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
14742
14743         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14744         unconditional.
14745         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14746         Likewise.
14747         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14748         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14749         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14750         Likewise.
14751
14752 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
14753
14754         [BZ #14587]
14755         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14756         * config.make.in (have-cpp-asm-debuginfo): Removed.
14757         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14758         * configure: Regenerated.
14759
14760 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
14761
14762         [BZ #5044]
14763         * stdio-common/printf_fp.c: Include <stdbool.h> and
14764         <rounding-mode.h>.
14765         (___printf_fp): Determine rounding using get_rounding_mode and
14766         round_away.
14767         * stdio-common/tst-printf-round.c: New file.
14768         * stdio-common/Makefile (tests): Add tst-printf-round.
14769         (link-libm): New variable.
14770         ($(objpfx)tst-printf-round): Depend in $(link-libm).
14771
14772 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
14773
14774         [BZ #14576]
14775         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14776         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14777         Likewise.
14778         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14779         Likewise.
14780
14781 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
14782
14783         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14784         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14785         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14786         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14787
14788 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
14789
14790         [BZ #14518]
14791         * include/rounding-mode.h: New file.
14792         * sysdeps/generic/get-rounding-mode.h: Likewise.
14793         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14794         * stdlib/strtod_l.c: Include <rounding-mode.h>.
14795         (MAX_VALUE): New macro.
14796         (MIN_VALUE): Likewise.
14797         (overflow_value): New function.
14798         (underflow_value): Likewise.
14799         (round_and_return): Use overflow_value and underflow_value to
14800         determine return values in overflow and underflow cases.  Use
14801         round_away to determine rounding depending on rounding mode.
14802         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14803         determine return values in overflow and underflow cases.
14804         * stdlib/tst-strtod-round.c: Include <fenv.h>.
14805         (struct test_results): New structure.
14806         (struct test): Use struct test_results to store expected results
14807         for all rounding modes.
14808         (TEST): Include expected results for all rounding modes.
14809         (test_in_one_mode): New function.
14810         (do_test): Use test_in_one_mode to compute and check results.
14811         Check results for all rounding modes.
14812         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14813         $(link-libm).
14814
14815 2012-12-09  Allan McRae  <allan@archlinux.org>
14816
14817         * sysdeps/i386/fpu/libm-test-ulps: Update
14818
14819 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
14820
14821         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14822         (_G_int32_t): Likewise.
14823         (_G_uint16_t): Likewise.
14824         (_G_uint32_t): Likewise.
14825         (_G_HAVE_BOOL): Likewise.
14826         (_G_HAVE_ATEXIT): Likewise.
14827         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14828         (_G_HAVE_IO_FILE_OPEN): Likewise.
14829         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14830         (_G_int32_t): Likewise.
14831         (_G_uint16_t): Likewise.
14832         (_G_uint32_t): Likewise.
14833         (_G_HAVE_BOOL): Likewise.
14834         (_G_HAVE_ATEXIT): Likewise.
14835         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14836         (_G_HAVE_IO_FILE_OPEN): Likewise.
14837         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14838         (_G_int32_t): Likewise.
14839         (_G_uint16_t): Likewise.
14840         (_G_uint32_t): Likewise.
14841         (_G_HAVE_BOOL): Likewise.
14842         (_G_HAVE_ATEXIT): Likewise.
14843         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14844         (_G_HAVE_IO_FILE_OPEN): Likewise.
14845
14846 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
14847
14848         * csu/libc-tls.c: Update copyright years.
14849
14850 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
14851
14852         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14853         [!_G_USING_THUNKS]: Remove conditional code.
14854         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14855         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14856
14857         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14858         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14859         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14860         (_G_VTABLE_LABEL_PREFIX): Likewise.
14861         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14862         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14863         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14864         (_G_VTABLE_LABEL_PREFIX): Likewise.
14865         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14866         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14867         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14868         (_G_VTABLE_LABEL_PREFIX): Likewise.
14869         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14870
14871 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
14872
14873         * libio/Makefile: Include ../Makeconfig before tests.
14874         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14875         only if $(build-shared) is yes.
14876
14877         * iconv/gconv_db.c: Update copyright years.
14878
14879 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14880
14881         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14882         unwind info if defined PIC. Fix special cases description.
14883         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14884
14885         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14886         DP_HI_MASK entry.
14887         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14888
14889 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
14890
14891         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14892
14893         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14894         is NULL.
14895
14896         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14897         (LDLIBS-tst-chk4): This.
14898         (LDFLAGS-tst-chk5): Renamed to ...
14899         (LDLIBS-tst-chk5): This.
14900         (LDFLAGS-tst-chk6): Renamed to ...
14901         (LDLIBS-tst-chk6): This.
14902         (LDFLAGS-tst-lfschk4): Renamed to ...
14903         (LDLIBS-tst-lfschk4): This.
14904         (LDFLAGS-tst-lfschk5): Renamed to ...
14905         (LDLIBS-tst-lfschk5): This.
14906         (LDFLAGS-tst-lfschk6): Renamed to ...
14907         (LDLIBS-tst-lfschk6): This.
14908
14909         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14910         on $(common-objpfx)soversions.mk.
14911
14912 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
14913
14914         [BZ #10014]
14915         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14916         example host name.
14917
14918 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14919
14920         * malloc/arena.c (arena_get_retry): New function that gets
14921         another arena for the caller to try its request on.
14922         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14923         current arena cannot fulfill the request.
14924         (__libc_memalign): Likewise.
14925         (__libc_memalign): Likewise.
14926         (__libc_pvalloc): Likewise.
14927         (__libc_calloc): Likewise.
14928
14929 2012-09-05  John Tobey  <john.tobey@gmail.com>
14930
14931         [BZ #13542]
14932         * manual/arith.texi (Operations on Complex): Fix description
14933         of carg branch cut.
14934
14935 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14936
14937         [BZ #10014]
14938         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14939         host name.
14940
14941         [BZ #10038]
14942         * manual/memory.texi (Memory): Make order of menu items match
14943         order of sections.
14944
14945 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14946
14947         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14948         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
14949         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14950
14951 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14952
14953         * csu/libc-tls.c (static_dtv): Renamed to ...
14954         (_dl_static_dtv): This.  Make it global.
14955         (_dl_initial_dtv): Removed.
14956         (__libc_setup_tls): Updated.
14957         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14958         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14959         DL_INITIAL_DTV.
14960
14961 2012-09-06  Petr Machata  <pmachata@redhat.com>
14962
14963         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14964         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14965         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14966         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14967
14968 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14969
14970         [BZ #14545]
14971         * csu/libc-tls.c (_dl_initial_dtv): New variable.
14972         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14973         freeing dtv[-1].
14974
14975 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14976
14977         [BZ #14544]
14978         * Makeconfig (link-static-before-libc): Replace $(+prector)
14979         with $(+prectorT).
14980         (link-static-after-libc): Replace $(+postctor) with
14981         $(+postctorT).
14982         (link-bounded): Replace $(+prector)/$(+postctor) with
14983         $(+prectorT)/$(+postctorT).
14984         (+prectorT): New macro.
14985         (+postctorT): Likewise.
14986
14987 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14988
14989         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14990         (round_str): Handle values above the maximum for IBM long double
14991         as inexact.
14992         * stdlib/tst-strtod-round.c (tests): Regenerated.
14993
14994 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14995
14996         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14997         assembler flag.
14998         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14999         zarch_nohighgprs around the zarch optimized routines.
15000         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15001         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15002         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15003         for zarch.
15004
15005 2012-09-05  David S. Miller  <davem@davemloft.net>
15006
15007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15008
15009         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15010         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15011         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15012         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15013         entries.
15014
15015 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15016
15017         * malloc/arena.c: Fold copyright years.
15018         * malloc/mcheck.c, malloc/memusage.c: Likewise.
15019
15020 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15021
15022         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15023
15024 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15025
15026         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
15027
15028 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15029
15030         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15031         change internal state upon failure.
15032
15033 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15034
15035         * malloc/mcheck.c (mcheck_check_all): Fix typo.
15036         * malloc/memusage.c (mmap): Likewise.
15037         (mmap64, mremap): Likewise.  Adjust name in comment.
15038
15039 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15040
15041         * libio/fileops.c: Fix typos in comments.
15042         * libio/oldfileops.c: Likewise.
15043         * libio/wfileops.c: Likewise.
15044
15045 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15046
15047         [BZ #1349]
15048         * malloc/Makefile (tests): Add tst-malloc-usable test case.
15049         (tst-malloc-usable-ENV): Set environment for test case.
15050         * malloc/hooks.c (malloc_check_get_size): New function to get
15051         requested size.
15052         * malloc/malloc.c (musable): Use malloc_check_get_size.
15053         * malloc/tst-malloc-usable.c: New test case.
15054
15055 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15056
15057         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15058
15059 2012-09-05  Allan McRae  <allan@archlinux.org>
15060
15061         [BZ #13966]
15062         * configure.in (CXX_SYSINCLUDES): Use compiler output to
15063         determine header location.
15064         * configure: Regenerated.
15065
15066 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15067
15068         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15069         float format.
15070         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15071         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15072         format.
15073         (test): Regenerate.
15074
15075 2012-09-04  David S. Miller  <davem@davemloft.net>
15076
15077         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15078         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15079         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15080
15081 2012-09-04  Florian Weimer  <fweimer@redhat.com>
15082
15083         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15084         failures.
15085
15086         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15087
15088 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
15089
15090         [BZ #9914]
15091         * libio/iogetdelim.c: Include <limits.h>.
15092         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15093         + len + 1 would overflow.
15094
15095 2012-09-03  Andreas Jaeger  <aj@suse.de>
15096
15097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15098         * sysdeps/i386/fpu/libm-test-ulps: Update.
15099
15100 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15101
15102         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15103         Add s_sinf-sse2, s_conf-sse2.
15104
15105         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15106         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15107         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15108         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15109
15110         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15111         for using routine as __sinf_ia32.
15112         Use macro for function declaration and weak_alias.
15113         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15114         for using routine as __cosf_ia32.
15115         Use macro for function declaration and weak_alias.
15116
15117         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15118         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15119
15120         * sysdeps/x86_64/fpu/s_sinf.S: New file.
15121         * sysdeps/x86_64/fpu/s_cosf.S: New file.
15122         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15123
15124         * math/libm-test.inc (cos_test): Add more test cases.
15125         (sin_test): Likewise.
15126         (sincos_test): Likewise.
15127
15128 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15129
15130         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15131         (IFUNC_RESOLVE): Make pointers to the specialized implementations
15132         hidden.
15133         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15134
15135 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
15136
15137         [BZ #14538]
15138         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15139         first element of the GOT.
15140         (elf_machine_load_address): Return the difference between
15141         the runtime address of _DYNAMIC and elf_machine_dynamic ().
15142
15143 2012-09-01  Allan McRae  <allan@archlinux.org>
15144
15145         [BZ #13412]
15146         * configure.in (AWK): Require gawk version 3.0 or later.
15147         * configure: Regenerated.
15148
15149 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
15150
15151         * sysdeps/unix/sysv/linux/kernel-features.h
15152         (__ASSUME_POSIX_CPU_TIMERS): Remove.
15153         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15154         [__NR_clock_getres]: Make code unconditional.
15155         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15156         (clock_getcpuclockid): Remove code left unreachable by removal of
15157         conditionals.
15158         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15159         code unconditional.
15160         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15161         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15162         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15163         Make code unconditional.
15164         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15165         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15166         * sysdeps/unix/sysv/linux/clock_settime.c
15167         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15168         conditional code.
15169         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15170         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15171
15172 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
15173
15174         [BZ #14476]
15175         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15176         scripts/test-installation.pl.
15177
15178         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15179         and $ld_so_version if it is set.
15180
15181 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15182
15183         [BZ #14516]
15184         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15185         failure if reading from procfs failed.
15186         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15187
15188 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15189
15190         * sysdeps/unix/sysv/linux/kernel-features.h
15191         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15192         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15193         Remove conditional code.
15194         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15195         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15196         Remove conditional code.
15197         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15198         * sysdeps/unix/sysv/linux/i386/fxstat.c
15199         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15200         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15201         * sysdeps/unix/sysv/linux/i386/fxstatat.c
15202         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15203         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15204         * sysdeps/unix/sysv/linux/i386/lxstat.c
15205         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15206         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15207         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15208         Remove conditional code.
15209         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15210         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15211         Remove conditional code.
15212         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15213         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15214         <kernel-features.h>.
15215         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15216         Remove.
15217         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15218         Remove conditional code.
15219         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15220         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15221         Remove conditional.
15222
15223 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
15224
15225         [BZ #5400]
15226         * NEWS: Add fixed bug number.
15227
15228 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15229
15230         [BZ #14519]
15231         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15232         underflowing exponent in case of negative sign.
15233         * stdlib/tst-strtod-round-data: Add more tests.
15234         * stdlib/tst-strtod-round.c (tests): Regenerated.
15235
15236         [BZ #3479]
15237         * stdlib/strtod_l.c (NDIG): Remove.
15238         (HEXNDIG): Likewise.
15239         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15240         smallest representable value.
15241         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15242         lie within an exact representation of 1/2 ulp of the result.
15243         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15244         unconditionally.
15245         (TENS_P9_IDX): Define unconditionally.
15246         (TENS_P9_SIZE): Likewise.
15247         (TENS_P10_IDX): Likewise.
15248         (TENS_P10_SIZE): Likewise.
15249         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15250         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15251         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15252         entries for 10^2^13 and 10^2^14.
15253         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15254         (TENS_P13_IDX): Define.
15255         (TENS_P13_SIZE): Likewise.
15256         (TENS_P14_IDX): Likewise.
15257         (TENS_P14_SIZE): Likewise.
15258         (_fpioconst_pow10): Change array size to
15259         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
15260         unconditional.
15261         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15262         1024]: Add entries for 10^2^13 and 10^2^14.
15263         [LAST_POW10 > _LAST_POW10]: Remove #error.
15264         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15265         (_fpioconst_pow10): Change array size to
15266         FPIOCONST_POW10_ARRAY_SIZE.
15267         * stdlib/gen-fpioconst.c: New file.
15268         * stdlib/gen-tst-strtod-round.c: Likewise.
15269         * stdlib/tst-strtod-round-data: Likewise.
15270         * stdlib/tst-strtod-round.c: Likewise.
15271         * stdlib/Makefile (tests): Add tst-strtod-round.
15272
15273         [BZ #14459]
15274         * stdlib/strtod_l.c: Include <stdint.h>.
15275         (NDEBUG): Do not define.
15276         (round_and_return): Change EXPONENT parameter to type intmax_t.
15277         Rearrange calculations to avoid internal overflow possibilities.
15278         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15279         Rearrange calculations to avoid internal overflow possibilities.
15280         Assert that number fits inside MPNSIZE limbs.
15281         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15282         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
15283         calculations and add assertions to avoid internal overflow
15284         possibilities.  Add casts to avoid signed/unsigned operations.
15285         * stdlib/tst-strtod-overflow.c: New file.
15286         * stdlib/Makefile (tests): Add tst-strtod-overflow.
15287
15288 2012-08-25  Marek Polacek  <polacek@redhat.com>
15289
15290         * time/time.h: Fix some typos in comments.
15291
15292 2012-08-23  Roland McGrath  <roland@hack.frob.com>
15293
15294         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15295         * posix/tst-rfc3484-2.c: Likewise.
15296         * posix/tst-rfc3484-3.c: Likewise.
15297
15298 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
15299
15300         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15301         (EF_ARM_ABI_FLOAT_HARD): Likewise.
15302
15303 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
15304
15305         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15306         #include of fxstatat64.c.
15307
15308 2012-08-22  Roland McGrath  <roland@hack.frob.com>
15309
15310         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15311         * shadow/getspent_r.c: Likewise.
15312         * shadow/getspnam.c: Likewise.
15313         * shadow/getspnam_r.c: Likewise.
15314         * gshadow/getsgent.c: Likewise.
15315         * gshadow/getsgent_r.c: Likewise.
15316         * gshadow/getsgnam.c: Likewise.
15317         * gshadow/getsgnam_r.c: Likewise.
15318         * inet/getnetbyad.c: Likewise.
15319         * inet/getnetbyad_r.c: Likewise.
15320         * inet/getnetbynm.c: Likewise.
15321         * inet/getnetbynm_r.c: Likewise.
15322         * inet/getnetent.c: Likewise.
15323         * inet/getnetent_r.c: Likewise.
15324         * inet/getproto.c: Likewise.
15325         * inet/getproto_r.c: Likewise.
15326         * inet/getprtent.c: Likewise.
15327         * inet/getprtent_r.c: Likewise.
15328         * inet/getprtname.c: Likewise.
15329         * inet/getprtname_r.c: Likewise.
15330         * inet/getrpcbyname.c: Likewise.
15331         * inet/getrpcbyname_r.c: Likewise.
15332         * inet/getrpcbynumber.c: Likewise.
15333         * inet/getrpcbynumber_r.c: Likewise.
15334         * inet/getrpcent.c: Likewise.
15335         * inet/getrpcent_r.c: Likewise.
15336         * inet/getaliasent.c: Likewise.
15337         * inet/getaliasent_r.c: Likewise.
15338         * inet/getaliasname.c: Likewise.
15339         * inet/getaliasname_r.c: Likewise.
15340         * nscd/getgrgid_r.c: Likewise.
15341         * nscd/getgrnam_r.c: Likewise.
15342         * nscd/gethstbyad_r.c: Likewise.
15343         * nscd/gethstbynm3_r.c: Likewise.
15344         * nscd/getpwnam_r.c: Likewise.
15345         * nscd/getpwuid_r.c: Likewise.
15346         * nscd/getsrvbynm_r.c: Likewise.
15347         * nscd/getsrvbypt_r.c: Likewise.
15348         * nscd/gai.c: Likewise.
15349
15350         * configure.in (build_nscd): New substituted variable, set
15351         by --disable-build-nscd and defaults to $use_nscd.
15352         * configure: Regenerated.
15353         * config.make.in (build-nscd): New substituted variable.
15354         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15355         Change conditional to require [$(build-nscd) = yes] as well.
15356         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15357
15358         [BZ# 13696]
15359         * configure.in (use_nscd): New substituted variable, set by
15360         --disable-nscd.  If enabled, define USE_NSCD.
15361         * configure: Regenerated.
15362         * config.h.in: Add USE_NSCD.
15363         * config.make.in (use-nscd): New substituted variable.
15364         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15365         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15366         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15367         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15368         (CFLAGS-getgrnam_r.c): Likewise.
15369         (CFLAGS-initgroups.c): Likewise.
15370         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15371         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15372         Variables removed.
15373         * inet/getnetgrent_r.c
15374         (nscd_setnetgrent): New function, broken out of ...
15375         (setnetgrent): ... here.  Call it.
15376         (innetgr): Conditionalize nscd bits on [USE_NSCD].
15377         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15378         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15379         * nscd/Makefile (routines, aux): Move definitions after include of
15380         Makeconfig.  Conditionalize on [$(use-nscd) != no].
15381         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15382         Conditionalize on [USE_NSCD].
15383         (is_nscd, nscd_init_cb): Likewise.
15384         (nss_load_library): Conditionalize init callback on [USE_NSCD].
15385         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15386         * nss/nss_db/db-init.c: Likewise.
15387         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15388         [USE_NSCD].
15389         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15390         (make_request): Use it.
15391         (cache_valid_p): New function.
15392         (__check_pf): Use it.
15393         * NEWS: Add item for --disable-nscd.
15394
15395 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
15396
15397         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15398         to support sed >= 4.2.1-20-ga9bf076.
15399         * configure: Regenerated.
15400
15401 2012-08-22  Roland McGrath  <roland@hack.frob.com>
15402
15403         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15404         Conditionalize whole body on [IREL].
15405
15406 2012-08-22  Jeff Law <law@redhat.com>
15407
15408         [BZ #14505]
15409         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15410         if the family is PF_UNSPEC.
15411
15412 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
15413
15414         * Makerules (lib-version): Rename from V.
15415         (install-lib-nosubdir): Change V to lib-version.
15416
15417 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
15418
15419         [BZ #14252]
15420         * powerpc32/power6/wcschr.c: New file.
15421         * powerpc32/power6/wcscpy.c: New file.
15422         * powerpc32/power6/wcsrchr.c: New file.
15423         * powerpc64/power6/wcschr.c: New file.
15424         * powerpc64/power6/wcscpy.c: New file.
15425         * powerpc64/power6/wcsrchr.c: New file.
15426
15427 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15428
15429         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15430         (two_way_short_needle): Use it.
15431         * string/strstr.c (AVAILABLE1_USES_J): Define.
15432         * string/strcasestr.c: Likewise.
15433
15434         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15435         array references.
15436         * string/strcasestr.c (TOLOWER): Make side-effect safe.
15437
15438         [BZ #11607]
15439         * NEWS: Add an entry.
15440         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15441         define their defaults.
15442         (two_way_short_needle): Detect end-of-string on-the-fly.
15443         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15444         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15445         * string/bug-strcasestr1.c: New test.
15446         * string/Makefile: Run it.
15447
15448 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15449
15450         [BZ #11607]
15451         * string/str-two-way.h (two_way_short_needle): Optimize matching of
15452         the first character.
15453
15454 2012-08-21  Roland McGrath  <roland@hack.frob.com>
15455
15456         * csu/elf-init.c (__libc_csu_irel): Function removed.
15457         * csu/libc-start.c (apply_irel): New function.
15458         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15459
15460 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
15461
15462         * sysdeps/unix/sysv/linux/kernel-features.h
15463         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15464         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15465         <kernel-features.h>.
15466         [__NR_fadvise64_64]: Make code unconditional.
15467         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15468         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15469         !__NR_fadvise64_64)]: Likewise.
15470         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15471         !__NR_fadvise64_64))]: Likewise.
15472         [__NR_fadvise64]: Make code unconditional.
15473         [!__NR_fadvise64]: Remove conditional code.
15474         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15475         <kernel-features.h>.
15476         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15477         unconditional.
15478         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15479         conditional code.
15480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15481         not include <kernel-features.h>.
15482         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15483         unconditional.
15484         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15485         conditional code.
15486         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15487         include <kernel-features.h>.
15488         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15489         unconditional.
15490         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15491         conditional code.
15492
15493 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
15494
15495         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15496         slight instruction rearrangements per scrollpipe analysis.
15497         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15498
15499 2012-08-20  Roland McGrath  <roland@hack.frob.com>
15500
15501         * manual/syslog.texi (syslog; vsyslog, closelog):
15502         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15503         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15504
15505         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15506         DSOCAPS to match condition on defining it.
15507
15508 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
15509
15510         * sysdeps/unix/sysv/linux/kernel-features.h
15511         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15513         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15514         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15516         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15517         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15519         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15520         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15521
15522         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15523         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15524
15525         * sysdeps/unix/sysv/linux/kernel-features.h
15526         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15527         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15528         unconditional.
15529         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15530         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15531         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15532         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15533         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15534         Make code unconditional.
15535         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15536         (__mmap64) [!__NR_mmap2]: Likewise.
15537         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15538         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15539         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15540         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15541         [__NR_mmap2]: Make code unconditional.
15542         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15543         (__mmap64) [!__NR_mmap2]: Likewise.
15544
15545 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15546
15547         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15548
15549 2012-08-18  Andreas Jaeger  <aj@suse.de>
15550
15551         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15552
15553 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
15554
15555         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15556         * include/unistd.h (__have_sock_cloexec): Likewise.
15557         (__have_pipe2): Likewise.
15558         (__have_dup3): Likewise.
15559
15560 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
15561
15562         [BZ #9685]
15563         * include/unistd.h (__have_pipe2): Change define into an extern int.
15564         (__have_dup3): Likewise.
15565         * socket/have_sock_cloexec.c: Include fcntl.h.
15566         (__have_pipe2): New variable.
15567         (__have_dup3): Likewise.
15568
15569 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
15570
15571         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15572
15573 2012-08-17  Marek Polacek  <polacek@redhat.com>
15574
15575         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15576         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15577
15578 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15579
15580         * configure.in: Add AC_SUBST for sysheaders.
15581         * configure: Regenerated.
15582         * config.make.in (sysheaders): New substituted variable.
15583
15584         * sysdeps/unix/mkfifo.c: Moved ...
15585         * sysdeps/posix/mkfifo.c: ... here.
15586         * sysdeps/unix/mkfifoat.c: Moved ...
15587         * sysdeps/posix/mkfifoat.c: ... here.
15588
15589         * sysdeps/unix/utime.c: Moved ...
15590         * sysdeps/posix/utime.c: ... here.
15591
15592         * sysdeps/unix/time.c: Moved ...
15593         * sysdeps/posix/time.c: ... here.
15594         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15595         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15596
15597         * sysdeps/unix/nice.c: Moved ...
15598         * sysdeps/posix/nice.c: ... here.
15599
15600         * sysdeps/unix/alarm.c: Moved ...
15601         * sysdeps/posix/alarm.c: ... here.
15602
15603         * intl/Makefile ($(codeset_mo)): Depend on the input file.
15604
15605 2012-08-17  Jeff Law <law@redhat.com>
15606
15607         * intl/Makefile (codeset_mo): New variable.
15608         ($(codeset_mo)): New target.
15609         (tst-codeset.out): Depend on that.  Remove explicit rule.
15610         (tst-gettext3.out, tst-gettext5.out): Likewise.
15611         (LOCPATH-ENV, tst-codeset-ENV): New variables.
15612         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15613         * intl/tst-codeset.sh: Remove.
15614         * intl/tst-gettext3.sh: Likewise.
15615         * intl/tst-gettext5.sh: Likewise.
15616
15617 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15618
15619         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
15620         * sysdeps/unix/syscalls.list: ... here.
15621
15622         * sysdeps/posix/getaddrinfo.c
15623         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15624         (gaiconf_init, gaiconf_reload): Use them.
15625         [!_STATBUF_ST_NSEC]
15626         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15627         Define using time_t rather than struct timespec.
15628
15629         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15630         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15631         Macros removed.
15632         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15633         [!NO_THREADS].
15634         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15635         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15636         Likewise.
15637
15638         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15639         __libc_cleanup_push argument.
15640
15641         * bits/param.h: New file.
15642         * misc/sys/param.h: New file.
15643         * include/sys/param.h: New file.
15644         * misc/Makefile (headers): Add bits/param.h.
15645         * sysdeps/generic/sys/param.h: File removed.
15646         * sysdeps/unix/sysv/linux/bits/param.h: New file.
15647         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15648         * sysdeps/mach/hurd/bits/param.h: New file.
15649         * sysdeps/mach/hurd/sys/param.h: File removed.
15650
15651         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15652         last change.
15653
15654         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15655         [_IO_MTSAFE_IO].
15656         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15657         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15658         New macros.
15659
15660         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15661         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15662         rather than -D_IO_MTSAFE_IO conditionally.
15663         * stdio-common/Makefile (CPPFLAGS): Likewise.
15664         * wcsmbs/Makefile (CPPFLAGS): Likewise.
15665         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15666         Use $(libio-mtsafe).
15667         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15668         of -D_IO_MTSAFE_IO.
15669         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15670         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15671         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15672         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15673         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15674         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15675         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15676         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15677         (CFLAGS-fread_u_chk.c): Likewise.
15678         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15679         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15680         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15681         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15682         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15683         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15684         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15685         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15686         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15687
15688         * libio/Makefile: Test [$(libc-reentrant) = yes]
15689         instead of [$(filter %REENTRANT, $(defines)) nonempty].
15690
15691         * Makeconfig
15692         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15693         * sysdeps/pthread/configure: File removed.
15694         * sysdeps/pthread/Makeconfig: New file.
15695         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15696         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15697
15698 2012-08-16  Gary Benson  <gbenson@redhat.com>
15699
15700         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15701         unmapping the first object in a namespace.
15702
15703 2012-08-16  Roland McGrath  <roland@hack.frob.com>
15704
15705         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15706         (__internal_setnetgrent): ... this.  Add internal_function to
15707         definition.  Add libc_hidden_def.
15708         (setnetgrent): Update caller.
15709         (internal_endnetgrent): Renamed to ...
15710         (__internal_endnetgrent): ... this.  Add internal_function to
15711         definition.  Add libc_hidden_def.
15712         (endnetgrent): Update caller.
15713         (internal_getnetgrent_r): Renamed to ...
15714         (__internal_getnetgrent_r): ... this.  Add internal_function to
15715         definition.  Add libc_hidden_def.
15716         (__getnetgrent_r): Update caller.
15717         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
15718
15719 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
15720
15721         * stdlib/longlong.h: Update from GCC.
15722
15723 2012-08-16  Roland McGrath  <roland@hack.frob.com>
15724
15725         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15726         on _QL, which is set by umul_ppmm but never used.
15727         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15728         variables, which are set by GMP macros but never used.
15729         * stdio-common/_itowa.c (_itowa): Likewise.
15730         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15731         * stdlib/mod_1.c (mpn_mod_1): Likewise.
15732
15733 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
15734
15735         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15736         struct La_sh_regs is not constant.
15737         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15738         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15739         and struct La_sparc64_regs are not constant.
15740
15741 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
15742
15743         * sysdeps/unix/sysv/linux/kernel-features.h
15744         (__ASSUME_POSIX_TIMERS): Remove.
15745         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15746         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15747         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15748         Make code unconditional.
15749         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15750         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15751         Make code unconditional.
15752         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15753         * sysdeps/unix/sysv/linux/clock_nanosleep.c
15754         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15755         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15756         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15757         Make code unconditional.
15758         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15759         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15760         (__libc_missing_posix_timers): Remove.
15761
15762 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15763
15764         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15765         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15766
15767         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15768
15769         * elf/dl-sym.c: Include <stdlib.h>.
15770
15771         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15772         constants, which avoids warnings in 32-bit builds.
15773
15774         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15775         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15776
15777         * misc/lseek.c: File moved to ...
15778         * io/lseek.c: ... here.
15779
15780         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15781
15782         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15783         shifting LEN more than 31 bits at once.
15784
15785 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15786
15787         [BZ #14195]
15788         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15789         segmentation fault for a case of two empty input strings.
15790         * string/test-strncasecmp.c (check1): Renamed to...
15791         (bz12205): ...this.
15792         (bz14195): Add new testcase for two empty input strings and N > 0.
15793         (test_main): Call new testcase, adapt for renamed function.
15794
15795 2012-08-15  Andreas Jaeger  <aj@suse.de>
15796
15797         [BZ #14090]
15798         * crypt/md5test2.c: New test, based on test supplied by Serge
15799         Belyshev <belyshev@depni.sinp.msu.ru>.
15800         * crypt/Makefile (xtests): Add md5test-giant..
15801         * crypt/Makefile ($(objpfx)md5test-giant): Add.
15802
15803 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
15804
15805         [BZ #14090]
15806         * crypt/md5.c (md5_process_block): Don't assume the buffer
15807         length is less than 2**32.
15808         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15809         length is less than 2**64.
15810
15811 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15812
15813         * string/str-two-way.h: Include <sys/param.h>.
15814         (MAX): Macro removed.
15815
15816         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15817         Move #define and #undef of memmove to just before and after
15818         including <string.h>.
15819
15820         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15821         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15822         and after including <string.h>.  Move declarations of
15823         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15824         to before #include "string/memmove.c".
15825
15826         * include/dirent.h: Declare __getdirentries.
15827
15828         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15829         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15830
15831 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
15832
15833         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15834         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15835         * sysdeps/i386/configure: Regenerated.
15836         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15837         STABS_CURRENT_FILE, and STABS_FUN.
15838         (END): Remove call to STABS_FUN_END.
15839         (STABS_CURRENT_FILE1): Delete.
15840         (STABS_CURRENT_FILE): Likewise.
15841         (STABS_FUN): Likewise.
15842         (STABS_FUN_END): Likewise.
15843         (STABS_FUN2): Likewise.
15844         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15845         * sysdeps/x86_64/configure: Regenerated.
15846
15847 2012-08-14  Roland McGrath  <roland@hack.frob.com>
15848
15849         * elf/dl-open.c: Include <atomic.h>.
15850         * elf/dl-lookup.c: Likewise.
15851
15852 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
15853
15854         * sysdeps/unix/sysv/linux/kernel-features.h
15855         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15856         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15857         unconditionally.
15858         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15859         unconditionally.
15860         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15861         condition on __ASSUME_CLONE_THREAD_FLAGS.
15862
15863 2012-08-14  Andreas Jaeger  <aj@suse.de>
15864
15865         * sysdeps/i386/fpu/libm-test-ulps: Update.
15866
15867 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
15868
15869         * include/atomic.h (atomic_exchange_and_add): Split into ...
15870         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15871         New atomic macros.
15872
15873 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
15874
15875         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15876
15877 2012-08-13  Jeff Law <law@redhat.com>
15878
15879         * manual/stdio.texi (snprintf): Clarify handling of the trailing
15880         null byte in the output string.
15881
15882 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
15883
15884         * sysdeps/unix/sysv/linux/kernel-features.h
15885         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15886         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15887         (__ASSUME_ARG_MAX_STACK_BASED): Define.
15888         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15889         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15890         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
15891         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15892
15893 2012-08-09  Jeff Law <law@redhat.com>
15894
15895         [BZ #13939]
15896         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15897         When avoid_arena is set, don't retry in the that arena.  Pick the
15898         next one, whatever it might be.
15899         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15900         (arena_lock): Pass in new parameter to arena_get2.
15901         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15902         arena_get2.
15903         (__libc_malloc): Unify retrying after main arena failure with
15904         __libc_memalign version.
15905         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15906
15907 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15908
15909         [BZ #14166]
15910         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15911         to __redirect_strstr.
15912         (__strstr_sse42): Use typeof __redirect_strstr.
15913         (__strstr_ia32): Likewise.
15914         (__libc_strstr): New prototype.
15915         (strstr): Renamed to ...
15916         (__libc_strstr): This.
15917         (strstr): New strong alias of __libc_strstr.
15918         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15919         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15920         __redirect_time.
15921         Include <time.h>.
15922         (__libc_time): New prototype.
15923         (time_ifunc): Replace time with __libc_time.
15924         (time): New strong alias and hidden definition of __libc_time.
15925         (__GI_time): Remove strong alias.
15926         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15927         Include <stddef.h>.
15928         (memmove): Redefined to __redirect_memmove.
15929         (__memmove_sse2): Use typeof __redirect_memmove.
15930         (__memmove_ssse3): Likewise.
15931         (__memmove_ssse3_back): Likewise.
15932         (__libc_memmove): New prototype.
15933         (memmove): Renamed to ...
15934         (__libc_memmove): This.
15935         (memmove): New strong alias of __libc_memmove.
15936
15937 2012-08-08  Mark Salter  <msalter@redhat.com>
15938
15939         * elf/elf.h
15940         (R_MN10300_TLS_GD): Define.
15941         (R_MN10300_TLS_LD): Likewise.
15942         (R_MN10300_TLS_LDO): Likewise.
15943         (R_MN10300_TLS_GOTIE): Likewise.
15944         (R_MN10300_TLS_IE): Likewise.
15945         (R_MN10300_TLS_LE): Likewise.
15946         (R_MN10300_TLS_DTPMOD): Likewise.
15947         (R_MN10300_TLS_DTPOFF): Likewise.
15948         (R_MN10300_TLS_TPOFF): Likewise.
15949         (R_MN10300_SYM_DIFF): Likewise.
15950         (R_MN10300_ALIGN): Likewise.
15951         (R_MN10300_NUM): Update.
15952
15953 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
15954
15955         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15956         Remove.
15957
15958 2012-08-08  Roland McGrath  <roland@hack.frob.com>
15959
15960         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15961
15962         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15963         sysdeps/unix -> sysdeps/posix move.
15964         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15965
15966 2012-08-07      Allan McRae     <allan@archlinux.org>
15967
15968         [BZ #14303]
15969         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15970         (SUNOS_CPP): Likewise.
15971         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15972         not found.
15973         (open_input): Call CPP using execvp.
15974
15975 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15976
15977         * sysdeps/unix/sysv/linux/kernel-features.h
15978         (__ASSUME_PROT_GROWSUPDOWN): Remove.
15979         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15980         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15981         (__ASSUME_WAITID_SYSCALL): Likewise.
15982         * sysdeps/unix/sysv/linux/dl-execstack.c
15983         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15984         code unconditional.
15985         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15986         conditional code.
15987         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15988         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15989         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15990         code.
15991         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15992         unconditional.
15993         [__ASSUME_WAITID_SYSCALL]: Likewise.
15994         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15995
15996 2012-08-07  Roland McGrath  <roland@hack.frob.com>
15997
15998         * sysdeps/unix/closedir.c: Renamed to ...
15999         * sysdeps/posix/closedir.c: ... here.
16000         * sysdeps/unix/dirfd.c: Renamed to ...
16001         * sysdeps/posix/dirfd.c: ... here.
16002         * sysdeps/unix/dirstream.h: Renamed to ...
16003         * sysdeps/posix/dirstream.h: ... here.
16004         * sysdeps/unix/fdopendir.c: Renamed to ...
16005         * sysdeps/posix/fdopendir.c: ... here.
16006         * sysdeps/unix/opendir.c: Renamed to ...
16007         * sysdeps/posix/opendir.c: ... here.
16008         * sysdeps/unix/readdir.c: Renamed to ...
16009         * sysdeps/posix/readdir.c: ... here.
16010         * sysdeps/unix/readdir_r.c: Renamed to ...
16011         * sysdeps/posix/readdir_r.c: ... here.
16012         * sysdeps/unix/rewinddir.c: Renamed to ...
16013         * sysdeps/posix/rewinddir.c: ... here.
16014         * sysdeps/unix/seekdir.c: Renamed to ...
16015         * sysdeps/posix/seekdir.c: ... here.
16016         * sysdeps/unix/telldir.c: Renamed to ...
16017         * sysdeps/posix/telldir.c: ... here.
16018         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16019         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16020         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16021         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16022
16023         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16024         * bits/fcntl.h: ... here.
16025
16026         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16027         not 0.
16028         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16029         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16030         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16031         (struct flock): Move l_start, l_len to the beginning.
16032         Use __pid_t for l_pid.
16033         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16034         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16035         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16036         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16037         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16038         [__USE_LARGEFILE64] (struct flock64): New type.
16039         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16040
16041         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16042         * bits/dirent.h: ... here.
16043
16044         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16045         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16046
16047 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16048
16049         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16050         Change from 2.6.0 to 2.6.16.
16051         * sysdeps/unix/sysv/linux/configure: Regenerated.
16052         * sysdeps/unix/sysv/linux/kernel-features.h
16053         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16054         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16055         version.
16056         (__ASSUME_UTIMES): Likewise.
16057         (__ASSUME_CLONE_STOPPED): Remove.
16058         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16059         architectures, not kernel version.
16060         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16061         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16062         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16063         (__ASSUME_WAITID_SYSCALL): Likewise.
16064         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16065         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16066         * README: State 2.6.16 as minimum Linux kernel version.  Do not
16067         refer to older versions.
16068
16069 2012-08-06  Roland McGrath  <roland@hack.frob.com>
16070
16071         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16072         Define alphasort64 as an alias.
16073         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16074         Define versionsort64 as an alias.
16075         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16076         Define scandir64 as an alias.
16077         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16078         Define scandirat64 as an alias.
16079         * dirent/alphasort64.c (alphasort64):
16080         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16081         * dirent/versionsort64.c: Likewise.
16082         * dirent/scandir64.c: Likewise.
16083         * dirent/scandirat64.c: Likewise.
16084         * sysdeps/wordsize-64/alphasort.c: File removed.
16085         * sysdeps/wordsize-64/alphasort64.c: File removed.
16086         * sysdeps/wordsize-64/scandir.c: File removed.
16087         * sysdeps/wordsize-64/scandir64.c: File removed.
16088         * sysdeps/wordsize-64/scandirat.c: File removed.
16089         * sysdeps/wordsize-64/scandirat64.c: File removed.
16090         * sysdeps/wordsize-64/versionsort.c: File removed.
16091         * sysdeps/wordsize-64/versionsort64.c: File removed.
16092         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16093         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16094         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16095         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16096         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16097         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16098         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16099         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16100
16101         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16102         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16103         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16104         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16105         [defined __arch64__ || defined __sparcv9]
16106         (__INO_T_MATCHES_INO64_T): New macro.
16107         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16108         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16109         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16110         * sysdeps/unix/sysv/linux/bits/dirent.h
16111         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16112         (_DIRENT_MATCHES_DIRENT64): New macro.
16113
16114         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16115         Define lockf64 as an alias.
16116         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16117         Define fseeko64 as an alias.
16118         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16119         Define ftello64 as an alias.
16120         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16121         Define _IO_fgetpos64 and fgetpos64 as aliases.
16122         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16123         Define _IO_fsetpos64 and fsetpos64 as aliases.
16124         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16125         Conditionalize body on this.
16126         * libio/fseeko64.c: Likewise.
16127         * libio/ftello64.c: Likewise.
16128         * libio/iofgetpos64.c: Likewise.
16129         * libio/iofsetpos64.c: Likewise.
16130         * sysdeps/wordsize-64/lockf.c: File removed.
16131         * sysdeps/wordsize-64/lockf64.c: File removed.
16132         * sysdeps/wordsize-64/fseeko.c: File removed.
16133         * sysdeps/wordsize-64/fseeko64.c: File removed.
16134         * sysdeps/wordsize-64/ftello.c: File removed.
16135         * sysdeps/wordsize-64/ftello64.c: File removed.
16136         * sysdeps/wordsize-64/iofgetpos.c: File removed.
16137         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16138         * sysdeps/wordsize-64/iofsetpos.c: File removed.
16139         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16140         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16141         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16142         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16143         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16144         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16145         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16146         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16147         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16148         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16149         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16150
16151         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16152         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16153         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16154         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16155         [defined __arch64__ || defined __sparcv9]
16156         (__OFF_T_MATCHES_OFF64_T): New macro.
16157         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16158         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16159         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16160         (__OFF_T_MATCHES_OFF64_T): New macro.
16161
16162 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16163
16164         * stdlib/secure-getenv.c (__secure_getenv): Replace
16165         GLIBC_2_16 with GLIBC_2_17.
16166
16167 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16168
16169         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16170         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16171
16172 2012-08-03  David S. Miller  <davem@davemloft.net>
16173
16174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16175
16176 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16177
16178         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16179         Remove.
16180         (__ASSUME_CORRECT_SI_PID): Likewise.
16181         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16182         (__ASSUME_TMPFS_NAME): Likewise.
16183         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16184         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16185         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16186         (HAVE_AUX_SECURE): Make definition unconditional.
16187         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16188         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16189
16190 2012-08-03  Roland McGrath  <roland@hack.frob.com>
16191
16192         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16193         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16194         * sysdeps/mach/hurd/eloop-threshold.h: New file.
16195         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16196         __eloop_threshold instead of SYMLOOP_MAX.
16197
16198         * sysdeps/generic/eloop-threshold.h: New file.
16199         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16200         of MAXSYMLINKS.
16201         * elf/chroot_canon.c (chroot_canon): Likewise.
16202
16203 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16204
16205         [BZ #13717]
16206         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16207         Change to 2.6.0 everywhere.
16208         * sysdeps/unix/sysv/linux/configure: Regenerated.
16209         * sysdeps/unix/sysv/linux/kernel-features.h
16210         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16211         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16212         kernel versions.
16213         (__ASSUME_POSIX_TIMERS): Define unconditionally.
16214         (__ASSUME_FUTEX_REQUEUE): Remove.
16215         (__ASSUME_STATFS64): Define unconditionally.
16216         (__ASSUME_AT_SECURE): Likewise.
16217         (__ASSUME_CORRECT_SI_PID): Likewise.
16218         (__ASSUME_TGKILL): Define without depending on kernel version for
16219         i386.
16220         (__ASSUME_UTIMES): Likewise.
16221         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16222         kernel version.
16223         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16224         (__ASSUME_TMPFS_NAME): Likewise.
16225         * README: Update reference to Linux kernel versions.
16226
16227 2012-08-02  Marek Polacek  <polacek@redhat.com>
16228
16229         [BZ# 14150]
16230         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
16231         libc_cv_asm_type_prefix with %.
16232         * configure: Regenerated.
16233         * include/libc-symbols.h: Remove comment about
16234         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16235         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16236         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16237         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16238         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16239         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16240         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16241         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16242         * elf/tst-unique2mod1.c: Likewise.
16243         * elf/tst-unique1mod2.c: Likewise.
16244         * elf/tst-unique1mod1.c: Likewise.
16245         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16246         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16247         Replace ASM_TYPE_DIRECTIVE with .type.
16248         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16249         * sysdeps/i386/sysdep.h: Likewise.
16250         * sysdeps/x86_64/sysdep.h: Likewise.
16251         * sysdeps/sh/sysdep.h: Likewise.
16252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16253         Do not define ASM_TYPE_DIRECTIVE.
16254         * sysdeps/powerpc/sysdep.h: Likewise.
16255         * sysdeps/powerpc/powerpc32/sysdep.h:
16256         Replace ASM_TYPE_DIRECTIVE with .type.
16257         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16258         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16259         * sysdeps/i386/fpu/e_powf.S: Likewise.
16260         * sysdeps/i386/fpu/e_expl.S: Likewise.
16261         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16262         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16263         * sysdeps/i386/fpu/e_pow.S: Likewise.
16264         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16265         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16266         * sysdeps/i386/fpu/s_expm1.S: Likewise.
16267         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16268         * sysdeps/i386/fpu/e_log2.S: Likewise.
16269         * sysdeps/i386/fpu/e_log2l.S: Likewise.
16270         * sysdeps/i386/fpu/e_scalb.S: Likewise.
16271         * sysdeps/i386/fpu/e_powl.S: Likewise.
16272         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16273         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16274         * sysdeps/i386/fpu/e_logl.S: Likewise.
16275         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16276         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16277         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16278         * sysdeps/i386/fpu/e_log2f.S: Likewise.
16279         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16280         * sysdeps/i386/fpu/e_log.S: Likewise.
16281         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16282         * sysdeps/i386/fpu/e_logf.S: Likewise.
16283         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16284         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16285         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16286         * sysdeps/i386/fpu/e_log10.S: Likewise.
16287         * sysdeps/i386/fpu/s_frexp.S: Likewise.
16288         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16289         * sysdeps/i386/fpu/s_asinh.S: Likewise.
16290         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16291         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16292         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16293         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16294         * sysdeps/i386/i686/strtok.S: Likewise.
16295         * sysdeps/i386/i386-mcount.S: Likewise.
16296         * sysdeps/i386/strtok.S: Likewise.
16297         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16298         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16299         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16300         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16301         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16302         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16303         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16304         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16305         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16306         * sysdeps/x86_64/_mcount.S: Likewise.
16307         * sysdeps/x86_64/strtok.S: Likewise.
16308         * sysdeps/sh/_mcount.S: Likewise.
16309
16310 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16311
16312         * libio/iofopen.c: Include <fcntl.h>.
16313         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16314         (_IO_fopen64, fopen64): Define as aliases.
16315         * libio/iofopen64.c: Include <fcntl.h>.
16316         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16317         Conditionalize body on this.
16318         * sysdeps/wordsize-64/iofopen.c: File removed.
16319         * sysdeps/wordsize-64/iofopen64.c: File removed.
16320
16321 2012-08-01  Marek Polacek  <polacek@redhat.com>
16322
16323         * libc/Makeconfig: Use elf in place of binfmt-subdir.
16324         Use dlfcn directly instead of a variable.
16325         (binfmt-subdir): Do not define.
16326         (dlfcn): Likewise.
16327
16328 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
16329
16330         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16331         Remove all definitions.
16332         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16333         <kernel-features.h>.
16334         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16335         (miss_F_GETOWN_EX): Remove all definitions.
16336         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16337         macro definition.
16338         [!__ASSUME_FCNTL64]: Remove conditional code.
16339         [__ASSUME_FCNTL64]: Make code unconditional.
16340         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16341         <kernel-features.h>.
16342         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16343         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16344         (lockf64) [__NR_fcntl64]: Make code unconditional.
16345         (lockf64) [__ASSUME_FCNTL64]: Likewise.
16346
16347         * sysdeps/unix/sysv/linux/kernel-features.h
16348         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16349         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16350         Make code unconditional.
16351         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16352         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16354         [__NR_vfork]: Make code unconditional.
16355         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16356         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16358         [__NR_vfork]: Make code unconditional.
16359         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16360         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16361
16362 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16363
16364         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16365         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16366
16367         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16368         Define mkstemp64 as an alias.
16369         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16370         Define mkstemps64 as an alias.
16371         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16372         Define mkostemp64 as an alias.
16373         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16374         Define mkostemps64 as an alias.
16375         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16376         Conditionalize body on this.
16377         * misc/mkostemp64.c: Likewise.
16378         * misc/mkostemps64.c: Likewise.
16379         * misc/mkstemps64.c: Likewise.
16380         * sysdeps/wordsize-64/mkstemp64.c: File removed.
16381         * sysdeps/wordsize-64/mkostemp64.c: File removed.
16382         * sysdeps/wordsize-64/mkostemp.c: File removed.
16383         * sysdeps/wordsize-64/mkstemp.c: File removed.
16384         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16385         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16386         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16387         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16388
16389         [BZ #14138]
16390         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16391         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16392         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16393         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16394
16395         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16396         compat_symbol macros from <shlib-compat.h> rather than the underlying
16397         default_symbol_version and symbol_version macros, so that DEFAULT
16398         lines in shlib-versions are respected.
16399         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16400
16401 2012-08-01  Florian Weimer  <fweimer@redhat.com>
16402
16403         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16404         Declare with warn_unused_result.
16405         (setgid, setregid, setegid, setresgid): Likewise.
16406         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16407         Likewise.
16408         * WUR-REPORT: Remove set*id functions.
16409
16410 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
16411
16412         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16413
16414 2012-07-31  Roland McGrath  <roland@hack.frob.com>
16415
16416         [BZ #10191]
16417         * include/sys/socket.h (__libc_accept, __libc_accept4):
16418         Add attribute_hidden.
16419         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16420
16421         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16422         use of PTR_MANGLE.
16423         * inet/getnetgrent_r.c (setup): Likewise.
16424
16425         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16426
16427 2012-07-31  David S. Miller  <davem@davemloft.net>
16428
16429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16430
16431 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
16432
16433         [BZ #13629]
16434         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16435         value between 1.0 and 2.0 and smaller part has absolute value less
16436         than 1.0.
16437         * math/s_clog10.c (__clog10): Likewise.
16438         * math/s_clog10f.c (__clog10f): Likewise.
16439         * math/s_clog10l.c (__clog10l): Likewise.
16440         * math/s_clogf.c (__clogf): Likewise.
16441         * math/s_clogl.c (__clogl): Likewise.
16442         * math/libm-test.inc (clog_test): Add more tests.
16443         (clog10_test): Likewise.
16444         * sysdeps/i386/fpu/libm-test-ulps: Update.
16445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16446
16447 2012-07-31  Florian Weimer  <fweimer@redhat.com>
16448
16449         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16450         Exit with zero in case no suitable GID is found, and write a
16451         message to standard error.
16452
16453 2012-07-30  Roland McGrath  <roland@hack.frob.com>
16454
16455         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16456         rather than to 1.
16457         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16458         (MAXPATHLEN): Removed.
16459         (NOGROUP, NODEV): New macros.
16460         (setbit, clrbit, isset, isclr): New macros.
16461         (howmany, roundup, powerof2): New macros.
16462         (DEV_BSIZE): New macro.
16463
16464         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16465         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16466
16467         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16468         definition on [!__NO_LONG_DOUBLE_MATH].
16469
16470         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16471         PTR_MANGLE and PTR_DEMANGLE.
16472
16473         * socket/accept4.c (accept4): Rename to __libc_accept4.
16474         Define accept4 as a weak alias.
16475
16476         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16477         on [_DIRENT_HAVE_D_TYPE].
16478         * io/ftw.c (ftw_dir): Likewise.
16479
16480         * io/xmknod.c (__xmknod): Don't check PATH for being null.
16481
16482         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16483
16484         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16485         Use the BSD numbers rather than the arbitrary ones we had.
16486         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16487         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16488         (SIGXCPU, SIGXFSZ): New macros.
16489         (_NSIG): Now 32.
16490
16491         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16492         initializer on [_LIBC_REENTRANT].
16493
16494         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16495         definitions inside [_POSIX_MAPPED_FILES].
16496
16497         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16498
16499         * dirent/opendir.c: Include <fcntl.h>.
16500
16501         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16502         (__libc_getspecific): Likewise.
16503         (__libc_key_create): Likewise.
16504
16505         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16506         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16507         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16508         (tmpfile64): Define as alias.
16509         * sysdeps/wordsize-64/tmpfile.c: File removed.
16510         * sysdeps/wordsize-64/tmpfile64.c: File removed.
16511         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16512         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16513
16514         * stdio-common/vfscanf.c: Include <stdbool.h>.
16515         * nss/makedb.c: Likewise.
16516         * stdio-common/_i18n_number.h: Likewise.
16517         * argp/argp-help.c: Likewise.
16518         * posix/wordexp.c: Likewise.
16519         * sysdeps/posix/spawni.c: Likewise.
16520         * nss/nss_files/files-initgroups.c: Likewise.
16521         * stdio-common/reg-modifier.c: Include <stdlib.h>.
16522         * nss/nss_files/files-initgroups.c: Likewise.
16523         * nss/nss_db/db-netgrp.c: Likewise.
16524         * nss/nss_db/db-initgroups.c: Likewise.
16525         * io/fchmodat.c: Include <sys/stat.h>.
16526
16527         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16528         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16529
16530         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16531         [HAVE_MMAP].
16532
16533         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16534         Add multiple inclusion protection.
16535
16536 2012-07-27  David S. Miller  <davem@davemloft.net>
16537
16538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16539
16540 2012-07-27  Gary Benson  <gbenson@redhat.com>
16541
16542         [BZ #14298]
16543         * elf/rtld.c: Include <stap-probe.h>.
16544         (dl_main): Added static probes "init_start" and "init_complete".
16545         * elf/dl-load.c: Include <stap-probe.h>.
16546         (lose): Take new parameter "nsid".
16547         Added static probe "map_failed".
16548         (_dl_map_object_from_fd): Pass namespace id to lose.
16549         Added static probe "map_start".
16550         (open_verify): Pass namespace id to lose.
16551         * elf/dl-open.c: Include <stap-probe.h>.
16552         (dl_open_worker) Added static probes "map_complete", "reloc_start"
16553         and "reloc_complete".
16554         * elf/dl-close.c: Include <stap-probe.h>.
16555         (_dl_close_worker): Added static probes "unmap_start" and
16556         "unmap_complete".
16557         * elf/rtld-debugger-interface.txt: New file documenting the above.
16558
16559 2012-07-26  Roland McGrath  <roland@hack.frob.com>
16560
16561         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16562         rather than a string variable.
16563         * sunrpc/rpc_main.c (h_output): Likewise.
16564         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16565
16566 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
16567
16568         * inet/check_native.c: New file.
16569
16570 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
16571
16572         [BZ #13629]
16573         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16574         if larger part has absolute value 1.0.
16575         * math/s_clog10.c (__clog10): Likewise.
16576         * math/s_clog10f.c (__clog10f): Likewise.
16577         * math/s_clog10l.c (__clog10l): Likewise.
16578         * math/s_clogf.c (__clogf): Likewise.
16579         * math/s_clogl.c (__clogl): Likewise.
16580         * math/libm-test.inc (clog_test): Add more tests.
16581         (clog10_test): Likewise.
16582         * sysdeps/i386/fpu/libm-test-ulps: Update.
16583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16584
16585         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16586         (pltexit): Likewise.
16587         (La_regs): Likewise.
16588         (La_retval): Likewise.
16589         (int_retval): Likewise.
16590         Update #error for removed macros to refer only to definitions in
16591         tst-audit.h.
16592         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16593         macro.
16594         (pltexit): Likewise.
16595         (La_regs): Likewise.
16596         (La_retval): Likewise.
16597         (int_retval): Likewise.
16598         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16599         macro.
16600         (pltexit): Likewise.
16601         (La_regs): Likewise.
16602         (La_retval): Likewise.
16603         (int_retval): Likewise.
16604         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16605         macro.
16606         (pltexit): Likewise.
16607         (La_regs): Likewise.
16608         (La_retval): Likewise.
16609         (int_retval): Likewise.
16610         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16611         macro.
16612         (pltexit): Likewise.
16613         (La_regs): Likewise.
16614         (La_retval): Likewise.
16615         (int_retval): Likewise.
16616         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16617         macro.
16618         (pltexit): Likewise.
16619         (La_regs): Likewise.
16620         (La_retval): Likewise.
16621         (int_retval): Likewise.
16622         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16623         macro.
16624         (pltexit): Likewise.
16625         (La_regs): Likewise.
16626         (La_retval): Likewise.
16627         (int_retval): Likewise.
16628         * sysdeps/generic/tst-audit.h: Update comment to refer only to
16629         macro definitions in tst-audit.h.
16630         * sysdeps/i386/tst-audit.h: New file.
16631         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16632         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16633         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16634         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16635         * sysdeps/sh/tst-audit.h: Likewise.
16636         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16637         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16638         * sysdeps/x86_64/tst-audit.h: Likewise.
16639
16640 2012-07-26  Andreas Jaeger  <aj@suse.de>
16641
16642         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16643         ptrace.
16644
16645         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16646         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16647         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16648         PTRACE_O_MASK.
16649         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16650         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16651         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16652
16653         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16654         value.
16655
16656         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16657         _sigsys.
16658         (si_call_addr, si_syscall, si_arch): Define new macro.
16659         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16660         _sigsys.
16661         (si_call_addr, si_syscall, si_arch): Define new marcro.
16662         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16663         _sigsys.
16664         (si_call_addr, si_syscall, si_arch): Define new macro.
16665         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16666         _sigsys.
16667         (si_call_addr, si_syscall, si_arch): Define new macro.
16668
16669 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
16670
16671         [BZ #13717]
16672         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16673         Change to 2.4.21 where previously 2.4.1.
16674         * sysdeps/unix/sysv/linux/configure: Regenerated.
16675         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16676         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16677         Linux kernel version.
16678         (__ASSUME_STD_AUXV): Remove.
16679         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16680         kernel version.
16681         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16682         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16683         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16684         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16685         (__ASSUME_NETLINK_SUPPORT): Likewise.
16686         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16687         (__no_netlink_support): Remove conditional definition.
16688         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16689         Remove.
16690         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16691         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16692         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16693         (if_nameindex_ioctl): Remove.
16694         (if_nameindex_netlink): Do not handle __no_netlink_support.
16695         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16696         code.
16697         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16698         Remove conditional code.
16699         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16700         code.
16701         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16702         unconditional.
16703         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16704         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16705         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16706         Remove.
16707         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16708         [!__ASSUME_STD_AUXV]: Remove conditional code.
16709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16710         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16711         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16713         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16714         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16715         code.
16716         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16718         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16719         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16720         conditional code.
16721         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16723         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16724         code.
16725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16726         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16727         conditional code.
16728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16729         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16730         code unconditional.
16731         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16732         conditional code.
16733         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16734         unconditional.
16735         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16736         conditional code.
16737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16738         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16739         unconditional.
16740         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16741         conditional code.
16742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16743         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16744         code unconditional.
16745         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16746         conditional code.
16747         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16748         unconditional.
16749         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16750         conditional code.
16751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16752         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16753         code unconditional.
16754         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16755         conditional code.
16756         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16757         unconditional.
16758         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16759         conditional code.
16760
16761 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
16762
16763         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16764         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16765         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16766         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16767         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16768         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16769         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16770         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16771         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16772         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16773         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16774         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16775         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16776         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16777         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16778         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16779         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16780         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16781         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16783         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16784         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16785         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16786
16787 2012-07-25  Florian Weimer  <fweimer@redhat.com>
16788
16789         * Versions.def: Add GLIBC_2.17.
16790         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16791         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16792         Introduce __libc_secure_getenv.
16793         * stdlib/Versions (2.17): Add secure_getenv
16794         (GLIBC_PRIVATE): Add __libc_secure_getenv.
16795         * stdlib/secure-getenv.c: Rename __secure_getenv to
16796         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
16797         symbol __secure_getenv for GLIBC_2.0.
16798         * stdlib/tst-secure-getenv.c: New.
16799         * stdlib/Makefile (tests): Add testcase.
16800         * manual/startup.texi (Environment Access): Document
16801         secure_getenv.
16802         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16803         __libc_secure_getenv.
16804         * inet/ruserpass.c (ruserpass): Likewise.
16805         * malloc/mtrace.c (mtrace): Likewise.
16806         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16807         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16808         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16809         * sysdeps/posix/tempname.c: Likewise.  Evaluate
16810         HAVE_SECURE_GETENV.
16811         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16812         __secure_getenv to __libc_secure_getenv.
16813         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16815         Likewise.
16816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16817         Likewise.
16818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16820         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16825
16826 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
16827
16828         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16829         (struct La_i86_retval): Likewise.
16830         (struct La_x86_64_regs): Likewise.
16831         (struct La_x86_64_retval): Likewise.
16832         (struct La_x32_regs): Likewise.
16833         (struct La_x32_retval): Likewise.
16834         (struct La_ppc32_regs): Likewise.
16835         (struct La_ppc32_retval): Likewise.
16836         (struct La_ppc64_regs): Likewise.
16837         (struct La_ppc64_retval): Likewise.
16838         (struct La_sh_regs): Likewise.
16839         (struct La_sh_retval): Likewise.
16840         (struct La_s390_32_regs): Likewise.
16841         (struct La_s390_32_retval): Likewise.
16842         (struct La_s390_64_regs): Likewise.
16843         (struct La_s390_64_retval): Likewise.
16844         (struct La_sparc32_regs): Likewise.
16845         (struct La_sparc32_retval): Likewise.
16846         (struct La_sparc64_regs): Likewise.
16847         (struct La_sparc64_retval): Likewise.
16848         (struct audit_ifaces): Remove architecture-specific pltenter and
16849         pltexit members.
16850         * sysdeps/i386/ldsodefs.h: New file.
16851         * sysdeps/powerpc/ldsodefs.h: Likewise.
16852         * sysdeps/s390/ldsodefs.h: Likewise.
16853         * sysdeps/sh/ldsodefs.h: Likewise.
16854         * sysdeps/sparc/ldsodefs.h: Likewise.
16855         * sysdeps/x86_64/ldsodefs.h: Likewise.
16856
16857 2012-07-25  Marek Polacek  <polacek@redhat.com>
16858
16859         [BZ #6808]
16860         * math/libm-test.inc (yn_test): Add another test.
16861         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16862         to ERANGE when the result is +-Inf.
16863         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16864         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16865         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16866         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16867
16868 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
16869
16870         * conform/data/time.h-data (NULL): Use macro-constant.  Require
16871         equal to 0.
16872         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
16873         clock_t.
16874         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
16875
16876 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
16877
16878         * configure.in <sysdeps resolving>: Correct printing
16879         Implies_before.
16880         * configure: Regenerate.
16881
16882 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
16883
16884         * math/w_ilogb.c: Include <limits.h>.
16885         * math/w_ilogbl.c: Likewise.
16886
16887 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16888
16889         * manual/lang.texi (__va_copy): Document primarily as ISO C99
16890         va_copy.  Document allowing for unavailable va_copy only as
16891         pre-C99 compatibility.
16892         * manual/string.texi (Copying and Concatenation): Use va_copy
16893         instead of __va_copy in concat example.
16894
16895 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
16896
16897         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16898         (__sendto): Use create_address_port.  Initialize APORT and deallocate
16899         it if not null.
16900
16901         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16902         with O_NOLINK passed to __file_name_lookup.
16903
16904         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16905         with O_NOLINK passed to __file_name_lookup.
16906
16907         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16908         negative N or less than NGIDS.
16909
16910         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16911         type to string_t.  Set ERANGE as errno and return it if NAME is not big
16912         enough.  Use memcpy instead of strncpy.
16913
16914 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16915
16916         * elf/Makefile (check-data): Remove.
16917         (localplt.data): New vpath directive.
16918         ($(objpfx)check-localplt.out): Use localplt.data from vpath
16919         instead of $(check-data).
16920         * scripts/data/localplt-generic.data: Move to ...
16921         * sysdeps/generic/localplt.data: ... here.
16922         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16923         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16924         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16926         ... here.
16927         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16929         ... here.
16930         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16932         ... here.
16933         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16935         ... here.
16936         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16938         ... here.
16939         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16941         ... here.
16942
16943 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16944
16945         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16946         PPC32 and PPC64 files.
16947         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16948         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16949
16950 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16951
16952         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16953         __makecontext_ret to ...
16954         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16955         ... here and call exit if uc_link is NULL.  New file.
16956         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16957         __makecontext_ret.S.
16958         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16959         __makecontext_ret to ...
16960         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16961         ... here and call exit if uc_link is NULL.  New file.
16962         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16963         __makecontext_ret.S.
16964
16965 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16966
16967         * elf/elf.h (R_390_IRELATIVE): New definition.
16968         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16969         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
16970         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16971         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16972         (elf_machine_lazy_rel): Likewise.
16973         * sysdeps/s390/dl-irel.h: New file.
16974         * sysdeps/s390/s390-64/memcpy.S: New asm code.
16975         * sysdeps/s390/s390-64/memset.S: New asm code.
16976         * sysdeps/s390/s390-64/memcmp.S: New asm code.
16977         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16978         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16979         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16980         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16981         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16982         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16983         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16984         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16985         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16986         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16987         * sysdeps/s390/s390-32/memcpy.S: New asm code.
16988         * sysdeps/s390/s390-32/memset.S: New asm code.
16989         * sysdeps/s390/s390-32/memcmp.S: New asm code.
16990
16991 2012-07-17  Marek Polacek  <polacek@redhat.com>
16992
16993         [BZ #14349]
16994         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16995         * sysdeps/s390/s390-64/configure.in: Likewise.
16996         * sysdeps/sparc/configure.in: Likewise.
16997         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16998         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16999         * sysdeps/i386/configure.in: Likewise.
17000         * sysdeps/x86_64/configure.in: Likewise.
17001         * sysdeps/sh/configure.in: Likewise.
17002         * sysdeps/s390/s390-32/configure: Regenerated.
17003         * sysdeps/s390/s390-64/configure: Likewise.
17004         * sysdeps/x86_64/configure: Likewise.
17005         * sysdeps/sh/configure: Likewise.
17006         * sysdeps/powerpc/powerpc64/configure: Likewise.
17007         * sysdeps/powerpc/powerpc32/configure: Likewise.
17008         * sysdeps/sparc/configure: Likwise.
17009         * sysdeps/i386/configure: Likewise.
17010
17011         * elf/dl-open.c: Comment fixes.
17012
17013 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
17014
17015         * Makefile [CXX] (check-data): Remove.
17016         [CXX] (c++-types.data): New vpath directive.
17017         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17018         vpath.  Do not allow for C++ type data being missing.
17019         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17020         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17021         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17022         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17023         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17024         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17025         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17027         ... here.
17028         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17030         ... here.
17031         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17033         ... here.
17034         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17036         ... here.
17037         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17039         ... here.
17040         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17042         ... here.
17043         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17045         ... here.
17046         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17048
17049         * elf/tls-macros.h (TLS_LE): Move architecture-specific
17050         definitions to architecture-specific files.
17051         (TLS_IE): Likewise.
17052         (TLS_LD): Likewise.
17053         (TLS_GD): Likewise.
17054         * sysdeps/i386/tls-macros.h: New file.
17055         * sysdeps/powerpc/tls-macros.h: Likewise.
17056         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17057         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17058         * sysdeps/sh/tls-macros.h: Likewise.
17059         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17060         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17061         * sysdeps/x86_64/tls-macros.h: Likewise.
17062
17063 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17064
17065         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17066         zero value for regular exit case.
17067
17068         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17069         (__start_context): Preserve zero value for regular exit case.
17070
17071 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17072             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17073
17074         * manual/setjmp.texi (setcontext): Clarify normal process
17075         termination when uc_link is the null pointer.
17076         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17077         exit call.
17078
17079 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
17080
17081         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17082         preprocessor.  Test for each exception mask separately.
17083
17084 2012-07-16  Andreas Jaeger  <aj@suse.de>
17085
17086         * po/ru.po: Update from translation team.
17087
17088 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
17089
17090         * conform/data/string.h-data (NULL): Use macro-constant.  Require
17091         equal to 0.
17092         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17093         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17094         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17095         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17096         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17097
17098 2012-07-13  Andreas Jaeger  <aj@suse.de>
17099
17100         * po/fr.po: Update from translation team.
17101
17102 2012-07-12  Marek Polacek  <polacek@redhat.com>
17103
17104         [BZ #14173]
17105         * math/libm-test.inc (yn_test): Add test for BZ #14173.
17106         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17107         loop condition.
17108
17109 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
17110
17111         [BZ #13717]
17112         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17113         Change to 2.4.1 where previously 2.4.0.
17114         * sysdeps/unix/sysv/linux/configure: Regenerated.
17115         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17116         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17117         version.
17118         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17119         (__ASSUME_AT_CLKTCK): Remove.
17120         (__ASSUME_AT_PAGESIZE): Likewise.
17121         (__ASSUME_AT_XID): Likewise.
17122         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17123         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17124         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17125         unconditionally.
17126         (HAVE_AUX_PAGESIZE): Likewise.
17127         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17128         [__ASSUME_AT_CLKTCK]: Make code unconditional.
17129         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17130
17131 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
17132
17133         [BZ #14307]
17134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17135         the temporary buffer used to invoke __gethostbyname2_r,
17136         __gethostbyaddr_r and gethostbyname4_r to make room for struct
17137         host_data / struct gaih_addrtuple.
17138         * resolv/nss_dns/dns-host.c (global scope): Move definition of
17139         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17140         header file nss/nsswitch.h.
17141         * nss/nsswitch.h (global scope): Add definition of implementation
17142         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17143         resolv/nss_dns/dns-host.c).
17144
17145 2012-07-11  Andreas Jaeger  <aj@suse.de>
17146
17147         * po/fr.po: Update from translation team.
17148
17149         * po/sv.po: Update from translation team
17150         * po/fr.po: Another update from translation team.
17151
17152 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17153
17154         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17155         for subnormals or multiply small sinh result by itself.
17156         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17158
17159 2012-07-11  David S. Miller  <davem@davemloft.net>
17160
17161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17162
17163 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
17164
17165         [BZ #14347]
17166         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17167         (INTERNAL_MARK): Shift it here.
17168
17169 2012-07-10  Marek Polacek  <polacek@redhat.com>
17170
17171         [BZ #14151]
17172         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
17173         libc_cv_asm_global_directive with .globl.
17174         * configure: Regenerated.
17175         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17176         with .globl.
17177         * sysdeps/i386/configure: Regenerated.
17178         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17179         with .globl.
17180         * sysdeps/x86_64/configure: Regenerated.
17181         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17182         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17183         * elf/tst-unique2mod2.c: Likewise.
17184         * elf/tst-unique2mod1.c: Likewise.
17185         * elf/tst-unique1mod2.c: Likewise.
17186         * elf/tst-unique1mod1.c: Likewise.
17187         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17188         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17189         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17190         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17191         * sysdeps/mach/sysdep.h: Likewise.
17192         * sysdeps/i386/sysdep.h: Likewise.
17193         * sysdeps/i386/i386-mcount.S: Likewise.
17194         * sysdeps/x86_64/_mcount.S: Likewise.
17195         * sysdeps/x86_64/sysdep.h: Likewise.
17196         * sysdeps/sh/_mcount.S: Likewise.
17197         * sysdeps/sh/sysdep.h: Likewise.
17198         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17199         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17200         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17201         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17202         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17203         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17204         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17205         * locale/localeinfo.h: Likewise.
17206         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17207         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17208
17209 2012-07-09  Roland McGrath  <roland@hack.frob.com>
17210
17211         [BZ #14336]
17212         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17213         system".
17214         * manual/message.texi (The Uniforum approach): Likewise.
17215         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17216         (glibc iconv Implementation): Likewise.
17217
17218 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
17219
17220         [BZ #14337]
17221         * math/s_clog.c (__clog): Avoid scaling a value down where that
17222         could result in underflow.
17223         * math/s_clog10.c (__clog10): Likewise.
17224         * math/s_clog10f.c (__clog10f): Likewise.
17225         * math/s_clog10l.c (__clog10l): Likewise.
17226         * math/s_clogf.c (__clogf): Likewise.
17227         * math/s_clogl.c (__clogl): Likewise.
17228         * math/libm-test.inc (clog_test): Add more tests.
17229         (clog10_test): Likewise.
17230         * sysdeps/i386/fpu/libm-test-ulps: Update.
17231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17232
17233 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
17234
17235         [BZ #14283]
17236         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17237         by 7 not 8 to examine high bit of fractional part.
17238
17239         [BZ #14042]
17240         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17241         for call to __mcount_internal.
17242         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17243         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17244         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17245
17246 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
17247
17248         [BZ #14154]
17249         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17250         approximation for values within 0x1p-13f of an odd multiple of
17251         pi/4.
17252         * math/libm-test.inc (tan_test): Do not allow spurious underflow
17253         exception.  Add more tests.
17254         * sysdeps/i386/fpu/libm-test-ulps: Update.
17255
17256         [BZ #6778]
17257         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17258         inputs and return -1 for them.  Do not check for +Inf in case not
17259         reachable for +Inf.
17260         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17261         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17262         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17263         and return -1 for them.  Do not check for +Inf in case not
17264         reachable for +Inf.
17265         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17266         define.
17267         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17268         and return -1 for them.  Do not check for +Inf in case not
17269         reachable for +Inf.
17270         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
17271         spurious underflow.
17272         * sysdeps/i386/fpu/libm-test-ulps: Update.
17273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17274
17275 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
17276
17277         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17278
17279 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
17280
17281         [BZ #14157]
17282         [BZ #14331]
17283         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17284         could result in spurious underflow.  Scale down values above
17285         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17286         * math/s_csqrtf.c (__csqrtf): Likewise.
17287         * math/s_csqrtl.c (__csqrtl): Likewise.
17288         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
17289         spurious underflow.
17290         * sysdeps/i386/fpu/libm-test-ulps: Update.
17291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17292
17293 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17294
17295         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17296         xopen-msg.sed.
17297         * catgets/xopen-msg.awk: New file.
17298         * catgets/xopen-msg.sed: Removed.
17299
17300         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17301         po2text.sed.
17302         * intl/po2test.awk: New file.
17303         * intl/po2test.sed: Removed.
17304
17305 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
17306
17307         [BZ #14328]
17308         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17309         or multiply small sinh result by itself.
17310         * math/s_ctanf.c (__ctanf): Likewise.
17311         * math/s_ctanh.c (__ctanh): Likewise.
17312         * math/s_ctanhf.c (__ctanhf): Likewise.
17313         * math/s_ctanhl.c (__ctanhl): Likewise.
17314         * math/s_ctanl.c (__ctanl): Likewise.
17315         * math/libm-test.inc (ctan_test_tonearest): New function.
17316         (ctan_test_towardzero): Likewise.
17317         (ctan_test_downward): Likewise.
17318         (ctan_test_upward): Likewise.
17319         (ctanh_test_tonearest): Likewise.
17320         (ctanh_test_towardzero): Likewise.
17321         (ctanh_test_downward): Likewise.
17322         (ctanh_test_upward): Likewise.
17323         (main): Call these new functions.
17324         * sysdeps/i386/fpu/libm-test-ulps: Update.
17325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17326
17327 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
17328
17329         * .gitignore: Delete /ports entry.
17330
17331 2012-07-03  Andreas Jaeger  <aj@suse.de>
17332
17333         * po/bg.po: Update from translation team.
17334         * po/cs.po: Likewise.
17335         * po/de.po: Likewise.
17336         * po/hr.po: Likewise.
17337         * po/nl.pl: Likewise.
17338         * po/pl.po: Likewise.
17339         * po/vi.po: Likewise.
17340
17341 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
17342
17343         * Makeconfig [!+link] (+link-before-libc): New variable.
17344         [!+link] (+link-after-libc): Likewise.
17345         [!+link] (+link-tests): Likewise.
17346         [!+link] (+link): Define in terms of $(+link-before-libc) and
17347         $(+link-after-libc).
17348         [!+link-static] (+link-static-before-libc): New variable.
17349         [!+link-static] (+link-static-after-libc): Likewise.
17350         [!+link-static] (+link-static-tests): Likewise.
17351         [!+link-static] (+link-static): Define in terms of
17352         $(+link-static-before-libc) and $(+link-static-after-libc).
17353         [build-shared] (link-libc-before-gnulib): New variable.
17354         [build-shared] (link-libc-tests): Likewise.
17355         [build-shared] (link-libc): Define in terms of
17356         $(link-libc-before-gnulib).
17357         [!build-shared] (link-libc-tests): New variable.
17358         (link-libc-static-tests): New variable.
17359         [!gnulib] (gnulib-arch): New variable.
17360         [!gnulib] (gnulib-tests): Likewise.
17361         [!gnulib] (static-gnulib-arch): Likewise.
17362         [!gnulib] (static-gnulib-tests): Likewise.
17363         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
17364         Define with "=" instead of ":=".
17365         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
17366         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
17367         * Rules (binaries-all-notests): New variable.
17368         (binaries-all-tests): Likewise.
17369         (binaries-static-notests): Likewise.
17370         (binaries-static-tests): Likewise.
17371         (binaries-all): Define using $(binaries-all-notests) and
17372         $(binaries-all-tests).
17373         (binaries-static): Define using $(binaries-static-notests) and
17374         $(binaries-static-tests).
17375         (binaries-shared-tests): New variable.
17376         (binaries-shared-notests): Likewise.
17377         (binaries-shared): Remove variable.
17378         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17379         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17380         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17381         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17382         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17383         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17384         * elf/Makefile (sln-modules): New variable.
17385         (extra-objs): Add $(sln-modules:=.o).
17386         (ldconfig-modules): Add static-stubs.
17387         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17388         * elf/static-stubs.c: New file.
17389
17390         [BZ #14283]
17391         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17392         by 7 not 8 to examine high bit of fractional part.  Use volatile
17393         variables when splitting into final array of floats if
17394         __FLT_EVAL_METHOD__ != 0.
17395         * math/libm-test.inc (cos_test): Add another test.
17396         (sin_test): Likewise.
17397         * sysdeps/i386/fpu/libm-test-ulps: Update.
17398
17399         [BZ #14273]
17400         * math/libm-test.inc (cosh_test): Add more tests.
17401
17402         * version.h (RELEASE): Set to "development".
17403         (VERSION): Set to "2.16.90".
17404
17405 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
17406
17407         * NEWS: Update copyright. Remove last-updated date.
17408         Mention math library bug fixes and timezone data changes.
17409         * README: Mention GNU/Hurd, x32, and HPPA support status.
17410
17411 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
17412
17413         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17414
17415 2012-06-27  Andreas Jaeger  <aj@suse.de>
17416
17417         * manual/contrib.texi (Contributors): Add Samuel Thibault.
17418
17419 2012-06-25  Andreas Jaeger  <aj@suse.de>
17420
17421         * sysdeps/s390/fpu/libm-test-ulps: Update.
17422
17423 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
17424             Thomas Schwinge  <thomas@codesourcery.com>
17425
17426         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17427         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17428         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17429         fanotify_mark.
17430
17431 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
17432
17433         * sysdeps/mach/start.c: Remove file.
17434         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17435         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17436         * sysdeps/sh/init-first.c: Likewise.
17437
17438         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17439         registers for frame unwinding purposes, add CFI directives.
17440         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17441         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17442         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17443         Likewise.
17444
17445         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17446         __fortify_fail returning.
17447         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17448
17449         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17450         sysdeps/sh/____longjmp_chk.S.
17451         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17452         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17453         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17454         (gen-as-const-headers): Append sigaltstack-offsets.sym.
17455
17456         * sysdeps/sh/abort-instr.h: New file.
17457         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17458         process in case exit returns.
17459
17460         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17461         initialize the GOT register before use.
17462
17463         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17464         calculation of ARGC > 4.
17465
17466         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17467         meaningful names to some local labels.
17468
17469 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17470             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17471
17472         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17473         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17474         (__arch_compare_and_exchange_val_16_acq): Likewise.
17475         (__arch_compare_and_exchange_val_32_acq): Likewise.
17476         (atomic_exchange_and_add): Fix gUSA sequence.
17477         (atomic_add): Likewise.
17478         (atomic_add_negative): Likewise.
17479         (atomic_add_zero): Likewise.
17480         (atomic_bit_test_set): Likewise.
17481
17482 2012-06-22  Andreas Schwab  <schwab@redhat.com>
17483
17484         [BZ #13579]
17485         * include/link.h (struct link_map): Add l_free_initfini.
17486         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17487         l_initfini.
17488         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17489         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17490         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17491         set.
17492
17493 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
17494
17495         * configure.in: Use AC_LANG_SOURCE.
17496         * configure: Regenerate.
17497
17498 2012-06-22  Roland McGrath  <roland@hack.frob.com>
17499
17500         * configure.in (libc_cv_localstatedir): New substituted variable.
17501         * configure: Regenerated.
17502         * config.make.in (localstatedir): New variable, substituted from
17503         libc_cv_localstatedir.
17504         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17505         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17506         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17507         * sysdeps/gnu/configure: Regenerated.
17508
17509 2012-06-21  Jeff Law  <law@redhat.com>
17510
17511         [BZ #14277]
17512         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17513         free.  Simplify list management for _LIBC case.
17514
17515 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
17516
17517         [BZ #14273]
17518         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17519         Clear sign bit of 64-bit integer value before comparing against
17520         overflow value.
17521
17522         * sysdeps/mach/configure: Regenerated.
17523
17524 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
17525
17526         [BZ #14278]
17527         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17528
17529 2012-06-21  Jeff Law  <law@redhat.com>
17530
17531         [BZ #13882]
17532         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
17533         uint16_t for elements in the "seen" array to avoid char overflows.
17534         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17535         * elf/dl-open.c (dl_open_worker): Likewise.
17536
17537 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
17538
17539         * scripts/list-sources.sh: Scan PORTS for translations.
17540         * po/libc.pot: Regenerated.
17541
17542 2012-06-21  Andreas Jaeger  <aj@suse.de>
17543
17544         [BZ #12194]
17545         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17546         warning.
17547         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17548         * bits/byteswap-16.h (__bswap_16): Likewise.
17549         * bits/byteswap.h (__bswap_constant_16): Likewise.
17550
17551 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
17552
17553         [BZ #14117]
17554         * sysdeps/i386/fpu_control.h: Removed.
17555         * sysdeps/x86_64/fpu_control.h: Moved to ...
17556         * sysdeps/x86/fpu_control.h: Here.
17557
17558         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17559         (_FPU_SETCW): Likewise.
17560
17561 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
17562
17563         [BZ #14117]
17564         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17565         * sysdeps/x86/fpu/bits/mathinline.h: This.
17566         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17567
17568         [BZ #14050]
17569         [BZ #14117]
17570         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17571         functions if __x86_64__ is defined.
17572
17573 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
17574
17575         * string/endian.h: Add !__ASSEMBLER__ condition for including
17576         conversion interfaces.
17577
17578 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
17579
17580         [BZ #14241]
17581         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17582         of ABS(x) in calculating zero to negative powers other than odd
17583         integers.
17584         * math/libm-test.inc (pow_test): Add more tests.
17585
17586 2012-06-15  Andreas Jaeger  <aj@suse.de>
17587
17588         * manual/contrib.texi (Contributors): Update entry of Liubov
17589         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17590         Machado Filho.
17591
17592 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
17593
17594         * string/string.h: Add __wur to GNU version of strerror_r.
17595
17596 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
17597
17598         [BZ #14229]
17599         * string/Makefile (tests): Add tst-strtok_r.
17600         * string/tst-strtok_r.c: New file.
17601         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17602         RAX_LP/RDX_LP on SAVE_PTR.
17603
17604 2012-06-14  Roland McGrath  <roland@hack.frob.com>
17605
17606         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17607
17608 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
17609
17610         * libm_test.inc (csqrt_test): Allow more spurious underflow
17611         exceptions.
17612         (j0_test): Likewise.
17613         (j1_test): Likewise.
17614         (y0_test): Likewise.
17615         (y1_test): Likewise.
17616
17617 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
17618
17619         * po/Makefile (libc.pot): Use UTF-8 charset.
17620
17621 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
17622
17623         [BZ #14210]
17624         Suppress sign-conversion warning from FD_SET.
17625         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17626         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17627         not unsigned long int.
17628         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17629
17630 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
17631
17632         [BZ #14050]
17633         [BZ #14117]
17634         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17635         __extern_always_inline instead of __extern_inline.
17636         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17637         (__signbit): Likewise.
17638         (__signbitl): Support C++ namespace.
17639         (lrintf): New inline function.
17640         (lrint): Likewise.
17641         (llrintf): Likewise.
17642         (llrint): Likewise.
17643         (fmaxf): Likewise.
17644         (fmax): Likewise.
17645         (fminf): Likewise.
17646         (fmin): Likewise.
17647         (rint): Likewise.
17648         (rintf): Likewise.
17649         (ceil): Likewise.
17650         (ceilf): Likewise.
17651         (floor): Likewise.
17652         (floorf): Likewise.
17653         (nearbyint): Likewise.
17654         (nearbyintf): Likewise.
17655
17656 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
17657
17658         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17659         non-default versions.
17660
17661 2012-06-11  Roland McGrath  <roland@hack.frob.com>
17662
17663         [BZ #14218]
17664         * manual/argp.texi (Argp): Reword argp_parse description slightly.
17665
17666 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
17667
17668         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17669         (FE_UPWARD, FE_DOWNWARD): Don't define.
17670         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17671         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17672
17673         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17674         reading it.
17675         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17676         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17677
17678 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17679
17680         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17681         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17682         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17683         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17684
17685 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
17686
17687         [BZ #14117]
17688         * sysdeps/i386/fpu/bits/fenv.h: Removed.
17689         * sysdeps/i386/fpu/Implies: New file.
17690         * sysdeps/x86_64/fpu/Implies: Likewise.
17691         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17692         * sysdeps/x86/fpu/bits/fenv.h: This.
17693
17694         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17695         __SSE_MATH__.
17696
17697 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17698
17699         [BZ #14134]
17700         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17701         character 0xffff that matches the last element of the
17702         conversion table.
17703
17704 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17705
17706         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17707         fmodl commit.
17708
17709 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17710
17711         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17712         values higher than 25.6283.
17713
17714 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17715
17716         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17717         subnormal exponent extraction and add some __builtin_expect.
17718         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17719         Fix for subnormal mantissa calculation.
17720
17721 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
17722
17723         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17724         cpu2 is -1 and errno is not ENOSYS.
17725
17726 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
17727
17728         [BZ #14117]
17729         * sysdeps/i386/i486/bits/string.h: Renamed to ...
17730         * sysdeps/x86/bits/string.h: This.
17731         * sysdeps/x86_64/bits/string.h: Removed.
17732
17733         * sysdeps/i386/i486/bits/string.h: Define inline functions only
17734         if not compiling for x86-64, but compiling for >= i486.
17735
17736         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17737         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17738
17739         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17740         New macro from Linux kernel 3.4.0.
17741         (FP_XSTATE_MAGIC2): Likewise.
17742         (FP_XSTATE_MAGIC2_SIZE): Likewise.
17743         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17744         (struct _fpx_sw_bytes): New struct.
17745         (struct _xsave_hdr): Likewise.
17746         (struct _ymmh_state): Likewise.
17747         (struct _xstate): Likewise.
17748
17749         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17750         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17751         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17752         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17753         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17754         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17755
17756         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17757         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17758         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17759         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17760         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17761         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17762
17763 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17764
17765         [BZ #13743]
17766         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17767         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17768         (sysdep_headers): Include sys/platform/ppc.h.
17769         * sysdeps/powerpc/test-gettimebase.c: Test for
17770         __ppc_get_timebase() to catch future ISA opcode/insn changes.
17771         * manual/Makefile (appendices): Include platform.texi.
17772         * manual/contrib.texi (Contributors): Update @node pointers.
17773         * manual/maint.texi (Maintenance): Likewise.
17774         (Platform): New node.
17775         * manual/platform.texi: New file.  Document the new features.
17776
17777 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17778             Jakub Jelinek  <jakub@redhat.com>
17779
17780         [BZ #14188]
17781         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17782         where __builtin_expect is unavailable.
17783
17784 2012-06-03  David S. Miller  <davem@davemloft.net>
17785
17786         * stdlib/longlong.h: Updated from GCC.
17787
17788 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
17789
17790         [BZ #14042]
17791         * sysdeps/powerpc/powerpc32/mcount.c: New file.
17792         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17793         __mcount_internal.
17794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17795         (GLIBC_2.16): Likewise.
17796
17797 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17798
17799         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17800
17801 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17802
17803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17804         (default-abi): New variable.
17805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17806         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17807         variable.
17808         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17809         Likewise.
17810         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17811         Likewise.
17812         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17813         Likewise.
17814
17815         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17816         definition.  Document in comment.
17817
17818 2012-06-01  David S. Miller  <davem@davemloft.net>
17819
17820         * stdlib/longlong.h: Updated from GCC.
17821
17822 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17823
17824         [BZ #14117]
17825         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17826         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17827         sys/debugreg.h sys/io.h here.
17828         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17829         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17830         sys/io.h.
17831         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17832         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17833         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17834         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17835         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17836         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17837
17838         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17839         Define only if __x86_64__ is defined.
17840
17841 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17842
17843         [BZ #14048]
17844         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17845         Use int64_t for variable i.
17846         * math/libm-test.inc (fmod_test): Add more tests.
17847
17848         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17849         z computation is not scheduled after fetestexcept.
17850         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17851         Use math_force_eval instead of asm to ensure calculation scheduled
17852         before exception test.
17853         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17854         Ensure a1 + u.d computation is not scheduled after fetestexcept.
17855
17856 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
17857
17858         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17859         computation is not scheduled after fetestexcept.
17860
17861 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17862
17863         [BZ #14117]
17864         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17865         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17866
17867 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17868
17869         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17870         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17871
17872 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17873
17874         [BZ #14117]
17875         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17876         <bits/wordsize.h>.
17877         (__WCHAR_MIN): Support __WORDSIZE == 64.
17878         (__WCHAR_MAX): Likewise.
17879
17880         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17881         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17882
17883         [BZ #14183]
17884         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17885         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17886
17887         [BZ #14117]
17888         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17889         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17890
17891         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17892         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17893
17894         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17895         Defined to 1 if __x86_64__ isn't defined.
17896         (_STAT_VER_LINUX_OLD): New.
17897         (st_atime): Remove duplicate.
17898         (st_mtime): Likewise.
17899         (st_ctime): Likewise.
17900
17901 2012-05-31  David S. Miller  <davem@davemloft.net>
17902
17903         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17904         entries.
17905
17906 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
17907
17908         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17909         gen-libm-test.pl.
17910
17911         [BZ #14132]
17912         * elf/dl-reloc.c: Include <_itoa.h>.
17913         (_dl_reloc_bad_type): Remove use of INTUSE.
17914         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17915         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17916         * stdio-common/psiginfo.c (psiginfo): Likewise.
17917         * stdio-common/psignal.c (psignal): Likewise.
17918         * string/strsignal.c (strsignal): Likewise.
17919         * include/signal.h (_sys_siglist): Declare hidden proto.
17920         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
17921         INTVARDEF with libc_hidden_data_def.
17922         * stdio-common/itoa-udigits.c: Likewise.
17923         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17924         (_itoa_lower_digits_internal): Remove declaration.
17925         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17926         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17927         (_sys_sigabbrev_internal): Remove aliases.
17928         (_sys_siglist): Define hidden alias.
17929
17930 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
17931
17932         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17933         bits/sysctl.h.
17934
17935 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17936
17937         [BZ #14117]
17938         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17939         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17940
17941         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17942         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17943         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17944         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17945         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17946         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17947
17948         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17949         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17950         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17951
17952         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17953         with __addr.
17954         (insw): Likewise.
17955         (insl): Likewise.
17956         (outsb): Likewise.
17957         (outsw): Likewise.
17958         (outsl): Likewise.
17959
17960         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17961         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17962         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17963
17964         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17965         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17966         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17967         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17968         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17969         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17970
17971         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17972         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17973
17974         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17975         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17976
17977         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17978         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17979         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17980
17981         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17982         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17983         to ...
17984         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17985
17986         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17987         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17988         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17989
17990         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17991         for x86-64.
17992         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17993
17994 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
17995
17996         * math/math.h (M_El): Use two more decimal places.
17997         (M_LOG2El): Likewise.
17998         (M_LOG10El): Likewise.
17999         (M_LN2l): Likewise.
18000         (M_LN10l): Likewise.
18001         (M_PIl): Likewise.
18002         (M_PI_2l): Likewise.
18003         (M_PI_4l): Likewise.
18004         (M_1_PIl): Likewise.
18005         (M_2_PIl): Likewise.
18006         (M_2_SQRTPIl): Likewise.
18007         (M_SQRT2l): Likewise.
18008         (M_SQRT1_2l): Likewise.
18009
18010 2012-05-31  David S. Miller  <davem@davemloft.net>
18011
18012         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18013         values between float registers.
18014         * sysdeps/sparc/sparc64/memset.S: Likewise.
18015         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18016
18017 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
18018
18019         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18020         -D_FORTIFY_SOURCE=1.
18021         (CPPFLAGS-tst-longjmp_chk.c): Define.
18022         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18023         (CPPFLAGS-tst-longjmp_chk2.c): Define.
18024         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18025         CFLAGS-tst-wchar-h.c.
18026
18027 2012-05-31  Marek Polacek  <polacek@redhat.com>
18028
18029         [BZ #14132]
18030         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18031         __endmntent_internal): Remove declaration.
18032         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18033         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18034         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18035
18036 2012-05-30  David S. Miller  <davem@davemloft.net>
18037
18038         * sysdeps/sparc/sparc32/soft-fp/q_util.c
18039         (___Q_simulate_exceptions): Use real FP ops rather than writing
18040         into the %fsr.
18041         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18042         Likewise.
18043
18044 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18045
18046         [BZ #14117]
18047         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18048         * sysdeps/x86/bits/xtitypes.h: This.
18049
18050         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18051         * sysdeps/x86/bits/wordsize.h: This.
18052
18053         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18054         * sysdeps/x86/bits/huge_vall.h: This.
18055
18056         * sysdeps/i386/bits/select.h: Removed.
18057         * sysdeps/x86_64/bits/select.h: Renamed to ...
18058         * sysdeps/x86/bits/select.h: This.
18059
18060         * sysdeps/i386/bits/setjmp.h: Removed.
18061         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18062         * sysdeps/x86/bits/setjmp.h: This.
18063
18064         * sysdeps/i386/bits/mathdef.h: Removed.
18065         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18066         * sysdeps/x86/bits/mathdef.h: This.
18067
18068 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
18069
18070         [BZ #14132]
18071         * include/sys/socket.h (__connect_internal)
18072         (__libc_sa_len_internal): Remove declaration.
18073         (__connect, __libc_sa_len): Declare hidden_proto.
18074         (SA_LEN): Remove use of INTUSE.
18075         * socket/connect.c: Add libc_hidden_def.
18076         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18077         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18078         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18079         alias.
18080         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18081         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18082         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18083         of adding _internal alias.
18084
18085 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18086
18087         [BZ #14117]
18088         * sysdeps/i386/bits/link.h: Removed.
18089         * sysdeps/i386/bits/linkmap.h: Likewise.
18090         * sysdeps/x86_64/bits/link.h: Renamed to ...
18091         * sysdeps/x86/bits/link.h: This.
18092         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18093         * sysdeps/x86/bits/linkmap.h: This.
18094
18095         * sysdeps/i386/bits/endian.h: Removed.
18096         * sysdeps/x86_64/bits/endian.h: Renamed to ...
18097         * sysdeps/x86/bits/endian.h: This.
18098
18099         * sysdeps/i386/bits/byteswap.h: Removed.
18100         * sysdeps/i386/bits/byteswap-16.h: Likewise.
18101         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18102         * sysdeps/x86/bits/byteswap.h: This.
18103         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18104         * sysdeps/x86/bits/byteswap-16.h: This.
18105         * sysdeps/i386/Implies: Add x86.
18106         * sysdeps/x86_64/Implies: Likewise.
18107
18108 2012-05-30  David S. Miller  <davem@davemloft.net>
18109
18110         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18111         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18112         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18113         (FP_TRAPPING_EXCEPTIONS): Define.
18114         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18115         (FP_TRAPPING_EXCEPTIONS): Define.
18116         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18117         subnormals only when inexact has been signalled or underflow
18118         exceptions are enabled.
18119         (_FP_PACK_CANONICAL): Likewise.
18120
18121 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18122
18123         [BZ #14183]
18124         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18125         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18126
18127 2012-05-30  Richard Henderson  <rth@twiddle.net>
18128
18129         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18130         with #ifndef NOT_IN_libc.
18131
18132         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
18133         marked to avoid plt entry.
18134
18135 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18136
18137         [BZ #14112]
18138         * Makeconfig (default-abi): New macro.
18139         (abi-includes): Likewise.
18140         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
18141         $(abi-$(default-abi)-lib-soname) for soname if defined.
18142         ($(common-objpfx)gnu/lib-names.stmp): Generate from
18143         abi-variants.
18144         * Makefile (installed-stubs): Likewise.
18145         * include/stubs-biarch.h: Removed.
18146         * scripts/lib-names.awk: Only handle one library at a time.
18147         * scripts/soversions.awk: Remove WORDSIZE support.
18148         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18149         entries.
18150         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18151         Removed.
18152         (syscall-list-default-condition): Likewise.
18153         (syscall-list-default-condition): Likewise.
18154         (syscall-list-includes): Likewise.
18155         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18156         syscall-list-* with abi-*.  Handle undefined abi-variants.
18157         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18158         * sysdeps/unix/sysv/linux/i386/Implies: New file.
18159         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18160         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18161         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18162         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18163         Removed.
18164         (syscall-list-32-options): Likewise.
18165         (syscall-list-32-condition): Likewise.
18166         (syscall-list-64-options): Likewise.
18167         (syscall-list-64-condition): Likewise.
18168         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18169         macro.
18170         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18171         Renamed to ...
18172         (abi-*): This.
18173         (abi-64-ld-soname): New macro.
18174         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18175         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18176         Renamed to ...
18177         (abi-*): This.
18178         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18179         * sysdeps/x86_64/x32/shlib-versions: Likewise.
18180
18181 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
18182
18183         * sysdeps/unix/sysv/linux/kernel-features.h
18184         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18185         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18186         include <kernel-features.h>.
18187         [!__NR_ftruncate64]: Remove conditional code.
18188         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18189         [__NR_ftruncate64]: Make code unconditional.
18190         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18191         * sysdeps/unix/sysv/linux/truncate64.c: Do not
18192         include <kernel-features.h>.
18193         [!__NR_ftruncate64]: Remove conditional code.
18194         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18195         [__NR_ftruncate64]: Make code unconditional.
18196         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18198         include <kernel-features.h>.
18199         [!__NR_ftruncate64]: Remove conditional code.
18200         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18201         [__NR_ftruncate64]: Make code unconditional.
18202         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18204         include <kernel-features.h>.
18205         [!__NR_ftruncate64]: Remove conditional code.
18206         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18207         [__NR_ftruncate64]: Make code unconditional.
18208         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18209
18210         * configure.in (libc_cv_fpie): Weaken to a compile test using
18211         LIBC_TRY_CC_OPTION.
18212         * configure: Regenerated.
18213
18214 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18215
18216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18220         Refreshed.
18221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18227         Refreshed.
18228
18229 2012-05-27  David S. Miller  <davem@davemloft.net>
18230
18231         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18232         (___Q_zero): New.
18233         (__Q_simulate_exceptions): Return void.  Change to simulate
18234         exceptions by writing into the %fsr.
18235         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18236         (__Qp_handle_exceptions): Likewise.
18237         (numbers): Delete.
18238         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18239         __Qp_handle_exceptions.
18240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18241         __Qp_handle_exceptions.
18242         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18243         as unused and give dummy FP_RND_NEAREST initializer.
18244         (FP_INHIBIT_RESULTS): Define.
18245         (___Q_simulate_exceptions): Update declaration.
18246         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18247         formatting.
18248         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18249         as unused and give dummy FP_RND_NEAREST initializer.
18250         (__Qp_handle_exceptions): Update declaration.
18251         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18252         formatting.
18253
18254 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
18255
18256         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18257         the temporary FPU control word.
18258         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18259         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18260         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18261         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18262         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18263         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18264         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18265         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18266         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18267         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18268         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18269
18270 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18271
18272         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18273         fields.
18274
18275 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
18276
18277         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18278         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18279         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18280         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18281         Likewise.
18282         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18283         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18284         Likewise.
18285
18286 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
18287
18288         * po/h.po: Update from translation team.
18289
18290 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
18291
18292         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18293
18294         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18295         handling of denormals.
18296         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18297         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18298         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18299         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18300         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18301         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18302         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18303         Likewise.
18304
18305 2012-05-26  Marek Polacek  <polacek@redhat.com>
18306
18307         [BZ #14152]
18308         * math/libm-test.inc (fma_test): Don't always expect underflow
18309         exception.
18310
18311 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18312
18313         [BZ #12416]
18314         * elf/tst-execstack.c: Include stackinfo.h.
18315         (do_test): Adjust test case to ensure that pthread_getattr_np
18316         behaviour remains the same after marking stack executable.
18317
18318 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
18319
18320         * sysdeps/unix/sysv/linux/kernel-features.h
18321         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18322         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18323         kernel-features.h.
18324         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18325         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18326         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18327         kernel-features.h.
18328         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18329         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18330
18331 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
18332
18333         * configure.in: Define the default includes to being none.
18334         * configure: Regenerated.
18335
18336 2012-05-25  Roland McGrath  <roland@hack.frob.com>
18337
18338         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18339         * sysdeps/x86_64/setjmp.S: Likewise.
18340         * sysdeps/i386/bsd-setjmp.S: Likewise.
18341         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18342         * sysdeps/i386/setjmp.S: Likewise.
18343         * sysdeps/i386/__longjmp.S: Likewise.
18344         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18345         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18346
18347         * include/stap-probe.h: New file.
18348         * configure.in: Handle --enable-systemtap.
18349         * configure: Regenerated.
18350         * config.h.in (USE_STAP_PROBE): New #undef.
18351         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18352         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18353         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18354
18355 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
18356
18357         [BZ #13717]
18358         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18359         to 2.4.0 where earlier.
18360         * sysdeps/unix/sysv/linux/configure: Regenerated.
18361         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18362         <kernel-features.h>.
18363         [__ASSUME_32BITUIDS]: Make code unconditional.
18364         [!__ASSUME_32BITUIDS]: Remove conditional code.
18365         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18366         <kernel-features.h>.
18367         [__ASSUME_32BITUIDS]: Make code unconditional.
18368         [!__ASSUME_32BITUIDS]: Remove conditional code.
18369         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18370         [__ASSUME_32BITUIDS]: Make code unconditional.
18371         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18372         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18373         <kernel-features.h>.
18374         [__ASSUME_32BITUIDS]: Make code unconditional.
18375         [!__ASSUME_32BITUIDS]: Remove conditional code.
18376         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18377         <kernel-features.h>.
18378         [__ASSUME_32BITUIDS]: Make code unconditional.
18379         [!__ASSUME_32BITUIDS]: Remove conditional code.
18380         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18381         <kernel-features.h>.
18382         [__ASSUME_32BITUIDS]: Make code unconditional.
18383         [!__ASSUME_32BITUIDS]: Remove conditional code.
18384         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18385         <kernel-features.h>.
18386         [__ASSUME_32BITUIDS]: Make code unconditional.
18387         [!__ASSUME_32BITUIDS]: Remove conditional code.
18388         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18389         <kernel-features.h>.
18390         [__ASSUME_32BITUIDS]: Make code unconditional.
18391         [!__ASSUME_32BITUIDS]: Remove conditional code.
18392         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18393         <kernel-features.h>.
18394         [__ASSUME_32BITUIDS]: Make code unconditional.
18395         [!__ASSUME_32BITUIDS]: Remove conditional code.
18396         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18397         <kernel-features.h>.
18398         [__ASSUME_32BITUIDS]: Make code unconditional.
18399         [!__ASSUME_32BITUIDS]: Remove conditional code.
18400         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18401         <kernel-features.h>.
18402         [__ASSUME_32BITUIDS]: Make code unconditional.
18403         [!__ASSUME_32BITUIDS]: Remove conditional code.
18404         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18405         <kernel-features.h>.
18406         [__ASSUME_32BITUIDS]: Make code unconditional.
18407         [!__ASSUME_32BITUIDS]: Remove conditional code.
18408         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18409         <kernel-features.h>.
18410         [__ASSUME_32BITUIDS]: Make code unconditional.
18411         [!__ASSUME_32BITUIDS]: Remove conditional code.
18412         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18413         <kernel-features.h>.
18414         [__NR_setresgid] (__setresgid): Do not declare.
18415         [__ASSUME_32BITUIDS]: Make code unconditional.
18416         [!__ASSUME_32BITUIDS]: Remove conditional code.
18417         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18418         <kernel-features.h>.
18419         [__NR_setresuid] (__setresuid): Do not declare.
18420         [__ASSUME_32BITUIDS]: Make code unconditional.
18421         [!__ASSUME_32BITUIDS]: Remove conditional code.
18422         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18423         <kernel-features.h>.
18424         [__ASSUME_32BITUIDS]: Make code unconditional.
18425         [!__ASSUME_32BITUIDS]: Remove conditional code.
18426         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18427         <kernel-features.h>.
18428         [__ASSUME_32BITUIDS]: Make code unconditional.
18429         [!__ASSUME_32BITUIDS]: Remove conditional code.
18430         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18431         <kernel-features.h>.
18432         [__ASSUME_32BITUIDS]: Make code unconditional.
18433         [!__ASSUME_32BITUIDS]: Remove conditional code.
18434         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18435         <kernel-features.h>.
18436         [__ASSUME_32BITUIDS]: Make code unconditional.
18437         [!__ASSUME_32BITUIDS]: Remove conditional code.
18438         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18439         <kernel-features.h>.
18440         [__ASSUME_32BITUIDS]: Make code unconditional.
18441         [!__ASSUME_32BITUIDS]: Remove conditional code.
18442         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18443         <kernel-features.h>.
18444         [__ASSUME_32BITUIDS]: Make code unconditional.
18445         [!__ASSUME_32BITUIDS]: Remove conditional code.
18446         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18447         <kernel-features.h>.
18448         [__ASSUME_32BITUIDS]: Make code unconditional.
18449         [!__ASSUME_32BITUIDS]: Remove conditional code.
18450         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18451         <kernel-features.h>.
18452         [__ASSUME_32BITUIDS]: Make code unconditional.
18453         [!__ASSUME_32BITUIDS]: Remove conditional code.
18454         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18455         <kernel-features.h>.
18456         [__ASSUME_32BITUIDS]: Make code unconditional.
18457         [!__ASSUME_32BITUIDS]: Remove conditional code.
18458         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18459         <kernel-features.h>.
18460         [__ASSUME_32BITUIDS]: Make code unconditional.
18461         [!__ASSUME_32BITUIDS]: Remove conditional code.
18462         * sysdeps/unix/sysv/linux/kernel-features.h
18463         (__ASSUME_SETRESUID_SYSCALL): Remove.
18464         (__ASSUME_SETRESGID_SYSCALL): Likewise.
18465         (__ASSUME_32BITUIDS): Likewise.
18466         (__ASSUME_LDT_WORKS): Likewise.
18467         (__ASSUME_O_DIRECTORY): Likewise.
18468         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18469         architecture but not kernel version.
18470         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18471         (__ASSUME_MMAP2_SYSCALL): Likewise.
18472         (__ASSUME_STAT64_SYSCALL): Likewise.
18473         (__ASSUME_IPC64): Likewise.
18474         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18475         <kernel-features.h>.
18476         [__ASSUME_32BITUIDS]: Make code unconditional.
18477         [!__ASSUME_32BITUIDS]: Remove conditional code.
18478         * sysdeps/unix/sysv/linux/opendir.c: Do not include
18479         <kernel-features.h>.
18480         [__ASSUME_O_DIRECTORY]: Make code unconditional.
18481         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18482         132096]: Remove conditional code.
18483         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18484         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18485         <kernel-features.h>.
18486         [__ASSUME_32BITUIDS]: Make code unconditional.
18487         [!__ASSUME_32BITUIDS]: Remove conditional code.
18488         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18489         <kernel-features.h>.
18490         [__ASSUME_32BITUIDS]: Make code unconditional.
18491         [!__ASSUME_32BITUIDS]: Remove conditional code.
18492         * sysdeps/unix/sysv/linux/setegid.c: Do not include
18493         <kernel-features.h>.
18494         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18495         unconditional.
18496         (__setresgid): Do not declare.
18497         [__ASSUME_32BITUIDS]: Make code unconditional.
18498         [!__ASSUME_32BITUIDS]: Remove conditional code.
18499         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18500         <kernel-features.h>.
18501         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18502         unconditional.
18503         (__setresuid): Do not declare.
18504         [__ASSUME_32BITUIDS]: Make code unconditional.
18505         [!__ASSUME_32BITUIDS]: Remove conditional code.
18506         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18507         <kernel-features.h>.
18508         [__ASSUME_32BITUIDS]: Make code unconditional.
18509         [!__ASSUME_32BITUIDS]: Remove conditional code.
18510         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18511         <kernel-features.h>.
18512         [__ASSUME_32BITUIDS]: Make code unconditional.
18513         [!__ASSUME_32BITUIDS]: Remove conditional code.
18514
18515 2012-05-25  Richard Henderson  <rth@twiddle.net>
18516
18517         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18518         dl_hwcap to ifunc resolver.
18519         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18520         elf_ifunc_invoke.
18521         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18522         dl_hwcap to ifunc resolver.
18523         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18524
18525 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18526
18527         [BZ #14153]
18528         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18529         for |x| <= 2**-26, not 2**-57.
18530         * math/libm-test.inc (acos_test): Do not allow spurious underflow
18531         exception.
18532
18533 2012-05-24  Jeff Law  <law@redhat.com>
18534
18535         * stdio-common/Makefile (tests): Add bug25.
18536         * stdio-common/bug25.c: New test.
18537
18538 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18539
18540         [BZ #13576]
18541         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18542         multiple of MALLOC_ALIGNMENT in size.
18543         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18544
18545 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18546
18547         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18548         Require >= 256.
18549         (FILENAME_MAX): Use macro-int-constant.
18550         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
18551         (_IOFBF): Use macro-int-constant.
18552         (_IOLBF): Likewise.
18553         (_IONBF): Likewise.
18554         (SEEK_CUR): Likewise.
18555         (SEEK_END): Likewise.
18556         (SEEK_SET): Likewise.
18557         (TMP_MAX): Likewise.
18558         (EOF): Use macro-int-constant.  Require < 0.
18559         (NULL): Use macro-constant.  Require == 0.
18560         (stdin): Require type to be FILE *.
18561         (stdout): Likewise.
18562         (stderr): Likewise.
18563         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18564         macro-int-constant.
18565         (EXIT_SUCCESS): Likewise.
18566         (NULL): Use macro-constant.  Require == 0.
18567         (RAND_MAX): Use macro-int-constant.
18568         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18569         [C99-based standards] (strtof): Require function.
18570         [C99-based standards] (strtold): Likewise.
18571         [C99-based standards] (strtoll): Likewise.
18572         [C99-based standards] (strtoull): Likewise.
18573         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18574         [ISO || ISO99 || ISO11] (limits.h): Likewise.
18575         [ISO || ISO99 || ISO11] (math.h): Likewise.
18576         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18577         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18578         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18579
18580 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
18581
18582         [BZ #14132]
18583         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18584         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18585         * intl/dgettext.c (DCGETTEXT): Likewise.
18586         * intl/gettext.c (DCGETTEXT): Likewise.
18587         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18588         * posix/regex_internal.h (gettext): Likewise.
18589         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18590         Remove declaration.
18591         * include/argz.h (__argz_count_internal)
18592         (__argz_stringify_internal): Remove declaration.
18593         (__argz_count, __argz_stringify): Declare hidden proto.
18594         * intl/dcgettext.c: Remove use of INTDEF.
18595         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18596         * string/argz-stringify.c: Likewise.
18597         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18598         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18599         Declare hidden proto.
18600         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18601         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18602         Declare hidden proto.
18603         * include/stdio.h (__asprintf_internal): Don't declare.
18604         (__asprintf): Don't define as macro.  Declare hidden proto.
18605         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18606         (__fsetlocking): Declare hidden proto.
18607         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18608         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18609         hidden proto.
18610         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18611         (_IO_setlinebuf): Remove use of INTUSE.
18612         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18613         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18614         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18615         Remove declaration.
18616         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18617         (_IO_do_flush): Remove use of INTUSE.
18618         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18619         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18620         (_IO_adjust_column, _IO_least_wmarker)
18621         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18622         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18623         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18624         (_IO_default_doallocate, _IO_wdefault_doallocate)
18625         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18626         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18627         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18628         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18629         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18630         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18631         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18632         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18633         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18634         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18635         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18636         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18637         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18638         proto.
18639         (_IO_flush_all_internal, _IO_adjust_column_internal)
18640         (_IO_default_uflow_internal, _IO_default_finish_internal)
18641         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18642         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18643         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18644         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18645         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18646         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18647         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18648         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18649         (_IO_file_close_internal, _IO_file_close_it_internal)
18650         (_IO_file_underflow_internal, _IO_file_overflow_internal)
18651         (_IO_file_init_internal, _IO_file_attach_internal)
18652         (_IO_file_fopen_internal, _IO_file_read_internal)
18653         (_IO_file_sync_internal, _IO_file_seek_internal)
18654         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18655         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18656         (_IO_str_underflow_internal, _IO_str_overflow_internal)
18657         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18658         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18659         (_IO_list_all_internal, _IO_link_in_internal)
18660         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18661         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18662         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18663         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18664         (_IO_do_write_internal, _IO_padn_internal)
18665         (_IO_getline_info_internal, _IO_getline_internal)
18666         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18667         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18668         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18669         (_IO_vfscanf_internal, _IO_vfprintf_internal)
18670         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18671         (_IO_init_internal, _IO_un_link_internal): Don't declare.
18672         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18673         with libc_hidden_ver, remove use of INTUSE.
18674         * libio/genops.c: Likewise.
18675         * libio/freopen.c: Likewise.
18676         * libio/freopen64.c: Likewise.
18677         * libio/iofclose.c: Likewise.
18678         * libio/iofdopen.c: Likewise.
18679         * libio/iofflush.c: Likewise.
18680         * libio/iofflush_u.c: Likewise.
18681         * libio/iofgets.c: Likewise.
18682         * libio/iofgets_u.c: Likewise.
18683         * libio/iofopen.c: Likewise.
18684         * libio/iofopncook.c: Likewise.
18685         * libio/iofread.c: Likewise.
18686         * libio/iofread_u.c: Likewise.
18687         * libio/ioftell.c: Likewise.
18688         * libio/iofwrite.c: Likewise.
18689         * libio/iogetline.c: Likewise.
18690         * libio/iogets.c: Likewise.
18691         * libio/iogetwline.c: Likewise.
18692         * libio/iopadn.c: Likewise.
18693         * libio/iopopen.c: Likewise.
18694         * libio/ioseekoff.c: Likewise.
18695         * libio/ioseekpos.c: Likewise.
18696         * libio/iosetbuffer.c: Likewise.
18697         * libio/iosetvbuf.c: Likewise.
18698         * libio/ioungetc.c: Likewise.
18699         * libio/ioungetwc.c: Likewise.
18700         * libio/iovdprintf.c: Likewise.
18701         * libio/iovsprintf.c: Likewise.
18702         * libio/iovsscanf.c: Likewise.
18703         * libio/memstream.c: Likewise.
18704         * libio/obprintf.c: Likewise.
18705         * libio/oldfileops.c: Likewise.
18706         * libio/oldiofclose.c: Likewise.
18707         * libio/oldiofdopen.c: Likewise.
18708         * libio/oldiofopen.c: Likewise.
18709         * libio/oldiopopen.c: Likewise.
18710         * libio/oldstdfiles.c: Likewise.
18711         * libio/putc.c: Likewise.
18712         * libio/setbuf.c: Likewise.
18713         * libio/setlinebuf.c: Likewise.
18714         * libio/stdfiles.c: Likewise.
18715         * libio/strops.c: Likewise.
18716         * libio/vasprintf.c: Likewise.
18717         * libio/vscanf.c: Likewise.
18718         * libio/vsnprintf.c: Likewise.
18719         * libio/vswprintf.c: Likewise.
18720         * libio/wfiledoalloc.c: Likewise.
18721         * libio/wfileops.c: Likewise.
18722         * libio/wgenops.c: Likewise.
18723         * libio/wmemstream.c: Likewise.
18724         * libio/wstrops.c: Likewise.
18725         * libio/__fpurge.c: Likewise.
18726         * libio/__fsetlocking.c: Likewise.
18727         * assert/assert.c: Likewise.
18728         * debug/fgets_chk.c: Likewise.
18729         * debug/fgets_u_chk.c: Likewise.
18730         * debug/fread_chk.c: Likewise.
18731         * debug/fread_u_chk.c: Likewise.
18732         * debug/gets_chk.c: Likewise.
18733         * debug/obprintf_chk.c: Likewise.
18734         * debug/vasprintf_chk.c: Likewise.
18735         * debug/vdprintf_chk.c: Likewise.
18736         * debug/vsnprintf_chk.c: Likewise.
18737         * debug/vsprintf_chk.c: Likewise.
18738         * malloc/mtrace.c: Likewise.
18739         * misc/error.c: Likewise.
18740         * misc/syslog.c: Likewise.
18741         * stdio-common/asprintf.c: Likewise.
18742         * stdio-common/fxprintf.c: Likewise.
18743         * stdio-common/getw.c: Likewise.
18744         * stdio-common/isoc99_fscanf.c: Likewise.
18745         * stdio-common/isoc99_scanf.c: Likewise.
18746         * stdio-common/isoc99_vfscanf.c: Likewise.
18747         * stdio-common/isoc99_vscanf.c: Likewise.
18748         * stdio-common/isoc99_vsscanf.c: Likewise.
18749         * stdio-common/printf-prs.c: Likewise.
18750         * stdio-common/printf_fp.c: Likewise.
18751         * stdio-common/printf_fphex.c: Likewise.
18752         * stdio-common/printf_size.c: Likewise.
18753         * stdio-common/putw.c: Likewise.
18754         * stdio-common/scanf.c: Likewise.
18755         * stdio-common/sprintf.c: Likewise.
18756         * stdio-common/tmpfile.c: Likewise.
18757         * stdio-common/vfprintf.c: Likewise.
18758         * stdio-common/vfscanf.c: Likewise.
18759         * stdlib/strfmon_l.c: Likewise.
18760         * sunrpc/openchild.c: Likewise.
18761         * sunrpc/xdr_stdio.c: Likewise.
18762         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18763         * sysdeps/mach/hurd/tmpfile.c: Likewise.
18764
18765 2012-05-24  Roland McGrath  <roland@hack.frob.com>
18766
18767         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18768
18769         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18770         in the third column, to generate for the shared library an IFUNC
18771         that uses _dl_vdso_vsym.
18772         * Makerules (COMPILE.c, compile-stdin.c): New variables.
18773         * Makeconfig (object-suffixes-noshared): New variable.
18774
18775         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18776         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18777         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18778         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18779
18780         [BZ #14132]
18781         * include/sys/time.h (__gettimeofday): Remove macro.
18782         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18783         * time/gettimeofday.c (__gettimeofday): Remove #undef.
18784         Remove INTDEF.
18785         (__gettimeofday): Add libc_hidden_def.
18786         (gettimeofday): Add libc_hidden_weak.
18787         * sysdeps/mach/gettimeofday.c: Likewise.
18788         * sysdeps/posix/gettimeofday.c: Likewise.
18789         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18790         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18791         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18792         (__gettimeofday_internal): Remove strong_alias.
18793         (__gettimeofday): Add libc_hidden_def.
18794         (gettimeofday): Add libc_hidden_weak.
18795         * sysdeps/unix/syscalls.list (gettimeofday):
18796         Remove __gettimeofday_internal alias.
18797
18798 2012-05-24  Daniel Jacobowitz  <drow@false.org>
18799             H.J. Lu  <hongjiu.lu@intel.com>
18800
18801         [BZ #12495]
18802         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18803         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18804         (largebin_index_32_big): New.
18805         (largebin_index): Use it for 16-byte alignment.
18806         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
18807         correction with front_misalign.
18808
18809 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18810
18811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18813         Likewise.
18814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18815         Likewise.
18816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18817         Likewise.
18818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18819         Likewise.
18820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18821         Likewise.
18822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18823         Likewise.
18824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18825         Likewise.
18826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18827         Likewise.
18828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18829         Likewise.
18830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18831         Likewise.
18832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18833         Likewise.
18834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18835         Likewise.
18836
18837         * scripts/data/c++-types-x32-linux-gnu.data: New file.
18838         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18839
18840 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18841
18842         [BZ #10846]
18843         [BZ #14036]
18844         * math/libm-test.inc (exp_test): Add test from bug 14036.
18845         (pow_test): Add test from bug 10846.
18846
18847         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18848         and other flags.
18849         (special_function): Do not include flags in test name.
18850         (parse_args): Likewise.
18851         * sysdeps/i386/fpu/libm-test-ulps: Update.
18852         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18853         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18854         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18856
18857         * math/gen-libm-test.pl (%beautify): Add entries for underflow
18858         exceptions.
18859         * math/libm-test.inc ("Philosophy"): Update comment about
18860         exception testing.
18861         (UNDERFLOW_EXCEPTION): New macro.
18862         (UNDERFLOW_EXCEPTION_OK): Likewise.
18863         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18864         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18865         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18866         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18867         (INVALID_EXCEPTION_OK): Update value.
18868         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18869         (OVERFLOW_EXCEPTION_OK): Likewise.
18870         (IGNORE_ZERO_INF_SIGN): Likewise.
18871         (test_exceptions): Handle underflow exceptions.
18872         (acos_test): Update for underflow exception expectations.
18873         (cexp_test): Likewise.
18874         (clog_test): Likewise.
18875         (clog10_test): Likewise.
18876         (csqrt_test): Likewise.
18877         (ctan_test): Likewise.
18878         (ctanh_test): Likewise.
18879         (exp_test): Likewise.
18880         (exp10_test): Likewise.
18881         (exp2_test): Likewise.
18882         (expm1_test): Likewise.
18883         (fma_test): Likewise.
18884         (j0_test): Likewise.
18885         (jn_test): Likewise.
18886         (nexttoward_test): Likewise.
18887         (pow_test): Likewise.
18888         (scalbn_test): Likewise.
18889         (scalbln_test): Likewise.
18890         (tan_test): Likewise.
18891         (y1_test): Likewise.
18892         * sysdeps/i386/fpu/libm-test-ulps: Update.
18893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18894
18895 2012-05-23  David S. Miller  <davem@davemloft.net>
18896
18897         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18898         (__libc_sigaction): Remove unused local variables.
18899
18900 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18901
18902         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18903
18904 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
18905
18906         mktime: avoid signed integer overflow
18907         * time/mktime.c (__mktime_internal): Do not mishandle the case
18908         where diff == INT_MIN.
18909
18910         mktime: simplify computation of average
18911         * time/mktime.c (ranged_convert): Use new time_t_avg function
18912         instead of rolling our own (probably-slower) code.
18913
18914         mktime: do not assume signed right shift propagates sign bit
18915         * time/mktime.c (isdst_differ): New static function.
18916         (__mktime_internal): No need to normalize tm_isdst now.
18917         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18918         tm_isdst values.
18919
18920         mktime: merge another wrapv change from gnulib
18921         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18922         from some compilers.
18923
18924         mktime: remove incorrect attempt at unusual arithmetics
18925         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18926         The code didn't really work on such machines anyway.
18927         (TYPE_MINIMUM): Assume two's complement.
18928         (twos_complement_arithmetic): Verify that long_int and time_t
18929         are two's complement (or unsigned, in the latter case).
18930
18931         mktime: check signed shifts on long_int and time_t, too
18932         * time/mktime.c (SHR): Check that shifts work as desired
18933         on the types long_int and time_t too, as SHR is used on
18934         such types.
18935
18936         mktime: do not assume 'long' is wide enough
18937         * time/mktime.c (verify): Move decl up.
18938         (long_int): New type.
18939         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18940         to remove assumption in the code that 'long' is wide enough to
18941         store year values.  This assumption is not true on x32 and on
18942         some non-glibc platforms.
18943
18944         mktime: merge wrapv change from gnulib
18945         * time/mktime.c (WRAPV): New macro.
18946         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18947         (guess_time_tm, __mktime_internal): Do not assume that signed
18948         integer overflow wraps around; modern compilers generate code
18949         where this assumption is no longer valid.
18950
18951 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18952
18953         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18954         Replace "jmp L(pseudo_end)" with "ret".
18955         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18956         Likewise.
18957
18958 2012-05-23  Andreas Jaeger  <aj@suse.de>
18959
18960         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18961         * sysdeps/unix/sysv/linux/poll.c: Remove file.
18962
18963 2012-05-23  Andreas Jaeger  <aj@suse.de>
18964             Maximilian Attems  <max@stro.at>
18965
18966         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18967         New macros.
18968
18969 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18970
18971         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18972         code so that pseudo_end is just ret and the stack pointer is
18973         correct also for static library in error case.
18974
18975 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
18976
18977         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18978         move to syscalls.list.
18979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18983
18984         * manual/install.texi (Running make install): Do not mention Linux
18985         kernel version for which pt_chown is not needed.
18986         (Linux): Do not mention problems with nscd with 2.0 kernels.
18987         * INSTALL: Regenerated.
18988
18989 2012-05-23  Andreas Jaeger  <aj@suse.de>
18990
18991         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18992         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18993         macro.
18994         * sysdeps/unix/sysv/linux/s390/bits/mman.h
18995         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18996         * sysdeps/unix/sysv/linux/sh/bits/mman.h
18997         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18998         * sysdeps/unix/sysv/linux/i386/bits/mman.h
18999         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19000         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19001         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19002         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19003         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19004         * sysdeps/unix/sysv/linux/bits/in.h
19005         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19006
19007 2012-05-22  Roland McGrath  <roland@hack.frob.com>
19008
19009         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19010         (PREPARE_VERSION): Just use assert instead, it will be elided
19011         under [NDEBUG] anyway.
19012
19013 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19014
19015         * sysdeps/unix/sysv/linux/Makefile: Include
19016         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19017         (sysdep_routines): Remove sysctl.
19018         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19019         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19020         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19021         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19022         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19023
19024 2012-05-22  Andreas Jaeger  <aj@suse.de>
19025
19026         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19027         that pseudo_end is just ret and the stack pointer is correct also
19028         for static library in error case.
19029
19030 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19031
19032         [BZ #14122]
19033         * nss/nsswitch.c (defconfig_entries): New variable.
19034         (__nss_database_lookup): Don't leak defconfig entries.
19035         (nss_parse_service_list): Don't leak on error paths.
19036         (free_database_entries): New function.
19037         (free_defconfig): New function.
19038         (free_mem): Move common code to free_database_entries.
19039
19040 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19041
19042         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19043         Add arch_prctl.
19044         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19045
19046         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19047         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19048         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19049         New macro.
19050         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19051         (INTERNAL_SYSCALL_TYPES): Likewise.
19052         (LOAD_ARGS_TYPES_[1-6]): Likewise.
19053         (LOAD_REGS_TYPES_[1-6]): Likewise.
19054         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19055         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19056
19057 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19058
19059         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19060         copysignl for GLIBC_2_0.
19061         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19062         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19063         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19064         logbl for GLIBC_2_0.
19065         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19066         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19067
19068 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19069
19070         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19071         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19072
19073         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19074         Use "neg %eax".
19075
19076         * time/mktime.c: Update copyright years.
19077
19078 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19079
19080         mktime: merge comment-quoting-style change from gnulib
19081         * time/mktime.c: Quote 'like this' in comments.
19082         The GNU coding standards suggest that we no longer quote `like this',
19083         as "`" and "'" are typically rendered asymmetrically nowadays.
19084         The typical gnulib style is to quote 'like this' when quoting
19085         code, and "like this" when quoting English.
19086
19087         * time/mktime.c (compile-command): Add "-I.".
19088
19089         mktime: merge mktime-internal.h change from gnulib
19090         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19091
19092         mktime: merge time_r change from gnulib
19093         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19094
19095         mktime: merge DEBUG change from gnulib
19096         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19097         case system <time.h> has a #define.
19098
19099         mktime: merge <sys/types.h> change from gnulib
19100         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19101         since <time.t> is now guaranteed to define time_t.
19102
19103         mktime: merge HAVE_CONFIG_H change from gnulib
19104         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19105
19106 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19107
19108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19109         Use "neg %eax".
19110
19111         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19112         __rlim_t cast.
19113         (struct rusage): Use anonymous union to pad each field to
19114         __syscall_slong_t.
19115
19116 2012-05-21  David S. Miller  <davem@davemloft.net>
19117
19118         * Makefules (o-iterator): Remove .s cases.
19119         (compile-command.s): Delete.
19120         (COMPILE.s): Delete.
19121         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19122
19123 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
19124
19125         * configure.in (libc_cv_predef_stack_protector): Only consider
19126         "foobar" and "__stack_chk_fail" lines in libc_undefs.
19127         * configure: Regenerated.
19128
19129 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19130
19131         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19132         New macro.  Use R*LP on int and pointer.
19133         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19134         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19135         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19136         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19137
19138         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19139         [__WORDSIZE_TIME64_COMPAT32] instead of
19140         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19141         (struct utmp): Likewise.
19142         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19143         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19144         Renamed to ...
19145         (__WORDSIZE_TIME64_COMPAT32): This.
19146         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19147         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19148         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19149         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19150         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19151         (__WORDSIZE_TIME64_COMPAT32): New macro.
19152
19153 2012-05-21  Andreas Jaeger  <aj@suse.de>
19154
19155         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19156         only if [SHARED]. Add prototype for __wcschr_ia32.
19157
19158 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19159
19160         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19161         of %rbp unmolested in the jmp_buf while mangling the low bits.
19162         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19163         unmolested high bits of %rbp while demangling the low bits.
19164         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19165
19166 2012-05-21  Andreas Jaeger  <aj@suse.de>
19167
19168         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19169         * sunrpc/svc_simple.c: Use it for registerrpc.
19170         * sunrpc/xcrypt.c: Use it for passwd2des.
19171
19172         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19173
19174 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19175
19176         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19177         Don't define if [__SYSCALL_WORDSIZE != 32].
19178         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19179         New macro.
19180
19181 2012-05-21  Bruno Haible  <bruno@clisp.org>
19182             Andreas Jaeger  <aj@suse.de>
19183
19184         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19185         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19186         inptr and inend for must_buffer_ch.
19187         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19188         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19189         * stdio-common/Makefile (tests): Remove bug15.
19190         (bug15-ENV): Remove macro.
19191         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19192         anymore.
19193
19194 2012-05-19  Andreas Jaeger  <aj@suse.de>
19195             Roland McGrath  <roland@hack.frob.com>
19196
19197         * manual/contrib.texi: Completely rewritten. It contains now an
19198         alphabetical list of contributors and their contributions.
19199
19200 2012-05-21  Richard Henderson  <rth@twiddle.net>
19201
19202         * misc/getauxval.c (__getauxval): Use unsigned long int.
19203         * misc/sys/auxv.h: Include <sys/cdefs.h>.
19204         (getauxval): Use unsigned long int.
19205
19206 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19207
19208         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19209
19210 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19211
19212         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19213         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19214         __alignof__ (long double).
19215
19216 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19217
19218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19219
19220 2012-05-20  Richard Henderson  <rth@twiddle.net>
19221
19222         * misc/getauxval.c: New file.
19223         * misc/sys/auxv.h: New file.
19224         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19225         (routines): Add getauxval.
19226         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19227         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19228         * elf/dl-sysdep.c (_dl_auxv): Remove.
19229         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19230         * elf/dl-support.c (_dl_auxv): New variable.
19231         (_dl_aux_init): Initialize it.
19232         * manual/startup.texi (Auxiliary Vector): New node.
19233         * sysdeps/generic/bits/hwcap.h: New file.
19234         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19235         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
19236         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19237         * sysdeps/sparc/sysdep.h: ... here.  Include it.
19238         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19239         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19241         Update.
19242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19245         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19250
19251 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19252
19253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19254
19255 2012-05-19  David S. Miller  <davem@davemloft.net>
19256
19257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19258
19259 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
19260
19261         [BZ #14123]
19262         * math/s_ccosh.c: Include <float.h>
19263         (__ccosh): Avoid internal overflow calculating sinh and cosh
19264         values before multiplying by sin and cos values.
19265         * math/s_ccoshf.c: Likewise.
19266         * math/s_ccoshl.c: Likewise.
19267         * math/s_csin.c: Likewise.
19268         * math/s_csinf.c: Likewise.
19269         * math/s_csinl.c: Likewise.
19270         * math/s_csinh.c: Likewise.
19271         * math/s_csinhf.c: Likewise.
19272         * math/s_csinhl.c: Likewise.
19273         * math/libm-test.inc (ccos_test): Add more tests.
19274         (ccosh_test): Likewise.
19275         (csin_test): Likewise.
19276         (csinh_test): Likewise.
19277         * sysdeps/i386/fpu/libm-test-ulps: Update.
19278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19279
19280 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19281
19282         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19283         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19284
19285         * sysdeps/x86_64/x32/_itoa.h: Add comment.
19286
19287 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
19288
19289         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19290         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19291         * sysdeps/powerpc/soft-fp/Versions: Likewise.
19292         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19293         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19294         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19295         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19296         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19297         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19298         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19299         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19300         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19301         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19302         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19303         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19304         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19305         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19306         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19307         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19308         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19309         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19310         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19311         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19312         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19313         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19314         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19315         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19316         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19317         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19318         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19319         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19320
19321 2012-05-18  Andreas Jaeger  <aj@suse.de>
19322
19323         * csu/.gitignore: Delete.
19324
19325 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19326
19327         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19328         (timex): Use __syscall_slong_t.
19329
19330 2012-05-18  Andreas Jaeger  <aj@suse.de>
19331             Carlos O'Donell  <carlos_odonell@mentor.com>
19332
19333         * manual/install.texi (Configuring and compiling): Update
19334         description about files modified in the source directory.
19335         * INSTALL: Regenerated.
19336
19337 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19338
19339         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19340         value.  Use "or" to set return value to -1.
19341         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19342         negate return value.
19343
19344 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19345
19346         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19347         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19348         failure if the compiler has Graphite support disabled.
19349         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19350         Likewise.
19351         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19352         CFLAGS-memmove.c): Likewise.
19353         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19354         Likewise.
19355
19356 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19357
19358         * sysdeps/x86_64/x32/_itoa.h: New file.
19359
19360         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19361         getdents system call only if kernel and user dirents have the
19362         same d_ino and d_off.
19363
19364         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19365         LLONG_MAX != LONG_MAX.
19366         (_itoa_word): Use _ITOA_WORD_TYPE on value.
19367         (_fitoa_word): Likewise.
19368
19369         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19370         years.
19371         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19372         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19373         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19374
19375         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19376         include <bits/wordsize.h>.  Check __x86_64__ instead of
19377         __WORDSIZE.
19378         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19379         if __x86_64__ is defined.  Use anonymous union on fpstate.
19380
19381         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19382         anonymous union.
19383
19384 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
19385
19386         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19387         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19388         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19389         Refer to _rtld_local_ro instead of _rtld_global_ro.
19390         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19391         Likewise.
19392         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19393         Likewise.
19394         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19395         Likewise.
19396         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19397         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19398         of _rtld_global, and rtld_progname instead of _dl_argv[0].
19399
19400         * sysdeps/powerpc/powerpc32/dl-machine.c
19401         (__elf_machine_runtime_setup) [PROF]: Don't reference
19402         _dl_prof_resolve.
19403
19404 2012-05-18  Andreas Jaeger  <aj@suse.de>
19405
19406         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19407         function only available for GCCs before 3.4 since GCC 3.4
19408         introduced a builtin.
19409         (lrint): Likewise.
19410         (llrintf): Likewise.
19411         (llrint): Likewise.
19412         (fmaxf): Likewise.
19413         (fmax): Likewise.
19414         (fminf): Likewise.
19415         (fmin): Likewise.
19416         (rint): Likewise.
19417         (rintf): Likewise.
19418         (nearbyint): Likewise.
19419         (nearbyintf): Likewise.
19420         (ceil): Likewise.
19421         (ceilf): Likewise.
19422         (floor): Likewise.
19423         (floorf): Likewise.
19424
19425 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19426
19427         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19428         on both fields and cast pointer to __syscall_ulong_t.
19429
19430         * bits/types.h (__fsword_t): New type.
19431         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19432         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19433         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19434         (__FSWORD_T_TYPE): Likewise.
19435         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19436         (__FSWORD_T_TYPE): Likewise.
19437         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19438         (__FSWORD_T_TYPE): Likewise.
19439         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19440         (__FSWORD_T_TYPE): Likewise.
19441         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19442         __SWORD_TYPE with __fsword_t.
19443         (statfs64): Likewise.
19444
19445 2012-05-17  David S. Miller  <davem@davemloft.net>
19446
19447         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19448
19449 2012-05-17  Andreas Jaeger  <aj@suse.de>
19450
19451         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19452         warning.
19453
19454 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19455
19456         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19457
19458 2012-05-17  Andreas Jaeger  <aj@suse.de>
19459
19460         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19461         when it is used.
19462
19463 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
19464
19465         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19466
19467 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19468
19469         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19470         * sysdeps/x86_64/tst-mallocalign1.c: New file.
19471
19472 2012-05-17  Andreas Jaeger  <aj@suse.de>
19473             Carlos O'Donell  <carlos_odonell@mentor.com>
19474
19475         [BZ #14059]
19476         * sysdeps/x86_64/multiarch/init-arch.h
19477         (bit_YMM_Usable): Rename to...
19478         (bit_AVX_Usable): ... this.
19479         (bit_FMA4_Usable): New macro.
19480         (bit_XMM_state): New macro.
19481         (bit_YMM_state): New macro.
19482         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19483         [__ASSEMBLER__] (index_AVX_Usable): ... this.
19484         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19485         (CPUID_OSXSAVE): New macro.
19486         (CPUID_AVX): New macro.
19487         (CPUID_FMA4): New macro.
19488         (index_YMM_Usable): Rename to...
19489         (index_AVX_Usable): ... this.
19490         (HAS_AVX): Use HAS_ARCH_FEATURE.
19491         (HAS_FMA4): Likewise.
19492         (HAS_YMM_USABLE): Remove.
19493         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19494         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19495         are present.
19496         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19497         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19498         * sysdeps/x86_64/multiarch/Makefile: Likewise.
19499         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19500         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19501
19502 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
19503
19504         * math/libm-test.c: Support platforms without multiple rounding modes.
19505         * math/bug-nextafter.c: Support platforms without FP exceptions.
19506         * math/bug-nexttoward.c: Likewise.
19507         * math/test-fenv.c: Likewise.
19508         * math/test-misc.c: Likewise.
19509         * stdlib/bug-getcontext.c: Likewise.
19510
19511 2012-05-17  Andreas Jaeger  <aj@suse.de>
19512
19513         * manual/examples/search.c (critter_cmp): Change signature to
19514         avoid warnings.
19515         * manual/string.texi (Collation Functions): Likewise.
19516
19517 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19518
19519         * bits/types.h: Fold copyright years.
19520         * bits/typesizes.h: Likewise.
19521         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19522         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19523         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19524         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19525         * time/time.h: Likewise.
19526
19527 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
19528
19529         [BZ #208]
19530         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19531         in instead of returning them.  Return void.
19532         (__libc_mallinfo): Accumulate over all arenas.
19533         (__malloc_stats): Adjust for change in int_mallinfo interface.
19534
19535 2012-05-16  Roland McGrath  <roland@hack.frob.com>
19536
19537         [BZ #10375]
19538         * configure.in (NM): Add AC_CHECK_TOOL for it.
19539         (libc_extra_cflags): New substituted variable.
19540         Check for -fstack-protector being used implicitly.
19541         * configure: Regenerated.
19542         * config.make.in (config-extra-cflags): New variable,
19543         gets @libc_extra_cflags@.
19544         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19545
19546         [BZ #10375]
19547         * configure.in: Check for _FORTIFY_SOURCE being predefined.
19548         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19549         * configure: Regenerated.
19550         * config.make.in (CPPUNDEFS): New substituted variable.
19551         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19552         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19553         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19554
19555 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19556
19557         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19558         (mq_attr): Use __syscall_slong_t.
19559
19560 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19561
19562         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19563         Check __x86_64__ instead of __WORDSIZE.
19564         (_STAT_VER_LINUX): Likewise.
19565         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
19566         __syscall_ulong_t and __syscall_slong_t.
19567         (stat64): Likewise.
19568
19569 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19570
19571         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19572
19573 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19574
19575         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19576
19577 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19578
19579         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19580         __syscall_ulong_t.
19581
19582         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19583         include <bits/wordsize.h>.  Check __x86_64__ instead of
19584         __WORDSIZE.
19585         (greg_t): Use "__extension__ long long int" if __x86_64__ is
19586         defined.
19587         (mcontext_t): Replace "unsigned long" with "unsigned long long".
19588
19589         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19590         include <bits/wordsize.h>.  Check __x86_64__ instead of
19591         __WORDSIZE.
19592         (user_regs_struct): Use "__extension__ unsigned long long"
19593         instead of "unsigned long" if __x86_64__ is defined.
19594         (user): Likewise.  Pad after pointer field if __ILP32__ is
19595         defined.
19596
19597 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
19598
19599         * configure.in (makeinfo): Require version 4.5 or later.  Allow
19600         versions 5 to 9.
19601         * configure: Regenerated.
19602         * manual/install.texi (texinfo): Increase version requirement to
19603         4.5 or later.
19604         * INSTALL: Regenerated.
19605
19606         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19607
19608 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19609
19610         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19611
19612         * sysdeps/x86_64/x32/ffs.c: New file.
19613
19614         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19615         __syscall_ulong_t.
19616         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19617         defined.  Use __syscall_ulong_t.
19618         (shminfo): Use __syscall_ulong_t.
19619         (shm_info): Likewise.
19620
19621         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19622         __syscall_ulong_t.
19623
19624         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19625         <bits/wordsize.h>.
19626         (msgqnum_t): Use __syscall_ulong_t.
19627         (msglen_t): Likewise.
19628         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
19629         __syscall_ulong_t.
19630
19631         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19632         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19633
19634         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19635
19636         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19637         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19638
19639         * sysvipc/sys/msg.h (msgbuf): Replace long int with
19640         __syscall_slong_t.
19641
19642         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19643         include <bits/wordsize.h>.  Check __x86_64__ instead of
19644         __WORDSIZE.
19645
19646         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19647         "unsigned long long int" if __x86_64__ is defined.
19648         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19649
19650         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19651         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19652         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19653
19654         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19655         <stdint.h>.
19656         (GET_PC): Cast to uintptr_t first.
19657         (GET_FRAME): Likewise.
19658         (GET_STACK): Likewise.
19659
19660         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19661         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19662         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19663         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19664         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19665         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19666         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19667         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19668         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19669         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19670         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19671         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19672         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19673         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19674         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19675         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19676         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19677         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19678         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19679         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19680         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19681         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19682         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19683         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19684         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19685         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19686         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19687         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19688         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19689
19690 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
19691
19692         * Makerules (+depfiles): Also collect depfiles from .oS in
19693         $(extra-objs).
19694         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19695         .oS, $(libnldbl-routines)).
19696
19697         * Makerules (native-compile-mkdep-flags): Define.
19698         * sunrpc/Makefile (extra-objs): Add $(addprefix
19699         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19700         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19701         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
19702         calling $(make-target-directory).
19703
19704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19705
19706         * bits/types.h (__snseconds_t): Removed.
19707         * time/time.h (struct timespec): Replace __snseconds_t with
19708         __syscall_slong_t.
19709         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19710         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19711         Likewise.
19712         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19713         (__SNSECONDS_T_TYPE): Likewise.
19714         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19715         (__SNSECONDS_T_TYPE): Likewise.
19716         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19717         (__SNSECONDS_T_TYPE): Likewise.
19718
19719 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19720
19721         * sysdeps/mach/hurd/bits/typesizes.h
19722         (__SYSCALL_SLONG_TYPE): New macro.
19723         (__SYSCALL_ULONG_TYPE): Likewise.
19724
19725 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19726
19727         * bits/types.h (__syscall_slong_t): New type.
19728         (__syscall_ulong_t): Likewise.
19729
19730         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19731         (__SYSCALL_ULONG_TYPE): Likewise.
19732         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19733         (__SYSCALL_SLONG_TYPE): Likewise.
19734         (__SYSCALL_ULONG_TYPE): Likewise.
19735         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19736         (__SYSCALL_SLONG_TYPE): Likewise.
19737         (__SYSCALL_ULONG_TYPE): Likewise.
19738         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19739         (__SYSCALL_SLONG_TYPE): Likewise.
19740         (__SYSCALL_ULONG_TYPE): Likewise.
19741
19742 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19743
19744         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19745         Add sigaltstack-offsets.sym.
19746         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19747         <sigaltstack-offsets.h>.
19748         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
19749         longjmp_msg pointer.
19750         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
19751         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19752         signal stack.
19753         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19754
19755 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19756
19757         * elf/stackguard-macros.h: Remove file.
19758         * sysdeps/generic/stackguard-macros.h: New file.
19759         * sysdeps/i386/stackguard-macros.h: Likewise.
19760         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19761         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19762         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19763         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19764         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19765         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19766         * sysdeps/x86_64/stackguard-macros.h: Likewise.
19767         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19768         <elf/stackguard-macros.h>.
19769
19770         [BZ #14109]
19771         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19772         __aligned__ in attribute.
19773         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19774         (gregset_t): Likewise.
19775
19776 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19777
19778         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19779         * sysdeps/x86_64/64/Implies-after: Here.  New file.
19780         * sysdeps/x86_64/x32/Implies-after: New file.
19781
19782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19783
19784         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19785         and access return value for _dl_profile_fixup.  Use R10_LP to
19786         load frame size.
19787
19788 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19789
19790         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19791
19792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19793
19794         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19795         * sysdeps/x86_64/x32/sysdep.h: New file.
19796
19797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19798
19799         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19800         * sysdeps/x86_64/setjmp.S: Likewise.
19801
19802 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19803
19804         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19805         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19806         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19807         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19808         remove unused global constant.
19809
19810 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
19811
19812         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19813         include of <not-cancel.h>.
19814
19815 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19816
19817         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19818
19819 2012-05-15  Jeff Law  <law@redhat.com>
19820             Andreas Jaeger  <aj@suse.de>
19821
19822         [BZ #13594]
19823         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19824         out from...
19825         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19826         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19827         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19828         code changing __hst_map_handle.map.
19829
19830 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19831
19832         * configure.in (sysnames): Look for Implies-before and Implies-after
19833         files.
19834         * configure: Regenerated.
19835
19836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19837
19838         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19839         8-byte data alignment with LP_SIZE alignment.
19840
19841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19842
19843         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19844         into R10_LP.
19845
19846 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19847
19848         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19849
19850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19851
19852         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19853         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19854         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19855         Likewise.
19856         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19857
19858 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19859
19860         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19861         (stackinfo_sub_sp): Likewise.
19862
19863 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19864
19865         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19866         RAX_LP.
19867
19868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19869
19870         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19871         into R*_LP.
19872
19873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19874
19875         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19876         sizes into R*_LP.
19877
19878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19879
19880         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19881
19882 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19883
19884         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19885         into R11_LP and load __x86_64_shared_cache_size_half into
19886         R8_LP.
19887
19888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19889
19890         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19891         R8_LP.
19892
19893 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19894
19895         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19896         logb for POWER7.
19897         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19898         logbf for POWER7.
19899         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19900         logbl for POWER7.
19901         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19902         powerpc32/power7/fpu/s_logb.c via #include.
19903         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19904         powerpc32/power7/fpu/s_logbf.c via #include.
19905         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19906         powerpc32/power7/fpu/s_logbl.c via #include.
19907
19908 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19909
19910         * README.libm: Remove file.
19911
19912 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19913
19914         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19915         count for x32.  Use R*_LP and omit operand-size suffix.
19916
19917 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19918
19919         * shlib-versions: Move x86_64-.*-linux.* entries to ...
19920         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
19921         * sysdeps/x86_64/x32/shlib-versions: New file.
19922
19923 2012-05-14  Roland McGrath  <roland@hack.frob.com>
19924
19925         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19926         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19927         Use _dl_fatal_printf instead.
19928
19929 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19930
19931         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19932         set if not set by the user.  Do not allow for being unset.
19933         * sysdeps/unix/sysv/linux/configure: Regenerated.
19934
19935 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19936
19937         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19938         the `q' suffix from lea and replace .quad with ASM_ADDR.
19939
19940 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19941
19942         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19943         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
19944         instead of $17.
19945         (PTR_DEMANGLE): Likewise.
19946
19947 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19948
19949         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19950         (LP_OP): Likewise.
19951         (ASM_ADDR): Likewise.
19952         (RAX_LP): Likewise.
19953         (RBP_LP): Likewise.
19954         (RBX_LP): Likewise.
19955         (RCX_LP): Likewise.
19956         (RDI_LP): Likewise.
19957         (RSI_LP): Likewise.
19958         (RSP_LP): Likewise.
19959         (R8_LP): Likewise.
19960         (R9_LP): Likewise.
19961         (R10_LP): Likewise.
19962         (R10_LP): Likewise.
19963         (R11_LP): Likewise.
19964         (R12_LP): Likewise.
19965         (R13_LP): Likewise.
19966         (R14_LP): Likewise.
19967         (R15_LP): Likewise.
19968
19969 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19970
19971         * sysdeps/x86_64/x32/dl-machine.h: New file.
19972
19973 2012-05-14  Andreas Jaeger  <aj@suse.de>
19974
19975         * manual/Makefile (subdir): Remove export of subdir.
19976         (all): Remove target.
19977         (.PHONY): Remove all from list.
19978         (mkinstalldirs): Remove.
19979         (.PHONY): Remove installdirs from list.
19980         ($(inst_infodir)/libc.info): Use make-target-directory.
19981         (installdirs): Remove.
19982         (subdir_%): Remove.
19983         (glibc-targets): Remove.
19984         (lib): Remove.
19985         (stubs): Remove.
19986         ($(objpfx)stubs ../po/manual.pot): Remove.
19987         ($(objpfx)stamp%): Remove.
19988         (make-target-directory): Remove.
19989         (subdir_install): Remove.
19990         (routines): Remove.
19991         (aux): Remove.
19992         (sources): Remove.
19993         (objects): Remove.
19994         (headers): Remove.
19995
19996         [BZ #13750]
19997         * manual/.gitignore: Remove, it's not needed anymore.
19998         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19999         all files in it.
20000         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20001         directory.
20002         (texis): Renamed to $(objpfx)texis.
20003         (texis-path): New, contains path to generated files.
20004         (chapters.%): Use texis-path for complete path, add extra argument
20005         libc-texinfo.sh.
20006         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20007         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20008         (summary,texi, stamp-summary): Use complete path of
20009         files. Generate files in build dir.
20010         (dir-add.texi): Build in build dir.
20011         (libm-err.texi,stamp-libm-err): Likewise.
20012         (version.texi, stamp-version): Likewise.
20013         (.%c.texi): Likewise.
20014         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20015         (mostlyclean): Remove target.
20016         (realclean): Remove target.
20017         (generated): Add new variable with contents from mostlyclean and
20018         realclean, remove entries duplicated in common-mostlyclean, add
20019         stamp-libm-err and stamp-version.
20020         (generated-dirs): Add libc directory.
20021         ($(inst_infodir)/libc.info): Install files from build dir.
20022
20023         * manual/install.texi (Configuring and compiling): Adjust since
20024         the info files are not part of the tar ball anymore.
20025
20026 2012-05-14  Andreas Jaeger  <aj@suse.de>
20027
20028         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20029         variable.
20030
20031 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20032
20033         [BZ #13717]
20034         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20035         to 2.2.0 where earlier.
20036         * sysdeps/unix/sysv/linux/configure: Regenerated.
20037         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20038         Remove conditional code.
20039         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20040         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20041         Remove conditional code.
20042         [!__NR_lchown]: Likewise.
20043         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20044         [__NR_lchown]: Likewise.
20045         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20046         comment referencing __ASSUME_LCHOWN_SYSCALL.
20047         * sysdeps/unix/sysv/linux/i386/sigaction.c
20048         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20049         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20050         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20051         Remove conditional code.
20052         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20053         (__protocol_available): Remove #if 0 code.
20054         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20055         conditional code.
20056         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20057         * sysdeps/unix/sysv/linux/kernel-features.h
20058         (__ASSUME_GETCWD_SYSCALL): Don't define.
20059         (__ASSUME_REALTIME_SIGNALS): Likewise.
20060         (__ASSUME_PREAD_SYSCALL): Likewise.
20061         (__ASSUME_PWRITE_SYSCALL): Likewise.
20062         (__ASSUME_POLL_SYSCALL): Likewise.
20063         (__ASSUME_LCHOWN_SYSCALL): Likewise.
20064         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20065         non-SPARC.
20066         (__ASSUME_SIOCGIFNAME): Don't define.
20067         (__ASSUME_MSG_NOSIGNAL): Likewise.
20068         (__ASSUME_SENDFILE): Define unconditionally.
20069         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20070         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20071         conditional code.
20072         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20073         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20074         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20075         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20076         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20077         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20078         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20080         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20081         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20083         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20084         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20086         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20087         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20089         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20090         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20092         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20093         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20095         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20096         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20098         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20099         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20101         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20102         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20103         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20104         Remove conditional code.
20105         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20106         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20107         Remove conditional code.
20108         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20109         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20110         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20111         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20112         Remove conditional code.
20113         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20114         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20115         Remove conditional code.
20116         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20117         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20118         Remove conditional code.
20119         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20120         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20121         Remove conditional code.
20122         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20123         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20124         Remove conditional code.
20125         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20126         * sysdeps/unix/sysv/linux/sh/pwrite64.c
20127         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20128         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20129         * sysdeps/unix/sysv/linux/sigaction.c
20130         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20131         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20132         * sysdeps/unix/sysv/linux/sigpending.c
20133         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20134         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20135         * sysdeps/unix/sysv/linux/sigprocmask.c
20136         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20137         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20138         * sysdeps/unix/sysv/linux/sigsuspend.c
20139         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20140         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20141         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20142         (__libc_missing_rt_sigs): Remove.
20143         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20144         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20145         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20146         Remove conditional code.
20147         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20148         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20149         return 1.
20150         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20151         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20152         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20153         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20154
20155 2012-05-14  Andreas Jaeger  <aj@suse.de>
20156
20157         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20158         it's not used in glibc.
20159         (__coshm1): Likewise.
20160         (__acosh1p): Likewise.
20161         (__sgn): Likewise.
20162
20163         * manual/string.texi (Copying and Concatenation): Add missing
20164         variable in concat example.
20165         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20166
20167 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20168
20169         [BZ #14103]
20170         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20171         __builtin_clzl with __builtin_clzll.
20172
20173 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20174
20175         [BZ #14104]
20176         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20177         libc_freeres_ptr.
20178
20179 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20180
20181         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20182         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20183         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20184         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20185
20186 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
20187
20188         * NEWS: Update ia64 info.
20189
20190 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
20191
20192         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20193         used as bcopy.
20194
20195 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
20196
20197         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20198         * sysdeps/unix/syscalls.list (dup3): Likewise.
20199         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20200         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20201
20202 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20203
20204         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20205         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20206
20207 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20208
20209         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20210         thread pointer.
20211         (TLS_IE): Use mov/add instead of movq/addq to load thread
20212         pointer.
20213         (TLS_GD_PREFIX): New.
20214         (TLS_GD): Use it.
20215
20216 2012-05-11  David S. Miller  <davem@davemloft.net>
20217
20218         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20219         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20220         (_FPU_SETCW): Likewise.
20221
20222 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20223
20224         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20225         is 32-byte aligned.
20226
20227 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
20228
20229         [BZ #11837]
20230         * iconvdata/gb18030.c: Update tables.
20231         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
20232         characters specially.
20233         (BODY for TO_LOOP): Add encoding of missing ranges.
20234
20235 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
20236
20237         [BZ #13673]
20238         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20239         * sysdeps/mach/hurd/dup3.c: Likewise.
20240         * sysdeps/mach/hurd/readlinkat.c: Likewise.
20241         * sysdeps/powerpc/memmove.c:: Likewise.
20242
20243 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20244
20245         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20246         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20247
20248 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20249
20250         * elf/elf.h (R_X86_64_RELATIVE64): New.
20251         (R_X86_64_NUM): Updated.
20252         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20253         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
20254         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20255         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20256         tst-quad1pie tst-quad2pie
20257         (modules-names): Add tst-quadmod1 tst-quadmod2.
20258         ($(objpfx)tst-quad1): New dependency.
20259         ($(objpfx)tst-quad2): Likewise.
20260         ($(objpfx)tst-quad1pie): Likewise.
20261         ($(objpfx)tst-quad2pie): Likewise.
20262         * sysdeps/x86_64/tst-quad1.c: New file.
20263         * sysdeps/x86_64/tst-quad1pie.c: New file.
20264         * sysdeps/x86_64/tst-quad2.c: Likewise.
20265         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20266         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20267         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20268         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20269         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20270
20271 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20272
20273         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20274         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20275         * streams/stropts.h (t_scalar_t): Define type.
20276
20277         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20278         (_PATH_PRESERVE): Set to "/var/lib".
20279         (_PATH_RWHODIR): Set to "/var/spool/rwho".
20280
20281         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20282         instead of int.
20283
20284         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20285         if __dir_mkfile succeeded.
20286
20287         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20288         checking for _hurd_dtablesize.  Unlock it right after having
20289         finished _hurd_dtable allocation.
20290
20291 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20292
20293         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20294         * sysdeps/mach/hurd/configure: Regenerated.
20295         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20296         special-casing to...
20297         * sysdeps/gnu/configure.in: ... this new file.
20298         * sysdeps/unix/sysv/linux/configure: Regenerated.
20299         * sysdeps/gnu/configure: New generated file.
20300
20301         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20302         for Linux: use nsec instead of usec, as well as:
20303         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20304         members of type struct timespec.
20305         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20306         New macros.
20307         (struct stat64): Likewise.
20308         (_STATBUF_ST_NSEC): New macro.
20309         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20310
20311         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20312         __strtoul_internal rather than strtoul.
20313
20314 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20315
20316         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20317         and reject them.
20318
20319 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20320
20321         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20322         which preserves existing values.
20323         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20324
20325 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20326
20327         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20328         TIMEOUT values.  Return EINVAL for NFDS values either negative or
20329         greater than FD_SETSIZE.
20330
20331 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20332
20333         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20334         allocated, call __vm_protect to finish enabling the existing space, and
20335         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20336         allocate the remainder.
20337
20338 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20339
20340         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20341         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
20342
20343 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20344
20345         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20346         sysdeps/mach/hurd/readlink.c.
20347
20348         * posix/tst-sysconf.c (posix_options): Only use
20349         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20350         _POSIX_SYNCHRONIZED_IO when they are defined
20351         * sysdeps/mach/hurd/bits/posix_opt.h:
20352         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20353         (_XOPEN_REALTIME): Undefine macro.
20354         (_XOPEN_REALTIME_THREADS): Undefine macro.
20355         (_XOPEN_SHM): Undefine macro.
20356         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20357         macro to -1.
20358         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20359         macro to -1.
20360         (_POSIX_ASYNC_IO): Undefine macro.
20361         (_POSIX_PRIORITIZED_IO): Undefine macro.
20362         (_POSIX_SPIN_LOCKS): Define macro to -1.
20363
20364         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20365         SA_NODEFER, SA_RESETHAND.
20366         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20367         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20368         F_DUPFD_CLOEXEC.
20369
20370 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20371
20372         * elf/Makefile (pldd-modules): Define unconditionally.
20373
20374 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20375
20376         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20377
20378 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20379
20380         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20381         Return ENOENT when name is empty.
20382         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20383
20384 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20385
20386         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20387
20388         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20389
20390 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20391
20392         Fix mlock in all cases except non-readable pages.
20393         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20394         instead of VM_PROT_ALL as parameter to __vm_wire function.
20395
20396         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20397         (__mkdir): When path is `/', just fail with EEXIST.
20398         * sysdeps/mach/hurd/mkdirat.c: Likewise.
20399
20400 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20401
20402         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20403         <sys/uio.h> (for writev).
20404         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20405         and <sys/param.h> (for MIN).
20406
20407 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20408
20409         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20410         REQUESTED_TIME.  Properly set the remaining time and return EINTR
20411         if interrupted.
20412
20413 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20414
20415         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20416         Depend on against $(link-rpcuserlibs).
20417
20418 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20419
20420         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20421         (__libc_stack_end): Do not use attribute_relro.
20422         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20423         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20424         to libthread-provided value.
20425         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20426         attribute_relro.
20427
20428 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20429
20430         [BZ #3748]
20431         * bits/libc-lock.h (__libc_once_get): New macro.
20432         * sysdeps/mach/bits/libc-lock.h: Likewise.
20433         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20434         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20435         instead of using implementation details.
20436
20437         * libio/fileops.c: Unconditionally include <kernel-features.h>.
20438         * libio/freopen.c: Likewise.
20439         * libio/freopen64.c: Likewise.
20440         * misc/syslog.c: Likewise.
20441         * nscd/connections.c: Likewise.
20442         * nscd/netgroupcache.c: Likewise.
20443         * sysdeps/posix/getcwd.c: Likewise.
20444
20445 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20446
20447         * math/w_ilogbf.c: Add #include <limits.h>.
20448
20449 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20450
20451         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20452         path instead of returning without unlocking.
20453
20454         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20455         immediate-write ioctls.
20456         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20457
20458 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20459
20460         * sysdeps/mach/hurd/i386/init-first.c (init): Use
20461         __builtin_frame_address instead of making assumptions about the
20462         location of the return address relative to DATA.  Force early load of
20463         the return address.
20464         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20465         __builtin_frame_address.
20466
20467         dup3 for GNU Hurd.
20468         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20469         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
20470         implement dup3 and do some further code clean-ups.
20471         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20472         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20473
20474 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20475
20476         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20477
20478         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20479         HURD_CRITICAL_END around holding _hurd_dtable_lock.
20480         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20481         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20482         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20483         d->port.lock.
20484
20485         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20486         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
20487         when handler == SIG_ERR, not when handler != SIG_ERR.
20488
20489 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20490
20491         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20492         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20493         definitions.
20494
20495         accept4 for GNU Hurd.
20496         * include/sys/socket.h (__libc_accept4): New prototype.
20497         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
20498         to implement __libc_accept4.
20499         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20500         __libc_accept4.
20501         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20502
20503         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20504         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20505         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20506         signal-defines.sym.
20507
20508 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20509
20510         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20511
20512 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20513
20514         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20515         assertion on O_CLOEXEC flag.
20516         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20517         * hurd/intern-fd.c: Likewise.
20518         * hurd/port2fd.c: Likewise.
20519
20520 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20521
20522         [BZ #3906]
20523         * bits/in.h (IPV6_PKTINFO): Define new macro.
20524         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20525
20526 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20527
20528         [BZ #13954]
20529         [BZ #13955]
20530         [BZ #13956]
20531         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20532         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20533         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20534         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20535         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20536         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20537         * math/libm-test.inc (logb_test) : Additional logb tests.
20538
20539 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
20540             Andreas Jaeger  <aj@suse.de>
20541
20542         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20543         * configure: Regenerated.
20544         * config.h.in (LINK_OBSOLETE_RPC): New macro.
20545         * config.make.in (link-obsolete-rpc): New substituted variable.
20546         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20547         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20548         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20549         (shared-only-routines): Don't set it under [link-obsolete-rpc],
20550         so that libc.a contains the symbols.
20551         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20552         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20553         * sunrpc/auth_none.c: Likewise.
20554         * sunrpc/auth_unix.c: Likewise.
20555         * sunrpc/authdes_prot.c: Likewise.
20556         * sunrpc/authuxprot.c: Likewise.
20557         * sunrpc/clnt_gen.c: Likewise.
20558         * sunrpc/clnt_perr.c: Likewise.
20559         * sunrpc/clnt_raw.c: Likewise.
20560         * sunrpc/clnt_simp.c: Likewise.
20561         * sunrpc/clnt_tcp.c: Likewise.
20562         * sunrpc/clnt_udp.c: Likewise.
20563         * sunrpc/clnt_unix.c: Likewise.
20564         * sunrpc/des_crypt.c: Likewise.
20565         * sunrpc/des_soft.c: Likewise.
20566         * sunrpc/get_myaddr.c: Likewise.
20567         * sunrpc/key_call.c: Likewise.
20568         * sunrpc/key_prot.c: Likewise.
20569         * sunrpc/netname.c: Likewise.
20570         * sunrpc/pm_getmaps.c: Likewise.
20571         * sunrpc/pm_getport.c: Likewise.
20572         * sunrpc/pmap_clnt.c: Likewise.
20573         * sunrpc/pmap_prot.c: Likewise.
20574         * sunrpc/pmap_prot2.c: Likewise.
20575         * sunrpc/pmap_rmt.c: Likewise.
20576         * sunrpc/publickey.c: Likewise.
20577         * sunrpc/rpc_cmsg.c: Likewise.
20578         * sunrpc/rpc_common.c: Likewise.
20579         * sunrpc/rpc_dtable.c: Likewise.
20580         * sunrpc/rpc_prot.c: Likewise.
20581         * sunrpc/rpc_thread.c: Likewise.
20582         * sunrpc/rtime.c: Likewise.
20583         * sunrpc/svc.c: Likewise.
20584         * sunrpc/svc_auth.c: Likewise.
20585         * sunrpc/svc_raw.c: Likewise.
20586         * sunrpc/svc_run.c: Likewise.
20587         * sunrpc/svc_tcp.c: Likewise.
20588         * sunrpc/svc_udp.c: Likewise.
20589         * sunrpc/svc_unix.c: Likewise.
20590         * sunrpc/svcauth_des.c: Likewise.
20591         * sunrpc/xcrypt.c: Likewise.
20592         * sunrpc/xdr.c: Likewise.
20593         * sunrpc/xdr_array.c: Likewise.
20594         * sunrpc/xdr_float.c: Likewise.
20595         * sunrpc/xdr_intXX_t.c: Likewise.
20596         * sunrpc/xdr_mem.c: Likewise.
20597         * sunrpc/xdr_rec.c: Likewise.
20598         * sunrpc/xdr_ref.c: Likewise.
20599         * sunrpc/xdr_sizeof.c: Likewise.
20600         * sunrpc/xdr_stdio.c: Likewise.
20601
20602 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20603
20604         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20605         change.  Update copyright years.
20606
20607 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
20608
20609         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20610
20611 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
20612             Joseph Myers  <joseph@codesourcery.com>
20613             Paul Pluzhnikov  <ppluzhnikov@google.com>
20614
20615         [BZ #14012]
20616         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20617         requiring rpcgen.
20618         [cross-compiling] (extra-libs): Likewise.
20619         [cross-compiling] (extra-libs-others): Likewise.
20620         [cross-compiling] (librpcsvc-routines): Likewise.
20621         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20622         [cross-compiling] (omit-deps): Likewise.
20623         (sunrpc-CPPFLAGS): New variable.
20624         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20625         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20626         (cross-rpcgen-objs): New variable.
20627         (extra-objs): Append $(cross-rpcgen-objs).
20628         ($(cross-rpcgen-objs)): New rule.
20629         ($(objpfx)cross-rpcgen): Likewise.
20630         (rpcgen-cmd): Define to use $(built-program-file).  Expand
20631         comment.
20632         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20633         ($(objpfx)x%.stmp): Likewise.
20634         * sunrpc/proto.h [IS_IN_build] (_): Define.
20635         [IS_IN_build] (_libc_intl_domainname): Likewise.
20636
20637 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20638
20639         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20640         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20641         and R_X86_64_TPOFF64.
20642
20643 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
20644
20645         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20646         sysdeps/unix/sysv/syscalls.list.
20647         (stime): Likewise.
20648         (utime): Likewise.
20649         * sysdeps/unix/sysv/syscalls.list: Remove file.
20650
20651 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
20652
20653         [BZ #3440]
20654         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20655         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20656         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20657         (__LC_IDENTIFICATION): Make these macros useful in #if
20658         expressions, as required by C99.
20659
20660 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
20661
20662         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20663         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
20664         after this.
20665
20666 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
20667
20668         * stdlib/longlong.h: Updated from GCC.
20669
20670 2012-05-09  Andreas Jaeger  <aj@suse.de>
20671
20672         * nscd/nscd.c (run_modes): Make named enum, reorder so that
20673         default is first entry.
20674         (run_mode): Set type.
20675         (main): Remove informal message about syslog.
20676         (options): Fix typo.
20677
20678         [BZ #14053]
20679         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20680         to asm.
20681         (lrint): Likewise.
20682         (llrintf): Likewise.
20683         (llrint): Likewise.
20684         (rint): Likewise.
20685         (rintf): Likewise.
20686         (nearbyint): Likewise.
20687         (nearbyintf): Likewise.
20688
20689 2012-05-09  Andreas Jaeger  <aj@suse.de>
20690             Pedro Alves  <palves@redhat.com>
20691
20692         * nscd/nscd.c (run_mode): Use enum.
20693         (main): Cleanup coding style issue.
20694
20695 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
20696             Andreas Jaeger  <aj@suse.de>
20697
20698         * nscd/nscd.c (go_background): Replaced with...
20699         (run_mode): ... this.
20700         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20701         (options): Add -F --foreground.
20702         (main): Implement it.
20703         (parse_opt): Parse it.
20704
20705 2012-05-09  Andreas Jaeger  <aj@suse.de>
20706
20707         [BZ #14083]
20708         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20709         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20710         -Wconversion warning.
20711         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20712         Likewise.
20713
20714 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
20715
20716         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
20717         == 0.
20718         (LC_ALL): Use macro-int-constant.
20719         (LC_COLLATE): Likewise.
20720         (LC_CTYPE): Likewise.
20721         (LC_MESSAGES): Likewise.
20722         (LC_MONETARY): Likewise.
20723         (LC_NUMERIC): Likewise.
20724         (LC_TIME): Likewise.
20725         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20726         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20727         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20728         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20729         Specify type.
20730         [C99-based standards] (float_t): Expect type.
20731         [C99-based standards] (double_t): Expect type.
20732         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
20733         type.
20734         [C99-based standards] (HUGE_VALL): Likewise.
20735         [C99-based standards] (INFINITY): Likewise.
20736         [C99-based standards] (NAN): Likewise.
20737         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20738         [C99-based standards] (FP_NAN): Likewise.
20739         [C99-based standards] (FP_NORMAL): Likewise.
20740         [C99-based standards] (FP_SUBNORMAL): Likewise.
20741         [C99-based standards] (FP_ZERO): Likewise.
20742         [C99-based standards] (FP_FAST_FMA): Use
20743         optional-macro-int-constant.  Specify type.  Require == 1.
20744         [C99-based standards] (FP_FAST_FMAF): Likewise.
20745         [C99-based standards] (FP_FAST_FMAL): Likewise.
20746         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20747         [C99-based standards] (FP_ILOGBNAN): Likewise.
20748         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20749         Specify type.
20750         [C99-based standards] (MATH_ERREXCEPT): Likewise.
20751         [C99-based standards] (math_errhandling): Specify type.
20752         [ISO99 || ISO11] (signgam): Do not allow.
20753         [non-C99-based standards] (copysignf): Do not allow.
20754         [non-C99-based standards] (exp2f): Likewise.
20755         [non-C99-based standards] (log2f): Likewise.
20756         [non-C99-based standards] (modff): Allow.
20757         [non-C99-based standards] (erff): Do not allow.
20758         [non-C99-based standards] (erfcf): Likewise.
20759         [non-C99-based standards] (gammaf): Likewise.
20760         [non-C99-based standards] (hypotf): Likewise.
20761         [non-C99-based standards] (j0f): Likewise.
20762         [non-C99-based standards] (j1f): Likewise.
20763         [non-C99-based standards] (jnf): Likewise.
20764         [non-C99-based standards] (lgammaf): Likewise.
20765         [non-C99-based standards] (tgammaf): Likewise.
20766         [non-C99-based standards] (y0f): Likewise.
20767         [non-C99-based standards] (y1f): Likewise.
20768         [non-C99-based standards] (ynf): Likewise.
20769         [non-C99-based standards] (isnanf): Likewise.
20770         [non-C99-based standards] (acoshf): Likewise.
20771         [non-C99-based standards] (asinhf): Likewise.
20772         [non-C99-based standards] (atanhf): Likewise.
20773         [non-C99-based standards] (cbrtf): Likewise.
20774         [non-C99-based standards] (expm1f): Likewise.
20775         [non-C99-based standards] (ilogbf): Likewise.
20776         [non-C99-based standards] (log1pf): Likewise.
20777         [non-C99-based standards] (logbf): Likewise.
20778         [non-C99-based standards] (nextafterf): Likewise.
20779         [non-C99-based standards] (remainderf): Likewise.
20780         [non-C99-based standards] (rintf): Likewise.
20781         [non-C99-based standards] (scalbf): Likewise.
20782         [non-C99-based standards] (copysignl): Likewise.
20783         [non-C99-based standards] (exp2l): Likewise.
20784         [non-C99-based standards] (log2l): Likewise.
20785         [non-C99-based standards] (modfl): Allow.
20786         [non-C99-based standards] (erfl): Do not allow.
20787         [non-C99-based standards] (erfcl): Likewise.
20788         [non-C99-based standards] (gammal): Likewise.
20789         [non-C99-based standards] (hypotl): Likewise.
20790         [non-C99-based standards] (j0l): Likewise.
20791         [non-C99-based standards] (j1l): Likewise.
20792         [non-C99-based standards] (jnl): Likewise.
20793         [non-C99-based standards] (lgammal): Likewise.
20794         [non-C99-based standards] (tgammal): Likewise.
20795         [non-C99-based standards] (y0l): Likewise.
20796         [non-C99-based standards] (y1l): Likewise.
20797         [non-C99-based standards] (ynl): Likewise.
20798         [non-C99-based standards] (isnanl): Likewise.
20799         [non-C99-based standards] (acoshl): Likewise.
20800         [non-C99-based standards] (asinhl): Likewise.
20801         [non-C99-based standards] (atanhl): Likewise.
20802         [non-C99-based standards] (cbrtl): Likewise.
20803         [non-C99-based standards] (expm1l): Likewise.
20804         [non-C99-based standards] (ilogbl): Likewise.
20805         [non-C99-based standards] (log1pl): Likewise.
20806         [non-C99-based standards] (logbl): Likewise.
20807         [non-C99-based standards] (nextafterl): Likewise.
20808         [non-C99-based standards] (remainderl): Likewise.
20809         [non-C99-based standards] (rintl): Likewise.
20810         [non-C99-based standards] (scalbl): Likewise.
20811         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20812         [non-C99-based standards] (FP_*): Do not allow.
20813         [C99-based standards] (FP_*): Change to
20814         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20815         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20816         allow.
20817         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20818         (SIG_ERR): Likewise.
20819         [X/Open-based standards] (SIG_HOLD): Likewise.
20820         (SIG_IGN): Likewise.
20821         (SIGABRT): Use macro-int-constant.  Specify type.  Require
20822         positive value.
20823         (SIGFPE): Likewise.
20824         (SIGILL): Likewise.
20825         (SIGINT): Likewise.
20826         (SIGSEGV): Likewise.
20827         (SIGTER): Likewise.
20828         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20829         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20830         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20831         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20832         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20833         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20834         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20835         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20836         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20837         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20838         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20839         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20840         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20841         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20842         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20843         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20844         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20845         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20846         [X/Open-based standards] (SIGTRAP): Likewise.
20847         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20848         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20849         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20850         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20851         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20852         allow.
20853
20854 2012-05-08  Ian Wienand  <ianw@vmware.com>
20855
20856         [BZ #14080]
20857         * time/tzset.c (__tzset_parse_tz): Update default rules for
20858         daylight time changes in the Energy Policy Act of 2005.
20859
20860 2012-05-09  Andreas Jaeger  <aj@suse.de>
20861
20862         [BZ #13983]
20863         * elf/ldconfig.c (parse_conf): Change string to make clear that
20864         ldconfig only issued a warning if ld.so.conf does not exist.
20865
20866 2012-05-08  David S. Miller  <davem@davemloft.net>
20867
20868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20869         movxtod instead of popping the value on the stack.
20870
20871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20872
20873 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
20874
20875         * config.h.in: Add HAVE_ARM_PCS_VFP.
20876
20877 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
20878
20879         [BZ #13979]
20880         * include/features.h: Warn if user requests __FORTIFY_SOURCE
20881         checking but the checks are disabled for any reason.
20882
20883 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20884
20885         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20886         and ELF64_R_TYPE with ELFW(R_TYPE).
20887
20888 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
20889
20890         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20891         (ulimit): Likewise.
20892
20893         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20894         (settimeofday): Likewise.
20895
20896 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
20897
20898         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
20899         a struct th_u2 inside the union, and move tu_block/tu_code into
20900         a new th_u3 union of tu_block/tu_code inside of that.  Move
20901         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
20902         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
20903         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20904         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20905         (th_stuff): Change to th_u1.tu_stuff.
20906         (th_data): Define.
20907         (th_msg): Change to th_u1.th_u2.tu_data.
20908
20909 2012-05-07  David S. Miller  <davem@davemloft.net>
20910
20911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20912
20913         [BZ #14074]
20914         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20915         (SETUP_PIC_REG): Use it.
20916         (SETUP_PIC_REG_LEAF): Use it.
20917
20918 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
20919
20920         [BZ #13885]
20921         [BZ #13923]
20922         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20923         USE_AS_EXPM1L.
20924         (EXPL_FINITE): Likewise.
20925         (FLDLOG): Likewise.
20926         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20927         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20928         e_expl.S.
20929         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20930         USE_AS_EXPM1L.
20931         (EXPL_FINITE): Likewise.
20932         (FLDLOG): Likewise.
20933         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20934         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20935         e_expl.S.
20936         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
20937         test of -max_value argument for long double.
20938         * sysdeps/i386/fpu/libm-test-ulps: Update.
20939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20940
20941 2012-05-06  David S. Miller  <davem@davemloft.net>
20942
20943         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20944         quad soft-float symbols whose references which are compiler
20945         generated.
20946         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20947
20948 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
20949
20950         [BZ #13884]
20951         [BZ #13914]
20952         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20953         USE_AS_EXP10L.
20954         (EXPL_FINITE): Likewise.
20955         (FLDLOG): Likewise.
20956         (c0): Likewise.
20957         (c1): Likewise.
20958         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20959         Adjust comments for base varying.
20960         (__expl_finite): Change alias to EXPL_FINITE.
20961         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20962         e_expl.S.
20963         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20964         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20965         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20966         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20967         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20968         USE_AS_EXP10L.
20969         (EXPL_FINITE): Likewise.
20970         (FLDLOG): Likewise.
20971         (c0): Likewise.
20972         (c1): Likewise.
20973         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20974         Adjust comments for base varying.
20975         (__expl_finite): Change alias to EXPL_FINITE.
20976         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
20977         tests for bugs.
20978         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20979
20980         [BZ #14064]
20981         * math/libm-test.inc (check_float_internal): Correct ulp
20982         calculation for subnormal expected results.
20983
20984 2012-05-06  Andreas Jaeger  <aj@suse.de>
20985
20986         * Makeconfig (+math-flags): New, set to -frounding-math.
20987         (+cflags): Add +math-flags so that all of glibc gets compiled with
20988         it.
20989
20990         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20991
20992 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
20993
20994         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20995         Disable one test.
20996
20997         [BZ #13787]
20998         [BZ #13922]
20999         [BZ #14036]
21000         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21001         (__ieee754_expl): Allow for and saturate large arguments.
21002         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21003         (u_threshold): Likewise.
21004         (__exp): Call __ieee754_exp before checking for overflow and
21005         underflow.
21006         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21007         (u_threshold): Likewise.
21008         (__expf): Call __ieee754_expf before checking for overflow and
21009         underflow.
21010         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21011         (u_threshold): Likewise.
21012         (__expl): Call __ieee754_expl before checking for overflow and
21013         underflow.
21014         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21015         (__ieee754_expl): Allow for and saturate large arguments.
21016         * math/libm-test.inc (exp_test): Add another test.  Do not allow
21017         missing overflow exception on overflow.
21018         (expm1_test): Do not allow missing overflow exception on overflow.
21019
21020         * sysdeps/i386/fpu/e_expl.c: Move to ...
21021         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
21022         rather than using inline asm.
21023         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21024         * sysdeps/x86_64/fpu/e_expl.S: Copy from
21025         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21026
21027         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21028         (nice): Likewise.
21029         (poll): Likewise.
21030         (signal): Likewise.
21031         (time): Likewise.
21032         (times): Likewise.
21033
21034 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21035
21036         * sysdeps/unix/syscalls.list (adjtime): Add entry from
21037         sysdeps/unix/common/syscalls.list.
21038         (fchmod): Likewise.
21039         (fchown): Likewise.
21040         (ftruncate): Likewise.
21041         (getrusage): Likewise.
21042         (gettimeofday): Likewise.
21043         (setpgid): Likewise.
21044         (setregid): Likewise.
21045         (setreuid): Likewise.
21046         (sigaction): Likewise.
21047         (truncate): Likewise.
21048         (vhangup): Likewise.
21049         * sysdeps/unix/common/syscalls.list: Remove file.
21050         * sysdeps/unix/bsd/Implies: Don't include unix/common.
21051         * sysdeps/unix/sysv/linux/Implies: Likewise.
21052
21053 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
21054
21055         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21057         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21058         Moved to ...
21059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21060         Here.
21061         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21062         to ...
21063         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21064         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21065         to ...
21066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21067         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21068         to ...
21069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21070         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21071         to ...
21072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21073         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21074         to ...
21075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21076         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21077         to ...
21078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21079         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21080         to ...
21081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21082         Here.
21083         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21084         to ...
21085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21086         Here.
21087         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21088         to ...
21089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21090         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21091         Moved to ...
21092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21093         Here.
21094         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21095         to ...
21096         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21097
21098 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21099
21100         * sysdeps/unix/common/bits/dirent.h: Remove file.
21101         * sysdeps/unix/common/bits/fcntl.h: Likewise.
21102
21103         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21104         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21105         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21106         * sysdeps/unix/bsd/isatty.c: Likewise.
21107         * sysdeps/unix/bsd/tcdrain.c: Likewise.
21108         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21109         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21110
21111 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21112
21113         [BZ #13563]
21114         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21115         long double comparison inaccuracies.
21116         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21118
21119 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
21120
21121         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21122         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21123
21124 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21125
21126         [BZ #14049]
21127         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21128         nonzero digits before rounding a hex value.
21129         * stdlib/tst-strtod.c (tests): Add another test.
21130
21131 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21132
21133         * sysdeps/s390/fpu/libm-test-ulps: Update.
21134
21135 2012-05-03  Andreas Jaeger  <aj@suse.de>
21136
21137         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21138         does not get optimized out.
21139         (malloc_opt_barrier): New.
21140
21141 2012-05-03  Andreas Jaeger  <aj@suse.de>
21142             Roland McGrath  <roland@hack.frob.com>
21143
21144         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21145         intermediate file deletion.
21146         (generated): Add .symlist files.
21147
21148 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
21149
21150         [BZ #13775]
21151         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21152         Redirect under this condition.
21153         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21154         [__USE_GNU] (__dprintf_chk): Not under this condition.
21155         [__USE_GNU] (__vdprintf_chk): Likewise.
21156         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21157         under this condition.
21158         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21159         [__USE_XOPEN2K8] (dprintf): Define under this condition.
21160         [__USE_XOPEN2K8] (vdprintf): Likewise.
21161         [__USE_GNU] (__dprintf_chk): Not under this condition.
21162         [__USE_GNU] (__vdprintf_chk): Likewise.
21163         [__USE_GNU] (dprintf): Likewise.
21164         [__USE_GNU] (vdprintf): Likewise.
21165
21166 2012-05-03  Roland McGrath  <roland@hack.frob.com>
21167
21168         * elf/Makefile (common-generated): Set this instead of generated for
21169         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
21170         $(all-built-dso)-derived lists.
21171
21172 2012-05-03  Andreas Jaeger  <aj@suse.de>
21173
21174         * sysdeps/i386/fpu/libm-test-ulps: Update.
21175
21176         * FAQ: Removed.
21177         * FAQ.in: Likewise.
21178         * scripts/gen-FAQ.pl: Likewise.
21179         * manual/install.texi (Installation): Point to online location of
21180         FAQ.
21181         * Makefile (files-for-dist): Remove FAQ.
21182         (FAQ): Remove.
21183
21184 2012-05-02  Allan McRae  <allan@archlinux.org>
21185
21186         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21187         (LDFLAGS-reldepmod5.so): Likewise.
21188         (LDFLAGS-reldep6mod1.so): Likewise.
21189         (LDFLAGS-reldep6mod4.so): Likewise.
21190         (LDFLAGS-reldep8mod3.so): Likewise.
21191         (LDFLAGS-unload4mod1.so): Likewise.
21192         (LDFLAGS-unload4mod2.so): Likewise.
21193         (LDFLAGS-tst-initorder): Likewise.
21194         (LDFLAGS-tst-initordera2.so): Likewise.
21195         (LDFLAGS-tst-initordera3.so): Likewise.
21196         (LDFLAGS-tst-initordera4.so): Likewise.
21197         (LDFLAGS-tst-initorderb2.so): Likewise.
21198         (LDFLAGS-noload): Likewise.
21199         (LDFLAGS-next): Likewise.
21200         (LDFLAGS-order2mod1.so): Likewise.
21201         (LDFLAGS-order2mod2.so): Likewise.
21202         (LDFLAGS-tst-initorder2): Likewise.
21203         (LDFLAGS-tst-initorder2a.so): Likewise.
21204         (LDFLAGS-tst-initorder2b.so): Likewise.
21205         (LDFLAGS-tst-initorder2c.so): Likewise.
21206         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21207
21208 2012-05-02  David S. Miller  <davem@davemloft.net>
21209
21210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21211
21212 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21213
21214         [BZ #14055]
21215         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21216
21217 2012-05-02  Andreas Jaeger  <aj@suse.de>
21218
21219         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21220         since we manipulate rounding mode.
21221         (CPPFLAGS-test-idouble.c): Likewise.
21222         (CPPFLAGS-test-ifloat.c): Likewise.
21223         (CFLAGS-test-ldouble.c): Likewise.
21224         (CFLAGS-test-double.c): Likewise.
21225         (CFLAGS-test-float.c): Likewise.
21226         (CFLAGS-test-misc.c): Likewise.
21227         (CFLAGS-test-test-fenv.c): Likewise.
21228
21229 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21230
21231         [BZ #2550]
21232         [BZ #2570]
21233         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21234         comparisons to determine direction to adjust input.
21235
21236 2012-05-01  Roland McGrath  <roland@hack.frob.com>
21237
21238         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21239         output to the target.
21240
21241         * scripts/localplt.awk: New file.
21242         * elf/Makefile ($(objpfx)check-localplt): Target removed.
21243         (check-localplt-CFLAGS): Variable removed.
21244         ($(all-built-dso:=.jmprel)): New static pattern rule.
21245         (generated): Add those targets.
21246         (localplt-built-dso): New variable.
21247         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21248
21249         * elf/check-localplt.c: File removed.
21250
21251         * scripts/check-execstack.awk: New file.
21252         * elf/Makefile ($(objpfx)check-execstack): Target removed.
21253         (check-execstack-CFLAGS): Variable removed.
21254         ($(objpfx)check-execstack.h): Target removed.
21255         ($(objpfx)execstack-default): New target.
21256         (generated): Add that instead of check-execstack.h.
21257         ($(all-built-dso:=.phdr)): New static pattern rule.
21258         (generated): Add those targets.
21259         * elf/check-execstack.c: File removed.
21260
21261         * scripts/check-textrel.awk: New file.
21262         * elf/Makefile ($(objpfx)check-textrel): Target removed.
21263         (check-textrel-CFLAGS): Variable removed.
21264         (all-built-dso): Use := to define.o
21265         ($(all-built-dso:=.dyn)): New static pattern rule.
21266         (generated): Add those targets.
21267         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21268         * config.make.in (READELF): New substituted variable.
21269         * elf/check-textrel.c: File removed.
21270
21271 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
21272
21273         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21274         allow.
21275         * conform/data/ctype.h-data [C99-based standards] (isblank):
21276         Expect function.
21277         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21278         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21279         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21280         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21281         Specify type.  Require positive value.
21282         (EILSEQ): Likewise.
21283         (ERANGE): Likewise.
21284         [ISO || POSIX] (EILSEQ): Do not expect.
21285         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21286         Specify type.  Require positive value.
21287         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21288         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21289         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21290         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21291         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21292         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21293         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21294         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21295         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21296         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21297         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21298         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21299         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21300         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21301         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21302         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21303         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21304         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21305         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21306         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21307         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21308         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21309         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21310         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21311         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21312         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21313         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21314         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21315         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21316         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21317         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21318         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21319         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21320         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21321         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21322         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21323         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21324         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21325         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21326         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21327         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21328         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21329         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21330         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21331         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21332         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21333         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21334         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21335         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21336         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21337         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21338         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21339         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21340         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21341         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21342         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21343         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21344         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21345         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21346         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21347         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21348         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21349         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21350         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21351         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21352         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21353         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21354         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21355         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21356         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21357         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21358         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21359         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21360         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21361         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21362         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21363         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21364         Require >= 2.
21365         (FLT_ROUNDS): Expect as macro, not constant.
21366         (FLT_MANT_DIG): Use macro-int-constant.
21367         (DBL_MANT_DIG): Likewise.
21368         (LDBL_MANT_DIG): Likewise.
21369         (FLT_DIG): Likewise.
21370         (DBL_DIG): Likewise.
21371         (LDBL_DIG): Likewise.
21372         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
21373         (DBL_MIN_EXP): Likewise.
21374         (LDBL_MIN_EXP): Likewise.
21375         (FLT_MAX_EXP): Use macro-int-constant.
21376         (DBL_MAX_EXP): Likewise.
21377         (LDBL_MAX_EXP): Likewise.
21378         (FLT_MAX_10_EXP): Likewise.
21379         (DBL_MAX_10_EXP): Likewise.
21380         (LDBL_MAX_10_EXP): Likewise.
21381         (FLT_MAX): Use macro-constant.
21382         (DBL_MAX): Likewise.
21383         (LDBL_MAX): Likewise.
21384         (FLT_EPSILON): Use macro-constant.  Give upper bound.
21385         (DBL_EPSILON): Likewise.
21386         (LDBL_EPSILON): Likewise.
21387         (FLT_MIN): Likewise.
21388         (DBL_MIN): Likewise.
21389         (LDBL_MIN): Likewise.
21390         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21391         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21392         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21393         [ISO11] (FLT_HAS_SUBNORM): Likewise.
21394         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21395         [ISO11] (DBL_DECIMAL_DIG): Likewise.
21396         [ISO11] (FLT_DECIMAL_DIG): Likewise.
21397         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21398         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21399         [ISO11] (FLT_TRUE_MIN): Likewise.
21400         [ISO11] (LDBL_TRUE_MIN): Likewise.
21401         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21402         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21403         (SCHAR_MIN): Use macro-int-constant.  Specify type.
21404         (SCHAR_MAX): Likewise.
21405         (UCHAR_MAX): Likewise.
21406         (CHAR_MIN): Likewise.
21407         (CHAR_MAX): Likewise.
21408         (MB_LEN_MAX): Use macro-int-constant.
21409         (SHRT_MIN): Use macro-int-constant.  Specify type.
21410         (SHRT_MAX): Likewise.
21411         (USHRT_MAX): Likewise.
21412         (INT_MAX): Likewise.
21413         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
21414         bound negative.
21415         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21416         bound with "U".
21417         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21418         bound with "L".
21419         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
21420         bound negative.  Suffix upper bound with "L".
21421         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21422         bound with "UL".
21423         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21424         Specify type.
21425         [C99-based standards] (LLONG_MAX): Likewise.
21426         [C99-based standards] (ULLONG_MAX): Likewise.
21427         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
21428         == 0.
21429         [ISO11] (max_align_t): Require type.
21430         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21431
21432         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21433         from $CFLAGS, without defining away __attribute__ calls.
21434         (checknamespace): Use $CFLAGS_namespace.
21435
21436         * conform/conformtest.pl (@keywords): Only include C99 keywords
21437         for standards based on C99 or C11.
21438
21439         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21440         Disable tests.
21441         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21442         UNIX98]: Likewise.
21443
21444         * conform/conformtest.pl: Handle "macro-int-constant" and test for
21445         usability of symbols in #if.
21446
21447         * conform/conformtest.pl: If macro or constant types start
21448         "promoted:", expect the symbol to be of the following type
21449         promoted by the integer promotions.
21450
21451         * conform/conformtest.pl: Parse all "constant" and "macro" lines
21452         in one place.  Also handle "macro-constant".
21453
21454         * conform/conformtest.pl: Only accept expected macro values with
21455         "==".  Parse all "macro" lines in one place.
21456         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21457
21458         * conform/conformtest.pl: Handle braced types on "constant" lines
21459         instead of handling "typed-constant".
21460         * conform/data/signal.h-data: Use "constant" instead of
21461         "typed-constant".
21462
21463         * conform/conformtest.pl: Handle "optional-" at start of lines in
21464         one place rather than duplicating several cases.  Handle each
21465         format of "macro" line with initial "optional-".
21466
21467         * conform/conformtest.pl: Only accept expected constant or
21468         optional-constant values with "==".  Parse all "constant" lines in
21469         one place.  Parse all "optional-constant" lines in one place.
21470         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21471         * conform/data/fmtmsg.h-data: Likewise.
21472         * conform/data/netinet/in.h-data: Likewise.
21473         * conform/data/tar.h-data: Likewise.
21474         * conform/data/limits.h-data: Use "==" form on "constant" and
21475         "optional-constant" lines.
21476
21477         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21478         Use -std=c99 for XOPEN2K.
21479         (@knownproblems): Remove.
21480         (newtoken): Don't check %isknown.
21481
21482         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21483         Do not expect macro.
21484         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21485         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21486         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21487         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21488         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21489         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21490         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21491         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21492         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21493         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21494         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21495         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21496         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21497         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21498         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21499         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21500         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21501         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21502         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21503         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21504         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21505         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21506         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21507         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21508         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21509         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21510         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21511         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21512         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21513         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21514         [XPG3] (acosh): Likewise.
21515         [XPG3] (asinh): Likewise.
21516         [XPG3] (atanh): Likewise.
21517         [XPG3] (cbrt): Likewise.
21518         [XPG3] (expm1): Likewise.
21519         [XPG3] (ilogb): Likewise.
21520         [XPG3] (log1p): Likewise.
21521         [XPG3] (logb): Likewise.
21522         [XPG3] (nextafter): Likewise.
21523         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21524         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21525         [XPG3] (remainder): Likewise.
21526         [XPG3] (rint): Likewise.
21527         [XPG3 || XPG4 || UNIX98] (round): Likewise.
21528         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21529         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21530         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21531         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21532         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21533         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21534         [UNIX98 || XOPEN2K] (scalb): Expect.
21535         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21536         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21537         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21538         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21539         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21540         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21541         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21542         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21543         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21544         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21545         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21546         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21547         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21548         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21549         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21550         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21551         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21552         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21553         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21554         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21555         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21556         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21557         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21558         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21559         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21560         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21561         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21562         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21563         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21564         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21565         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21566         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21567         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21568         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21569         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21570         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21571         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21572         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21573         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21574         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21575         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21576         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21577         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21578         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21579         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21580         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21581         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21582         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21583         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21584         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21585         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21586         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21587         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21588         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21589         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21590         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21591         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21592         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21593         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21594         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21595         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21596         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21597         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21598         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21599         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21600         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21601         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21602         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21603         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21604         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21605         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21606         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21607         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21608         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21609         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21610         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21611         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21612         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21613         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21614         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21615         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21616         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21617         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21618         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21619         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21620         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21621         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21622         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21623         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21624         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21625         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21626         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21627         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21628         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21629         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21630         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21631         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21632         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21633         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21634         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21635         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21636         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21637         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21638         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21639         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21640         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21641         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21642         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21643         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21644         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21645         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21646         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21647         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21648         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21649         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21650         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21651         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21652         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21653         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21654         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21655         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21656         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21657         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21658         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21659         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21660         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21661         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21662         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21663         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21664         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21665         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21666         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21667         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21668         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21669         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21670         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21671         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21672
21673         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21674         _XOPEN_SOURCE_EXTENDED for XPG4.
21675
21676         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21677
21678         * Makeconfig (localtime): Remove variable.
21679         (inst_localtime-file): Likewise.
21680
21681 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21682
21683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21684         Update.
21685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21686         Update.
21687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21688         Update.
21689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21690         Update.
21691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21692         Update.
21693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21694         Update.
21695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21696         Update.
21697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21698         Update.
21699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21700         Update.
21701
21702 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
21703
21704         [BZ #2550]
21705         [BZ #2570]
21706         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21707         comparisons to determine direction to adjust input.
21708         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21709         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21710         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21711         Likewise.
21712         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21713         Likewise.
21714         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21715         Likewise.
21716         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21717         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21718         Likewise.
21719         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21720         Likewise.
21721         * math/libm-test.inc (nexttoward_test): Add more tests.
21722
21723 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21724
21725         [BZ #14040]
21726         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21727         in version GLIBC_2.1, not GLIBC_2.0.
21728         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21729         Likewise.
21730
21731 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
21732
21733         [BZ #13942]
21734         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21735         (1 - x) * (1 + x).
21736         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21737         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21738         * math/libm-test.inc (acos_test): Add more tests.
21739         (asin_test): Likewise.
21740         * sysdeps/i386/fpu/libm-test-ulps: Update.
21741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21742
21743         [BZ #14034]
21744         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21745         of square root.
21746         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21747         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21748         * math/libm-test.inc (acos_test_tonearest): New function.
21749         (acos_test_towardzero): Likewise.
21750         (acos_test_downward): Likewise.
21751         (acos_test_upward): Likewise.
21752         (asin_test_tonearest): Likewise.
21753         (asin_test_towardzero): Likewise.
21754         (asin_test_downward): Likewise.
21755         (asin_test_upward): Likewise.
21756         (main): Call the new functions.
21757         * sysdeps/i386/fpu/libm-test-ulps: Update.
21758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21759
21760         [BZ #13884]
21761         [BZ #13924]
21762         * math/e_exp10.c: Include <float.h>.
21763         (__ieee754_exp10): Handle underflow here rather than multiplying
21764         large negative argument by M_LN10.
21765         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21766         of __ieee754_expf.
21767         * math/e_exp10l.c: Include <float.h>.
21768         (__ieee754_exp10l): Handle underflow here rather than multiplying
21769         large negative argument by M_LN10l.
21770         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
21771         spurious overflow exception on underflow.
21772
21773 2012-04-29  Marek Polacek  <polacek@redhat.com>
21774
21775         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21776         (__fortify_function): New macro.
21777         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21778         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21779         __extern_always_inline.
21780         * libio/bits/stdio2.h: Likewise.
21781         * libio/bits/stdio.h: Likewise.
21782         * string/string.h: Likewise.
21783         * string/bits/string3.h: Likewise.
21784         * include/stdio.h: Likewise.
21785         * stdlib/bits/stdlib.h: Likewise.
21786         * stdlib/stdlib.h: Likewise.
21787         * rt/bits/mqueue2.h: Likewise.
21788         * rt/mqueue.h: Likewise.
21789         * posix/bits/unistd.h: Likewise.
21790         * posix/unistd.h: Likewise.
21791         * io/bits/poll2.h: Likewise.
21792         * io/bits/fcntl2.h: Likewise.
21793         * io/fcntl.h: Likewise.
21794         * io/sys/poll.h: Likewise.
21795         * misc/bits/syslog.h: Likewise.
21796         * misc/bits/syslog-ldbl.h: Likewise.
21797         * misc/sys/syslog.h: Likewise.
21798         * socket/bits/socket2.h: Likewise.
21799         * socket/sys/socket.h: Likewise.
21800         * debug/tst-chk1.c: Likewise.
21801         * wcsmbs/bits/wchar2.h: Likewise.
21802         * wcsmbs/bits/wchar-ldbl.h: Likewise.
21803         * wcsmbs/wchar.h: Likewise.
21804
21805 2012-04-29  Andreas Jaeger  <aj@suse.de>
21806
21807         * Makerules (tests): Remove enable-check-abi protection.
21808         (check-abi-warn): Remove.
21809         (check-abi-%): Remove check-abi-warn usage.
21810
21811         * configure.in: Remove check-abi configure option.
21812         * configure: Regenerated.
21813         * config.make.in (enable-check-abi): Remove.
21814
21815 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
21816
21817         [BZ #14033]
21818         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21819         double functions to double *_finite functions.
21820
21821         [BZ #13941]
21822         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21823         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21824         LDBL_MIN_EXP.
21825         * stdio-common/Makefile (tests): Add tst-sprintf3.
21826         * stdio-common/tst-sprintf3.c: New file.
21827
21828         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21829         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21830
21831 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21832
21833         * conform/conformtest.pl: Remove duplicate typed-constant
21834         handling.
21835
21836 2012-04-28  David S. Miller  <davem@davemloft.net>
21837
21838         * Makerules (%.abilist): Add vpath on sysdep_dirs.
21839         (check-abi-%): Remove AWK script prerequisite and explicit
21840         abilist directory.
21841         (check-abi): Rewrite to just diff the symlist with the abilist.
21842         (config-tls, config-abi-config): Delete, no longer used.
21843         (update-abi-%): Remove AWK script and explicit abilist directory.
21844         (update-abi): Rewrite to simply compare and conditionally copy the
21845         symlist and the sysdep abilist file.  Remove update-abi-config
21846         checks.
21847         * abilist/ld.abilist: Remove.
21848         * abilist/libBrokenLocale.abilist: Remove.
21849         * abilist/libanl.abilist: Remove.
21850         * abilist/libcrypt.abilist: Remove.
21851         * abilist/libdl.abilist: Remove.
21852         * abilist/librt.abilist: Remove.
21853         * abilist/libthread_db.abilist: Remove.
21854         * abilist/libutil.abilist: Remove.
21855         * scripts/extract-abilist.awk: Remove.
21856         * scripts/merge-abilist.awk: Remove.
21857         * sysdeps/generic/libcidn.abilist: New file.
21858         * sysdeps/generic/libnss_compat.abilist: New file.
21859         * sysdeps/generic/libnss_db.abilist: New file.
21860         * sysdeps/generic/libnss_dns.abilist: New file.
21861         * sysdeps/generic/libnss_files.abilist: New file.
21862         * sysdeps/generic/libnss_hesiod.abilist: New file.
21863         * sysdeps/generic/libnss_nis.abilist: New file.
21864         * sysdeps/generic/libnss_nisplus.abilist: New file.
21865         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21866         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21867         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21868         file.
21869         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21870         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21871         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21872         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21873         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21874         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21875         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21876         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21877         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21878         file.
21879         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21880         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21881         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21882         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21883         file.
21884         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21885         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21886         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21887         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21888         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21889         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21890         file.
21891         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21892         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21893         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21894         file.
21895         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21896         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21897         New file.
21898         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21899         New file.
21900         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21901         New file.
21902         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21903         New file.
21904         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21905         New file.
21906         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21907         New file.
21908         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21909         New file.
21910         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21911         New file.
21912         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21913         New file.
21914         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21915         New file.
21916         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21917         New file.
21918         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21919         New file.
21920         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21921         New file.
21922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21923         file.
21924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21925         New file.
21926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21927         New file.
21928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21929         file.
21930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21931         New file.
21932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21933         New file.
21934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21935         file.
21936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21937         New file.
21938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21939         New file.
21940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21941         New file.
21942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21943         New file.
21944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21945         New file.
21946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21947         New file.
21948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21950         file.
21951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21952         New file.
21953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21954         file.
21955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21956         file.
21957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21958         file.
21959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21960         file.
21961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21962         file.
21963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21964         New file.
21965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21966         file.
21967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21968         file.
21969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21970         New file.
21971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21972         file.
21973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21975         file.
21976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21977         New file.
21978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21979         file.
21980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21981         file.
21982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21983         file.
21984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21985         file.
21986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21987         file.
21988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21989         New file.
21990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21991         file.
21992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21993         file.
21994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21995         New file.
21996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21997         file.
21998         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21999         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22000         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22001         file.
22002         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22003         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22004         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22005         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22006         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22007         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22008         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22009         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22010         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22011         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22014         file.
22015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22016         New file.
22017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22018         file.
22019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22020         file.
22021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22022         file.
22023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22024         file.
22025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22026         file.
22027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22028         New file.
22029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22030         New file.
22031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22032         file.
22033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22034         New file.
22035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22036         file.
22037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22039         file.
22040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22041         New file.
22042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22043         file.
22044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22045         file.
22046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22047         file.
22048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22049         file.
22050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22051         file.
22052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22053         New file.
22054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22055         New file.
22056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22057         file.
22058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22059         New file.
22060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22061         file.
22062
22063 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22064
22065         * conform/conformtest.pl: Fix typo in handling typed-constant from
22066         allow-header.
22067
22068 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22069
22070         * README: Cut down references to pre-2.6 Linux kernels and
22071         Linuxthreads.  Update lists of configurations in libc and ports
22072         and sort alphabetically.  Say "or newer" with Linux kernel version
22073         requirements.
22074
22075         * config.h.in [IS_IN_build]: Allow compiling without optimization.
22076
22077 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22078
22079         [BZ #887]
22080         * math/libm-test.inc (logb_test_downward): New test to expose
22081         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22082         rounding mode.
22083
22084 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22085
22086         [BZ #14027]
22087         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22088         to be done.
22089         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22090         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22091
22092 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
22093
22094         * sysdeps/unix/i386/brk.S: Remove file.
22095         * sysdeps/unix/i386/dl-brk.S: Likewise.
22096         * sysdeps/unix/i386/pipe.S: Likewise.
22097         * sysdeps/unix/i386/sigreturn.S: Likewise.
22098         * sysdeps/unix/i386/syscall.S: Likewise.
22099         * sysdeps/unix/i386/vfork.S: Likewise.
22100         * sysdeps/unix/i386/wait.S: Likewise.
22101
22102         * sysdeps/unix/common/tcsendbrk.c: Move to ...
22103         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22104
22105         * configure.in (arm*-none*): Do not allow without
22106         --enable-hacker-mode.
22107         (netbsd*): Remove case setting base_os.
22108         (386bsd*): Likewise.
22109         (freebsd*): Likewise.
22110         (bsdi*): Likewise.
22111         (osf*): Likewise.
22112         (sunos*): Likewise.
22113         (ultrix*): Likewise.
22114         (newsos*): Likewise.
22115         (dynix*): Likewise.
22116         (*bsd*): Likewise.
22117         (sysv*): Likewise.
22118         (isc*): Likewise.
22119         (esix*): Likewise.
22120         (sco*): Likewise.
22121         (minix*): Likewise.
22122         (irix4*): Likewise.
22123         (irix6*): Likewise.
22124         (solaris[2-9]*): Likewise.
22125         (none): Likewise.
22126         * configure: Regenerated.
22127
22128 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22129
22130         [BZ #11521]
22131         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22132         overflow or cancellation in calculating denominator.
22133         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22134         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22135         down expression to avoid unexpected rounding in newer GCCs.
22136         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22137
22138 2012-04-26  David S. Miller  <davem@davemloft.net>
22139
22140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22141         long-double compat symbols.
22142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22155
22156 2012-04-25  David S. Miller  <davem@davemloft.net>
22157
22158         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22159         HWCAP_* values only after the memory barriers have been defined.
22160         (atomic_full_barrier): Define.
22161         (atomic_read_barrier): Define.
22162         (atomic_write_barrier): Define.
22163
22164 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22165
22166         * shlib-versions: Add libgcc_s version information.
22167         * sysdeps/generic/libgcc_s.h: Remove.
22168         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22169         libgcc_s.h.
22170         * sysdeps/gnu/unwind-resume.c: Likewise.
22171         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22172
22173 2012-04-25  David S. Miller  <davem@davemloft.net>
22174
22175         * sysdeps/unix/sparc/brk.S: Delete.
22176         * sysdeps/unix/sparc/dl-brk.S: Delete.
22177         * sysdeps/unix/sparc/pipe.S: Delete.
22178         * sysdeps/unix/sparc/sysdep.S: Delete.
22179         * sysdeps/unix/sparc/sysdep.h: Delete.
22180         * sysdeps/unix/sparc/vfork.S: Delete.
22181         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22182         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22183         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22184         ret_ERRVAL, r0, r1, MOVE): Define.
22185         (JUMPTARGET): Remove.
22186         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22187         sysdeps/unix/sparc/sysdep.h
22188         (ENTRY, END): Remove.
22189         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22190
22191 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
22192
22193         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22194         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22195         -DIS_IN_build.
22196
22197         * timezone/README: Update upstream location and email address for
22198         tzcode and tzdata.
22199         * timezone/zdump.c: Update from tzcode 2012b.
22200         * timezone/zic.c: Likewise.
22201
22202         * configure.in (libc_cv_as_needed): Remove test.
22203         * configure: Regenerated.
22204         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22205         conditional definition.
22206         [$(have-as-needed) != yes] (no-as-needed): Likewise.
22207         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22208         * config.make.in (have-as-needed): Remove variable.
22209
22210 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22211             Paul Pluzhnikov  <ppluzhnikov@google.com>
22212
22213         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22214         strings correctly.
22215
22216 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22217
22218         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22219         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22220         * sysdeps/sh/strlen.S: Likewise.
22221
22222 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22223
22224         * sysdeps/unix/fork.S: Remove file.
22225         * sysdeps/unix/i386/fork.S: Likewise.
22226         * sysdeps/unix/sparc/fork.S: Likewise.
22227
22228         * sysdeps/unix/system.c: Remove file.
22229         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22230
22231         * sysdeps/unix/getegid.S: Remove file.
22232         * sysdeps/unix/geteuid.S: Likewise.
22233
22234 2012-04-24  Roland McGrath  <roland@hack.frob.com>
22235
22236         * scripts/check-localplt.awk: New file.
22237         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22238         of diff.
22239         * scripts/data/localplt-generic.data: Add a comment.
22240
22241         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22242         NODE when __dir_mkfile failed.
22243         * sysdeps/mach/hurd/symlinkat.c: Likewise.
22244         Reported by Ludovic Courtès <ludo@gnu.org>.
22245
22246 2012-04-24  Andreas Jaeger  <aj@suse.de>
22247
22248         * Makerules (common-clean): Also remove gen-as-const-headers
22249         files.
22250
22251 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22252
22253         * Makerules (native-compile): Do not change working directory for
22254         build.  Use $(OUTPUT_OPTION) in command.
22255         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22256
22257 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22258
22259         [BZ #13886]
22260         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22261         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22262         * math/libm-test.inc (floor_test): Add more tests.
22263         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22264
22265 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22266
22267         * sysdeps/unix/getdents.c: Remove file.
22268         * sysdeps/unix/sysv/getdents.c: Likewise.
22269         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22270
22271         * sysdeps/unix/syscalls.list (madvise): Add syscall from
22272         sysdeps/unix/mman/syscalls.list.
22273         (mmap): Likewise.
22274         (mprotect): Likewise.
22275         (msync): Likewise.
22276         (munmap): Likewise.
22277         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22278         * sysdeps/unix/mman/syscalls.list: Remove.
22279         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22280
22281         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22282         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22283         * configure: Regenerated.
22284         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22285         $(libgcc_s_suffix).
22286         * config.make.in (libgcc_s_suffix): Remove variable.
22287
22288 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
22289
22290         * sysdeps/unix/sysv/gethostname.c: Move to ...
22291         * sysdeps/posix/gethostname.c: ... here.
22292
22293         * sysdeps/unix/execve.S: Remove file.
22294
22295         * sysdeps/unix/_exit.S: Remove file.
22296
22297 2012-04-23  Andreas Jaeger  <aj@suse.de>
22298
22299         [BZ #13739]
22300         * manual/Makefile: Remove make dist support, there's no
22301         need for a stand-alone documentation tar ball.
22302         (TEXI2DVI): Define always, it's not in Makeconfig.
22303         (dist): Removed.
22304         (tar-it): Removed.
22305         (edition): Removed.
22306         (glibc-doc-$(edition).tar): Removed
22307         (%.Z): Removed.
22308         (%.gz): Removed.
22309         (%.uu): Removed.
22310         (ETAGS): Remove, it's in Makeconfig.
22311         (move-if-change): Remove, it's in Makeconfig.
22312
22313 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
22314
22315         [BZ #13970]
22316         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22317         (strtod, strtof, strtold, strtol, strtoul, strtoq)
22318         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22319         (strtod_l, strtof_l, strtold_l): Remove __wur.
22320         It is not necessarily an error to ignore strtol's return value.
22321         One can reliably look at the stored endptr to decide whether
22322         the number had valid syntax.
22323
22324 2012-04-21  Andreas Jaeger  <aj@suse.de>
22325
22326         [BZ #13739]
22327         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22328
22329 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
22330
22331         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22332         * sysdeps/unix/sysv/Versions: Remove file.
22333
22334 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
22335
22336         [BZ #13927]
22337         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22338
22339 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
22340
22341         [BZ #7064]
22342         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22343         version from __vm86.
22344
22345 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
22346
22347         * sysdeps/unix/common/lxstat.c: Remove file.
22348         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22349
22350         * sysdeps/unix/sysv/Makefile: Remove file.
22351
22352         * sysdeps/unix/sysv/direct.h: Remove file.
22353
22354         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22355         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22356         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22357         * sysdeps/unix/sysv/bits/signum.h: Likewise.
22358         * sysdeps/unix/sysv/bits/stat.h: Likewise.
22359         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22360         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22361
22362         * sysdeps/unix/sysv/setrlimit.c: Remove file.
22363
22364         * sysdeps/unix/xmknod.c: Remove file.
22365         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22366
22367         * sysdeps/unix/sysv/settimeofday.c: Remove file.
22368
22369         * sysdeps/unix/sysv/i386/time.S: Remove file.
22370
22371         * sysdeps/unix/fxstat.c: Remove file.
22372         * sysdeps/unix/xstat.c: Likewise.
22373         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22374
22375         * sysdeps/unix/sysv/sigaction.c: Remove file.
22376
22377         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22378         (sysdep_headers): Remove variable.
22379         [termio.h not in sysdep_headers] (generated): Likewise.
22380         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22381         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22382         * sysdeps/unix/sysv/tcdrain.c: Likewise.
22383         * sysdeps/unix/sysv/tcflow.c: Likewise.
22384         * sysdeps/unix/sysv/tcflush.c: Likewise.
22385         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22386         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22387         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22388         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22389         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22390
22391         * sysdeps/unix/siglist.c: Remove file.
22392
22393         * sysdeps/unix/getppid.S: Remove file.
22394
22395         * sysdeps/unix/mkdir.c: Remove file.
22396         * sysdeps/unix/rmdir.c: Likewise.
22397
22398 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
22399
22400         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22401         ERR_MAX value.
22402         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22403         errlist-compat value.
22404
22405 2012-04-18  David S. Miller  <davem@davemloft.net>
22406
22407         * sysdeps/generic/memcopy.h (reg_char): Delete.
22408         * debug/strcat_chk.c: Use char, not reg_char.
22409         * debug/strcpy_chk.c: Likewise.
22410         * debug/strncat_chk.c: Likewise.
22411         * debug/strncpy_chk.c: Likewise.
22412         * string/memchr.c: Likewise.
22413         * string/memrchr.c: Likewise.
22414         * string/rawmemchr.c: Likewise.
22415         * string/strcat.c: Likewise.
22416         * string/strchr.c: Likewise.
22417         * string/strchrnul.c: Likewise.
22418         * string/strcmp.c: Likewise.
22419         * string/strcpy.c: Likewise.
22420         * string/strncat.c: Likewise.
22421         * string/strncmp.c: Likewise.
22422         * string/strncpy.c: Likewise.
22423
22424 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22425
22426         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22427         __builtin_memcopy is called when src and dest ranges are known to not
22428         overlap.
22429
22430 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22431
22432         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22433         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22434         fwd_align_merge macro call.
22435         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22436         bwd_align_merge macro call.
22437         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22438
22439 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22440
22441         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22442         bwd_align_merge macros.
22443         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22444         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22445         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22446
22447 2012-04-18  David S. Miller  <davem@davemloft.net>
22448
22449         * sysdeps/sparc/sparc64/memcopy.h: Delete.
22450
22451 2012-04-18  Andreas Jaeger  <aj@suse.de>
22452
22453         [BZ# 6794]
22454         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22455         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22456         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22457
22458         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22459         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22460         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22461
22462         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22463         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22464         Adjust for changed ldbl-128 files.
22465
22466         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22467         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22468         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22469
22470 2012-04-17  David S. Miller  <davem@davemloft.net>
22471
22472         * sysdeps/sparc/sparc32/memcopy.h: Delete.
22473
22474 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
22475
22476         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22477         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22478         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22479         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22480         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22481         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22482
22483 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22484
22485         [BZ #6794]
22486         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22487         * math/libm-test.inc: Add ilogb errno and exception tests.
22488         * math/w_ilogb.c: New file: ilogb wrapper.
22489         * math/w_ilogbf.c: New file: ilogbf wrapper.
22490         * math/w_ilogbl.c: New file: ilogbl wrapper.
22491         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22492         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22493         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22494         exception being thrown with 0.0 as argument.
22495         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22496         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22497         exception being thrown with 0.0 as argument.
22498         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22499         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22500         exception being thrown with 0.0 as argument.
22501         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22502         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22503         exception being thrown with 0.0 as argument.
22504         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22505         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22506         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22507         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22508         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22509         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22510         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22511         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22512         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22513
22514 2012-04-17  Petr Baudis  <pasky@ucw.cz>
22515
22516         * include/sys/uio.h: Change __vector to __iovec to avoid clash
22517         with altivec.
22518
22519 2012-04-16  Marek Polacek  <polacek@redhat.com>
22520
22521         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22522
22523 2012-04-16  Marek Polacek  <polacek@redhat.com>
22524
22525         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22526         operands of fdivp instruction.
22527
22528 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
22529
22530         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22531         * elf/tst-auditmod3b.c: Likewise.
22532         * elf/tst-auditmod4b.c: Likewise.
22533         * elf/tst-auditmod5b.c: Likewise.
22534         * elf/tst-auditmod6b.c: Likewise.
22535         * elf/tst-auditmod6c.c: Likewise.
22536         * elf/tst-auditmod7b.c: Likewise.
22537         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22538         * sysdeps/x86_64/preconfigure.in: Likewise.
22539         * sysdeps/x86_64/preconfigure: Regenerated.
22540
22541 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
22542
22543         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22544         __ILP32__.
22545
22546 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
22547
22548         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22549         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22550
22551 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
22552
22553         [BZ #13973]
22554         * locale/iso-639.def: Fix gl language name. Spotted by
22555         Yaron Shahrabani.
22556
22557 2012-04-12  Roland McGrath  <roland@hack.frob.com>
22558
22559         [BZ #2074]
22560         * libio/libio.h (__io_write_fn): Update comment.
22561
22562 2012-04-12  Petr Baudis  <pasky@ucw.cz>
22563
22564         [BZ #2074]
22565         * stdio.texi (Hook Functions): The user provided writer function
22566         is not allowed to return -1.
22567
22568 2012-04-11  David S. Miller  <davem@davemloft.net>
22569
22570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22571
22572 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
22573
22574         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22575         Add a leading slash to rtkaio.
22576
22577 2012-04-11  Jim Meyering  <meyering@redhat.com>
22578
22579         [BZ #11959]
22580         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22581         It is not necessarily an error to ignore fwrite's return
22582         value.  One can reliably use ferror to test for errors after
22583         the fact.
22584
22585 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
22586
22587         * bits/types.h (__snseconds_t): New type.
22588         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22589
22590         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22591         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22592         (__SNSECONDS_T_TYPE): Likewise.
22593         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22594         (__SNSECONDS_T_TYPE): Likewise.
22595         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22596         (__SNSECONDS_T_TYPE): Likewise.
22597
22598 2012-04-10  Andreas Jaeger  <aj@suse.de>
22599
22600         [BZ #2636]
22601         * manual/time.texi (Processor Time): Return type of times is
22602         elapsed real time since an arbitrary point in the past.
22603         (CPU Time): Move CLK_TCK from here...
22604         (Processor Time): ...to here.  Correct description.
22605         * manual/conf.texi (Constants for Sysconf): Correct description of
22606         _SC_CLK_TCK.
22607
22608 2012-04-10  David S. Miller  <davem@davemloft.net>
22609
22610         [BZ #13967]
22611         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22612         where the is a gap between DT_REL(A) and DT_JMPREL.
22613
22614 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
22615
22616         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22617         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22618         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22619
22620 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22621
22622         * elf/dl-support.c (_dl_inhibit_cache): New variable.
22623         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22624         (dl_main): Handle --inhibit-cache.
22625         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22626         _dl_inhibit_cache.
22627         * elf/dl-load.c (_dl_map_object): Use it.
22628         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22629
22630 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
22631
22632         [BZ #13872]
22633         * sysdeps/i386/fpu/e_powl.S (p78): New object.
22634         (__ieee754_powl): Saturate large exponents rather than testing for
22635         overflow of y*log2(x).
22636         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22637         * math/libm-test.inc (pow_test): Do not permit spurious overflow
22638         exceptions.
22639
22640         [BZ #11521]
22641         * math/s_ctan.c: Include <float.h>.
22642         (__ctan): Avoid internal overflow or cancellation in calculating
22643         denominator.
22644         * math/s_ctanf.c: Likewise.
22645         * math/s_ctanl.c: Likewise.
22646         * math/s_ctanh.c: Likewise.
22647         * math/s_ctanhf.c: Likewise.
22648         * math/s_ctanhl.c: Likewise.
22649         * math/libm-test.inc (ctan_test): Add more tests.
22650         (ctanh_test): Likewise.
22651         * sysdeps/i386/fpu/libm-test-ulps: Update.
22652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22653
22654 2012-04-09  Andreas Jaeger  <aj@suse.de>
22655
22656         [BZ #6894]
22657         * manual/filesys.texi (Directory Entries): Mention that d_namlen
22658         is an optional BSD extension.
22659
22660         [BZ #10254]
22661         * manual/stdio.texi (Opening Streams): Document additional fopen
22662         parameters.
22663
22664 2012-04-09  Roland McGrath  <roland@hack.frob.com>
22665
22666         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22667         %eax without telling the compiler.
22668
22669 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
22670
22671         [BZ # 13963]
22672         * manual/install.texi: Use sourceware.org.
22673
22674 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
22675
22676         [BZ #13873]
22677         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22678         (__ieee754_pow): Generate overflow and underflow using huge*huge
22679         and tiny*tiny rather than just returning constant infinity or zero
22680         for large exponents.
22681         * math/libm-test.inc (pow_test): Require overflow exceptions for
22682         applicable cases of large exponents.
22683
22684         [BZ #706]
22685         * sysdeps/i386/fpu/e_pow.S (p10): New object.
22686         (__ieee754_pow): Use iterative multiplication algorithm only for
22687         integer exponents with absolute value below 1024.  Check for odd
22688         integer exponents when using algorithm for real exponents.
22689         * math/libm-test.inc (pow_test): Add more tests.
22690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22691
22692 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
22693
22694         [BZ #13705]
22695         * math/libm-test.inc (exp_test): Do not allow overflow exception
22696         on underflow test.
22697
22698 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
22699
22700         [BZ #13705]
22701         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22702         instead of __kernel_standard_f.
22703
22704 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
22705
22706         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22707         * sysdeps/x86_64/memset_chk.S: Likewise.
22708
22709 2012-04-08  Andreas Jaeger  <aj@suse.de>
22710
22711         [BZ #10153]
22712         * manual/startup.texi (Environment Access): Describe return value
22713         for putenv and setenv.
22714
22715         [BZ #6895]
22716         * manual/filesys.texi (Directory Entries): Add description for
22717         DT_LNK.
22718
22719         [BZ #6890]
22720         * manual/filesys.texi (Directory Entries): Clarify that it's file
22721         system not operating system in the description of DT_UNKNOWN.
22722
22723         [BZ #6578]
22724         * manual/syslog.texi (closelog): Fix reference, it's openlog.
22725
22726 2012-04-08  Stephen Compall  <s11@member.fsf.org>
22727
22728         [BZ #6649]
22729         * manual/llio.texi (Opening and Closing Files): Add cross
22730         reference to explain mode argument.
22731
22732 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
22733
22734         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22735         * sysdeps/x86_64/memset_chk.S: Likewise.
22736
22737 2012-04-07  David S. Miller  <davem@davemloft.net>
22738
22739         * elf/elf.h (R_SPARC_WDISP10): Define.
22740         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22741         R_SPARC_SIZE32.
22742         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22743         R_SPARC_SIZE64 and R_SPARC_H34.
22744
22745 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
22746
22747         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22748         conditions and remove no longer applicable assertion.
22749
22750 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22751
22752         * bits/byteswap.h: Include <features.h>.
22753         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22754         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22755
22756 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22757
22758         * bits/byteswap.h (__bswap_16): Removed.
22759         Include <bits/byteswap-16.h> to get __bswap_16.
22760         * sysdeps/i386/bits/byteswap.h: Likewise.
22761         * sysdeps/s390/bits/byteswap.h: Likewise.
22762         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22763         * bits/byteswap-16.h: New file.
22764         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22765         * sysdeps/s390/bits/byteswap-16.h: Likewise.
22766         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22767         * string/Makefile (headers): Add bits/byteswap-16.h.
22768
22769 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22770
22771         [BZ #13895]
22772         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22773         extra indirection.
22774         * nss/Makefile (tests-static, tests): Add tst-nss-static.
22775         * nss/tst-nss-static.c: New.
22776
22777 2012-04-06  Robert Millan  <rmh@gnu.org>
22778
22779         [BZ #6486]
22780         * manual/llio.texi (File Position Primitive): lseek
22781         refers to WHENCE when it really means OFFSET.
22782
22783 2012-04-06  Andreas Jaeger  <aj@suse.de>
22784
22785         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22786         strncmp declarations.
22787
22788         * abilist/libc.abilist: Add __poll and __ppoll.
22789
22790 2012-04-05  David S. Miller  <davem@davemloft.net>
22791
22792         * scripts/check-local-headers.sh: Accept a host triplet in the
22793         path matched by the exclude regexp.
22794
22795         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22796         definition.
22797         * sysdeps/powerpc/powerpc32/dl-machine.h
22798         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22799         * sysdeps/s390/s390-32/dl-machine.h
22800         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22801         * sysdeps/sparc/sparc32/dl-machine.h
22802         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22803         * sysdeps/sparc/sparc64/dl-machine.h
22804         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22805
22806         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22807         lazy binding.
22808         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22809         undefined symbol errors.
22810
22811         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22812         DT_NEEDED entries.
22813
22814 2012-04-05  Michael Matz  <matz@suse.de>
22815
22816         [BZ #13592]
22817         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22818
22819 2012-04-05  Andreas Jaeger  <aj@suse.de>
22820
22821         [BZ #13908]
22822         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22823         comment.
22824
22825 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22826
22827         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22828         which ROUND is no valid rounding mode.
22829
22830 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22831
22832         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22833         read again.
22834         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22835
22836 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22837
22838         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22839         an exception using FPU order intentionally.
22840
22841 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22842
22843         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22844         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22845         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22846         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22847
22848 2012-04-05  Simon Josefsson  <simon@josefsson.org>
22849
22850         [BZ #12340]
22851         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22852         EINVAL when BUFLEN is too smal.
22853
22854 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22855
22856         [BZ #13553]
22857         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22858         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22859
22860 2012-04-03  Andreas Jaeger  <aj@suse.de>
22861
22862         [BZ #13938]
22863         * manual/setjmp.texi (System V contexts): Fix sentence.
22864
22865         [BZ #13926]
22866         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22867         New macro for this case.
22868         [!__GNUC__] (__bswap_64): New inline function for this case.
22869         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22870         * bits/byteswap.h: Likewise.
22871         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22872         ull, guard with __GLIBC_HAVE_LONG_LONG.
22873
22874         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22875         __GLIBC_HAVE_LONG_LONG.
22876
22877         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22878         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22879
22880 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22881
22882         [BZ #13691]
22883         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22884         inptr and inend, rather than using last_ch.
22885
22886 2012-04-02  David S. Miller  <davem@davemloft.net>
22887
22888         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22889         * stdio-common/printf-parse.h (read_int): Change return type to
22890         'int', return -1 on INT_MAX overflow.
22891         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22892         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
22893         overflows INT_MAX.  Check for overflow of in-format-string precision
22894         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
22895         SIZE_MAX not INT_MAX for integer overflow test.
22896         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22897         skip the construct in the format string but do not record anything.
22898         * stdio-common/bug22.c: Adjust to test both width/prevision
22899         INT_MAX overflow as well as total length INT_MAX overflow.  Check
22900         explicitly for proper errno values.
22901
22902 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22903
22904         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22905         CHAR_MAX.
22906         * string/test-strcmp.c [! WIDE]: Likewise.
22907         * time/tst-mktime2.c: Likewise for INT_MAX.
22908         * string/test-string.h: #include <sys/param.h> for MIN.
22909
22910         * csu/init-first.c (__libc_init_first): Call __ctype_init.
22911         * sysdeps/i386/init-first.c (init): Likewise.
22912         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22913         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22914         * sysdeps/sh/init-first.c (init): Likewise.
22915
22916 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
22917
22918         * po/ru.po: Update from translation team.
22919         * po/vi.po: Likewise.
22920
22921 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22922
22923         * resolv/nss_dns/dns-host.c: Merge copyright years.
22924
22925 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22926
22927         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22928         Optimize memcpy with prefetch if
22929         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
22930         src, dst pointers have unequal 16 byte alignments.
22931
22932 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22933
22934         [BZ #13928]
22935         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22936         from a CNAME entry and return the minimum ttl for the query.
22937         (gaih_getanswer_slice): Likewise.
22938
22939 2012-03-30  Jeff Law  <law@redhat.com>
22940
22941         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22942         due to long keys.
22943         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22944         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22945
22946         * resolv/nss_dns/dns-host.c: Update copyright year.
22947
22948 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
22949
22950         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22951         requests to save a system call.  Fix check that all bytes are sent.
22952
22953         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22954         comments for sendmmsg.
22955
22956 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22957
22958         [BZ #13691]
22959         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22960         with only 1 character between 0x0041 and 0x01b0.
22961         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22962         * wcsmbs/tst-mbsnrtowcs.c: New file.
22963
22964 2012-03-29  David S. Miller  <davem@davemloft.net>
22965
22966         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22967         small copies by hand.
22968
22969 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22970
22971         [BZ #13761]
22972         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22973         _nss_compat_initgroups_dyn): Fall back to malloc/free
22974         for large group memberships.
22975
22976 2012-03-28  David S. Miller  <davem@davemloft.net>
22977
22978         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22979         that branches into memcpy.
22980         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22981         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22982         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22983         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22984         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22985         bits.
22986         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22987         implementation too.
22988         * sysdeps/sparc/mempcpy.S: New file.
22989
22990         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22991         the IFUNC routine in the libc case.
22992         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22993
22994         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22995         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22996         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22997         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22998         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22999         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23000         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23001         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23002
23003         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23004         loop to 256 bytes instead of 64 bytes and fix test signedness.
23005
23006         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23007         * sysdeps/sparc/sparc32/Makefile: rather than here...
23008         * sysdeps/sparc/sparc64/Makefile: and here.
23009
23010 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
23011
23012         * malloc/mallocbug.c: Avoid warnings about unused variables.
23013
23014 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23015
23016         [BZ #13760]
23017         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23018         in the right place. Discard and retry query if response is
23019         larger than input buffer size.
23020
23021 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
23022
23023         [BZ #369]
23024         [BZ #2678]
23025         [BZ #3866]
23026         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23027         x for large integer exponent.
23028         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23029         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
23030         sign of result as needed afterwards.
23031         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23032         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23033         result for underflowing pow the same as for overflow.
23034         (__kernel_standard_l): Handle powl overflow and underflow here
23035         rather than calling __kernel_standard.
23036         * math/libm-test.inc (pow_test): Add more tests.
23037
23038         [BZ #3868]
23039         [BZ #13879]
23040         [BZ #13910]
23041         [BZ #13911]
23042         [BZ #13912]
23043         [BZ #13913]
23044         [BZ #13915]
23045         [BZ #13916]
23046         [BZ #13917]
23047         [BZ #13918]
23048         [BZ #13919]
23049         [BZ #13920]
23050         [BZ #13921]
23051         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23052         * sysdeps/ieee754/k_standard.c: Include <float.h>.
23053         (__kernel_standard_l): New function.
23054         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23055         __kernel_standard.
23056         * math/w_acosl.c (__acosl): Likewise.
23057         * math/w_asinl.c (__asinl): Likewise.
23058         * math/w_atan2l.c (__atan2l): Likewise.
23059         * math/w_atanhl.c (__atanhl): Likewise.
23060         * math/w_coshl.c (__coshl): Likewise.
23061         * math/w_exp10l.c (__exp10l): Likewise.
23062         * math/w_exp2l.c (__exp2l): Likewise.
23063         * math/w_fmodl.c (__fmodl): Likewise.
23064         * math/w_hypotl.c (__hypotl): Likewise.
23065         * math/w_j0l.c (__j0l, __y0l): Likewise.
23066         * math/w_j1l.c (__j1l, __y1l): Likewise.
23067         * math/w_jnl.c (__jnl, __ynl): Likewise.
23068         * math/w_lgammal.c (__lgammal): Likewise.
23069         * math/w_log10l.c (__log10l): Likewise.
23070         * math/w_log2l.c (__log2l): Likewise.
23071         * math/w_logl.c (__logl): Likewise.
23072         * math/w_powl.c (__powl): Likewise.
23073         * math/w_remainderl.c (__remainderl): Likewise.
23074         * math/w_scalbl.c (sysv_scalbl): Likewise.
23075         * math/w_sinhl.c (__sinhl): Likewise.
23076         * math/w_sqrtl.c (__sqrtl): Likewise.
23077         * math/w_tgammal.c (__tgammal): Likewise.
23078         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23079         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23080         * math/libm-test.inc (acos_test): Add more tests.
23081         (acosh_test): Likewise.
23082         (asin_test): Likewise.
23083         (atanh_test): Likewise.
23084         (exp_test): Likewise.
23085         (exp10_test): Likewise.
23086         (exp2_test): Likewise.
23087         (expm1_test): Likewise.
23088         (lgamma_test): Likewise.
23089         (log_test): Likewise.
23090         (log10_test): Likewise.
23091         (log1p_test): Likewise.
23092         (log2_test): Likewise.
23093         (pow_test): Do not allow some spurious overflow exceptions.
23094         (sqrt_test): Add more tests.
23095         (tgamma_test): Likewise.
23096         (y0_test): Likewise.
23097         (y1_test): Likewise.
23098         (yn_test): Likewise.
23099
23100 2012-03-27  Anton Blanchard  <anton@samba.org>
23101
23102         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23103         MAP_HUGETLB.
23104         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23105         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23106         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23107
23108 2012-03-27  David S. Miller  <davem@davemloft.net>
23109
23110         * conform/Makefile: Run run-conformtest.sh using $(BASH).
23111
23112         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23113         have-as-vis3 check.
23114
23115 2012-03-27  Andreas Jaeger  <aj@suse.de>
23116
23117         * sysdeps/x86_64/elf/configure.in: Moved to ...
23118         * sysdeps/x86_64/configure.in: ... here.
23119         * sysdeps/x86_64/elf/start.S: Moved to ...
23120         * sysdeps/x86_64/start.S: ... here.
23121         * sysdeps/x86_64/elf/configure: Delete.
23122
23123         * sysdeps/x86_64/configure.in: Merge contents from
23124         sysdeps/i386/configure.in (without i686 check).
23125
23126         * sysdeps/i386/elf/Versions: Merge into ...
23127         * sysdeps/i386/Versions: ... this.
23128         * sysdeps/i386/elf/Versions: Delete file.
23129         * sysdeps/i386/elf/start.S: Moved to ...
23130         * sysdeps/i386/start.S: ...here.
23131         * sysdeps/i386/elf/configure.in: Merge into...
23132         * sysdeps/i386/configure.in: ...here.
23133         * sysdeps/i386/elf/configure.in: Delete file.
23134         * sysdeps/i386/elf/configure: Delete file.
23135
23136         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23137         * debug/backtracesyms.c: ... here.
23138         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23139         * debug/backtracesymsfd.c: ... here.
23140         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23141         * sysdeps/generic/ifunc-sel.h: ... here.
23142
23143         * sysdeps/unix/i386/start.c: Delete file.
23144         * sysdeps/unix/sparc/start.c: Delete file.
23145         * sysdeps/unix/start.c: Delete file.
23146
23147         * sysdeps/sh/elf/configure.in: Moved to ...
23148         * sysdeps/sh/configure.in: ... here.
23149         * sysdeps/sh/elf/start.S: Moved to ...
23150         * sysdeps/sh/start.S: ... here.
23151         * sysdeps/sh/elf/configure: Delete file.
23152
23153         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23154         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23155         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23156         * sysdeps/powerpc/powerpc64/entry.h: ... here.
23157         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23158         * sysdeps/powerpc/powerpc64/start.S: here.
23159         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23160         * sysdeps/powerpc/powerpc64/Makefile: ... this.
23161         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23162         * sysdeps/powerpc/powerpc64/configure.in: ... this.
23163         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23164
23165         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23166         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23167         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23168         * sysdeps/powerpc/powerpc32/start.S: ... here.
23169         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23170         * sysdeps/powerpc/powerpc32/configure.in: ... this.
23171         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23172
23173         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23174         * sysdeps/powerpc/ifunc-sel.h: ... here.
23175         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23176         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23177
23178         * sysdeps/sparc/elf/configure.in: Moved to ...
23179         * sysdeps/sparc/configure.in: ... here.
23180         * sysdeps/sparc/elf/configure: Delete file.
23181         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23182         * sysdeps/sparc/sparc32/start.S: ... here.
23183         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23184         * sysdeps/sparc/sparc64/start.S: ... here.
23185         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23186         * sysdeps/sparc/sparc32/Makefile: ... this.
23187         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23188         * sysdeps/sparc/sparc64/Makefile: ... this.
23189
23190         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23191         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23192         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23193         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23194         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23195         * sysdeps/s390/s390-32/setjmp.S: ... here.
23196         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23197         * sysdeps/s390/s390-32/configure.in: ... here.
23198         * sysdeps/s390/s390-32/elf/configure: Delete file.
23199         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23200         * sysdeps/s390/s390-32/start.S: ... here.
23201
23202         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23203         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23204         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23205         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23206         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23207         * sysdeps/s390/s390-64/setjmp.S: ... here.
23208         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23209         * sysdeps/s390/s390-64/configure.in: ... here
23210         * sysdeps/s390/s390-64/elf/configure: Delete file.
23211         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23212         * sysdeps/s390/s390-64/start.S: ... here.
23213         * sysdeps/s390/s390-64/elf/configure: Delete.
23214
23215         * configure.in: Remove support for elf directories in sysdeps.
23216
23217         * configure: Regenerated.
23218         * sysdeps/i386/configure: Regenerated.
23219         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23220         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23221         * sysdeps/s390/s390-32/configure: Regenerated.
23222         * sysdeps/s390/s390-64/configure: Regenerated.
23223         * sysdeps/sh/configure: Regenerated.
23224         * sysdeps/sparc/configure: Regenerated.
23225         * sysdeps/x86_64/configure: Regenerated.
23226
23227 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
23228
23229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23230
23231         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23232         denormal result into account.
23233
23234 2012-03-25  Roland McGrath  <roland@hack.frob.com>
23235
23236         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23237         Reported by Allan McRae <allan@archlinux.org>.
23238
23239 2012-03-23  Jeff Law  <law@redhat.com>
23240
23241         * nss/getnssent.c (__nss_getent): Fix typo.
23242
23243 2012-03-23  David S. Miller  <davem@davemloft.net>
23244
23245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23246
23247 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
23248
23249         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23250         to pad to uint64_t for each field.
23251         (dl_tls_index): Replace unsigned long with uint64_t.
23252
23253 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
23254         Paul Pluzhnikov  <ppluzhnikov@google.com>
23255
23256         [BZ #6528]
23257         * grp/Makefile (otherlibs): Don't set it.
23258         * inet/Makefile (otherlibs): Likewise.
23259         * login/Makefile (otherlibs): Likewise.
23260         * nscd/Makefile (otherlibs): Likewise.
23261         * posix/Makefile (otherlibs): Likewise.
23262         * pwd/Makefile (otherlibs): Likewise.
23263         * rt/Makefile (otherlibs): Likewise.
23264         * sunrpc/Makefile (otherlibs): Likewise.
23265         * nss/Makefile (otherlibs): Likewise.
23266         Add libnss_files to routines and static-only-routines.
23267         ($(objpfx)getent): Remove rule.
23268         * resolv/Makefile: Add libnss_dns and libresolv to routines and
23269         static-only-routines.
23270
23271 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
23272
23273         [BZ #13892]
23274         * math/s_cexp.c: Include <float.h>.
23275         (__cexp): Handle exp result overflowing not necessarily
23276         overflowing both real and imaginary parts of result.
23277         * math/s_cexpf.c: Likewise.
23278         * math/s_cexpl.c: Likewise.
23279         * math/libm-test.inc (cexp_test): Add more tests.
23280         * sysdeps/i386/fpu/libm-test-ulps: Update.
23281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23282
23283 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23284
23285         * include/link.h (ELFW): New macro.
23286         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23287         Replace ELF64_R_TYPE with ELFW(R_TYPE).
23288
23289 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23290
23291         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23292         with uint64_t.
23293
23294 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23295
23296         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23297         declaration.
23298         (struct La_x32_retval): Likewise.
23299
23300 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23301
23302         * sysdeps/x86_64/preconfigure.in: New file.
23303         * sysdeps/x86_64/preconfigure: New generated file.
23304
23305 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
23306
23307         [BZ #13824]
23308         * math/e_exp2l.c: Include <float.h>.
23309         (__ieee754_exp2l): Handle overflow and underflow cases
23310         separately.  Only pass fractional part of argument to
23311         __ieee754_expl.
23312         * math/libm-test.inc (exp2_test): Add more tests.
23313
23314         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23315         negating x to take absolute value.
23316         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23317         Likewise.
23318         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23319         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23320         Likewise.
23321         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23322         computing low part if x was negated.
23323         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23324
23325 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23326
23327         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23328         la_x32_gnu_pltexit.
23329         (pltexit): Cast int_retval to ptrdiff_t.
23330         * elf/tst-auditmod3b.c: Likewise.
23331         * elf/tst-auditmod4b.c: Likewise.
23332         * elf/tst-auditmod5b.c: Likewise.
23333         * elf/tst-auditmod6b.c: Likewise.
23334         * elf/tst-auditmod6c.c: Likewise.
23335         * elf/tst-auditmod7b.c: Likewise.
23336
23337         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23338         and x32_gnu_pltexit.
23339
23340         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23341         __ELF_NATIVE_CLASS.
23342         (La_x32_regs): New macro.
23343         (La_x32_retval): Likewise.
23344         (la_x32_gnu_pltenter): New function prototype.
23345         (la_x32_gnu_pltexit): Likewise.
23346
23347 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
23348
23349         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23350         exponent.
23351
23352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23353
23354         * configure.in (libc_cv_cc_nofma): Check for option to disable
23355         generation of FMA instructions.
23356         * configure: Regenerate.
23357         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23358         * sysdeps/ieee754/dbl-64/Makefile: New file.
23359         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23360         Remove brandred-fma4.
23361         (CFLAGS-brandred-fma4.c): Remove.
23362         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23363         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23364         define.
23365         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23366         define.
23367
23368 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23369
23370         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23371         LLONG_MAX != LONG_MAX.
23372         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23373         (_fitoa_word): Likewise.
23374         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23375         LLONG_MAX != LONG_MAX.
23376         * stdio-common/_itowa.h: Include <_itoa.h>.
23377         (_itowa_word): Use _ITOA_WORD_TYPE on value.
23378         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
23379         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
23380         only if not defined.
23381         (_ITOA_WORD_TYPE): Likewise.
23382         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23383         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23384
23385 2012-03-21  David S. Miller  <davem@davemloft.net>
23386
23387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23388
23389 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23390
23391         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23392         of x86_64 when setting libc_cv_slibdir, libdir and
23393         libc_cv_localedir.
23394         * sysdeps/unix/sysv/linux/configure: Regenerated.
23395
23396 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23397
23398         * manual/lang.texi (Old Varargs): Remove section.
23399         (How Variadic): Update menu.
23400         (va_start): Do not mention varargs.h.
23401
23402 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23403             Joseph Myers  <joseph@codesourcery.com>
23404
23405         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23406         link test.
23407         * configure: Regenerated.
23408
23409 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23410
23411         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23412         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23413         conformtest.pl
23414
23415 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23416
23417         * NOTES: Remove.
23418         * Makefile (files-for-dist): Remove NOTES.
23419         (NOTES): Remove rule.
23420         * README: Don't refer to NOTES.
23421         * manual/creature.texi: Don't include macros.texi.
23422         * manual/intro.texi (creature.texi): Remove comment referring to
23423         NOTES.
23424
23425         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23426         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23427         * configure: Regenerated.
23428         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23429         LIBC_TRY_CC_OPTION.
23430         (libc_cv_as_i686): Likewise.
23431         (libc_cv_cc_avx): Likewise.
23432         (libc_cv_cc_sse2avx): Likewise.
23433         (libc_cv_cc_fma4): Likewise.
23434         (libc_cv_cc_novzeroupper): Likewise.
23435         * sysdeps/i386/configure: Regenerated.
23436
23437         [BZ #13883]
23438         * sysdeps/i386/fpu/s_cexp.S: Remove.
23439         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23440         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23441         * math/libm-test.inc (cexp_test): Add more tests.
23442         * sysdeps/i386/fpu/libm-test-ulps: Update.
23443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23444
23445 2012-03-21  Allan McRae  <allan@archlinux.org>
23446
23447         * timezone/Makefile: Do not install iso3166.tab and zone.tab
23448
23449 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23450
23451         [BZ #13871]
23452         * math/w_exp2.c: Do not include <float.h>.
23453         (o_threshold, u_threshold): Remove.
23454         (__exp2): Calculate result before checking finiteness and calling
23455         __kernel_standard.
23456         * math/w_exp2f.c: Likewise.
23457         * math/w_exp2l.c: Likewise.
23458         * math/libm-test.inc (exp2_test): Require overflow exception for
23459         1e6 input.
23460
23461         [BZ #3866]
23462         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23463         range of signed 64-bit integers before using fistpll.  Remove
23464         checks for whether integers fit in mantissa bits.
23465         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23466         the range of signed 32-bit integers before using fistpl.  Remove
23467         checks for whether integers fit in mantissa bits.
23468         * sysdeps/i386/fpu/e_powl.S (p64): New object.
23469         (__ieee754_powl): Test for y outside the range of signed 64-bit
23470         integers before using fistpll.  Reduce 64-bit values to 63-bit
23471         ones as needed.
23472         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23473         divide-by-zero is raised for zero to large negative powers.
23474         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23475         (__ieee754_powl): Test for y outside the range of signed 64-bit
23476         integers before using fistpll.  Reduce 64-bit values to 63-bit
23477         ones as needed.
23478         * math/libm-test.inc (pow_test): Add more tests.
23479
23480 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23481
23482         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23483         <stdio-common/_itoa.h>.
23484         * debug/segfault.c: Likewise.
23485         * elf/dl-cache.c: Likewise.
23486         * elf/dl-minimal.c: Likewise.
23487         * elf/dl-misc.c: Likewise.
23488         * elf/dl-sysdep.c: Likewise.
23489         * elf/dl-version.c: Likewise.
23490         * elf/rtld.c: Likewise.
23491         * hurd/hurdsock.c: Likewise.
23492         * hurd/lookup-retry.c: Likewise.
23493         * malloc/malloc.c: Likewise.
23494         * malloc/mtrace.c: Likewise.
23495         * nscd/nscd_getgr_r.c: Likewise.
23496         * nscd/nscd_getpw_r.c: Likewise.
23497         * nscd/nscd_getserv_r.c: Likewise.
23498         * posix/getopt_init.c: Likewise.
23499         * posix/wordexp.c: Likewise.
23500         * stdio-common/_itoa.c: Likewise.
23501         * stdio-common/printf_fphex.c: Likewise.
23502         * stdio-common/vfprintf.c: Likewise.
23503         * string/_strerror.c: Likewise.
23504         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23505         * sysdeps/i386/i686/hp-timing.h: Likewise.
23506         * sysdeps/mach/_strerror.c: Likewise.
23507         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23508         * sysdeps/mach/hurd/sethostid.c: Likewise.
23509         * sysdeps/mach/hurd/xmknodat.c: Likewise.
23510         * sysdeps/mach/xpg-strerror.c: Likewise.
23511         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23512         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23513         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23514         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23515         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23516         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23517         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23518         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23519         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23520         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23521         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23522         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23523         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23524         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23525         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23526         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23527         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23528         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23529         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23530         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23531         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23532
23533         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23534
23535         * stdio-common/_itoa.h: Moved to ...
23536         * sysdeps/generic/_itoa.h: Here.
23537
23538         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23539
23540         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23541         instead of "_itoa.h" and "_itowa.h".
23542         * stdio-common/vfprintf.: Likewise.
23543
23544 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23545
23546         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23547         <bits/wordsize.h>.
23548         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23549         (__signbit): Likwise.
23550         (llrintf): Likwise.
23551         (llrint): Likwise.
23552
23553 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23554
23555         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23556         __WORDSIZE != 64.
23557
23558 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
23559
23560         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23561         OVERFLOW_EXCEPTION_OK.
23562         * math/libm-test.inc ("Philosophy"): Update comment about
23563         exception testing.
23564         (OVERFLOW_EXCEPTION): Define.
23565         (OVERFLOW_EXCEPTION_OK): Likewise.
23566         (INVALID_EXCEPTION_OK): Renumber.
23567         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23568         (IGNORE_ZERO_INF_SIGN): Likewise.
23569         (test_exceptions): Handle FE_OVERFLOW.
23570         (exp10_test): Expect overflow exceptions.
23571         (exp2_test): Likewise.
23572         (expm1_test): Likewise.
23573         (nextafter_test): Likewise.
23574         (pow_test): Likewise.
23575         (scalbn_test): Likewise.
23576         (scalbln_test): Likewise.
23577
23578 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23579
23580         * sysdeps/x86_64/bits/atomic.h
23581         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23582         64bit integer.
23583         (atomic_exchange_acq): Likewise.
23584         (__arch_exchange_and_add_body): Likewise.
23585         (__arch_add_body): Likewise.
23586         (atomic_add_negative): Likewise.
23587         (atomic_add_zero): Likewise.
23588
23589 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23590
23591         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23592         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23593
23594 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23595
23596         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23597         Check __x86_64__ instead of __WORDSIZE.
23598
23599 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23600
23601         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23602
23603 2012-03-19  David S. Miller  <davem@davemloft.net>
23604
23605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23606
23607         * sysdeps/sparc/fpu/fenv_private.h: New file.
23608         * sysdeps/sparc/fpu/math_private.h: Use it.
23609         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23610         Remove.
23611         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23612         (libc_feholdexcept_setroundl): Remove.
23613         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23614         Remove.
23615         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23616         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23617
23618 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23619
23620         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23621         int64_t instead of long int.
23622         (INSERT_WORDS64): Likwise.
23623
23624 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23625
23626         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23627         _Unwind_GetCFA return to _Unwind_Ptr first.
23628
23629 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
23630
23631         [BZ #13629]
23632         * math/s_clog.c: Include <float.h>.
23633         (__clog): Scale large or subnormal inputs.
23634         * math/s_clogf.c: Likewise.
23635         * math/s_clogl.c: Likewise.
23636         * math/s_clog10.c: Include <float.h>.
23637         (M_LOG10_2): Define.
23638         (__clog10): Scale large or subnormal inputs.
23639         * math/s_clog10f.c: Likewise.
23640         * math/s_clog10l.c: Likewise.
23641         * math/libm-test.inc (clog_test): Add more tests.
23642         (clog10_test): Likewise.
23643         * sysdeps/i386/fpu/libm-test-ulps: Update.
23644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23645
23646         [BZ #11451]
23647         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23648         x and y.
23649         * math/libm-test.inc (atan2_test): Add another test.
23650
23651         * Makerules (common-objdir-compile): Remove.
23652         * sysdeps/unix/Makefile (config-generated): Do not add
23653         $(unix-generated) to variable.
23654         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23655         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23656         Remove rule.
23657         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23658         Likewise.
23659         [generic bits/local_lim.h] (before-compile): Do not append to
23660         variable.
23661         [generic bits/local_lim.h] (common-generated): Likewise.
23662         [generic sys/param.h] (before-compile): Do not append to variable.
23663         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23664         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23665         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23666         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23667         include.
23668         [generic sys/param.h] (sys/param.h-includes): Remove variable.
23669         [generic sys/param.h] (sys/param.h-includes): Remove rule.
23670         [generic sys/param.h] ($(addprefix
23671         $(common-objpfx),$(sys/param.h-includes))): Likewise.
23672         [generic sys/param.h] (common-generated): Do not append to
23673         variable.
23674         [generic sys/param.h] (sysdep_headers): Likewise.
23675         [generic bits/errno.h] (before-compile): Do not append to
23676         variable.
23677         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23678         rule.
23679         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23680         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23681         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23682         [generic bits/errno.h] (common-generated): Do not append to
23683         variable.
23684         [generic bits/ioctls.h] (before-compile): Do not append to
23685         variable.
23686         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23687         rule.
23688         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23689         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23690         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23691         rule.
23692         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23693         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23694         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23695         [generic bits/ioctls.h] (common-generated): Do not append to
23696         variable.
23697         [generic sys/syscall.h] (syscall.h): Remove variable.
23698         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23699         rule.
23700         [generic sys/syscall.h] (before-compile): Do not append to
23701         variable.
23702         [generic sys/syscall.h] (common-generated): Likewise.
23703         * sysdeps/unix/errnos-tmpl.c: Remove file.
23704         * sysdeps/unix/errnos.awk: Likewise.
23705         * sysdeps/unix/ioctls-tmpl.c: Likewise.
23706         * sysdeps/unix/ioctls.awk: Likewise.
23707         * sysdeps/unix/mk-local_lim.c: Likewise.
23708         * sysdeps/unix/snarf-ioctls: Likewise.
23709
23710 2012-03-19  Richard Henderson  <rth@twiddle.net>
23711
23712         * sysdeps/i386/fpu/fenv_private.h: New file.
23713         * sysdeps/i386/fpu/math_private.h: Use it.
23714         (math_opt_barrier, math_force_eval): Remove.
23715         (libc_feholdexcept_setround_53bit): Remove.
23716         (libc_feupdateenv_53bit): Remove.
23717         * sysdeps/x86_64/fpu/math_private.h: Likewise.
23718         (math_opt_barrier, math_force_eval): Remove.
23719         (libc_feholdexcept): Remove.
23720         (libc_feholdexcept_setround): Remove.
23721         (libc_fetestexcept, libc_fesetenv): Remove.
23722         (libc_feupdateenv_test): Remove.
23723         (libc_feupdateenv, libc_feholdsetround): Remove.
23724         (libc_feresetround): Remove.
23725
23726         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23727         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23728
23729         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23730         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23731         (libc_feupdateenv_testl): New.
23732         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23733         (libc_feupdateenv_testf): New.
23734         (libc_feupdateenv): Use libc_feupdateenv_test.
23735         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23736         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23737
23738         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23739         (libc_feholdsetroundf, libc_feholdsetroundl): New.
23740         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23741         (libc_feresetround_noex): New.
23742         (libc_feresetround_noexf): New.
23743         (libc_feresetround_noexl): New.
23744         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23745         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23746         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23747         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23748         SET_RESTORE_ROUND.
23749         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23750         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23751         (__cos): Likewise.
23752         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23753         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23754         SET_RESTORE_ROUND_NOEX.
23755         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23756         SET_RESTORE_ROUND_NOEXF.
23757         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23758         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23759         (libc_feholdsetroundf): New.
23760         (libc_feresetround, libc_feresetroundf): New.
23761
23762         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23763         (libc_feholdexcept_setround_53bit): Convert from macro to function.
23764         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
23765
23766         * sysdeps/generic/math_private.h: Include <fenv.h>.
23767         (default_libc_feholdexcept): New.
23768         (default_libc_feholdexcept_setround): New.
23769         (default_libc_fesetenv, default_libc_feupdateenv): New.
23770         (libc_feholdexcept): Only define if undefined.
23771         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23772         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23773         (libc_feholdexcept_setroundl): Likewise.
23774         (libc_feholdexcept_setround_53bit): Likewise.
23775         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23776         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23777         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23778         (libc_feupdateenv_53bit): Likewise.
23779         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23780         (libc_feholdexcept): Convert from macro to inline function.
23781         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23782         (libc_fesetenv, libc_feupdateenv): Likewise.
23783
23784         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23785         not previously defined.
23786         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23787         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23788         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23789         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23790         * sysdeps/ieee754/flt-32/math_private.h: New file.
23791         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23792         math_private.h below SET_FLOAT_WORD.
23793         (__isnan, __isinf_ns, __finite): Remove.
23794         (__isnanf, __isinf_nsf, __finitef): Remove.
23795
23796 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
23797
23798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23799
23800 2012-03-17  David S. Miller  <davem@davemloft.net>
23801
23802         [BZ #6471]
23803         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23804         for 2.16.
23805
23806 2012-03-16  David S. Miller  <davem@davemloft.net>
23807
23808         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23809         warnings.
23810
23811         [BZ #6471]
23812         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23813         properly.
23814         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23815         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23816         sysdep_routines when subdir is sysvipc.
23817         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23818         __getshmlba helper.
23819
23820         * sysdeps/sparc/fpu/libm-test/ulps: Update.
23821
23822 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23823
23824         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23825         [__LP64__].
23826
23827 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23828
23829         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23830         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23831         (__lround): Renamed to ...
23832         (__llround): This.  Replace long int with long long int.
23833         Define lround functions as aliases of llround functions.
23834         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23835
23836 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23837
23838         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23839         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
23840         adresses to uintptr_t.  Replace "long int" and "unsigned long
23841         int" with "greg_t" on va_arg.
23842
23843 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23844
23845         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23846         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23847
23848         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23849         Move e_machine check before EI_CLASS check.  Handle x32
23850         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23851         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23852         SKIP_EM_IA_64 and include
23853         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23854
23855         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23856         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23857         (add_system_dir): New macro.
23858
23859         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23860         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23861
23862 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23863
23864         [BZ #2551]
23865         [BZ #2552]
23866         [BZ #2553]
23867         [BZ #2554]
23868         [BZ #2562]
23869         [BZ #2563]
23870         [BZ #2565]
23871         [BZ #2566]
23872         [BZ #2576]
23873         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23874         (y0): Likewise.
23875         * math/w_j0f.c (j0f): Likewise.
23876         (y0f): Likewise.
23877         * math/w_j0l.c (__j0l): Likewise.
23878         (__y0l): Likewise.
23879         * math/w_j1.c (j1): Likewise.
23880         (y1): Likewise.
23881         * math/w_j1f.c (j1f): Likewise.
23882         (y1f): Likewise.
23883         * math/w_j1l.c (__j1l): Likewise.
23884         (__y1l): Likewise.
23885         * math/w_jn.c (jn): Likewise.
23886         (yn): Likewise.
23887         * math/w_jnf.c (jnf): Likewise.
23888         (ynf): Likewise.
23889         * math/w_jnl.c (__jnl): Likewise.
23890         (__ynl): Likewise.
23891         * math/libm-test.inc (j0_test): Add more tests.
23892         (j1_test): Likewise.
23893         (jn_test): Likewise.  Add trailing semicolon to existing test.
23894         (y0_test): Likewise.
23895         (y1_test): Likewise.
23896         * sysdeps/i386/fpu/libm-test-ulps: Update.
23897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23898
23899         [BZ #13851]
23900         [BZ #13854]
23901         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23902         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23903         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23904         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23905         (__tanl): Set errno for infinite argument.
23906         * sysdeps/i386/fpu/mptan.c: Remove.
23907         * sysdeps/i386/fpu/s_tan.S: Likewise.
23908         * sysdeps/i386/fpu/s_tanl.S: Likewise.
23909         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23910         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23911         * math/libm-test.inc (tan_test): Add more tests and enable more
23912         tests for double and long double.
23913         * sysdeps/i386/fpu/libm-test-ulps: Update.
23914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23915
23916 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
23917
23918         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23919         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23920
23921 2012-03-16  Roland McGrath  <roland@hack.frob.com>
23922
23923         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23924         * configure.in: Use it for both main tree and add-ons.
23925         * configure: Regenerated.
23926
23927 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23928
23929         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23930
23931 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23932
23933         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23934         in comment.
23935
23936         [BZ #13851]
23937         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23938         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23939         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23940         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23941         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23942         infinite argument.
23943         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23944         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23945         != 0 for prec == 2.
23946         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23947         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23948         * sysdeps/i386/fpu/s_cosl.S: Likewise.
23949         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23950         * sysdeps/i386/fpu/s_sinl.S: Likewise.
23951         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23952         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23953         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23954         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23955         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23956         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23957         * math/libm-test.inc (cos_test): Add more tests and enable more
23958         tests for long double.
23959         (sin_test): Likewise.
23960         (sincos_test): Likewise.
23961         * sysdeps/i386/fpu/libm-test-ulps: Update.
23962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23963
23964 2012-03-16  David S. Miller  <davem@davemloft.net>
23965
23966         * sysdeps/sparc/fpu/math_private.h: New file.
23967
23968 2012-03-15  David S. Miller  <davem@davemloft.net>
23969
23970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23971         file.
23972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23974         file.
23975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23976         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23977         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23979         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23980         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23981         sysdep routines.
23982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23983
23984         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23985         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23986
23987         * sysdeps/sparc/sparc-ifunc.h: New file.
23988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23989         sparc-ifunc.h
23990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23992         Likewise.
23993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23994         Likewise.
23995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23999         Likewise.
24000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24005         Likewise.
24006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24007         Likewise.
24008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24013         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24014         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24015         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24016         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24017         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24018         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24019         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24021         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24022         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24023         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24024         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24025         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24026         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24027         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24028         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24029         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24030         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24031         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24032
24033 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24034
24035         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24036         scaling.
24037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24038
24039 2012-03-15  Andreas Jaeger  <aj@suse.de>
24040
24041         [BZ #13852]
24042         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24043         ieee754/flt-32 implementation for sin, cos and sincos.
24044         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24045         * sysdeps/i386/fpu/s_cosf.S: Likewise.
24046         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24047         * sysdeps/i386/fpu/s_sinf.S: Likewise.
24048         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24049         ieee754/flt-32 implementation for tan.
24050
24051         * math/libm-test.inc (cos_test): Enable some large input tests for
24052         float as well
24053         (sin_test): Likewise.
24054         (sincos_test): Likewise.
24055         (tan_test): Add tests for large input.
24056
24057         * sysdeps/i386/fpu/libm-test-ulps: Update.
24058
24059 2012-03-15  Andreas Jaeger  <aj@suse.de>
24060
24061         [BZ #13658]
24062         * math/libm-test.inc (cos_test): Add more test cases.
24063         (sin_test): Likewise.
24064         (sincos_test): Likewise.
24065
24066 2012-03-15  Andreas Jaeger  <aj@suse.de>
24067
24068         [BZ #13837]
24069         * math/libm-test.inc (cos_test): Add a test case for large input
24070         value.
24071         (sin_test): Likewise.
24072         (sincos_test): Likewise.
24073
24074 2012-03-15  Andreas Jaeger  <aj@suse.de>,
24075         Joseph Myers  <joseph@codesourcery.com>
24076
24077         [BZ #13658]
24078         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24079         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24080         * sysdeps/i386/fpu/branred.c: Likewise.
24081         * sysdeps/i386/fpu/dosincos.c: Likewise.
24082         * sysdeps/i386/fpu/mpa.c: Likewise.
24083         * sysdeps/i386/fpu/s_cos.S: Likewise.
24084         * sysdeps/i386/fpu/s_sin.S: Likewise.
24085         * sysdeps/i386/fpu/s_sincos.S: Likewise.
24086         * sysdeps/i386/fpu/sincos32.c: Likewise.
24087
24088         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24089         Define.
24090         (libc_feupdateenv_53bit): Define.
24091         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24092         Define.
24093         (libc_feupdateenv_53bit): Define.
24094
24095         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24096         53 bit (without extend i386 double precision).
24097
24098         * math/libm-test.inc (sincos_test): Add tests for large input.
24099         (sin): Likewise.
24100         (cos): Likewise.
24101
24102         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24103
24104 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24105
24106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24107
24108 2012-03-15  David S. Miller  <davem@davemloft.net>
24109
24110         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24111         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24112         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24113         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24118         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24119         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24120         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24121         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24122         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24123         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24124         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24126         file.
24127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24129         file.
24130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24132         file.
24133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24135         file.
24136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24137         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24138         fmin/fmax sysdep routines.
24139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24140
24141 2012-03-14  David S. Miller  <davem@davemloft.net>
24142
24143         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24144         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24145         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24146         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24147         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24148         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24149         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24150         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24154         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24156         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24157         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24158         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24159         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24160         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24161         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24162         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24163         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24164         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24165         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24166         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24167         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24168         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24169         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24170         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24171         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24172         routines.
24173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24174         file.
24175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24177         file.
24178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24180         file.
24181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24183         file.
24184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24186         file.
24187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24189         file.
24190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24191         file.
24192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24193         file.
24194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24195         file.
24196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24197         New file.
24198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24199         file.
24200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24201         file.
24202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24204         file.
24205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24207         file.
24208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24210         file.
24211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24213         VIS3 routines.
24214
24215         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24216         New file.
24217
24218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24219
24220         * sysdeps/sparc/configure.in: New file.
24221         * sysdeps/sparc/configure: Generate.
24222         * configure.in (libc_cv_sparc_as_vis3): Substitute.
24223         * configure: Regenerate.
24224         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24225         * config.make.in (have-as-vis3): New.
24226         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24227         available use -Av9d instead of -Av9a.
24228         * sysdeps/sparc/sparc64/Makefile: Likewise.
24229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24231         New file.
24232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24233         file.
24234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24235         New file.
24236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24237         file.
24238         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24239         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24240         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24241         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24242         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24243
24244         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24245         fzeros/fnegs to load 0x80000000 into a float register instead of
24246         using the stack.
24247         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24248
24249 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
24250
24251         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24252         bits/syscall.h.
24253         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24254         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24255         ($(inst_includedir)/bits/syscall.h): Remove rule.
24256         ($(objpfx)bits/syscall.d): Include instead of
24257         $(objpfx)syscall-list.d.
24258         (generated): Change syscall-list.h and syscall-list.d to
24259         bits/syscall.h and bits/syscall.d.
24260
24261 2012-03-14  Roland McGrath  <roland@hack.frob.com>
24262
24263         [BZ #13846]
24264         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24265
24266 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
24267
24268         [BZ #13841]
24269         * math/s_csqrt.c: Include <float.h>.
24270         (__csqrt): Scale large or subnormal inputs.
24271         * math/s_csqrtf.c: Likewise.
24272         * math/s_csqrtl.c: Likewise.
24273         * math/libm-test.inc (csqrt_test): Add more tests.
24274         * sysdeps/i386/fpu/libm-test-ulps: Update.
24275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24276
24277         [BZ #13840]
24278         * math/libm-test.inc (hypot_test): Add more tests.
24279
24280 2012-03-13  David S. Miller  <davem@davemloft.net>
24281
24282         [BZ #13840]
24283         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24284         double-precision for the calculation instead of scaling.
24285
24286 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
24287
24288         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24289         manipulate bits before adding and subtracting TWO52[sx].
24290         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24291         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24292         Likewise.
24293         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24294
24295 2012-03-13  David S. Miller  <davem@davemloft.net>
24296
24297         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24298         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24299         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24300         rtld-global-offsets.h
24301         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24302
24303         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24304         large parameters.
24305
24306         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24307
24308         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24309         'err' in the ifdef scope in which it is actually used.
24310
24311         * nss/nss_db/db-init.c: Include string.h
24312
24313 2012-03-12  David S. Miller  <davem@davemloft.net>
24314
24315         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24316         masking out of the most significant byte of random value used.
24317         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24318         Fix coding style in previous change.
24319
24320         * sysdeps/unix/sysv/linux/kernel-features.h
24321         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24322         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24323         expression.
24324         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24325         later.
24326
24327 2012-03-11  David S. Miller  <davem@davemloft.net>
24328
24329         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24330         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24331         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24332         for 'resultvar' otherwise things get truncated on 64-bit.
24333
24334         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24335         Fix masking out of the most significant byte of random value used.
24336
24337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24338
24339 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
24340
24341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24342
24343 2012-03-09  David S. Miller  <davem@davemloft.net>
24344
24345         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24346         variables with appropriate CPP guards.
24347         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24348         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
24349         on resulting framesize and the management of the outregs buffer for pltexit.
24350         Preserve floating point return values across _dl_call_pltexit call.
24351         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24352         framesize and the management of the outregs buffer for pltexit.
24353         Preserve floating point return values across _dl_call_pltexit
24354         call.
24355         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24356         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24357         (print_exit): Fix format string for return register value.
24358
24359 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
24360
24361         * sunrpc/Makefile (others): Add rpcgen.
24362         ($(objpfx)rpcgen): Remove special build rule and dependency on
24363         libc.
24364         * sunrpc/rpcgen.c: New file.
24365
24366 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
24367
24368         [BZ #13673]
24369         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24370         * stdio-common/bug-vfprintf-nargs.c: Likewise.
24371         * sysdeps/i386/crti.S: Likewise.
24372         * sysdeps/i386/crtn.S: Likewise.
24373         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24374         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24375         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24376         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24377         * sysdeps/sh/crti.S: Likewise.
24378         * sysdeps/sh/crtn.S: Likewise.
24379         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24380
24381         [BZ #13673]
24382         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24383         with URL.
24384         * locale/programs/locfile-kw.gperf: Likewise.
24385         * locale/programs/charmap-kw.h: Regenerated.
24386         * locale/programs/locfile-kw.h: Likewise.
24387
24388         [BZ #13673]
24389         * intl/plural.y: Replace FSF snail mail address with URL.
24390         * intl/plural.c: Regenerated.
24391
24392 2012-03-09  Richard Henderson  <rth@twiddle.net>
24393
24394         * include/math_private.h: Remove file.
24395         * math/math_private.h: Move file ...
24396         * sysdeps/generic/math_private.h: ... here.
24397
24398         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24399         * sysdeps/powerpc/fpu/math_private.h: Likewise.
24400         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24401
24402         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24403         and <math_private.h>.
24404         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24405         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24406         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24407         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24408         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24409         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24410         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24411         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24412         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24413         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24414         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24415         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24416         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24417         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24418         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24419         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24420         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24421         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24422         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24423         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24424         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24425         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24426         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24427         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24428         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24429         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24430         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24431         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24432         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24433         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24434         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24435         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24436         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24437         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24438         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24439         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24440         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24441         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24442         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24443         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24444         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24445         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24446         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24447         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24448         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24449         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24450         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24451         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24452         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24453         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24454         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24455         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24456         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24457         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24458         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24459         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24460         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24461         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24462         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24463         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24464         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24465         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24466         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24467         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24468         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24469         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24470         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24471         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24472         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24473         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24474         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24475         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24476         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24477         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24478         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24479         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24480         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24481         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24482         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24483         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24484         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24485         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24486         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24487         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24488         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24489         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24490         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24491         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24492         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24493         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24494         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24495         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24496         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24497         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24498         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24499         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24500         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24501         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24502         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24503         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24504         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24505         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24506         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24507         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24508         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24509         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24510         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24511         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24512         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24513         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24514         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24515         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24516         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24517         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24518         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24519         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24520         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24521         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24522         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24523         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24524         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24525         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24526         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24527         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24528         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24529         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24530         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24531         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24532         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24533         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24534         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24535         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24536         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24537         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24538         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24539         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24540         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24541         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24542         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24543         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24544         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24545         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24546         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24547         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24548         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24549         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24550         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24551         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24552         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24553         * sysdeps/ieee754/k_standard.c: Likewise.
24554         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24555         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24556         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24557         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24558         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24559         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24560         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24561         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24562         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24563         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24564         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24565         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24566         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24567         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24568         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24569         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24570         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24571         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24572         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24573         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24574         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24575         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24576         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24577         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24578         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24579         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24580         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24581         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24582         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24583         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24584         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24585         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24586         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24587         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24588         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24589         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24590         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24591         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24592         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24593         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24594         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24595         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24596         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24597         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24598         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24599         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24600         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24601         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24602         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24603         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24604         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24605         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24606         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24607         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24608         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24609         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24610         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24611         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24612         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24613         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24614         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24615         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24616         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24617         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24618         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24619         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24620         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24621         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24622         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24623         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24624         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24625         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24626         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24627         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24628         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24629         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24630         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24631         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24632         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24633         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24634         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24635         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24636         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24637         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24638         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24639         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24640         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24641         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24642         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24643         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24644         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24645         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24646         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24647         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24648         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24649         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24650         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24651         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24652         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24653         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24654         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24655         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24656         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24657         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24658         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24659         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24660         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24661         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24662         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24663         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24664         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24665         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24666         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24667         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24668         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24669         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24670         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24671         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24672         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24673         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24674         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24675         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24676         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24677         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24678         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24679         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24680         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24681         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24682         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24683         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24684         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24685         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24686         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24687         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24688         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24689         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24690         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24691         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24692         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24693         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24694         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24695         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24696         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24697         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24698         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24699         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24700         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24701         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24702         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24703         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24704         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24705         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24706         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24707         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24708         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24709         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24710         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24711         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24712         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24713         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24714         * sysdeps/ieee754/s_lib_version.c: Likewise.
24715         * sysdeps/ieee754/s_matherr.c: Likewise.
24716         * sysdeps/ieee754/s_signgam.c: Likewise.
24717         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24718         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24719         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24720         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24721         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24722         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24723         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24724         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24725         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24726         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24727         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24728         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24729         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24730         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24731         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24732         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24733         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24734         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24735         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24736         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24737         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24738
24739 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24740
24741         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24742         * sunrpc/rpc_main.c: Likewise.
24743         * sunrpc/rpc_svcout.c: Likewise.
24744
24745 2012-03-09  David S. Miller  <davem@davemloft.net>
24746
24747         * include/math_private.h: New file.
24748
24749 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24750
24751         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24752         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24753         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24754         from <bits/socket_type.h>.
24755         (enum __socket_type): Don't define here.
24756         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24757         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24758         bits/socket_type.h.
24759
24760         [BZ #13566]
24761         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24762         checking __USE_GNU.
24763
24764         * Makerules ($(inst_includedir)/%.h): New rule.
24765         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24766         (install-others): Remove variable setting.
24767         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24768
24769 2012-03-08  Richard Henderson  <rth@twiddle.net>
24770
24771         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24772         from macro to inline function; merge with the
24773         !__LIBC_INTERNAL_MATH_INLINES version.
24774         (__ieee754_sqrtf): Likewise.
24775
24776         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24777         to inline function.
24778         (__rintf, __floor, __floorf): Likewise.
24779
24780         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24781         macro to inline function.
24782         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24783
24784         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24785         not <math/math_private.h>.
24786
24787 2012-03-08  David S. Miller  <davem@davemloft.net>
24788
24789         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24790         copyright year.
24791         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24792
24793 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
24794
24795         * resolv/gai_misc.c (handle_requests): Fix struct timespec
24796         normalization.
24797         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24798         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24799
24800 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
24801
24802         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
24803         be defined individually, they must be defined as a block.  Define
24804         S for printing a string instead of hidint the different by using a
24805         macro for adding the 'l'.
24806         * stdio-common/tst-fphex-wide.c: Adjust.
24807
24808 2012-03-07  Marek Polacek  <polacek@redhat.com>
24809
24810         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24811
24812 2012-03-08  Marek Polacek  <polacek@redhat.com>
24813
24814         [BZ #13806]
24815         * stdio-common/Makefile (tests): Add tst-fphex-wide.
24816         * stdio-common/tst-fphex.c: Define a few macros to make the
24817         test reusable.  Use them.
24818         * stdio-common/tst-fphex-wide.c: New file.
24819
24820 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
24821
24822         [BZ #6911]
24823         * manual/macros.texi (gnusystems): New macro.
24824         (nongnusystems): Likewise.
24825         (gnulinuxhurdsystems): Likewise.
24826         (gnuhurdsystems): Likewise..
24827         (gnulinuxsystems): Likewise.
24828         * manual/charset.texi: Use new macros or @theglibc{} to refer to
24829         variants of the GNU system, not "GNU system".
24830         * manual/conf.texi: Likewise.
24831         * manual/errno.texi: Likewise.  Update example of errno macro
24832         expansion.
24833         * manual/filesys.texi: Likewise.
24834         (getumask): Document as specific to GNU/Hurd.
24835         * manual/install.texi: Likewise.  Reword some references to
24836         GNU/Linux.
24837         * manual/intro.texi: Likewise.
24838         * manual/io.texi: Likewise.
24839         (File Name Portability): Detail which constraints are inapplicable
24840         to all GNU systems and which are only inapplicable to GNU/Hurd.
24841         * manual/job.texi: Likewise.
24842         * manual/llio.texi: Likewise.
24843         (O_NOCTTY): Document as present on GNU/Linux.
24844         * manual/maint.texi: Likewise.
24845         * manual/memory.texi: Likewise.
24846         * manual/pattern.texi: Likewise.
24847         * manual/pipe.texi: Likewise.
24848         * manual/process.texi: Likewise.
24849         * manual/resource.texi: Likewise.
24850         (RUSAGE_CHILDREN): Remove statement about specifying a particular
24851         child on GNU/Hurd.
24852         * manual/setjmp.texi: Likewise.
24853         * manual/signal.texi: Likewise.
24854         * manual/startup.texi: Likewise.
24855         * manual/stdio.texi: Likewise.
24856         * manual/terminal.texi: Likewise.
24857         (ONLCR): Document as POSIX.
24858         (OXTABS): Document availability on GNU/Linux as XTABS.
24859         (ONOEOT): Document availability separately from other bits.
24860         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24861         * manual/time.texi: Likewise.
24862         * manual/users.texi: Likewise.
24863         * INSTALL: Regenerated.
24864         * sysdeps/gnu/errlist.c: Regenerated.
24865
24866         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24867         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24868         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
24869         puts.
24870         * configure: Regenerated.
24871
24872 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
24873
24874         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24875         default includes instead of AC_HEADER_CHECK.
24876         * sysdeps/i386/configure: Regenerated.
24877
24878         [BZ #10716]
24879         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24880         * math/s_cacoshf.c (__cacoshf): Likewise.
24881         * math/s_cacoshl.c (__cacoshl): Likewise.
24882         * math/s_casinh.c (__casinh): Set signs of result from argument.
24883         * math/s_casinhf.c (__casinhf): Likewise.
24884         * math/s_casinhl.c (__casinhl): Likewise.
24885         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24886         (casinh_test): Add more tests.
24887         * sysdeps/i386/fpu/libm-test-ulps: Update.
24888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24889
24890 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
24891
24892         * po/zh_TW.po: Update from translation team.
24893
24894         * login/Makefile (distribute): Remove variable.
24895         * catgets/Makefile: Likewise.
24896         * mach/Makefile: Likewise.
24897         * malloc/Makefile: Likewise.
24898         * misc/Makefile: Likewise.
24899         * iconv/Makefile: Likewise.
24900         * nscd/Makefile: Likewise.
24901         * hurd/Makefile: Likewise.
24902         * manual/Makefile: Likewise.
24903         * locale/Makefile: Likewise.
24904         * intl/Makefile: Likewise.
24905         * conform/Makefile: Likewise.
24906         * nss/Makefile: Likewise.
24907         * time/Makefile: Likewise.
24908         * soft-fp/Makefile: Likewise.
24909         * dirent/Makefile: Likewise.
24910         * gmon/Makefile: Likewise.
24911         * po/Makefile: Likewise.
24912         * rt/Makefile: Likewise.
24913         * socket/Makefile: Likewise.
24914         * math/Makefile: Likewise.
24915         * signal/Makefile: Likewise.
24916         * debug/Makefile: Likewise.
24917         * elf/Makefile: Likewise.
24918         * timezone/Makefile: Likewise.
24919         * stdlib/Makefile: Likewise.
24920         * iconvdata/Makefile: Likewise.
24921         * sunrpc/Makefile: Likewise.
24922         * io/Makefile: Likewise.
24923         * argp/Makefile: Likewise.
24924         * inet/Makefile: Likewise.
24925         * hesiod/Makefile: Likewise.
24926         * grp/Makefile: Likewise.
24927         * csu/Makefile: Likewise.
24928         * wctype/Makefile: Likewise.
24929         * crypt/Makefile: Likewise.
24930         * libio/Makefile: Likewise.
24931         * string/Makefile: Likewise.
24932         * nis/Makefile: Likewise.
24933         * resolv/Makefile: Likewise.
24934         * stdio-common/Makefile: Likewise.
24935         * wcsmbs/Makefile: Likewise.
24936         * dlfcn/Makefile: Likewise.
24937         * posix/Makefile: Likewise.
24938
24939         [BZ #6959]
24940         * timezone/Makefile: Don't install timezone files, just the programs
24941         and scripts.
24942
24943 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
24944
24945         * nss/databases.def: Add missing gshadow entry.
24946
24947         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
24948
24949 2012-03-06  Marek Polacek  <polacek@redhat.com>
24950
24951         [BZ #13726]
24952         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24953         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24954         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24955         * stdio-common/tst-long-dbl-fphex.c: New file.
24956
24957 2012-03-06  David S. Miller  <davem@davemloft.net>
24958
24959         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24960         (set_obp_int): New function.
24961         (get_obp_int): New function.
24962         (__get_clockfreq_via_dev_openprom): Likewise.
24963         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24964         Avoid unused variable warnings on 'val' and use builtin_expect.
24965         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24966         __builtin_expect.
24967         (INLINE_CLONE_SYSCALL): Likewise.
24968
24969 2012-03-05  David S. Miller  <davem@davemloft.net>
24970
24971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24972
24973 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
24974
24975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24976
24977         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24978         only for |x| >= 40.
24979         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24980
24981 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24982
24983         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24984         Replace gettimeofday with __vdso_gettimeofday.
24985
24986         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24987         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24988         __vdso_clock_gettime and __vdso_getcpu.
24989
24990         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24991         time with __vdso_time.
24992
24993 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
24994
24995         * manual/lang.texi (size_t): Note types to which size_t may be
24996         equivalent with the GNU C Library, but do not describe when
24997         differences between them are significant.
24998
24999 2012-03-05  Andreas Jaeger  <aj@suse.de>
25000
25001         * sysdeps/i386/fpu/libm-test-ulps: Update.
25002
25003 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25004
25005         [BZ #3976]
25006         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25007         (__ieee754_pow): Save and restore rounding mode and use
25008         round-to-nearest for main computations.
25009         * math/libm-test.inc (pow_test_tonearest): New function.
25010         (pow_test_towardzero): Likewise.
25011         (pow_test_downward): Likewise.
25012         (pow_test_upward): Likewise.
25013         (main): Call the new functions.
25014         * sysdeps/i386/fpu/libm-test-ulps: Update.
25015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25016
25017         [BZ #3976]
25018         * math/libm-test.inc (cosh_test_tonearest): New function.
25019         (cosh_test_towardzero): Likewise.
25020         (cosh_test_downward): Likewise.
25021         (cosh_test_upward): Likewise.
25022         (sinh_test_tonearest): Likewise.
25023         (sinh_test_towardzero): Likewise.
25024         (sinh_test_downward): Likewise.
25025         (sinh_test_upward): Likewise.
25026         (main): Call the new functions.
25027         * sysdeps/i386/fpu/libm-test-ulps: Update.
25028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25029
25030 2012-03-05  Tom de Vries  <tom@codesourcery.com>
25031
25032         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25033         default stack guard is set in last bytes.
25034         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25035
25036 2012-03-05  Kees Cook  <keescook@chromium.org>
25037
25038         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25039
25040         [BZ #13656]
25041         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25042         possibly allocate from heap instead of stack.
25043         * stdio-common/bug-vfprintf-nargs.c: New file.
25044         * stdio-common/Makefile (tests): Add nargs overflow test.
25045
25046 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
25047
25048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25049
25050 2012-03-03  Marek Polacek  <polacek@redhat.com>
25051
25052         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25053         * math/math_private.h: Likewise.
25054         * stdlib/tst-strtod.c: Likewise.
25055         * sysdeps/i386/i486/bits/atomic.h: Likewise.
25056         * sysdeps/x86_64/bits/atomic.h: Likewise.
25057
25058 2012-03-02  David S. Miller  <davem@davemloft.net>
25059
25060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25064         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25065         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25066         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25067         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25068
25069 2012-03-02  Roland McGrath  <roland@hack.frob.com>
25070
25071         [BZ #13792]
25072         * manual/examples/README: New file, says the example source files
25073         can be used under GPL>=2.
25074         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25075         line containing just "*/".
25076         * manual/examples/add.c: Add copyright header (GPL>=2).
25077         * manual/examples/argp-ex1.c: Likewise.
25078         * manual/examples/argp-ex2.c: Likewise.
25079         * manual/examples/argp-ex3.c: Likewise.
25080         * manual/examples/argp-ex4.c: Likewise.
25081         * manual/examples/atexit.c: Likewise.
25082         * manual/examples/db.c: Likewise.
25083         * manual/examples/dir.c: Likewise.
25084         * manual/examples/dir2.c: Likewise.
25085         * manual/examples/execinfo.c: Likewise.
25086         * manual/examples/filecli.c: Likewise.
25087         * manual/examples/filesrv.c: Likewise.
25088         * manual/examples/fmtmsgexpl.c: Likewise.
25089         * manual/examples/genpass.c: Likewise.
25090         * manual/examples/inetcli.c: Likewise.
25091         * manual/examples/inetsrv.c: Likewise.
25092         * manual/examples/isockad.c: Likewise.
25093         * manual/examples/longopt.c: Likewise.
25094         * manual/examples/memopen.c: Likewise.
25095         * manual/examples/memstrm.c: Likewise.
25096         * manual/examples/mkfsock.c: Likewise.
25097         * manual/examples/mkisock.c: Likewise.
25098         * manual/examples/mygetpass.c: Likewise.
25099         * manual/examples/pipe.c: Likewise.
25100         * manual/examples/popen.c: Likewise.
25101         * manual/examples/rprintf.c: Likewise.
25102         * manual/examples/search.c: Likewise.
25103         * manual/examples/select.c: Likewise.
25104         * manual/examples/setjmp.c: Likewise.
25105         * manual/examples/sigh1.c: Likewise.
25106         * manual/examples/sigusr.c: Likewise.
25107         * manual/examples/stpcpy.c: Likewise.
25108         * manual/examples/strdupa.c: Likewise.
25109         * manual/examples/strftim.c: Likewise.
25110         * manual/examples/strncat.c: Likewise.
25111         * manual/examples/subopt.c: Likewise.
25112         * manual/examples/swapcontext.c: Likewise.
25113         * manual/examples/termios.c: Likewise.
25114         * manual/examples/testopt.c: Likewise.
25115         * manual/examples/testpass.c: Likewise.
25116         * manual/examples/timeval_subtract.c: Likewise.
25117
25118         [BZ #13792]
25119         * manual/time.texi (Elapsed Time): Move timeval_subtract example
25120         function to ...
25121         * manual/timeval_subtract.c.texi: ... here, new file.
25122
25123 2012-03-02  David S. Miller  <davem@davemloft.net>
25124
25125         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25126
25127 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
25128
25129         [BZ #3976]
25130         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25131         (__sin): Save and restore rounding mode and use round-to-nearest
25132         for all computations.
25133         (__cos): Save and restore rounding mode and use round-to-nearest
25134         for all computations.
25135         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25136         <fenv.h>.
25137         (tan): Save and restore rounding mode and use round-to-nearest for
25138         all computations.
25139         * math/libm-test.inc (cos_test_tonearest): New function.
25140         (cos_test_towardzero): Likewise.
25141         (cos_test_downward): Likewise.
25142         (cos_test_upward): Likewise.
25143         (sin_test_tonearest): Likewise.
25144         (sin_test_towardzero): Likewise.
25145         (sin_test_downward): Likewise.
25146         (sin_test_upward): Likewise.
25147         (tan_test_tonearest): Likewise.
25148         (tan_test_towardzero): Likewise.
25149         (tan_test_downward): Likewise.
25150         (tan_test_upward): Likewise.
25151         (main): Call the new functions.
25152         * sysdeps/i386/fpu/libm-test-ulps: Update.
25153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25154
25155         [BZ #10135]
25156         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25157         small n, then large n, before computing and testing k+n.
25158         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25159         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25160         Likewise.
25161         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25162         Likewise.
25163         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25164         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25165         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25166         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25167         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25168         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25169         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25170         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25171         * math/libm-test.inc (scalbn_test): Add more tests.
25172         (scalbln_test): Likewise.
25173
25174         * manual/filesys.texi (mode_t): Describe constraints on size and
25175         signedness, not exact equivalence to a particular type.
25176         (ino_t): Likewise.
25177         (ino64_t): Likewise.
25178         (dev_t): Likewise.
25179         (nlink_t): Likewise.
25180         (blkcnt_t): Likewise.
25181         (blkcnt64_t): Likewise.
25182         * manual/llio.texi (off_t): Likewise.
25183
25184         [BZ #3976]
25185         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25186         (__ieee754_exp): Save and restore rounding mode and use
25187         round-to-nearest for all computations.
25188         * math/libm-test.inc (exp_test_tonearest): New function.
25189         (exp_test_towardzero): Likewise.
25190         (exp_test_downward): Likewise.
25191         (exp_test_upward): Likewise.
25192         (main): Call the new functions.
25193         * sysdeps/i386/fpu/libm-test-ulps: Update.
25194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25195
25196 2012-03-01  Chris Demetriou  <cgd@google.com>
25197
25198         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25199         have predictable order.
25200
25201 2012-03-01  David S. Miller  <davem@davemloft.net>
25202
25203         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25204
25205         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25206         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25207         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25208         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25209
25210         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25211         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25212         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25214         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25215         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25216         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25217         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25218         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25219
25220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25221
25222         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25223         * sysdeps/sparc/fpu/libm-test-ulps: to here.
25224         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25225
25226         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25227         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25228         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25229         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25230         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25231         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25232         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25233         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25234         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25235         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25236         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25237         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25238         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25239         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25240         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25241         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25242         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25243         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25244         * sysdeps/sparc/elf/configure: Regenerated.
25245
25246 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
25247
25248         * configure.in (AS, LD): Require binutils 2.20 or later.
25249         * configure: Regenerated.
25250         * manual/install.texi (Tools for Compilation): Give binutils 2.20
25251         as required minimum version.
25252         * INSTALL: Regenerated.
25253
25254         [BZ #2541]
25255         [BZ #4108]
25256         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25257         before squaring exponent.
25258         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25259         bottom long double and 27 bits of top long double before squaring
25260         exponent.
25261         * math/libm-test.inc (erfc_test): Add more tests.
25262         * sysdeps/i386/fpu/libm-test-ulps: Update.
25263         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25265
25266 2012-03-01  Kai Tietz  <ktietz@redhat.com>
25267
25268         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25269         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25270         containing bit-fields.
25271         * soft-fp/extended.h (_FP_UNION_E): Likewise.
25272         * soft-fp/single.h (_FP_UNION_S): Likewise.
25273         * soft-fp/double.h (_FP_UNION_D): Likewise.
25274
25275 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
25276
25277         [BZ #13786]
25278         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25279         not include ../strcmp.S.
25280         [USE_AS_STRNCASECMP_L]: Likewise.
25281         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25282         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25283         * sysdeps/i386/i686/multiarch/strncase_l-c.c
25284         (__strncasecmp_l_ia32): Define as alias to
25285         __strncasecmp_l_nonascii.
25286
25287         [BZ #5794]
25288         * math/libm-test.inc (expm1_test): Add test for bug 5794.
25289         * sysdeps/i386/fpu/libm-test-ulps: Update.
25290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25291
25292         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25294
25295 2012-02-29  Jeff Law  <law@redhat.com>
25296
25297         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25298         out of bounds read.
25299
25300 2012-02-29  Marek Polacek  <polacek@redhat.com>
25301
25302         [BZ #13706]
25303         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25304         * elf/Makefile: Add rules to run tst-unused-dep.out.
25305
25306 2012-02-28  David S. Miller  <davem@davemloft.net>
25307
25308         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25309         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25310         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25311         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25312         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25313         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25314
25315 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
25316
25317         * math/libm-test.inc (llround_test): Move one test from
25318         lround_test.  Use TEST_f_L in moved test.
25319         (lround_test): Move misplaced test to llround_test.  Add testcase
25320         from bug 2561.
25321
25322 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
25323
25324         * sysdeps/x86_64/fpu/e_expf.S: New file.
25325         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25326
25327 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
25328
25329         [BZ #13637]
25330         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25331         of remain_len that may cause incomplete multi-byte character and
25332         false match.
25333         * posix/bug-regex33.c: New file.
25334         * posix/Makefile (tests): Add bug-regex33.
25335
25336 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
25337
25338         * manual/macros.texi: New file.
25339         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25340         * manual/libc.texinfo: Include macros.texi.
25341         * manual/creatute.texi: Likewise.
25342         * manual/install.texi: Likewise.
25343         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25344         @glibcadj{} in references to the GNU C Library.
25345         * manual/charset.texi: Likewise.
25346         * manual/conf.texi: Likewise.
25347         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
25348         when not using those macros.
25349         * manual/creature.texi: Likewise.
25350         * manual/crypt.texi: Likewise.
25351         * manual/errno.texi: Likewise.
25352         * manual/filesys.texi: Likewise.
25353         * manual/header.texi: Likewise.
25354         * manual/install.texi: Likewise.
25355         * manual/intro.texi: Likewise.
25356         * manual/io.texi: Likewise.
25357         * manual/job.texi: Likewise.
25358         * manual/lang.texi: Likewise.
25359         * manual/libc.texiinfo: Likewise.
25360         * manual/llio.texi: Likewise.
25361         * manual/locale.texi: Likewise.
25362         * manual/maint.texi: Likewise.
25363         * manual/math.texi: Likewise.
25364         * manual/memory.texi: Likewise.
25365         * manual/message.texi: Likewise.
25366         * manual/nss.texi: Likewise.
25367         * manual/pattern.texi: Likewise.
25368         * manual/process.texi: Likewise.
25369         * manual/resource.texi: Likewise.
25370         * manual/search.texi: Likewise.
25371         * manual/setjmp.texi: Likewise.
25372         * manual/signal.texi: Likewise.
25373         * manual/socket.texi: Likewise.
25374         * manual/startup.texi: Likewise.
25375         * manual/stdio.texi: Likewise.
25376         * manual/string.texi: Likewise.
25377         * manual/sysinfo.texi: Likewise.
25378         * manual/syslog.texi: Likewise.
25379         * manual/terminal.texi: Likewise.
25380         * manual/time.texi: Likewise.
25381         * manual/users.texi: Likewise.
25382         * INSTALL: Regenerated.
25383         * NOTES: Regenerated.
25384         * sysdeps/gnu/errlist.c: Regenerated.
25385
25386 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
25387
25388         * include/dirent.h: Include <dirstream.h> before
25389         <dirent/dirent.h>.
25390
25391 2012-02-28  David S. Miller  <davem@davemloft.net>
25392
25393         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25394         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25395         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25396         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25397
25398 2012-02-27  David S. Miller  <davem@davemloft.net>
25399
25400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25402         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25403         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25404
25405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25406         frame pointer instead of stack pointer relative arg slot.
25407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25408         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25409         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25410
25411 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
25412
25413         [BZ #3992]
25414         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25415
25416 2012-02-27  David S. Miller  <davem@davemloft.net>
25417
25418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25422         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25423         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25424         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25425         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25426
25427 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
25428
25429         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25430         later.  Allow versions 5-9.
25431         * configure: Regenerated.
25432         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25433         required minimum version and 4.6 as recommended version.  Do not
25434         mention bugs in GCC 2.7 and 2.8.
25435         * INSTALL: Regenerated.
25436
25437 2012-02-27  David S. Miller  <davem@davemloft.net>
25438
25439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25443         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25444         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25445         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25446         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25447
25448         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25449         manipulate bits before adding and subtracting TWO112[sx].
25450         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25451
25452 2012-02-27  Roland McGrath  <roland@hack.frob.com>
25453
25454         [BZ #13775]
25455         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25456         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25457         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25458         being in POSIX, because they are in 1003.1-2008.
25459
25460         * rt/tst-aio.c: Include <fcntl.h>.
25461         * rt/tst-aio7.c: Likewise.
25462         * rt/tst-aio64.c: Likewise.
25463
25464         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25465
25466 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
25467
25468         * manual/install.texi (--with-headers): Describe headers as
25469         interface headers, not private headers.
25470         (Specific advice for GNU/Linux systems): Describe use of headers
25471         from "make headers_install", not private headers from older
25472         kernels.
25473         * INSTALL: Regenerated.
25474         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25475         Change to 2.6.19.
25476         * sysdeps/unix/sysv/linux/configure: Regenerated.
25477
25478         * manual/llio.texi (fclean): Remove documentation.
25479
25480         * manual/Makefile (libc-texi-generated): New variable.  Include
25481         version.texi.
25482         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25483         $(libc-texi-generated), not duplicated list of files.
25484         (version.texi, stamp-version): New rules.
25485         (realclean): Remove $(libc-texi-generated), not individual files
25486         from that list.  Do not remove dir-add.texinfo.
25487         * manual/libc.texinfo: Comment out uses of edition numbers and
25488         references to printed manual.  Remove last-updated dates.
25489         (EDITION): Comment out.
25490         (ISBN): Likewise.
25491         (VERSION, UPDATED): Remove.
25492         (version.texi): Include.
25493
25494 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
25495
25496         * sysdeps/posix/spawni.c: Include <signal.h>.
25497         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25498         * sysdeps/pthread/aio_fsync.c: Likewise.
25499
25500 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
25501
25502         * conform/Makefile (tests): Run only when not cross-compiling and
25503         when fast-check is not defined.
25504
25505         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25506         * conform/data/limits.h-data: Fixes for POSIX2008.
25507         * conform/run-conformtest.sh: Run all tests.
25508         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25509         headers.
25510         * include/bits/dlfcn.h: Likewise.
25511         * include/langinfo.h: Likewise.
25512         * include/monetary.h: Likewise.
25513         * include/sys/poll.h: Likewise.
25514
25515         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25516         for __USE_GNU.
25517         * posix/spawn.h: Define __need_sigset_t.
25518         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25519         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25520         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
25521         to get sigevent_t only.
25522         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25523         only for __USE_GNU.
25524         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25525         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25526         process_vm_writev only for __USE_GNU.
25527         * termios/termios.h: Declare tcgetsid also for POSIX2008.
25528
25529         * conform/Makefile: For now ignore errors from run-conformtest.
25530         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
25531         POSIX to avoid namespace pollution.  Don't prepend headers.
25532         * conform/data/aio.h-data: Fixes for POSIX testing.
25533         * conform/data/fcntl.h-data: Likewise.
25534         * conform/data/glob.h-data: Likewise.
25535         * conform/data/grp.h-data: Likewise.
25536         * conform/data/pthread.h-data: Likewise.
25537         * conform/data/pwd.h-data: Likewise.
25538         * conform/data/signal.h-data: Likewise.
25539         * conform/data/spawn.h-data: Likewise.
25540         * conform/data/stdio.h-data: Likewise.
25541         * conform/data/stdlib.h-data: Likewise.
25542         * conform/data/stropts.h-data: Likewise.
25543         * conform/data/sys/mman.h-data: Likewise.
25544         * conform/data/sys/stat.h-data: Likewise.
25545         * conform/data/sys/types.h-data: Likewise.
25546         * conform/data/sys/wait.h-data: Likewise.
25547         * conform/data/time.h-data: Likewise.
25548         * conform/data/unistd.h-data: Likewise.
25549         * conform/data/utime.h-data: Likewise.
25550
25551         * io/sys/stat.h: fchmod was always in POSIX.
25552         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25553         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25554         * rt/aio.h: Define __need_timespec before including <time.h>.
25555         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25556         struct.  Add forward declaration of pthread_attr_t and use it in
25557         sigevent.
25558         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25559         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25560         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25561         always remove CLK_TCK definition.
25562
25563 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
25564
25565         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25566
25567 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
25568
25569         * conform/run-conformtest.sh: New file.
25570         * conform/Makefile: Run run-conformtest for tests.
25571         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
25572         support.
25573
25574         * conform/data/uchar.h-data: New file.
25575         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25576         * conform/data/arpa/inet.h-data: Likewise.
25577         * conform/data/assert.h-data: Likewise.
25578         * conform/data/complex.h-data: Likewise.
25579         * conform/data/cpio.h-data: Likewise.
25580         * conform/data/ctype.h-data: Likewise.
25581         * conform/data/dirent.h-data: Likewise.
25582         * conform/data/dlfcn.h-data: Likewise.
25583         * conform/data/errno.h-data: Likewise.
25584         * conform/data/fcntl.h-data: Likewise.
25585         * conform/data/float.h-data: Likewise.
25586         * conform/data/fmtmsg.h-data: Likewise.
25587         * conform/data/fnmatch.h-data: Likewise.
25588         * conform/data/ftw.h-data: Likewise.
25589         * conform/data/glob.h-data: Likewise.
25590         * conform/data/grp.h-data: Likewise.
25591         * conform/data/iconv.h-data: Likewise.
25592         * conform/data/inttypes.h-data: Likewise.
25593         * conform/data/langinfo.h-data: Likewise.
25594         * conform/data/libgen.h-data: Likewise.
25595         * conform/data/limits.h-data: Likewise.
25596         * conform/data/locale.h-data: Likewise.
25597         * conform/data/math.h-data: Likewise.
25598         * conform/data/monetary.h-data: Likewise.
25599         * conform/data/mqueue.h-data: Likewise.
25600         * conform/data/ndbm.h-data: Likewise.
25601         * conform/data/net/if.h-data: Likewise.
25602         * conform/data/netdb.h-data: Likewise.
25603         * conform/data/netinet/in.h-data: Likewise.
25604         * conform/data/nl_types.h-data: Likewise.
25605         * conform/data/poll.h-data: Likewise.
25606         * conform/data/pthread.h-data: Likewise.
25607         * conform/data/pwd.h-data: Likewise.
25608         * conform/data/regex.h-data: Likewise.
25609         * conform/data/sched.h-data: Likewise.
25610         * conform/data/search.h-data: Likewise.
25611         * conform/data/semaphore.h-data: Likewise.
25612         * conform/data/setjmp.h-data: Likewise.
25613         * conform/data/signal.h-data: Likewise.
25614         * conform/data/spawn.h-data: Likewise.
25615         * conform/data/stdarg.h-data: Likewise.
25616         * conform/data/stdio.h-data: Likewise.
25617         * conform/data/stdlib.h-data: Likewise.
25618         * conform/data/string.h-data: Likewise.
25619         * conform/data/strings.h-data: Likewise.
25620         * conform/data/stropts.h-data: Likewise.
25621         * conform/data/sys/ipc.h-data: Likewise.
25622         * conform/data/sys/mman.h-data: Likewise.
25623         * conform/data/sys/msg.h-data: Likewise.
25624         * conform/data/sys/resource.h-data: Likewise.
25625         * conform/data/sys/select.h-data: Likewise.
25626         * conform/data/sys/sem.h-data: Likewise.
25627         * conform/data/sys/shm.h-data: Likewise.
25628         * conform/data/sys/socket.h-data: Likewise.
25629         * conform/data/sys/stat.h-data: Likewise.
25630         * conform/data/sys/statvfs.h-data: Likewise.
25631         * conform/data/sys/time.h-data: Likewise.
25632         * conform/data/sys/timeb.h-data: Likewise.
25633         * conform/data/sys/times.h-data: Likewise.
25634         * conform/data/sys/types.h-data: Likewise.
25635         * conform/data/sys/uio.h-data: Likewise.
25636         * conform/data/sys/un.h-data: Likewise.
25637         * conform/data/sys/utsname.h-data: Likewise.
25638         * conform/data/sys/wait.h-data: Likewise.
25639         * conform/data/syslog.h-data: Likewise.
25640         * conform/data/tar.h-data: Likewise.
25641         * conform/data/termios.h-data: Likewise.
25642         * conform/data/utime.h-data: Likewise.
25643         * conform/data/utmpx.h-data: Likewise.
25644         * conform/data/varargs.h-data: Likewise.
25645         * conform/data/wchar.h-data: Likewise.
25646         * conform/data/wctype.h-data: Likewise.
25647         * conform/data/wordexp.h-data: Likewise.
25648
25649         * include/stropts.h: New file.
25650         * include/uchar.h: New file.
25651         * include/aio.h: Changes to allow conformtest.pl to use the headers.
25652         * include/assert.h: Likewise.
25653         * include/ctype.h: Likewise.
25654         * include/dirent.h: Likewise.
25655         * include/dlfcn.h: Likewise.
25656         * include/fcntl.h: Likewise.
25657         * include/fnmatch.h: Likewise.
25658         * include/glob.h: Likewise.
25659         * include/grp.h: Likewise.
25660         * include/libio.h: Likewise.
25661         * include/locale.h: Likewise.
25662         * include/math.h: Likewise.
25663         * include/net/if.h: Likewise.
25664         * include/netdb.h: Likewise.
25665         * include/netinet/in.h: Likewise.
25666         * include/pthread.h: Likewise.
25667         * include/pwd.h: Likewise.
25668         * include/regex.h: Likewise.
25669         * include/sched.h: Likewise.
25670         * include/search.h: Likewise.
25671         * include/setjmp.h: Likewise.
25672         * include/signal.h: Likewise.
25673         * include/stdio.h: Likewise.
25674         * include/stdlib.h: Likewise.
25675         * include/string.h: Likewise.
25676         * include/sys/cdefs.h: Likewise.
25677         * include/sys/mman.h: Likewise.
25678         * include/sys/msg.h: Likewise.
25679         * include/sys/resource.h: Likewise.
25680         * include/sys/select.h: Likewise.
25681         * include/sys/socket.h: Likewise.
25682         * include/sys/stat.h: Likewise.
25683         * include/sys/statvfs.h: Likewise.
25684         * include/sys/time.h: Likewise.
25685         * include/sys/times.h: Likewise.
25686         * include/sys/uio.h: Likewise.
25687         * include/sys/utsname.h: Likewise.
25688         * include/sys/wait.h: Likewise.
25689         * include/termios.h: Likewise.
25690         * include/time.h: Likewise.
25691         * include/ulimit.h: Likewise.
25692         * include/unistd.h: Likewise.
25693         * include/utime.h: Likewise.
25694         * include/wchar.h: Likewise.
25695         * include/wctype.h: Likewise.
25696         * include/wordexp.h: Likewise.
25697
25698         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25699
25700         * time/time.h: TIME_UTC must be a macro.
25701         Make timespec_get available for ISO C11 only as well.
25702
25703 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
25704
25705         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25706         Reported by Peng Haitao <penght@cn.fujitsu.com>.
25707
25708 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25709
25710         * configure.in: Use -o not -a in test for unsupported multi-arch.
25711
25712 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25713
25714         * manual/texinfo.tex: Update to version 2012-01-19.16.
25715
25716 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25717
25718         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25719
25720 2012-02-24  Roland McGrath  <roland@hack.frob.com>
25721
25722         [BZ #13738]
25723         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25724         * manual/fdl-1.3.texi: New file.
25725         * manual/fdl-1.1.texi: File removed.
25726
25727         [BZ #13738]
25728         * manual/libc.texinfo (FDL_VERSION): New @set.
25729         Use it for mention of FDL in cover text.
25730         (Documentation License): Use it in @include file name.
25731
25732 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25733             Roland McGrath  <roland@hack.frob.com>
25734
25735         [BZ #5461]
25736         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25737         not LONG_LONG_MAX and LONG_LONG_MIN.
25738         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25739         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
25740         name.
25741         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25742
25743 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25744
25745         [BZ #2547]
25746         [BZ #11365]
25747         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25748         manipulate bits before adding and subtracting TWO23[sx].
25749         * math/libm-test.inc (nearbyint_test): Add more tests.
25750
25751 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25752
25753         [BZ #2548]
25754         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25755         bits before adding and subtracting TWO23[sx].
25756         * math/libm-test.inc (rint_test): Add more tests.
25757         (rint_test_tonearest): Likewise.
25758         (rint_test_towardzero): Likewise.
25759         (rint_test_downward): Likewise.
25760         (rint_test_upward: Likewise.
25761
25762 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25763
25764         [BZ #10110]
25765         * include/stdc-predef.h: New file.  Extracted from features.h.
25766         * include/features.h: Include stdc-predef.h.
25767         * Makefile (headers): Add stdc-predef.h.
25768         * CONFORMANCE (Compiler limitations): Update.
25769
25770 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25771
25772         * manual/libc.texinfo (VERSION, UPDATED): Revert.
25773
25774 2012-02-21  David S. Miller  <davem@davemloft.net>
25775
25776         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25777         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25778
25779 2012-02-20  David S. Miller  <davem@davemloft.net>
25780
25781         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25782         using a normal save/restore sequence, rather than allocating a
25783         dummy stack frame just to store a frame pointer and restore.
25784         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25785
25786 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25787
25788         * manual/install.texi: Fix stray word in line-wrapped comment.
25789
25790 2012-02-20  David S. Miller  <davem@davemloft.net>
25791
25792         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25793         both binutils and gcc support GOTDATA.
25794
25795         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25796         "rd %pc" in the PIC register setup sequences.
25797
25798         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25799         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25800         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25801         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25802         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25803         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25804         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25805         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25806         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25807         (SYSCALL_ERROR_HANDLER): Likewise.
25808         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25809         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25810         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25811         (SYSCALL_ERROR_HANDLER): Likewise.
25812
25813         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25814         (HAVE_GCC_GOTDATA): New.
25815         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25816         relocation support in both binutils and gcc.
25817         * sysdeps/sparc/elf/configure: Regenerate.
25818
25819         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25820         * sysdeps/sparc/sparc32/elf/configure: Delete.
25821         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25822         * sysdeps/sparc/sparc64/elf/configure: Delete.
25823         * sysdeps/sparc/elf/configure.in: New file.
25824         * sysdeps/sparc/elf/configure: Generate.
25825
25826         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25827         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25828         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25829         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25830         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25831
25832 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25833
25834         * manual/install.texi: Do not mention specific glibc version
25835         numbers.
25836         * manual/libc.texinfo (VERSION, UPDATED): Update.
25837         (@copying): Use @copyright{} and range of years.
25838
25839 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25840
25841         [BZ #13695]
25842         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25843         [crti.S not in sysdirs] (generated): Do not append.
25844         [crti.S not in sysdirs] (omit-deps): Likewise.
25845         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25846         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25847         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25848         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25849         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25850         Likewise.
25851         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25852         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25853         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25854         * csu/defs.awk: Remove file.
25855         * sysdeps/generic/initfini.c: Likewise.
25856         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25857         variable.
25858         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25859         Likewise.
25860
25861 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25862
25863         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25864         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25865         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25866         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25867         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25868         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25869         <bits/epoll.h>.
25870         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25871         (__EPOLL_PACKED): Define to empty if not defined by
25872         <bits/epoll.h>.
25873         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25874         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25875         bits/epoll.h.
25876
25877 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25878
25879         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25880         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25881         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25882         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25883         <bits/timerfd.h>.
25884         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25885         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25886         bits/timerfd.h.
25887
25888 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25889
25890         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25891         in C locale.
25892         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25893         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25894         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25896
25897 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
25898
25899         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25900         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25901
25902 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
25903
25904         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25905         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25906         defined.
25907         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25908         Likewise.
25909         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25910         entry for 2.16.
25911
25912 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
25913
25914         * math/w_acos.c: Use non-signaling floating-point comparisons.
25915         * math/w_acosf.c: Likewise.
25916         * math/w_acosh.c: Likewise.
25917         * math/w_acoshf.c: Likewise.
25918         * math/w_acoshl.c: Likewise.
25919         * math/w_acosl.c: Likewise.
25920         * math/w_asin.c: Likewise.
25921         * math/w_asinf.c: Likewise.
25922         * math/w_asinl.c: Likewise.
25923         * math/w_atanh.c: Likewise.
25924         * math/w_atanhf.c: Likewise.
25925         * math/w_atanhl.c: Likewise.
25926         * math/w_exp2.c: Likewise.
25927         * math/w_exp2f.c: Likewise.
25928         * math/w_exp2l.c: Likewise.
25929         * math/w_j0.c: Likewise.
25930         * math/w_j0f.c: Likewise.
25931         * math/w_j0l.c: Likewise.
25932         * math/w_j1.c: Likewise.
25933         * math/w_j1f.c: Likewise.
25934         * math/w_j1l.c: Likewise.
25935         * math/w_jn.c: Likewise.
25936         * math/w_jnf.c: Likewise.
25937         * math/w_log.c: Likewise.
25938         * math/w_log10.c: Likewise.
25939         * math/w_log10f.c: Likewise.
25940         * math/w_log10l.c: Likewise.
25941         * math/w_log2.c: Likewise.
25942         * math/w_log2f.c: Likewise.
25943         * math/w_log2l.c: Likewise.
25944         * math/w_logf.c: Likewise.
25945         * math/w_logl.c: Likewise.
25946         * math/w_sqrt.c: Likewise.
25947         * math/w_sqrtf.c: Likewise.
25948         * math/w_sqrtl.c: Likewise.
25949         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25950         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25951         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25952         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25953         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25954
25955 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25956
25957         [BZ #9739]
25958         * manual/string.texi (strnlen): Use correct parameter name in
25959         equivalent expression.
25960
25961 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25962
25963         [BZ #11174]
25964         * manual/users.texi (seteuid): Consistently use neweuid for
25965         argument name.
25966
25967 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25968
25969         [BZ #13704]
25970         * manual/nss.texi (Services in the NSS configuration): Correct
25971         list of services in example configuration file.
25972
25973 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
25974
25975         [BZ #11322]
25976         * manual/arith.texi: Remove statements about negative zero
25977         behaving identically to zero.
25978
25979 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25980
25981         [BZ #5993]
25982         * manual/install.texi: Do not document upgrading from libc5.
25983
25984 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25985
25986         [BZ #4596]
25987         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25988
25989 2012-02-18  David S. Miller  <davem@davemloft.net>
25990
25991         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25992         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25993         %o7 across the call.
25994         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25995         instead.
25996         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25997         SETUP_PIC_REG_LEAF.
25998         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25999         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26000         * sysdeps/sparc/crtn.S: Likewise.
26001
26002 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
26003
26004         * aout/Makefile: Remove.
26005
26006 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
26007
26008         [BZ #13058]
26009         * manual/examples/argp-ex1.c (main): Format definition in GNU
26010         style.
26011         * manual/examples/argp-ex2.c (main): Likewise.
26012         * manual/examples/argp-ex3.c (main): Likewise.
26013         * manual/examples/argp-ex4.c (main): Likewise.
26014         * manual/examples/longopt.c (main): Use new-style prototype
26015         definition.
26016         * manual/examples/strncat.c (main): Specify return type and use
26017         (void) for arguments.
26018         * manual/examples/subopt.c (main): Use char **argv argument.
26019
26020 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26021
26022         [BZ #5077]
26023         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26024         rounding modes.
26025
26026 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
26027
26028         [BZ #6907]
26029         * manual/string.texi (strchr): Change when strchrnul is
26030         recommended.
26031
26032 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
26033
26034         [BZ #174]
26035         * manual/locale.texi (setlocale): Document LOCPATH.
26036
26037 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26038
26039         [BZ #10210]
26040         * manual/process.texi (execle): Move @dots{} before last argument.
26041
26042 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
26043
26044         [BZ #12047]
26045         * manual/charset.texi (Generic Charset Conversion): Fix typo
26046         (LC_TYPE -> LC_CTYPE).
26047
26048 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
26049
26050         [BZ #5805]
26051         * manual/arith.texi (scalbn): Use @var{} on parameter names.
26052         (scalbnf): Likewise.
26053         (scalbnl): Likewise.
26054         (scalbln): Likewise.
26055         (scalblnf): Likewise.
26056         (scalblnl): Likewise.
26057         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26058         (vwarnx): Likewise.
26059         (verr): Likewise.
26060         (verrx): Likewise.
26061         * manual/filesys.texi (telldir): Use braces around return type.
26062         * manual/llio.texi (mmap): Add space after comma.
26063         (mmap64): Likewise.
26064         * manual/math.texi (jn): Use @var{} on parameter names.
26065         (jnf): Likewise.
26066         (jnl): Likewise.
26067         (yn): Likewise.
26068         (ynf): Likewise.
26069         (ynl): Likewise.
26070         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26071         line.
26072         * manual/resource.texi (ulimit): Use @dots{} instead of literal
26073         "...".
26074         (sched_get_priority_min): Remove semicolon on @deftypefun line.
26075         (sched_get_priority_max): Likewise.
26076         * manual/signal.texi (sigvec): Add space after comma.
26077         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26078         names.
26079         (if_indextoname): Likewise.
26080         (if_freenameindex): Likewise.
26081         (sendto): Use ',' instead of '.' in prototype.
26082         * manual/startup.texi (syscall): Use @dots{} instead of literal
26083         "...".
26084         * manual/stdio.texi (__fpending): Separate initial words of
26085         paragraph from @deftypefun line.
26086         * manual/syslog.texi (syslog): Use @dots{} instead of literal
26087         "...".
26088         (vsyslog): Use @var{} on parameter names.
26089         * manual/terminal.texi (stty): Use @var{} on parameter names.
26090         * manual/users.texi (getutmp): Use @var{} on parameter names.
26091         (getutmpx): Likewise.
26092
26093 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26094
26095         [BZ #6884]
26096         * manual/stdio.texi (fopen): Fix typos in description of
26097         ",ccs=STRING".
26098
26099 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
26100
26101         [BZ #4026]
26102         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26103         get clock_id definition.
26104
26105 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
26106
26107         [BZ #4822]
26108         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26109         (madvise): Cast every argument to void on its own.
26110
26111 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26112
26113         [BZ #9902]
26114         * manual/startup.texi (Exit Status): Fix typo.
26115
26116 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26117
26118         [BZ #10140]
26119         * manual/examples/argp-ex1.c: Include <stdlib.h>.
26120         * manual/examples/argp-ex2.c: Likewise.
26121         * manual/examples/argp-ex3.c: Likewise.
26122
26123 2012-02-16  Richard Henderson  <rth@redhat.com>
26124
26125         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26126         * sysdeps/s390/s390-32/initfini.c: Remove.
26127         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26128         * sysdeps/s390/s390-64/initfini.c: Remove.
26129
26130 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26131
26132         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26133         compiler output for sysdeps/generic/initfini.c.
26134         * sysdeps/sh/elf/initfini.c: Remove file.
26135
26136 2012-02-16  David S. Miller  <davem@davemloft.net>
26137
26138         [BZ #11494]
26139         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26140
26141         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26142         * sysdeps/sparc/crti.S: New file.
26143         * sysdeps/sparc/crtn.S: New file.
26144         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26145         * sysdeps/sparc/sparc64/Makefile: Likewise.
26146
26147 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
26148
26149         [BZ #3335]
26150         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26151
26152 2012-02-15  Roland McGrath  <roland@hack.frob.com>
26153
26154         [BZ #4822]
26155         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26156
26157         * mach/devstream.c (cookie_io_functions_t): Macro removed.
26158         (write, read, close): Likewise.
26159         Patch by Aurelien Jarno <aurelien@aurel32.net>.
26160
26161 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
26162
26163         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26164         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26165         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26166         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26167         <bits/signalfd.h>.
26168         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26169         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26170         bits/signalfd.h.
26171
26172 2012-02-14  Marek Polacek  <polacek@redhat.com>
26173
26174         * sysdeps/x86_64/crti.S: New file.
26175         * sysdeps/x86_64/crtn.S: New file.
26176         * sysdeps/x86_64/elf/initfini.c: Remove file.
26177
26178 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26179
26180         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26181         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26182         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26183         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26184         <bits/inotify.h>.
26185         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26186         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26187         bits/inotify.h.
26188
26189 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26190
26191         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26192         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26193         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26194         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26195         <bits/eventfd.h>.
26196         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26197         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26198         bits/eventfd.h.
26199
26200 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
26201
26202         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26203         __feraiseexcept instead of feraiseexcept.
26204
26205         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26206         nanosleep invocations.
26207         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26208         strings, and add error checking for a nanosleep invocations.
26209
26210 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
26211
26212         Replace FSF snail mail address with URLs, as per GNU coding standards.
26213         Most of the snail mail addresses were wrong anyway, and omitting
26214         them makes the source code easier to maintain.  Almost all of the
26215         changes are to license notices and to locale LC_IDENTIFICATION
26216         addresses, except for this one:
26217         * manual/libc.texinfo: In "Published by", give the FSF's URL,
26218         not its snail mail address.
26219
26220 2012-02-09  Richard Henderson  <rth@twiddle.net>
26221
26222         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26223         of kernel-features.h.
26224
26225         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26226
26227 2012-02-08  Marek Polacek  <polacek@redhat.com>
26228
26229         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26230         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26231         * sysdeps/gnu/_G_config.h: Likewise.
26232         * sysdeps/generic/_G_config.h: Likewise.
26233
26234 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
26235
26236         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26237         tests.
26238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26239
26240         * sysdeps/powerpc/powerpc32/crti.S: New file.
26241         * sysdeps/powerpc/powerpc32/crtn.S: New file.
26242         * sysdeps/powerpc/powerpc64/crti.S: New file.
26243         * sysdeps/powerpc/powerpc64/crtn.S: New file.
26244
26245         * Makeconfig (have-initfini): Don't set.
26246         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26247         * configure.in (nopic_initfini): Don't substitute.
26248         * config.h.in (HAVE_INITFINI): Don't #undef.
26249         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26250         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26251
26252 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
26253
26254         Support crti.S and crtn.S provided directly by architectures.
26255         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26256         [crti.S in sysdirs] (omit-deps): Likewise.
26257         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26258         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26259         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26260         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26261         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26262         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26263         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26264         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26265         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26266         compiler output for sysdeps/generic/initfini.c.
26267         * sysdeps/i386/elf/Makefile: Remove file.
26268         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26269
26270 2012-02-07  Marek Polacek  <polacek@redhat.com>
26271
26272         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26273         * sysdeps/gnu/_G_config.h: Likewise.
26274         * sysdeps/mach/hurd/_G_config.h: Likewise.
26275
26276 2012-02-07  Marek Polacek  <polacek@redhat.com>
26277
26278         * math/Makefile (tests): Add tst-CMPLX2.
26279         * math/tst-CMPLX2.c: New file.
26280
26281 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
26282
26283         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26284
26285         * math/libm-test.inc (jn_test): Add missing L suffix.
26286
26287 2012-02-06  Marek Polacek  <polacek@redhat.com>
26288
26289         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26290         * sysdeps/i386/fpu/e_powf.S: Likewise.
26291         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26292         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26293         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26294         * sysdeps/i386/fpu/e_pow.S: Likewise.
26295         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26296         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26297         * sysdeps/i386/fpu/s_expm1.S: Likewise.
26298         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26299         * sysdeps/i386/fpu/e_log2.S: Likewise.
26300         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26301         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26302         * sysdeps/i386/fpu/e_powl.S: Likewise.
26303         * sysdeps/i386/fpu/s_log1p.S: Likewise.
26304         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26305         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26306         * sysdeps/i386/fpu/e_logl.S: Likewise.
26307         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26308         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26309         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26310         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26311         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26312         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26313         * sysdeps/i386/fpu/e_log.S: Likewise.
26314         * sysdeps/i386/fpu/s_cexp.S: Likewise.
26315         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26316         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26317         * sysdeps/i386/fpu/e_logf.S: Likewise.
26318         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26319         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26320         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26321         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26322         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26323         * sysdeps/i386/fpu/e_log10.S: Likewise.
26324         * sysdeps/i386/fpu/s_frexp.S: Likewise.
26325         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26326         * sysdeps/i386/fpu/s_asinh.S: Likewise.
26327         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26328         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26329         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26330         * sysdeps/i386/asm-syntax.h: Likewise.
26331         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26332         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26333         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26334         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26335         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26336         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26337         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26338         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26339         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26340         * sysdeps/powerpc/sysdep.h: Likewise.
26341         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26342         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26343
26344 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26345
26346         [BZ #411]
26347         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26348
26349 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26350
26351         * sysdeps/i386/sysdep.h: Include <features.h>.
26352         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26353         version.
26354
26355 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
26356
26357         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26358         Define.
26359         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26360         LOAD_PIC_REG_STR.
26361
26362 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26363
26364         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26365         (SETUP_PIC_REG): Use GET_PC_THUNK.
26366         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26367         macro.
26368
26369 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26370
26371         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26372         for non-PIC compilation.
26373         (SETUP_PIC_REG): Add .p2align directive.
26374         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26375         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26376         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26377         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26378         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26379         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26380         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26381         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26382         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26383         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26384         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26385         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26386         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26387         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26388         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26389         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26390         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26391         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26392         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26393         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26394         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26395         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26396         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26397         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26398         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26399         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26400         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26401         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26402         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26403         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26404         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26405         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26406         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26407         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26408         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26409         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26410         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26411         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26412         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26413         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26414         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26415
26416 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26417
26418         * math/tst-CMPLX.c: Include <stdio.h>.
26419
26420 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
26421
26422         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26423         float.
26424         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26425         * sysdeps/sparc/bits/mathdef.h: Likewise.
26426
26427 2012-01-31  Marek Polacek  <polacek@redhat.com>
26428
26429         * libio/libio.h: Don't define _PARAMS.
26430         * locale/programs/config.h: Don't define PARAMS.
26431         * stdlib/strtol_l.c: Likewise.
26432         (__strtol_l): Remove PARAMS from the prototype.
26433
26434 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
26435
26436         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
26437         names.  Just use the correct names.  Remove unnecessary wrapper
26438         functions.
26439         * malloc/arena.c: Likewise.
26440         * malloc/hooks.c: Likewise.
26441
26442         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26443         ARENA_TEST says not to.  Simplify test for creation of a new arena.
26444         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26445
26446 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
26447
26448         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26449         into tail calls.
26450         (update_get_addr): New function.
26451         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26452         GET_ADDR_MODULE parameter.
26453
26454 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
26455
26456         * crypt/cert.c: Remove __STDC__ conditionals.
26457         * crypt/crypt-entry.c: Likewise.
26458         * crypt/crypt_util.c: Likewise.
26459         * libio/filedoalloc.c: Likewise.
26460         * libio/fileops.c: Likewise.
26461         * libio/genops.c: Likewise.
26462         * libio/iofclose.c: Likewise.
26463         * libio/iofdopen.c: Likewise.
26464         * libio/iofopen.c: Likewise.
26465         * libio/iofopen64.c: Likewise.
26466         * libio/iogetdelim.c: Likewise.
26467         * libio/iopopen.c: Likewise.
26468         * libio/obprintf.c: Likewise.
26469         * libio/oldfileops.c: Likewise.
26470         * libio/oldiofclose.c: Likewise.
26471         * libio/oldiofdopen.c: Likewise.
26472         * libio/oldiofopen.c: Likewise.
26473         * libio/oldiopopen.c: Likewise.
26474         * libio/wfiledoalloc.c: Likewise.
26475         * libio/wgenops.c: Likewise.
26476         * locale/programs/xmalloc.c: Likewise.
26477         * misc/syslog.c: Likewise.
26478         * stdio-common/xbug.c: Likewise.
26479         * string/memchr.c: Likewise.
26480         * string/memcmp.c: Likewise.
26481         * string/memrchr.c: Likewise.
26482         * string/rawmemchr.c: Likewise.
26483         * sysdeps/posix/getcwd.c: Likewise.
26484         * time/strftime_l.c: Likewise.
26485
26486 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
26487
26488         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26489         * config.make.in (config-cflags-sse2avx): Define.
26490         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26491         Fix typo.
26492
26493 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
26494
26495         * scripts/config.guess: Update from upstream config git repository.
26496         * scripts/config.sub: Likewise.
26497
26498 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
26499
26500         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26501         (EM_NUM): Update.
26502         (R_TILEPRO_*, R_TILEGX_*): New macros.
26503
26504         * scripts/firstversions.awk: Fix bug in version range handling.
26505
26506         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26507
26508         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26509
26510         * include/sys/epoll.h: New file.
26511         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26512         libc_hidden_def.
26513
26514 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
26515
26516         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26517         Avoid unnecessary __WORDSIZE == 64 test.
26518         (fmaxf): Use VEX format if possible.
26519         (fmax): Likewise.
26520         (fminf): Likewise.
26521         (fmin): Likewise.
26522
26523         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26524         * math/math_private.h: Remove libc_fegetround* and
26525         libc_fesetround*.
26526         * sysdeps/i386/configure.in: Check for -msse2avx.
26527         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26528         also if SSE2AVX is defined.
26529         Remove libc_fegetround* and libc_fesetround*.
26530         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26531         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
26532         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26533         of HAS_YMM_USABLE.
26534         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26535         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26536         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26537         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26538         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26539
26540         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26541
26542 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26543
26544         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26545         size is not set.
26546         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26547
26548 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
26549
26550         [BZ #13618]
26551         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26552         relocation.
26553         * Makeconfig (libm): Define.
26554         * elf/Makefile: Add rules to build and run tst-relsort1.
26555         * elf/tst-relsort1.c: New file.
26556         * elf/tst-relsort1mod1.c: New file.
26557         * elf/tst-relsort1mod2.c: New file.
26558
26559 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
26560
26561         * math/s_ldexp.c: Remove __STDC__ conditionals.
26562         * math/s_ldexpf.c: Likewise.
26563         * math/s_ldexpl.c: Likewise.
26564         * math/s_nextafter.c: Likewise.
26565         * math/s_nexttowardf.c: Likewise.
26566         * math/s_significand.c: Likewise.
26567         * math/s_significandf.c: Likewise.
26568         * math/s_significandl.c: Likewise.
26569         * math/w_jnl.c: Likewise.
26570         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26571         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26572         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26573         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26574         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26575         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26576         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26577         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26578         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26579         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26580         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26581         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26582         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26583         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26584         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26585         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26586         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26587         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26588         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26589         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26590         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26591         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26592         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26593         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26594         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26595         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26596         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26597         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26598         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26599         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26600         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26601         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26602         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26603         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26604         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26605         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26606         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26607         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26608         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26609         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26610         * sysdeps/ieee754/k_standard.c: Likewise.
26611         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26612         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26613         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26614         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26615         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26616         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26617         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26618         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26619         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26620         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26621         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26622         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26623         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26624         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26625         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26626         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26627         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26628         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26629         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26630         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26631         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26632         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26633         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26634         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26635         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26636         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26637         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26638         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26639         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26640         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26641         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26642         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26643         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26644         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26645         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26646         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26647         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26648         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26649         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26650         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26651         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26652         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26653         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26654         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26655         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26656         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26657         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26658         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26659         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26660         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26661         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26662         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26663         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26664         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26665         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26666         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26667         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26668         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26669         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26670         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26671         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26672         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26673         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26674         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26675         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26676         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26677         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26678         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26679         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26680         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26681         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26682         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26683         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26684         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26685         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26686         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26687         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26688         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26689         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26690         * sysdeps/ieee754/s_matherr.c: Likewise.
26691         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26692         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26693         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26694         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26695
26696 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
26697
26698         * crypt/md5.h: Remove __STDC__ conditionals.
26699         * libio/libioP.h: Likewise.
26700         * locale/programs/config.h: Likewise.
26701         * sysdeps/generic/sysdep.h: Likewise.
26702         * sysdeps/i386/asm-syntax.h: Likewise.
26703         * sysdeps/s390/asm-syntax.h: Likewise.
26704         * sysdeps/unix/sysdep.h: Likewise.
26705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26707
26708 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
26709
26710         * libio/libio.h: Remove __STDC__ conditionals.
26711         * malloc/obstack.h: Likewise.
26712         * math/complex.h: Likewise.
26713         * math/math.h: Likewise.
26714         * sysdeps/generic/_G_config.h: Likewise.
26715         * sysdeps/gnu/_G_config.h: Likewise.
26716         * sysdeps/mach/hurd/_G_config.h: Likewise.
26717         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26718         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26719         * sysdeps/sparc/bits/mathdef.h: Likewise.
26720
26721 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
26722
26723         [BZ #13583]
26724         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26725         Clean up HAS_* macros.
26726         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26727         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26728         possible.
26729         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26730         HAS_AVX.
26731         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26732         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26733         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26734         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26735         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26736
26737 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
26738
26739         * elf/tst-unique3.cc (gets): Remove declaration.
26740         * elf/tst-unique3lib.cc (gets): Likewise.
26741         * elf/tst-unique3lib2.cc (gets): Likewise.
26742         * elf/tst-unique4.cc (gets): Likewise.
26743
26744 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
26745
26746         * include/stdio.h: Add C++ protection.  Add gets declarations and
26747         definitions.
26748         * debug/tst-chk1.c: Don't declare gets here.
26749         * stdio-common/tst-gets.c: Likewise.
26750
26751 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26752
26753         * posix/glob: Remove directory.
26754
26755 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26756
26757         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26758
26759 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
26760
26761         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26762         of the non-standard EPFNOSUPPORT.
26763
26764 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26765
26766         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26767         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26768         ANYWHERE set to 1 only on KERN_NO_SPACE error.
26769
26770 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
26771
26772         * wcsmbs/uchar.h: Test __STDC_VERSION__.
26773
26774 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
26775
26776         * nscd/aicache.c (addhstaiX): Do not cache negative results of
26777         transient errors.
26778         * nscd/grpcache.c (cache_addgr): Likewise.
26779         * nscd/hstcache.c (cache_addhst): Likewise.
26780         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26781         * nscd/pwdcache.c (cache_addpw): Likewise.
26782         * nscd/servicescache.c (cache_addserv): Likewise.
26783
26784 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
26785
26786         * malloc/malloc.c: Various cleanups.
26787         * malloc/hooks.c: Likewise.
26788
26789         * stdlib/Makefile (tests): Add bug-fmtmsg1.
26790         * stdlib/bug-fmtmsg1.c: New file.
26791
26792         * stdlib/fmtmsg.c (init): Add missing unlock.
26793         Patch by Peng Haitao <penght@cn.fujitsu.com>.
26794
26795 2012-01-12  Marek Polacek  <polacek@redhat.com>
26796
26797         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26798         and _GNU_SOURCE.
26799
26800 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
26801
26802         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26803         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26804         macro to ensure uniqueness of label name.
26805         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26806         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26807
26808 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
26809
26810         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26811
26812         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26813         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26814         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26815         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26816
26817 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
26818
26819         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26820
26821         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26822         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26823         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26824
26825         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26826
26827         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26828         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26829         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26830         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26831
26832         * math/bits/math-finite.h: Add ldexp support.
26833
26834 2012-01-10  Marek Polacek  <polacek@redhat.com>
26835
26836         * locale/programs/localedef.h (show_archive_content): Add noreturn
26837         attribute.
26838
26839 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
26840
26841         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26842
26843 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26844
26845         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26846
26847         * io/Makefile (headers): Add bits/poll2.h.
26848
26849 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
26850
26851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26852         typo #include statement.
26853
26854 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26855
26856         * include/sys/cdefs.h: Define __attribute_alloc_size.
26857         * catgets/gencat.c: Add alloc_size attribute and apply consistently
26858         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26859         * elf/pldd.c: Likewise.
26860         * iconv/iconv_charmap.c: Likewise.
26861         * iconv/iconvconfig.c: Likewise.
26862         * iconv/strtab.c: Likewise.
26863         * locale/programs/locale.c: Likewise.
26864         * locale/programs/localedef.h: Likewise.
26865         * locale/programs/simple-hash.c: Likewise.
26866         * nscd/nscd.h: Likewise.
26867         * nss/makedb.c: Likewise.
26868         * sysdeps/generic/ldconfig.h: Likewise.
26869         * locale/programs/localedef.c: Remove xmalloc prototype.
26870         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26871
26872 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26873
26874         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26875         appropriate.
26876
26877 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26878
26879         * math/Makefile (tests): Add tst-CMPLX.
26880         * math/tst-CMPLX.c: New file.
26881
26882         * math/complex.h (CMPLXL): Fix typo.
26883
26884         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26885         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26886         GLIBC_2.16.
26887         * debug/tst-chk1.c: Add poll and ppoll tests.
26888         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26889         * include/sys/poll.h: Add hidden proto for ppoll.
26890         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26891         * sysdeps/mach/hurd/ppoll.c: Likewise.
26892         * io/ppoll.c: Likewise.
26893         * debug/poll_chk.c: New file.
26894         * debug/ppoll_chk.c: New file.
26895         * include/bits/poll2.h: New file.
26896         * io/bits/poll2.h: New file.
26897
26898         [BZ #1350]
26899         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26900
26901         * configure.in: static is always set to yes.  Remove.
26902         * config.make.in: Don't set build-static.
26903         * Makeconfig: Remove use of build-static.
26904         * dlfcn/Makefile: Likewise.
26905         * elf/Makefile: Likewise.
26906         * math/Makefile: Likewise.
26907         * misc/Makefile: Likewise.
26908         * nptl/Makefile: Likewise.
26909         * sysdeps/mach/hurd/Makefile: Likewise.
26910
26911         * configure.in: PWD_P is not used anymore.
26912         * config.make.in: Remove PWD_P entry.
26913
26914         * configure.in: Remove last remnants of RANLIB.
26915         No need to check for signed size_t anymore.
26916         Don't set libc_commonpagesize and libc_relro_required here for Alpha
26917         and IA-64.
26918         Remove __builtin_expect test because we require at least gcc 3.4.
26919         * aclocal.m4: Likewise.
26920
26921         * wcsmbs/mbrtoc16.c: Implement using towc function.
26922         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26923         * wcsmbs/wcsmbsload.c: Likewise.
26924         * iconv/gconv_simple.c: Likewise.
26925         * iconv/gconv_int.h: Likewise.
26926         * iconv/gconv_builtin.h: Likewise.
26927         * iconv/iconv_prog.c: Remove CHAR16 handling.
26928
26929         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26930
26931         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26932
26933         * configure.in: Remove --with-elf and --enable-bounded options.
26934         Dont set base_machine for ia64.  More non-ELF conditions removed.
26935         Remove testing and setting of leading underscore information.
26936         * config.make.in (build-bounded): Set to no.
26937         * config.h.in: Remove NO_UNDERSCORES entry.
26938         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
26939         them.
26940         * csu/start.c: Remove !NO_UNDERSCORE code.
26941         * locale/localeinfo.h: Likewise.
26942         * sysdeps/generic/machine-gmon.h: Likewise.
26943         * sysdeps/generic/sysdep.h: Likewise.
26944         * sysdeps/i386/sysdep.h: Likewise.
26945         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26946         * sysdeps/mach/sysdep.h: Likewise.
26947         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26948         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26949         * sysdeps/sh/sysdep.h: Likewise.
26950         * sysdeps/sparc/sparc32/alloca.S: Likewise.
26951         * sysdeps/unix/i386/sysdep.S: Likewise.
26952         * sysdeps/unix/sparc/start.c: Likewise.
26953         * sysdeps/unix/sparc/sysdep.S: Likewise.
26954         * sysdeps/unix/sparc/sysdep.h: Likewise.
26955         * sysdeps/unix/start.c: Likewise.
26956         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26957         * sysdeps/x86_64/sysdep.h: Likewise.
26958
26959 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
26960
26961         [BZ #13553]
26962         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26963         for non-gcc.
26964         * argp/argp-fmtstream.h: Use const instead __const.
26965         * argp/argp.h: Likewise.
26966         * assert/assert.h: Likewise.
26967         * bits/fenv.h: Likewise.
26968         * bits/sched.h: Likewise.
26969         * bits/sigset.h: Likewise.
26970         * bits/sigthread.h: Likewise.
26971         * catgets/nl_types.h: Likewise.
26972         * conform/data/pthread.h-data: Likewise.
26973         * crypt/crypt-private.h: Likewise.
26974         * crypt/crypt.h: Likewise.
26975         * crypt/crypt_util.c: Likewise.
26976         * ctype/ctype.h: Likewise.
26977         * debug/execinfo.h: Likewise.
26978         * debug/mbsnrtowcs_chk.c: Likewise.
26979         * debug/mbsrtowcs_chk.c: Likewise.
26980         * debug/wcsnrtombs_chk.c: Likewise.
26981         * debug/wcsrtombs_chk.c: Likewise.
26982         * debug/wcstombs_chk.c: Likewise.
26983         * dirent/dirent.h: Likewise.
26984         * dlfcn/dlfcn.h: Likewise.
26985         * elf/neededtest4.c: Likewise.
26986         * grp/grp.h: Likewise.
26987         * gshadow/gshadow.h: Likewise.
26988         * iconv/gconv.h: Likewise.
26989         * iconv/gconv_int.h: Likewise.
26990         * iconv/gconv_simple.c: Likewise.
26991         * iconv/iconv.h: Likewise.
26992         * iconv/loop.c: Likewise.
26993         * iconv/skeleton.c: Likewise.
26994         * include/aio.h: Likewise.
26995         * include/aliases.h: Likewise.
26996         * include/argz.h: Likewise.
26997         * include/arpa/inet.h: Likewise.
26998         * include/assert.h: Likewise.
26999         * include/dirent.h: Likewise.
27000         * include/dlfcn.h: Likewise.
27001         * include/execinfo.h: Likewise.
27002         * include/fcntl.h: Likewise.
27003         * include/fenv.h: Likewise.
27004         * include/glob.h: Likewise.
27005         * include/grp.h: Likewise.
27006         * include/libintl.h: Likewise.
27007         * include/mntent.h: Likewise.
27008         * include/netdb.h: Likewise.
27009         * include/pwd.h: Likewise.
27010         * include/rpc/netdb.h: Likewise.
27011         * include/sched.h: Likewise.
27012         * include/search.h: Likewise.
27013         * include/shadow.h: Likewise.
27014         * include/signal.h: Likewise.
27015         * include/stdio.h: Likewise.
27016         * include/stdlib.h: Likewise.
27017         * include/string.h: Likewise.
27018         * include/sys/socket.h: Likewise.
27019         * include/sys/stat.h: Likewise.
27020         * include/sys/statfs.h: Likewise.
27021         * include/sys/statvfs.h: Likewise.
27022         * include/sys/syslog.h: Likewise.
27023         * include/sys/time.h: Likewise.
27024         * include/sys/uio.h: Likewise.
27025         * include/time.h: Likewise.
27026         * include/unistd.h: Likewise.
27027         * include/utmp.h: Likewise.
27028         * include/wchar.h: Likewise.
27029         * include/wctype.h: Likewise.
27030         * inet/aliases.h: Likewise.
27031         * inet/arpa/inet.h: Likewise.
27032         * inet/netinet/ether.h: Likewise.
27033         * inet/netinet/in.h: Likewise.
27034         * intl/libintl.h: Likewise.
27035         * io/bits/fcntl2.h: Likewise.
27036         * io/fcntl.h: Likewise.
27037         * io/ftw.h: Likewise.
27038         * io/sys/poll.h: Likewise.
27039         * io/sys/stat.h: Likewise.
27040         * io/sys/statfs.h: Likewise.
27041         * io/sys/statvfs.h: Likewise.
27042         * io/utime.h: Likewise.
27043         * libio/bits/stdio.h: Likewise.
27044         * libio/bits/stdio2.h: Likewise.
27045         * libio/libio.h: Likewise.
27046         * libio/libioP.h: Likewise.
27047         * libio/stdio.h: Likewise.
27048         * locale/lc-ctype.c: Likewise.
27049         * locale/locale.h: Likewise.
27050         * login/utmp.h: Likewise.
27051         * malloc/arena.c: Likewise.
27052         * malloc/malloc.c: Likewise.
27053         * malloc/malloc.h: Likewise.
27054         * malloc/mcheck.c: Likewise.
27055         * malloc/mtrace.c: Likewise.
27056         * math/bits/mathcalls.h: Likewise.
27057         * math/fenv.h: Likewise.
27058         * math/math_private.h: Likewise.
27059         * misc/bits/error.h: Likewise.
27060         * misc/bits/syslog.h: Likewise.
27061         * misc/err.h: Likewise.
27062         * misc/error.h: Likewise.
27063         * misc/fstab.h: Likewise.
27064         * misc/mntent.h: Likewise.
27065         * misc/regexp.h: Likewise.
27066         * misc/search.h: Likewise.
27067         * misc/sgtty.h: Likewise.
27068         * misc/sys/mman.h: Likewise.
27069         * misc/sys/syslog.h: Likewise.
27070         * misc/sys/uio.h: Likewise.
27071         * misc/sys/xattr.h: Likewise.
27072         * misc/ttyent.h: Likewise.
27073         * nis/rpcsvc/ypclnt.h: Likewise.
27074         * nss/nss.h: Likewise.
27075         * posix/bits/unistd.h: Likewise.
27076         * posix/fnmatch.h: Likewise.
27077         * posix/glob.h: Likewise.
27078         * posix/sched.h: Likewise.
27079         * posix/spawn.h: Likewise.
27080         * posix/sys/wait.h: Likewise.
27081         * posix/unistd.h: Likewise.
27082         * posix/wordexp.h: Likewise.
27083         * pwd/pwd.h: Likewise.
27084         * resolv/netdb.h: Likewise.
27085         * resource/sys/resource.h: Likewise.
27086         * rt/aio.h: Likewise.
27087         * rt/bits/mqueue2.h: Likewise.
27088         * rt/mqueue.h: Likewise.
27089         * shadow/shadow.h: Likewise.
27090         * signal/signal.h: Likewise.
27091         * socket/send.c: Likewise.
27092         * socket/sendto.c: Likewise.
27093         * socket/sys/socket.h: Likewise.
27094         * stdio-common/printf.h: Likewise.
27095         * stdlib/bits/stdlib.h: Likewise.
27096         * stdlib/fmtmsg.h: Likewise.
27097         * stdlib/monetary.h: Likewise.
27098         * stdlib/stdlib.h: Likewise.
27099         * stdlib/ucontext.h: Likewise.
27100         * streams/stropts.h: Likewise.
27101         * string/argz.h: Likewise.
27102         * string/bits/string2.h: Likewise.
27103         * string/string.h: Likewise.
27104         * string/strings.h: Likewise.
27105         * sunrpc/rpc/auth.h: Likewise.
27106         * sunrpc/rpc/auth_des.h: Likewise.
27107         * sunrpc/rpc/clnt.h: Likewise.
27108         * sunrpc/rpc/netdb.h: Likewise.
27109         * sunrpc/rpc/pmap_clnt.h: Likewise.
27110         * sunrpc/rpc/xdr.h: Likewise.
27111         * sysdeps/generic/inttypes.h: Likewise.
27112         * sysdeps/generic/net/if.h: Likewise.
27113         * sysdeps/generic/sys/swap.h: Likewise.
27114         * sysdeps/gnu/net/if.h: Likewise.
27115         * sysdeps/gnu/utmpx.h: Likewise.
27116         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27117         * sysdeps/i386/i486/bits/string.h: Likewise.
27118         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27119         * sysdeps/s390/bits/string.h: Likewise.
27120         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27121         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27122         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27123         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27124         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27125         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27126         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27127         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27128         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27129         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27130         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27131         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27132         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27133         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27134         * sysdeps/unix/sysv/linux/readv.c: Likewise.
27135         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27136         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27137         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27138         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27139         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27140         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27141         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27142         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27143         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27144         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27145         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27146         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27147         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27148         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27149         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27150         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27151         * sysvipc/sys/ipc.h: Likewise.
27152         * sysvipc/sys/msg.h: Likewise.
27153         * sysvipc/sys/sem.h: Likewise.
27154         * sysvipc/sys/shm.h: Likewise.
27155         * termios/termios.h: Likewise.
27156         * time/sys/time.h: Likewise.
27157         * time/time.h: Likewise.
27158         * wcsmbs/bits/wchar2.h: Likewise.
27159         * wcsmbs/uchar.h: Likewise.
27160         * wcsmbs/wchar.h: Likewise.
27161         * wctype/wctype.h: Likewise.
27162
27163         [BZ #13551]
27164         * Makeconfig: Remove all but ELF support including AIX support.
27165         * Makerules: Likewise.
27166         * config.h.in: Likewise.
27167         * config.make.in: Likewise.
27168         * configure: Likewise.
27169         * configure.in: Likewise.
27170         * csu/Makefile: Likewise.
27171         * csu/version.c: Likewise.
27172         * debug/Makefile: Likewise.
27173         * dlfcn/Makefile: Likewise.
27174         * elf/Makefile: Likewise.
27175         * extra-lib.mk: Likewise.
27176         * iconv/Makefile: Likewise.
27177         * include/libc-symbols.h: Likewise.
27178         * include/shlib-compat.h: Likewise.
27179         * resolv/Makefile: Likewise.
27180         * resolv/res_libc.c: Likewise.
27181         * rt/Makefile: Likewise.
27182         * sysdeps/i386/asm-syntax.h: Likewise.
27183         * sysdeps/i386/sysdep.h: Likewise.
27184         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27185         * sysdeps/mach/sysdep.h: Likewise.
27186         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27187         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27188         * sysdeps/s390/asm-syntax.h: Likewise.
27189         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27190         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27191         * sysdeps/sh/sysdep.h: Likewise.
27192         * sysdeps/unix/sparc/sysdep.h: Likewise.
27193         * sysdeps/wordsize-32/divdi3.c: Likewise.
27194         * sysdeps/x86_64/sysdep.h: Likewise.
27195
27196         * argp/Versions: Remove _argp_unlock_xxx.
27197
27198         [BZ #13559]
27199         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
27200         * abilist/libBrokenLocale.abilist: Likewise.
27201         * abilist/libanl.abilist: Likewise.
27202         * abilist/libc.abilist: Likewise.
27203         * abilist/libcrypt.abilist: Likewise.
27204         * abilist/libdl.abilist: Likewise.
27205         * abilist/libm.abilist: Likewise.
27206         * abilist/libnsl.abilist: Likewise.
27207         * abilist/libpthread.abilist: Likewise.
27208         * abilist/libresolv.abilist: Likewise.
27209         * abilist/librt.abilist: Likewise.
27210         * abilist/libthread_db.abilist: Likewise.
27211         * abilist/libutil.abilist: Likewise.
27212         * abilist/libnss_db.abilist: New file.
27213
27214         * scripts/abilist.awk: Add support for indirect functions.
27215
27216         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27217
27218         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27219
27220         * shlib-versions: Remove entries for ports architectures.
27221
27222         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
27223         files in ports.
27224         * elf/stackguard-macros.h: Remove support for IA-64.
27225         * elf/tst-auditmod1.c: Likewise.
27226         * sysdeps/generic/ldsodefs.h: Likewise.
27227
27228         * sysdeps/unix/sysv/linux/configure.in: Ports should define
27229         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27230         configure files.
27231
27232         [BZ #13552]
27233         * configure.in: Remove --enable-omitfp support.
27234         * FAQ.in: Adjust.
27235         * config.make.in: Likewise.
27236         * Makeconfig: Likewise.
27237         * manual/install.texi: Likewise.
27238
27239         In case anyone cares, the IA-64 architecture could move to ports.
27240         * sysdeps/ia64/*: Removed.
27241         * sysdeps/unix/sysv/linux/ia64/*: Removed.
27242         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27243
27244         [BZ #13555]
27245         * configure.in: Remove entries for unsupported architectures.
27246
27247         [BZ #13533]
27248         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27249         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
27250         routines.
27251         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27252         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27253         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
27254         fall back to using wcrtomb.
27255         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27256         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
27257         renaming.
27258         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27259         * wcsmbs/tst-c16c32-1.c: New file.
27260
27261         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27262         local variable.
27263
27264         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27265
27266         * elf/tst-unique3.cc: Add explicit declaration of gets.
27267         * elf/tst-unique3lib.cc: Likewise.
27268         * elf/tst-unique3lib2.cc: Likewise.
27269         * elf/tst-unique4.cc: Likewise.
27270
27271         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27272
27273 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
27274
27275         [BZ #13566]
27276         * assert/assert.h (static_assert): Don't define for C++.
27277         * libio/stdio.h (gets): Do declare for C++ <= C++11.
27278         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27279
27280 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
27281
27282         * iconv/loop.c (single loop): Fix assertion in storing of
27283         remaining bytes.
27284
27285         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27286
27287 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
27288
27289         * posix/getconf.c: Update copyright year.
27290         * nss/getent.c: Likewise.
27291         * nss/makedb.c: Likewise.
27292         * iconv/iconvconfig.c: Likewise.
27293         * iconv/iconv_prog.c: Likewise.
27294         * elf/ldconfig.c: Likewise.
27295         * elf/pldd.c: Likewise.
27296         * elf/sotruss.ksh: Likewise.
27297         * catgets/gencat.c: Likewise.
27298         * csu/version.c: Likewise.
27299         * elf/ldd.bash.in: Likewise.
27300         * elf/sprof.c (print_version): Likewise.
27301         * locale/programs/locale.c: Likewise.
27302         * locale/programs/localedef.c: Likewise.
27303         * login/programs/pt_chown.c: Likewise.
27304         * nscd/nscd.c (print_version): Likewise.
27305         * debug/xtrace.sh: Likewise.
27306         * malloc/memusage.sh: Likewise.
27307         * malloc/mtrace.pl: Likewise.
27308         * debug/catchsegv.sh: Likewise.
27309
27310 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
27311
27312         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27313         pure attribute.
27314
27315 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
27316
27317         [BZ #13533]
27318         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27319         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27320         transformations.
27321         * iconv/gconv_int.h: Likewise.
27322         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27323         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27324         from libc for GLIBC_2.16.
27325         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27326         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27327         * wcsmbs/uchar.h: Really define mbstate_t.
27328         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27329         * wcsmbs/c16rtomb.c: New file.
27330         * wcsmbs/mbrtoc16.c: New file.
27331         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27332         for C/POSIX locale.
27333         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27334         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27335
27336         * wcsmbs/wchar.h: Add missing __restrict.
27337
27338 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27339
27340         [BZ #13532]
27341         * time/Makefile (routines): Add timespec_get.
27342         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27343         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
27344         timespec for ISO C11.
27345         * time/timespec_get.c: New file.
27346         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27347         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27348
27349         [BZ #13531]
27350         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27351         * stdlib/stdlib.h: Declare aligned_alloc.
27352         * Versions.def: Add GLIBC_2.16 for libc.
27353         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27354
27355         [BZ 13527]
27356         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27357         ISO C11.
27358
27359         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27360         code.
27361
27362         [BZ #13528]
27363         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27364
27365         [BZ #13529]
27366         * assert/assert.h (static_assert): Define.
27367
27368         * version.h: Update for 2.16 development version.
27369
27370         [BZ #13526]
27371         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27372         _ISOC11_SOURCE.
27373
27374         * version.h (RELEASE): Bump for 2.15 release.
27375         * include/features.h (__GLIBC_MINOR__): Bump to 15.
27376
27377         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27378         Patch by Marek Polacek <mpolacek@redhat.com>.
27379
27380         * bits/byteswap.h: Protect long long constants with __extension__.
27381         * sysdeps/i386/bits/byteswap.h: Likewise.
27382         * sysdeps/ia64/bits/byteswap.h: Likewise.
27383         * sysdeps/s390/bits/byteswap.h: Likewise.
27384         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27385
27386 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27387
27388         [BZ #13540]
27389         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27390         destination buffer.
27391         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27392
27393 2011-12-23  Marek Polacek  <polacek@redhat.com>
27394
27395         * elf/dl-addr.c (determine_info): Add inline keyword.
27396         * elf/tst-auditmod4b.c (check_avx): Likewise.
27397         * elf/tst-auditmod6b.c (check_avx): Likewise.
27398         * elf/tst-auditmod6c.c (check_avx): Likewise.
27399         * elf/tst-auditmod7b.c (check_avx): Likewise.
27400
27401 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27402
27403         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27404         !__SSE_MATH__.
27405
27406 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27407
27408         [BZ #13540]
27409         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27410         processing for last bytes.
27411
27412 2011-08-06  Bruno Haible  <bruno@clisp.org>
27413
27414         [BZ #13061]
27415         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27416         U+0385, not to U+1FEE.
27417
27418         [BZ #13062]
27419         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27420         entry for U+00A5 U+0301.
27421
27422 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27423
27424         [BZ #13166]
27425         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27426         buffer for the output is too small.
27427
27428         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27429         optimization.
27430
27431         [BZ #13185]
27432         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27433         SSE flags if possible.
27434
27435 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27436
27437         [BZ #13540]
27438         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27439         processing for last bytes.
27440
27441 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
27442
27443         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27444         (syscall-list-default-options, syscall-list-default-condition)
27445         (syscall-list-includes): Define.
27446         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27447         list of ABIs and options and #if conditions for each ABI.  Do not
27448         handle common syscalls between ABIs specially.
27449         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27450         Remove.
27451         (syscall-list-variants, syscall-list-32bit-options)
27452         (syscall-list-32bit-condition, syscall-list-64bit-options)
27453         (syscall-list-64bit-condition): Define.
27454         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27455         (syscall-list-variants, syscall-list-32bit-options)
27456         (syscall-list-32bit-condition, syscall-list-64bit-options)
27457         (syscall-list-64bit-condition): Define.
27458         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27459         Remove.
27460         (syscall-list-variants, syscall-list-32bit-options)
27461         (syscall-list-32bit-condition, syscall-list-64bit-options)
27462         (syscall-list-64bit-condition): Define.
27463         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27464         Remove.
27465         (syscall-list-variants, syscall-list-32bit-options)
27466         (syscall-list-32bit-condition, syscall-list-64bit-options)
27467         (syscall-list-64bit-condition): Define.
27468
27469 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27470
27471         * locale/iso-639.def: Add brx entry.
27472
27473         [BZ #13328]
27474         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27475         Proposed by Mariusz_Cukr <marcukr@op.pl>.
27476
27477         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27478         __feraiseexcept_renamed.
27479
27480 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
27481
27482         [BZ #13538]
27483         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27484         EPOLLET with unsigned values.
27485         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27486         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27487
27488         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27489         to large cancellation.
27490         * math/s_cacoshf.c: Likewise.
27491         * math/s_cacoshl.c: Likewise.
27492
27493 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
27494
27495         [BZ #13305]
27496         [BZ #12786]
27497         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27498         * math/s_cacoshf.c: Likewise.
27499         * math/s_cacoshl.c: Likewise.
27500
27501 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
27502
27503         [BZ #13439]
27504         * iconv/gconv.h: Define __GCONV_SWAP.
27505         * iconvdata/unicode.c: The swap bit must be stored in __flags.
27506         * iconvdata/utf-16.c: Likewise.
27507         * iconvdata/utf-32.c: Likewise.
27508
27509 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27510
27511         [BZ #13524]
27512         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27513         numerator after shifting it by one limb.
27514
27515 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
27516
27517         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27518         under [__USE_EXTERN_INLINES].
27519
27520 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
27521
27522         [BZ #13446]
27523         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27524
27525 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27526
27527         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27528         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27529         optimized code.
27530         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27531         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27532         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27533         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27534         for strncasecmp/strncasecmp_l compilation.
27535         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27536         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27537
27538 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
27539
27540         [BZ #13484]
27541         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27542         of __asm__.
27543
27544 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
27545
27546         [BZ #13506]
27547         * time/tzfile.c (__tzfile_read): Check values from file header.
27548
27549 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27550
27551         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27552         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27553         * powerpc/powerpc32/dl-start.S: Likewise.
27554         * powerpc/powerpc32/elf/start.S: Likewise.
27555         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27556         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27557         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27558         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27559         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27560         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27561         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27562         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27563         * powerpc/powerpc32/fpu/s_round.S: Likewise.
27564         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27565         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27566         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27567         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27568         * powerpc/powerpc32/memset.S: Likewise.
27569         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27570         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27571         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27572         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27573         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27574         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27575         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27576         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27577         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27578         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27579         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27580         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27581         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27582
27583 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27584
27585         * math/libm-test.inc: Added more nearbyint tests.
27586         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27587         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27588         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27589         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27590
27591 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
27592
27593         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27594         FD_CLOEXEC.
27595
27596 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27597
27598         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27599         Add wcscpy-ssse3 wcscpy-c.
27600         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27601         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27602         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27603         * sysdeps/x86_64/wcschr.S: New file.
27604         * sysdeps/x86_64/wcsrchr.S: New file.
27605         * string/test-strcmp.c: Remove checking of wcscmp function for
27606         wrong alignments.
27607         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27608         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27609         wcsrchr-sse2 wcsrchr-c.
27610         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27611         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27612         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27613         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27614         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27615         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27616         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27617         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27618         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27619         * wcsmbc/wcschr.c (WCSCHR): New macro.
27620
27621 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27622
27623         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27624         * wcsmbs/test-wcsrchr.c: New file.
27625         * string/test-strrchr.c: Add wcsrchr support.
27626         (WIDE): New macro.
27627         * wcsmbs/test-wcscpy.c: New file.
27628         * string/test-strcpy.c: Add wcscpy support.
27629         (WIDE): New macro.
27630
27631 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
27632
27633         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27634         the inner loop.
27635
27636 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
27637
27638         [BZ #13472]
27639         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27640
27641 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
27642
27643         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27644         Minor optimizations.
27645
27646         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27647         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27648         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27649
27650 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
27651
27652         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27653         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27654         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27655         for gcc to avoid warnings.
27656         * inet/Makefile (tests): Add tst-checks.
27657         * inet/tst-checks.c: New file.
27658
27659         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27660         warning.
27661
27662         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27663         __wmemcmp_sse2.
27664
27665         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27666         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27667
27668         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27669
27670 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
27671
27672         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27673         problem.
27674
27675         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27676
27677 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
27678
27679         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27680         conditional on GCC version.
27681         (__arch_compare_and_exchange_val_8_acq)
27682         (__arch_compare_and_exchange_val_16_acq)
27683         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27684         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27685         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27686
27687 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
27688
27689         * sysdeps/sh/backtrace.c: New file.
27690
27691 2011-12-02  Andreas Schwab  <schwab@redhat.com>
27692
27693         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
27694         parenthesis.
27695
27696 2011-12-01  Andreas Schwab  <schwab@redhat.com>
27697
27698         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27699         falling back to utime.
27700
27701 2011-11-30  Andreas Schwab  <schwab@redhat.com>
27702
27703         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27704         expectations for float.
27705
27706 2011-11-29  Andreas Schwab  <schwab@redhat.com>
27707
27708         * locale/weight.h (findidx): Add parameter len.
27709         * locale/weightwc.h (findidx): Likewise.
27710         * posix/fnmatch_loop.c (FCT): Adjust caller.
27711         * posix/regcomp.c (build_equiv_class): Likewise.
27712         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27713         * posix/regexec.c (check_node_accept_bytes): Likewise.
27714         * string/strcoll_l.c (STRCOLL): Likewise.
27715         * string/strxfrm_l.c (STRXFRM): Likewise.
27716
27717 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
27718
27719         * Makefile.in: Remove CVSOPT handling.
27720         * configure.in: Remove use of AC_REVISION.
27721         * iconvdata/Makefile (distribute): No need to filter out CVS.
27722         * scripts/list-sources.sh: Remove CVS, subversion and monotone
27723         handling.
27724
27725 2011-11-16  Andreas Schwab  <schwab@redhat.com>
27726
27727         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27728         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27729         [USE_AS_STRNCASECMP_L]: Likewise.
27730         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27731         NO_TLS_DIRECT_SEG_REFS.
27732         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27733         Fix argument offsets for non-PIC.
27734         [USE_AS_STRNCASECMP_L]: Likewise.
27735         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27736         NO_TLS_DIRECT_SEG_REFS.
27737
27738 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27739
27740         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27741         O_CLOEXEC.
27742         * locale/loadlocale.c (_nl_load_locale): Likewise.
27743
27744 2011-11-15  Andreas Schwab  <schwab@redhat.com>
27745
27746         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27747         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27748         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27749         (SYSCALL_GETTIME): Set errno on error.
27750
27751         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27752         count references to noai6ai_cached.
27753
27754 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27755
27756         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27757
27758         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27759         FD_CLOEXEC for /proc/self/maps.
27760
27761         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27762         FD_CLOEXEC for /proc/meminfo.
27763
27764         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27765         gai.conf.
27766
27767         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
27768         FD_CLOEXEC for given file.
27769
27770         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27771
27772         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27773         FD_CLOEXEC for /etc/hosts.
27774         (_gethtent): Likewise.
27775
27776         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27777
27778         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27779         cancellation and set FD_CLOEXEC for /etc/netgroup.
27780
27781         * nss/nss_files/files-key.c (search): Don't allow cancellation when
27782         reading /etc/publickey.
27783
27784         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27785         allow cancellation when reading /etc/group.
27786
27787         * nss/nss_files/files-alias.c (internal_setent): Don't allow
27788         cancellation.
27789         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
27790
27791         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27792         when using data file.
27793
27794         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27795
27796         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27797         (write_nis_obj): Use "c" and "e" in fopen.
27798
27799         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27800
27801         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27802
27803         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27804
27805         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27806
27807         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27808         locale.alias.
27809
27810         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27811
27812         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27813
27814         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27815
27816         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27817         file parsing and set FD_CLOEXEC.
27818
27819 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27820
27821         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27822
27823 2011-11-14  Andreas Schwab  <schwab@redhat.com>
27824
27825         * malloc/arena.c (arena_get2): Don't call reused_arena when
27826         _int_new_arena failed.
27827
27828 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27829
27830         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27831         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27832         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27833         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27834         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27835         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27836         to compile strcasecmp and strncasecmp.
27837         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27838         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27839
27840         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27841
27842 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
27843
27844         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27845         locale-defines.sym to gen-as-const-headers.
27846         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27847         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27848         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27849         to compile strcasecmp and strncasecmp.
27850         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27851         strcasecmp_l and strncasecmp_l.
27852         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27853         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27854         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27855         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27856         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27857         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27858         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27859         * sysdeps/i386/i686/multiarch/strncase.S: New file.
27860         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27861         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27862         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27863
27864 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
27865
27866         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27867         result of SYSDEP_GETTIME_CPU to retval.
27868         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27869         parameter list to macro.  Remove trailing semicolon.  Adjust users.
27870
27871         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27872         variable.
27873
27874         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27875         mantissa words.
27876         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27877
27878         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27879         from unused variable.
27880
27881         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27882         DWARF definitions.
27883         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27884         for assembling.
27885
27886         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27887         over namespaces.
27888
27889         * sunrpc/rpc_prot.c (rejected): Fix case value.
27890
27891         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27892         unsigned long long int to avoid warnings in shift.
27893
27894         * posix/regex_internal.c (re_string_reconstruct): Actually use result
27895         of use of trans.
27896         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27897         variable tmp.
27898
27899         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27900         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27901         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27902
27903         * nis/nis_table.c (nis_list): Use variable of correct type for
27904         result of __follow_path call.
27905
27906 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27907
27908         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27909         of math functions ceil, trunc, floor, round, and sqrt, when
27910         avaliable on the platform.
27911         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27912         name clash.
27913         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27914         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27915         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27916
27917 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
27918
27919         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27920         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27921
27922 2011-11-11  Roland McGrath  <roland@hack.frob.com>
27923
27924         * include/unistd.h: Fix __readlink return type.
27925         Reported by Chris Metcalf <cmetcalf@tilera.com>.
27926
27927 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
27928
27929         * stdlib/ucontext.h: Undo last change for makecontext.
27930
27931 2011-11-11  Andreas Schwab  <schwab@redhat.com>
27932
27933         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27934
27935         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27936         * setjmp/setjmp.h: Mark functions as non-leaf.
27937         * setjmp/bits/setjmp2.h: Likewise.
27938         * stdlib/ucontext.h: Likewise.
27939
27940 2011-11-10  Andreas Schwab  <schwab@redhat.com>
27941
27942         * malloc/arena.c (_int_new_arena): Don't increment narenas.
27943         (reused_arena): Don't check arena limit.
27944         (arena_get2): Atomically check arena limit.
27945
27946 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
27947
27948         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27949         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27950
27951         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27952         instructions.
27953
27954 2011-11-07  Andreas Schwab  <schwab@redhat.com>
27955
27956         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27957         handler when locking.
27958
27959         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27960         Fix size of allocated buffer.
27961
27962 2011-11-04  Andreas Schwab  <schwab@redhat.com>
27963
27964         [BZ #10103]
27965         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27966         declarations for long double functions.
27967         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27968
27969         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27970
27971 2011-11-03  Andreas Schwab  <schwab@redhat.com>
27972
27973         * nscd/nscd.c (main): Don't start AVC thread until credentials are
27974         installed.
27975
27976         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27977         is disabled.
27978
27979 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27980
27981         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27982
27983 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27984
27985         * include/alloca.h (stackinfo_alloca_round): Define.
27986         (extend_alloca): Use it.
27987         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27988         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27989         here.
27990
27991         * scripts/check-local-headers.sh: Ignore libaudit.h.
27992
27993         * nscd/Makefile (extra-objs): Make recursively expanded.
27994
27995 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
27996
27997         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27998         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27999
28000         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28001         * posix/tst-rfc3484-2.c: Likewise.
28002         * posix/tst-rfc3484-3.c: Likewise.
28003
28004         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28005         process_vm_writev.
28006         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28007         process_vm_writev.
28008         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28009         process_vm_writev from libc using GLIBC_2.15 version.
28010
28011         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28012
28013 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
28014
28015         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28016         stack usage.
28017
28018 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
28019
28020         [BZ #13367]
28021         * nss/getent.c (initgroups_keys): Show error message in case no group
28022         names are given.
28023
28024         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28025         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28026         __bump_nl_timestamp.
28027         * nscd/connections (nscd_init): When host database is served open
28028         netlink socket and request notification about configuration changes.
28029         (main_loop_poll): Track netlink file descriptor and bump timestamp
28030         in case data becomes available.
28031         (main_loop_epoll): Likewise.
28032         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28033         (database_pers_head): Add extra_data fileds.
28034         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28035         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28036         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28037         Adjust caller.
28038         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28039         in6ai data, call __free_in6ai.
28040         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28041         Add -DHAVE_NETLINK.
28042         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
28043         interface information.  Reuse previous data if netlink timestamp
28044         is not changed.
28045         (__bump_nl_timestamp): New function.
28046         (__free_in6ai): New function.
28047
28048 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
28049
28050         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28051         close_not_cancel_no_status here.
28052         (__check_pf): Reorganize code a bit to not call close twice if OOM.
28053
28054 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28055
28056         [BZ #13276]
28057         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28058         return value.
28059
28060         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28061         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28062         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28063
28064 2011-07-03  Andreas Jaeger  <aj@suse.de>
28065
28066         [BZ #10709]
28067         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28068         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28069         * math/libm-test.inc (sin_test): Add test case.
28070
28071 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28072
28073         [BZ #13337]
28074         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28075         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28076
28077         * elf/chroot_canon.c (chroot_canon): Cleanups.
28078
28079         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28080
28081         [BZ #13335]
28082         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28083         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28084
28085         * string/test-strchr.c: Make usable for strchrnul testing.
28086         * string/test-strchrnul.c: New file.
28087         * string/Makefile (strop-tests): Add strchrnul.
28088
28089         * po/it.po: Update from translation team.
28090         * po/es.po: Likewise.
28091
28092 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
28093
28094         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28095         the three constants needed as parameters.  Drop the others.
28096         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28097         __m128i_strloadu_tolower.
28098         Create and initialize variable zero and use it in all the places
28099         where _mm_setzero_si128 was used.
28100
28101         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28102         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28103         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28104         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28105         anymore.
28106         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28107         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28108         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28109         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28110         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28111         __mpranred, __mptan.
28112         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28113         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28114         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28115         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28116         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28117         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28118         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28119         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28120         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28121
28122 2011-10-28  Andreas Schwab  <schwab@redhat.com>
28123
28124         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28125         redefine if SHARED.
28126         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28127
28128         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28129         wide char related routines to wcsmbs subdir.
28130
28131 2011-10-27  Andreas Schwab  <schwab@redhat.com>
28132
28133         [BZ #13344]
28134         * misc/sys/cdefs.h (__THROWNL): Define.
28135         * posix/unistd.h: Use __THREADNL instead of __THREAD
28136         for memory synchronization functions.
28137
28138 2011-10-26  Roland McGrath  <roland@hack.frob.com>
28139
28140         [BZ #13349]
28141         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28142         doesn't exist.
28143         * manual/stdio.texi (Obstack Streams): Node removed.
28144
28145 2011-10-26  Andreas Schwab  <schwab@redhat.com>
28146
28147         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28148         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28149         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28150
28151         * math/math_private.h (math_force_eval): Allow non-addressable
28152         arguments.
28153         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28154
28155 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28156
28157         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28158         file is not needed.
28159
28160         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28161         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28162         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28163         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28164         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28165         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28166         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28167         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28168         Add AVX variants.
28169         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28170         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28171         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28172         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28173         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28174         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28175         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28176         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28177         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28178         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28179         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28180         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28181         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28182         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28183         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28184         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28185         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28186         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28187         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28188
28189         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28190         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
28191
28192         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28193         place.  Use VEX encoding when compiling for AVX.
28194
28195 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28196
28197         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28198         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28199
28200         * string/test-strchr.c (do_test): Don't generate NUL bytes.
28201
28202 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28203
28204         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28205         useless if() expression.
28206         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28207         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28208         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28209         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28210         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28211         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28212         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28213         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28214         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28215         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28216         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28217         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28218         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28219         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28220         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28221         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28222         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28223         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28224         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28225
28226         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28227
28228 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28229
28230         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28231         condition.
28232         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28233
28234 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28235
28236         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28237         .text section.  Avoid duplicate constants.
28238         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28239         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28240         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28241         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28242         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28243         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28244         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28245         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28246         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28247         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28248         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28249         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28250         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28251         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28252         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28253         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28254         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28255         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28256         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28257         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28258         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28259         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28260         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28261         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28262         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28263         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28264         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28265         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28266         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28267         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28268         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28269         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28270         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28271         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28272         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28273         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28274         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28275         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28276         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28277         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28278         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28279         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28280         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28281         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28282         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28283
28284 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
28285
28286         * sysdeps/x86_64/dla.h: Move to ...
28287         * sysdeps/x86_64/fpu/dla.h: ...here.
28288         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28289         situations.  Use __builtin_fma only for gcc 4.6 and up.
28290
28291         * config.make.in: Add have-mfma4 entry.
28292         * configure.in: Substitute libc_cv_cc_fma4.
28293         * math/Makefile (dbl-only-routines): Add sincostab.
28294         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28295         Use __sincostab not sincos.
28296         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28297         name is a macro.
28298         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28299         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28300         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28301         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
28302         using __copysign.
28303         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
28304         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
28305         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28306         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28307         and __inv.
28308         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28309         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28310         __copysign.
28311         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
28312         define aliases when function name is a macro.
28313         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28314         sysdeps/ieee754/dbl-64/sincos.tbl.
28315         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28316         fma4-enabled routines.
28317         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28318         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28319         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28320         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28321         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28322         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28323         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28324         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28325         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28326         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28327         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28328         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28329         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28330         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28331         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28332         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28333         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28334         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28335         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28336         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28337         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28338         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28339         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28340         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28341         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28342         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28343         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28344         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28345         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28346         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28347
28348         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28349         rename.
28350         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28351         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28352         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28353         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28354         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28355         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28356         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28357         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28358
28359 2011-10-24  Andreas Schwab  <schwab@redhat.com>
28360
28361         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28362
28363 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28364
28365         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28366
28367         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28368         prediction.
28369         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28370
28371         * string/strnlen.c: Don't define STRNLEN, reverse logic.
28372         Remove unused variable magic_bits.
28373         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28374
28375         * string/strnlen.c: Define and use STRNLEN macro.
28376         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28377         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28378         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28379         * wcsmbs/wcslen.c: Define and use WCSLEN.
28380         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28381         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28382         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28383         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28384         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28385         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28386         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28387
28388 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28389
28390         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28391         strnlen-sse2-no-bsf.
28392         Rename strlen-no-bsf to strlen-sse2-no-bsf.
28393         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28394         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28395         Add strnlen support.
28396         (USE_AS_STRNLEN): New macro.
28397         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28398         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28399         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28400         * sysdeps/x86_64/wcslen.S: New file.
28401
28402 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
28403
28404         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28405         XMM-moves are used for copying on small sizes.
28406
28407 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28408
28409         * wcsmbs/Makefile (strop-tests): Add wcschr.
28410         * wcsmbs/test-wcschr.c: New file.
28411         * string/test-strchr.c: Update.
28412         Add wcschr support.
28413         (WIDE): New macro.
28414
28415 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28416
28417         * wcsmbs/Makefile (strop-tests): Add wcslen.
28418         * wcsmbs/test-wcslen.c: New file.
28419         * string/test-strlen.c: Update.
28420         Add wcslen support.
28421         (WIDE): New macro.
28422
28423 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28424
28425         * po/it.po: Update from translation team.
28426
28427 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28428
28429         * sysdeps/x86_64/wcscmp.S: Update.
28430         Fix wrong comparison semantics.
28431         wcscmp shall use signed comparison not unsigned.
28432         Don't use substraction to avoid overflow bug.
28433         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28434         * wcsmbc/wcscmp.c: Likewise.
28435         * string/test-strcmp.c: Likewise.
28436         Add new tests to check cases with negative values.
28437
28438 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28439
28440         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28441         * sysdeps/x86_64/dla.h: ...here.  New file.
28442         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28443         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28444         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28445         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28446         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28447         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28448         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28449         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28450         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28451
28452 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
28453
28454         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28455         __ynl_finite aliases.
28456
28457 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
28458
28459         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28460
28461         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28462         define DLA_FMA.
28463         [DLA_FMA] (EMULV): Use DLA_FMA.
28464         [DLA_FMA] (MUL12): Use EMULV.
28465         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28466         that are not needed.
28467         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28468         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28469         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28470         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28471         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28472         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28473         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28474
28475 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
28476
28477         * math/s_nan.c: Undef __nan.
28478         * math/s_nanf.c: Undef __nanf.
28479         * math/s_nanl.c: Undef __nanl.
28480         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28481         "math_private.h".
28482
28483 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
28484
28485         * math/s_catan.c: Add branch predictions.
28486         * math/s_catanf.c: Likewise.
28487         * math/s_catanh.c: Likewise.
28488         * math/s_catanhf.c: Likewise.
28489         * math/s_catanhl.c: Likewise.
28490         * math/s_catanl.c: Likewise.
28491         * math/s_cexp.c: Likewise.
28492         * math/s_cexpf.c: Likewise.
28493         * math/s_cexpl.c: Likewise.
28494         * math/s_clog.c: Likewise.
28495         * math/s_clog10.c: Likewise.
28496         * math/s_clog10f.c: Likewise.
28497         * math/s_clog10l.c: Likewise.
28498         * math/s_clogf.c: Likewise.
28499         * math/s_clogl.c: Likewise.
28500         * math/s_csqrt.c: Likewise.
28501         * math/s_csqrtf.c: Likewise.
28502         * math/s_csqrtl.c: Likewise.
28503         * math/s_ctanf.c: Likewise.
28504         * math/s_ctanh.c: Likewise.
28505         * math/s_ctanhf.c: Likewise.
28506         * math/s_ctanhl.c: Likewise.
28507         * math/s_ctanl.c: Likewise.
28508
28509         * math/math_private.h: Define __nan, __nanf, __nanl.
28510         * math/s_cacosh.c: Include <math_private.h>.
28511         * math/s_cacoshl.c: Likewise.
28512         * math/s_casinh.c: Likewise.
28513         * math/s_casinhf.c: Likewise.
28514         * math/s_casinhl.c: Likewise.
28515         * math/s_ccos.c: Rely entire on ccosh.
28516         * math/s_ccosf.c: Rely entire on ccoshf.
28517         * math/s_ccosl.c: Rely entirely on ccoshl.
28518         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
28519         Remove tests for FE_INVALID.
28520         * math/s_ccoshf.c: Likewise.
28521         * math/s_ccoshl.c: Likewise.
28522         * math/s_csin.c: Likewise.
28523         * math/s_csinf.c: Likewise.
28524         * math/s_csinh.c Likewise.
28525         * math/s_csinhf.c: Likewise.
28526         * math/s_csinhl.c: Likewise.
28527         * math/s_csinl.c: Likewise.
28528         * math/s_ctan.c: Likewise.
28529         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28530         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28531         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28532
28533 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
28534
28535         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28536         compilation problems.
28537
28538         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28539         __builtin_expect.
28540
28541 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
28542
28543         * sysdeps/i386/configure.in: Test for -mfma4 option.
28544         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28545         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28546         COMMON_CPUID_INDEX_80000001.
28547         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28548         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28549         use it if FMA3 is not supported.
28550         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28551
28552         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28553         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28554
28555 2011-10-20  Andreas Schwab  <schwab@redhat.com>
28556
28557         [BZ #12892]
28558         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28559         it would create a cycle with a link time dependency.
28560
28561 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
28562
28563         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28564         instruction.
28565         * string/Makefile (strop-tests): Add rawmemchr.
28566         * string/test-rawmemchr.c: New file.
28567
28568         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28569         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
28570         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
28571         when compiling str{,n}casecmp and when AVX is available.  Hook up
28572         new optimized code in initializers.
28573
28574 2011-10-19  Andreas Schwab  <schwab@redhat.com>
28575
28576         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28577         __feraiseexcept instead of feraiseexcept.
28578
28579 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
28580
28581         * math/math_private.h: Define defaults for libc_fetestexcept and
28582         libc_feupdateenv.
28583         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28584         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28585         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28586         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28587         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28588         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28589         libc_fetestexcept and libc_feupdateenv.
28590
28591         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28592         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28593         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28594         * sysdeps/x86_64/fpu/math_private.h: Define special version of
28595         libc_feholdexcept_setround.
28596
28597         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28598         Add s_nearbyint-c and s_nearbyintf-c.
28599         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28600         nearbyintf inlines.
28601         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28602         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28603         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28604         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28605
28606         * math/math_private.h: Define defaults for libc_fegetround,
28607         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28608         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28609         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28610         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28611         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28612         standard functions.
28613         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28614         Remove comments and hacks for old compiler versions.
28615         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28616         libc_fegetround, libc_fesetround, libc_feholdexcept, and
28617         libc_feholdexceptl.
28618
28619 2011-10-18  Andreas Schwab  <schwab@redhat.com>
28620
28621         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28622         (__feraiseexcept_renamed): Add __NTH.
28623         (feraiseexcept): Add __NTH.  Rename local variables to fix
28624         namespace violations.
28625
28626 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
28627
28628         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28629
28630         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28631
28632         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28633         recently added interfaces.
28634         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28635
28636         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28637         about macro parameter expansion.
28638
28639         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28640         __NO_MATH_INLINES is defined.  Cleanups.
28641
28642         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28643         and __floorf is target has SSE4.1.
28644         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28645         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28646         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28647         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28648
28649         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28650         name.
28651         (floorf): Likewise.
28652
28653         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28654
28655 2011-10-17  Andreas Schwab  <schwab@redhat.com>
28656
28657         * misc/sys/cdefs.h: Fix last change.
28658
28659         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28660         database lookup.
28661
28662 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
28663
28664         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28665
28666         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28667         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28668         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28669         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28670         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28671         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28672         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28673         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28674         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28675         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28676         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28677         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28678         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28679         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28680         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28681         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28682         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28683         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28684         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28685         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28686         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28687         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28688
28689         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28690         ceil, ceilf, floor, floorf.
28691
28692         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28693         Perform IRELATIVE relocations last.
28694
28695         * elf/do-rel.h: Add another parameter nrelative, replacing the
28696         local variable with the same name.  Change name of the function
28697         to end in Rel or Rela (uppercase).
28698         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28699         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
28700         elf_dynamic_do_##reloc function.
28701
28702 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
28703
28704         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28705         is sufficient, at least on modern CPUs.
28706
28707         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28708
28709         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28710         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28711
28712         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28713         __expl_finite.
28714         * math/bits/math-finite.h: Add entries for exp.
28715         * math/e_expl.c: Add __*_finite alias.
28716         * sysdeps/i386/fpu/e_exp.S: Likewise.
28717         * sysdeps/i386/fpu/e_expf.S: Likewise.
28718         * sysdeps/i386/fpu/e_expl.c: Likewise.
28719         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28720         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28721         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28722         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28723         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28724         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28725         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28726
28727         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28728         is sufficient, at least on modern CPUs.
28729
28730         * ctype/ctype-info.c (__ctype_init): Define.
28731         * include/ctype.h (__ctype_init): Declare.
28732         (__ctype_b_loc): The variable is always initialized.
28733         (__ctype_toupper_loc): Likewise.
28734         (__ctype_tolower_loc): Likewise.
28735         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28736         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28737
28738 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
28739
28740         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28741
28742         * configure.in: Also look in $cxxmachine/include for C++ system
28743         headers.
28744
28745 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28746
28747         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28748         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28749         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28750         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
28751         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28752         (USE_AS_WMEMCMP): New macro.
28753         Fixing indents.
28754         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28755         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28756         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28757         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28758         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28759         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28760         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28761         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28762         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28763         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28764         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28765         (USE_AS_WMEMCMP): New macro.
28766         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28767         * sysdeps/string/test-memcmp.c: Update.
28768         Fix simple_wmemcmp.
28769         Add new tests.
28770         * wcsmbs/wmemcmp.c: Update.
28771         (WMEMCMP): New macro.
28772         Fix overflow bug.
28773
28774 2011-10-12  Andreas Jaeger  <aj@suse.de>
28775
28776         [BZ #13268]
28777         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28778
28779 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
28780
28781         * libio/iofwide.c (do_length): Avoid warning.
28782
28783         * ctype/ctype.h (__isctype_f): Add missing __THROW.
28784
28785 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
28786
28787         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28788
28789         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28790         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28791         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28792         * sysdeps/i386/i686/fpu/e_log.S: New file.
28793         * sysdeps/i386/i686/fpu/e_logf.S: New file.
28794         * sysdeps/i386/i686/fpu/e_logl.S: New file.
28795
28796         * ctype/ctype.h: Add support for inlined isXXX functions when
28797         compiling C++ code.
28798
28799 2011-10-14  Andreas Schwab  <schwab@redhat.com>
28800
28801         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28802
28803         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28804
28805 2011-10-13  Roland McGrath  <roland@hack.frob.com>
28806
28807         [BZ #13291]
28808         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28809
28810 2011-10-13  Andreas Schwab  <schwab@redhat.com>
28811
28812         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28813         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28814         feraiseexcept.
28815
28816         * sysdeps/x86_64/memrchr.S: Check for zero size.
28817
28818         * string/stratcliff.c: Add memrchr tests.
28819
28820 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28821
28822         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28823         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28824         rawmemchr-sse2 rawmemchr-sse2-bsf.
28825         * sysdeps/i386/i686/multiarch/memchr.S: New file.
28826         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28827         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28828         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28829         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28830         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28831         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28832         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28833         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28834         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28835         * string/memrchr.c (MEMRCHR): New macro.
28836
28837 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
28838
28839         Add integration with gcc's -ffinite-math-only and optimize wrapper
28840         functions in libm.
28841         * Versions.def: Define GLIBC_2.15 version for libm.
28842         * math/Makefile (headers): Add bits/math-finite.h.
28843         * math/bits/math-finite.h: New file.
28844         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28845         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28846         * math/e_acoshl.c: Add __*_finite alias.
28847         * math/e_acosl.c: Likewise.
28848         * math/e_asinl.c: Likewise.
28849         * math/e_atan2l.c: Likewise.
28850         * math/e_atanhl.c: Likewise.
28851         * math/e_coshl.c: Likewise.
28852         * math/e_exp10.c: Likewise.
28853         * math/e_exp10f.c: Likewise.
28854         * math/e_exp10l.c: Likewise.
28855         * math/e_exp2l.c: Likewise.
28856         * math/e_fmodl.c: Likewise.
28857         * math/e_gammal_r.c: Likewise.
28858         * math/e_hypotl.c: Likewise.
28859         * math/e_j0l.c: Likewise.
28860         * math/e_j1l.c: Likewise.
28861         * math/e_jnl.c: Likewise.
28862         * math/e_lgammal_r.c: Likewise.
28863         * math/e_log10l.c: Likewise.
28864         * math/e_log2l.c: Likewise.
28865         * math/e_logl.c: Likewise.
28866         * math/e_powl.c: Likewise.
28867         * math/e_sinhl.c: Likewise.
28868         * math/e_sqrtl.c: Likewise.
28869         * math/e_scalb.c: Completely rewritten and optimized.
28870         * math/e_scalbf.c: Likewise.
28871         * math/e_scalbl.c: Likewise.
28872         * math/w_acos.c: Likewise.
28873         * math/w_acosf.c: Likewise.
28874         * math/w_acosl.c: Likewise.
28875         * math/w_acosh.c: Likewise.
28876         * math/w_acoshf.c: Likewise.
28877         * math/w_acoshl.c: Likewise.
28878         * math/w_asin.c: Likewise.
28879         * math/w_asinf.c: Likewise.
28880         * math/w_asinl.c: Likewise.
28881         * math/w_atan2.c: Likewise.
28882         * math/w_atan2f.c: Likewise.
28883         * math/w_atan2l.c: Likewise.
28884         * math/w_atanh.c: Likewise.
28885         * math/w_atanhf.c: Likewise.
28886         * math/w_atanhl.c: Likewise.
28887         * math/w_exp10.c: Likewise.
28888         * math/w_exp10f.c: Likewise.
28889         * math/w_exp10l.c: Likewise.
28890         * math/w_fmod.c: Likewise.
28891         * math/w_fmodf.c: Likewise.
28892         * math/w_fmodl.c: Likewise.
28893         * math/w_j0.c: Likewise.
28894         * math/w_j0f.c: Likewise.
28895         * math/w_j0l.c: Likewise.
28896         * math/w_j1.c: Likewise.
28897         * math/w_j1f.c: Likewise.
28898         * math/w_j1l.c: Likewise.
28899         * math/w_jn.c: Likewise.
28900         * math/w_jnf.c: Likewise.
28901         * math/w_log.c: Likewise.
28902         * math/w_logf.c: Likewise.
28903         * math/w_logl.c: Likewise.
28904         * math/w_log10.c: Likewise.
28905         * math/w_log10f.c: Likewise.
28906         * math/w_log10l.c: Likewise.
28907         * math/w_log2.c: Likewise.
28908         * math/w_log2f.c: Likewise.
28909         * math/w_log2l.c: Likewise.
28910         * math/w_pow.c: Likewise.
28911         * math/w_powf.c: Likewise.
28912         * math/w_powl.c: Likewise.
28913         * math/w_remainder.c: Likewise.
28914         * math/w_remainderf.c: Likewise.
28915         * math/w_remainderl.c: Likewise.
28916         * math/w_scalb.c: Likewise.
28917         * math/w_scalbf.c: Likewise.
28918         * math/w_scalbl.c: Likewise.
28919         * math/w_sqrt.c: Likewise.
28920         * math/w_sqrtf.c: Likewise.
28921         * math/w_sqrtl.c: Likewise.
28922         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28923         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
28924         used.
28925         * math/math_private.h: Declare __kernel_standard_f.
28926         * math/w_cosh.c: Remove cruft and optimize a bit.
28927         * math/w_coshf.c: Likewise.
28928         * math/w_coshl.c: Likewise.
28929         * math/w_exp2.c: Likewise.
28930         * math/w_exp2f.c: Likewise.
28931         * math/w_exp2l.c: Likewise.
28932         * math/w_hypot.c: Likewise.
28933         * math/w_hypotf.c: Likewise.
28934         * math/w_hypotl.c: Likewise.
28935         * math/w_lgamma.c: Likewise.
28936         * math/w_lgamma_r.c: Likewise.
28937         * math/w_lgammaf.c: Likewise.
28938         * math/w_lgammaf_r.c: Likewise.
28939         * math/w_lgammal.c: Likewise.
28940         * math/w_lgammal_r.c: Likewise.
28941         * math/w_sinh.c: Likewise.
28942         * math/w_sinhf.c: Likewise.
28943         * math/w_sinhl.c: Likewise.
28944         * math/w_tgamma.c: Likewise.
28945         * math/w_tgammaf.c: Likewise.
28946         * math/w_tgammal.c: Likewise.
28947         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28948         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28949         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28950         Minor optimizations.  Pretty printing.  Remove cruft.
28951         * sysdeps/i386/fpu/e_acosf.S: Likewise.
28952         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28953         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28954         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28955         * sysdeps/i386/fpu/e_acosl.c: Likewise.
28956         * sysdeps/i386/fpu/e_asin.S: Likewise.
28957         * sysdeps/i386/fpu/e_asinf.S: Likewise.
28958         * sysdeps/i386/fpu/e_atan2.S: Likewise.
28959         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28960         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28961         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28962         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28963         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28964         * sysdeps/i386/fpu/e_exp10.S: Likewise.
28965         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28966         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28967         * sysdeps/i386/fpu/e_exp2.S: Likewise.
28968         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28969         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28970         * sysdeps/i386/fpu/e_fmod.S: Likewise.
28971         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28972         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28973         * sysdeps/i386/fpu/e_hypot.S: Likewise.
28974         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28975         * sysdeps/i386/fpu/e_log.S: Likewise.
28976         * sysdeps/i386/fpu/e_log10.S: Likewise.
28977         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28978         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28979         * sysdeps/i386/fpu/e_log2.S: Likewise.
28980         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28981         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28982         * sysdeps/i386/fpu/e_logf.S: Likewise.
28983         * sysdeps/i386/fpu/e_logl.S: Likewise.
28984         * sysdeps/i386/fpu/e_pow.S: Likewise.
28985         * sysdeps/i386/fpu/e_powf.S: Likewise.
28986         * sysdeps/i386/fpu/e_powl.S: Likewise.
28987         * sysdeps/i386/fpu/e_remainder.S: Likewise.
28988         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28989         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28990         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28991         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28992         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28993         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28994         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28995         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28996         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28997         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28998         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28999         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29000         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29001         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29002         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29003         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29004         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29005         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29006         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29007         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29008         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29009         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29010         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29011         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29012         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29013         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29014         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29015         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29016         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29017         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29018         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29019         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29020         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29021         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29022         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29023         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29024         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29025         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29026         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29027         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29028         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29029         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29030         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29031         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29032         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29033         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29034         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29035         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29036         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29037         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29038         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29039         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29040         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29041         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29042         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29043         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29044         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29045         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29046         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29047         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29048         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29049         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29050         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29051         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29052         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29053         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29054         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29055         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29056         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29057         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29058         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29059         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29060         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29061         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29062         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29063         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29064         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29065         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29066         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29067         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29068         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29069         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29070         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29071         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29072         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29073         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29074         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29075         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29076         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29077         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29078         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29079         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29080         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29081         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29082         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29083         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29084         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29085         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29086         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29087         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29088         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29089         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29090         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29091         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29092         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29093         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29094         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29095         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29096         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29097         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29098         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29099         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29100         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29101         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29102         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29103         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29104         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29105         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29106         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
29107         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29108         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29109         (__isnanf): Likewise.
29110         (__isinf_ns): Likewise.
29111         (__isinf_nsf): Likewise.
29112         (__finite): Likewise.
29113         (__finitef): Likewise.
29114         (__ieee754_sqrt): Define as macro.
29115         (__ieee754_sqrtf): Define as macro.
29116         (__ieee754_sqrtl): Define as macro.
29117         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29118         inlined copy.
29119         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29120         __FINITE_MATH_ONLY__ consistent.
29121         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29122
29123 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
29124
29125         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29126         of rawmemchr.
29127
29128         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29129
29130 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
29131
29132         * po/ja.po: Update from translation team.
29133
29134 2011-10-08  Roland McGrath  <roland@hack.frob.com>
29135
29136         * locale/programs/locarchive.c (prepare_address_space): New function.
29137         (create_archive, enlarge_archive, open_archive): Use it.
29138
29139         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29140         inside [SHARED], where it is used.
29141
29142         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29143
29144         * nss/getent.c (netgroup_keys): Remove unused variable.
29145         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29146
29147 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
29148
29149         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29150         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29151         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29152         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29153         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29154         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29155         * math/Makefile (libm-calls): Add s_isinf_ns.
29156         * math/divtc3.c: Use __isinf_nsl instead of isinf.
29157         * math/multc3.c: Likewise.
29158         * math/s_casin.c: Likewise.
29159         * math/s_casinf.c: Likewise.
29160         * math/s_casinl.c: Likewise.
29161         * math/s_ccos.c: Likewise.
29162         * math/s_ccosf.c: Likewise.
29163         * math/s_ccosl.c: Likewise.
29164         * math/s_ctan.c: Likewise.
29165         * math/s_ctanf.c: Likewise.
29166         * math/s_ctanh.c: Likewise.
29167         * math/s_ctanhf.c: Likewise.
29168         * math/s_ctanhl.c: Likewise.
29169         * math/s_ctanl.c: Likewise.
29170         * math/w_fmod.c: Likewise.
29171         * math/w_fmodf.c: Likewise.
29172         * math/w_fmodl.c: Likewise.
29173         * math/w_remainder.c: Likewise.
29174         * math/w_remainderf.c: Likewise.
29175         * math/w_remainderl.c: Likewise.
29176         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29177         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29178         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29179         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29180         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29181         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29182         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29183         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29184
29185         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29186         of the number.
29187         * stdio-common/printf_fphex.c: Likewise.
29188         * stdio-common/printf_size.c: Likewise.
29189
29190         * math/e_exp10.c: Include math_private.h using <...> not "...".
29191         * math/e_exp10f.c: Likewise.
29192         * math/e_exp10l.c: Likewise.
29193         * math/e_exp2l.c: Likewise.
29194         * math/e_j0l.c: Likewise.
29195         * math/e_j1l.c: Likewise.
29196         * math/e_jnl.c: Likewise.
29197         * math/e_lgammal_r.c: Likewise.
29198         * math/e_rem_pio2l.c: Likewise.
29199         * math/e_scalb.c: Likewise.
29200         * math/e_scalbf.c: Likewise.
29201         * math/e_scalbl.c: Likewise.
29202         * math/k_cosl.c: Likewise.
29203         * math/k_sinl.c: Likewise.
29204         * math/k_tanl.c: Likewise.
29205         * math/s_cacoshf.c: Likewise.
29206         * math/s_catan.c: Likewise.
29207         * math/s_catanf.c: Likewise.
29208         * math/s_catanh.c: Likewise.
29209         * math/s_catanhf.c: Likewise.
29210         * math/s_catanhl.c: Likewise.
29211         * math/s_catanl.c: Likewise.
29212         * math/s_ccosh.c: Likewise.
29213         * math/s_ccoshf.c: Likewise.
29214         * math/s_ccoshl.c: Likewise.
29215         * math/s_cexp.c: Likewise.
29216         * math/s_cexpf.c: Likewise.
29217         * math/s_cexpl.c: Likewise.
29218         * math/s_clog.c: Likewise.
29219         * math/s_clog10.c: Likewise.
29220         * math/s_clog10f.c: Likewise.
29221         * math/s_clog10l.c: Likewise.
29222         * math/s_clogf.c: Likewise.
29223         * math/s_clogl.c: Likewise.
29224         * math/s_csin.c: Likewise.
29225         * math/s_csinf.c: Likewise.
29226         * math/s_csinh.c: Likewise.
29227         * math/s_csinhf.c: Likewise.
29228         * math/s_csinhl.c: Likewise.
29229         * math/s_csinl.c: Likewise.
29230         * math/s_csqrt.c: Likewise.
29231         * math/s_csqrtf.c: Likewise.
29232         * math/s_csqrtl.c: Likewise.
29233         * math/s_ctan.c: Likewise.
29234         * math/s_ctanf.c: Likewise.
29235         * math/s_ctanh.c: Likewise.
29236         * math/s_ctanhf.c: Likewise.
29237         * math/s_ctanhl.c: Likewise.
29238         * math/s_ctanl.c: Likewise.
29239         * math/s_ldexp.c: Likewise.
29240         * math/s_ldexpf.c: Likewise.
29241         * math/s_ldexpl.c: Likewise.
29242         * math/s_significand.c: Likewise.
29243         * math/s_significandf.c: Likewise.
29244         * math/s_significandl.c: Likewise.
29245         * math/w_acos.c: Likewise.
29246         * math/w_acosf.c: Likewise.
29247         * math/w_acosh.c: Likewise.
29248         * math/w_acoshf.c: Likewise.
29249         * math/w_acoshl.c: Likewise.
29250         * math/w_acosl.c: Likewise.
29251         * math/w_asin.c: Likewise.
29252         * math/w_asinf.c: Likewise.
29253         * math/w_asinl.c: Likewise.
29254         * math/w_atan2.c: Likewise.
29255         * math/w_atan2f.c: Likewise.
29256         * math/w_atan2l.c: Likewise.
29257         * math/w_atanh.c: Likewise.
29258         * math/w_atanhf.c: Likewise.
29259         * math/w_atanhl.c: Likewise.
29260         * math/w_cosh.c: Likewise.
29261         * math/w_coshf.c: Likewise.
29262         * math/w_coshl.c: Likewise.
29263         * math/w_dremf.c: Likewise.
29264         * math/w_exp10.c: Likewise.
29265         * math/w_exp10f.c: Likewise.
29266         * math/w_exp10l.c: Likewise.
29267         * math/w_exp2.c: Likewise.
29268         * math/w_exp2f.c: Likewise.
29269         * math/w_fmod.c: Likewise.
29270         * math/w_fmodf.c: Likewise.
29271         * math/w_fmodl.c: Likewise.
29272         * math/w_hypot.c: Likewise.
29273         * math/w_hypotf.c: Likewise.
29274         * math/w_hypotl.c: Likewise.
29275         * math/w_j0.c: Likewise.
29276         * math/w_j0f.c: Likewise.
29277         * math/w_j0l.c: Likewise.
29278         * math/w_j1.c: Likewise.
29279         * math/w_j1f.c: Likewise.
29280         * math/w_j1l.c: Likewise.
29281         * math/w_jn.c: Likewise.
29282         * math/w_jnf.c: Likewise.
29283         * math/w_jnl.c: Likewise.
29284         * math/w_lgamma.c: Likewise.
29285         * math/w_lgamma_r.c: Likewise.
29286         * math/w_lgammaf.c: Likewise.
29287         * math/w_lgammaf_r.c: Likewise.
29288         * math/w_lgammal.c: Likewise.
29289         * math/w_lgammal_r.c: Likewise.
29290         * math/w_log.c: Likewise.
29291         * math/w_log10.c: Likewise.
29292         * math/w_log10f.c: Likewise.
29293         * math/w_log10l.c: Likewise.
29294         * math/w_log2.c: Likewise.
29295         * math/w_log2f.c: Likewise.
29296         * math/w_log2l.c: Likewise.
29297         * math/w_logf.c: Likewise.
29298         * math/w_logl.c: Likewise.
29299         * math/w_pow.c: Likewise.
29300         * math/w_powf.c: Likewise.
29301         * math/w_powl.c: Likewise.
29302         * math/w_remainder.c: Likewise.
29303         * math/w_remainderf.c: Likewise.
29304         * math/w_remainderl.c: Likewise.
29305         * math/w_scalb.c: Likewise.
29306         * math/w_scalbf.c: Likewise.
29307         * math/w_scalbl.c: Likewise.
29308         * math/w_sinh.c: Likewise.
29309         * math/w_sinhf.c: Likewise.
29310         * math/w_sinhl.c: Likewise.
29311         * math/w_sqrt.c: Likewise.
29312         * math/w_sqrtf.c: Likewise.
29313         * math/w_sqrtl.c: Likewise.
29314         * math/w_tgamma.c: Likewise.
29315         * math/w_tgammaf.c: Likewise.
29316         * math/w_tgammal.c: Likewise.
29317
29318         * po/ja.po: Update from translation team.
29319
29320 2011-09-29  Andreas Jaeger  <aj@suse.de>
29321
29322         [BZ #13179]
29323         * sunrpc/netname.c (netname2host): Fix logic.
29324
29325         [BZ #6779]
29326         [BZ #6783]
29327         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29328         correctly.
29329         * math/w_remainder.c (__remainder): Likewise.
29330         * math/w_remainderf.c (__remainderf): Likewise.
29331         * math/libm-test.inc (remainder_test): Add test cases.
29332
29333 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29334
29335         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
29336         sdiv_qrnnd.
29337
29338 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29339
29340         * string/test-memcmp.c: Avoid unncessary #defines.
29341         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29342
29343 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29344
29345         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29346         Use new sse2 version for core i3 - i7 as it's faster
29347         than sse42 version.
29348         (bit_Prefer_PMINUB_for_stringop): New.
29349         * sysdeps/x86_64/rawmemchr.S: Update.
29350         Replace with faster SSE2 version.
29351         * sysdeps/x86_64/memrchr.S: New file.
29352         * sysdeps/x86_64/memchr.S: Update.
29353         Replace with faster SSE2 version.
29354
29355 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
29356
29357         * elf/dl-load.c (lose): Add cast to avoid warning.
29358
29359 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29360
29361         * po/ca.po: Update from translation team.
29362
29363         * inet/getnetgrent_r.c: Hook up nscd.
29364         * nscd/Makefile (routines): Add nscd_netgroup.
29365         (nscd-modules): Add netgroupcache.
29366         (CFLAGS-netgroupcache.c): Define.
29367         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29368         (cache_search): Add const to second parameter.
29369         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29370         INNETGR.
29371         (dbs): Add netgrdb entry.
29372         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29373         (verify_persistent_db): Handle netgrdb.
29374         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29375         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29376         GETFDNETGR.
29377         (netgroup_response_header): Define.
29378         (innetgroup_response_header): Define.
29379         (datahead): Add netgroup_response_header and innetgroup_response_header
29380         elements.
29381         * nscd/nscd.conf: Add entries for netgroup cache.
29382         * nscd/nscd.h (dbtype): Add netgrdb.
29383         (_PATH_NSCD_NETGROUP_DB): Define.
29384         (netgroup_iov_disabled): Declare.
29385         (xmalloc, xcalloc, xrealloc): Move declarations here.
29386         (cache_search): Adjust prototype.
29387         Add netgroup-related prototypes.
29388         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29389         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29390         (__nscd_innetgr): Declare.
29391         * nscd/selinux.c (perms): Use access_vector_t as element type and
29392         add netgroup-related initializers.
29393         * nscd/netgroupcache.c: New file.
29394         * nscd/nscd_netgroup.c: New file.
29395         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29396         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29397         For four parameters use innetgr.
29398         * nss/nss_files/files-init.c: Add definition and callback for netgr.
29399         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29400         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29401         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29402
29403         * nscd/connections.c (register_traced_file): Don't register file
29404         for disabled databases.
29405
29406 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
29407
29408         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29409
29410         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29411         from tree and freeing node.
29412
29413 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
29414
29415         * nss/nsswitch.c (__nss_database_lookup): Handle
29416         nss_parse_service_list out of memory case.
29417
29418 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
29419
29420         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29421         out of memory case.
29422
29423 2011-10-04  Andreas Schwab  <schwab@redhat.com>
29424
29425         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29426         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29427         pass it down.
29428         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29429         elf_machine_rela, elf_machine_lazy_rel.
29430         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29431         (ELF_DYNAMIC_DO_REL): Likewise.
29432         (ELF_DYNAMIC_DO_RELA): Likewise.
29433         (ELF_DYNAMIC_RELOCATE): Likewise.
29434         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29435         to ELF_DYNAMIC_DO_REL.
29436         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29437         (dl_main): In trace mode always set __RTLD_NOIFUNC.
29438         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29439         elf_machine_rela.
29440         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29441         skip_ifunc, don't call ifunc function if non-zero.
29442         (elf_machine_rela): Likewise.
29443         (elf_machine_lazy_rel): Likewise.
29444         (elf_machine_lazy_rela): Likewise.
29445         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29446         (elf_machine_lazy_rel): Likewise.
29447         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29448         Likewise.
29449         (elf_machine_lazy_rel): Likewise.
29450         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29451         Likewise.
29452         (elf_machine_lazy_rel): Likewise.
29453         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29454         (elf_machine_lazy_rel): Likewise.
29455         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29456         (elf_machine_lazy_rel): Likewise.
29457         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29458         (elf_machine_lazy_rel): Likewise.
29459         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29460         (elf_machine_lazy_rel): Likewise.
29461         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29462         (elf_machine_lazy_rel): Likewise.
29463         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29464         (elf_machine_lazy_rel): Likewise.
29465
29466 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
29467
29468         * nss/nss_files/files-init.c (_nss_files_init): Use static
29469         initialization for all the *_traced_file variables.
29470
29471 2011-09-28  Andreas Schwab  <schwab@redhat.com>
29472
29473         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29474
29475 2011-09-27  Roland McGrath  <roland@hack.frob.com>
29476
29477         [BZ #13226]
29478         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29479
29480 2011-09-27  Andreas Schwab  <schwab@redhat.com>
29481
29482         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29483         Reread the line before reparsing it.
29484
29485 2011-09-26  Andreas Schwab  <schwab@redhat.com>
29486
29487         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29488
29489 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
29490             Maxim Kuvyrkov  <maxim@codesourcery.com>
29491             Joseph Myers  <joseph@codesourcery.com>
29492
29493         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29494         if needed for __stack_chk_guard.
29495
29496 2011-09-19  Roland McGrath  <roland@hack.frob.com>
29497
29498         * sysdeps/posix/spawni.c (script_execute): Always define it.
29499         It will be optimized away if unused.
29500         (maybe_script_execute): New function.
29501         (__spawni): Call it.
29502
29503         * Makerules: Don't include tls.make.
29504         (config-tls): Always set to thread.
29505         * tls.make.c: File removed.
29506
29507 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
29508
29509         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29510         * config.make.in (CPPFLAGS-config): New substituted variable.
29511
29512 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29513
29514         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29515
29516         [BZ #13192]
29517         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29518         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29519
29520 2011-09-15  Roland McGrath  <roland@hack.frob.com>
29521
29522         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29523         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29524         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29525         (CALL_FAIL): Likewise.
29526         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29527         (CALL_FAIL): Macro removed.
29528         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29529
29530 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29531
29532         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29533         for __FINITE_MATH_ONLY__ == 1.
29534
29535 2011-09-15  Andreas Schwab  <schwab@redhat.com>
29536
29537         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29538         __ieee754_sqrt instead of sqrt.
29539         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29540         __ieee754_sqrtf instead of sqrtf.
29541         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29542         __floorf instead of floorf.
29543         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29544         __floorf, __truncf instead of floorf, truncf.
29545
29546 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
29547
29548         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29549
29550         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29551         __extern_always_inline.
29552         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29553         32-bit.
29554
29555 2011-09-14  Andreas Schwab  <schwab@redhat.com>
29556
29557         * elf/rtld.c (dl_main): Also relocate in dependency order when
29558         doing symbol dependency testing.
29559
29560 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
29561
29562         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29563         Always define `refsym'.
29564
29565 2011-09-13  Andreas Schwab  <schwab@redhat.com>
29566
29567         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29568         (__FD_ELT): Renamed from __FDELT.
29569         * misc/bits/select2.h (__FD_ELT): Likewise.
29570         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29571         __FD_MASK instead of __FDELT, __FDMASK.
29572         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29573         Likewise.
29574         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29575         Likewise.
29576
29577         * elf/Makefile (gen-ldd): Fix pattern.
29578
29579         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29580         (init_tls): Likewise.
29581
29582 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
29583
29584         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29585
29586 2011-09-12  Andreas Schwab  <schwab@redhat.com>
29587
29588         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29589         `struct cmsghdr *' instead of `void *'.
29590         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29591         Likewise.
29592
29593 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
29594
29595         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29596         if non-absolute.
29597         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29598         ldd_rewrite_script.
29599
29600 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
29601
29602         * configure.in: Remove --with-tls option.
29603         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29604         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29605         out in case it is missing.
29606         * sysdeps/ia64/elf/configure.in: Likewise.
29607         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29608         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29609         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29610         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29611         * sysdeps/sh/elf/configure.in: Likewise.
29612         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29613         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29614         * sysdeps/x86_64/elf/configure.in: Likewise.
29615         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29616         * sysdeps/mach/hurd/tls.h: Likewise.
29617
29618         [BZ #13067]
29619         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29620
29621         [BZ #13090]
29622         * configure.in: Fix use of AC_INIT.
29623
29624         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29625
29626 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
29627
29628         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29629         __set_errno.
29630         * malloc/hooks.c: Likewise.
29631
29632         [BZ #11929]
29633         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
29634         variables statically.
29635         (narenas): Initialize.
29636         (list_lock): Initialize.
29637         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
29638         initializtion of main_arena and list_lock.  Small cleanups.
29639         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29640         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
29641         Add initializers to main_arena and mp_.
29642         (malloc_state): Remove pagesize member.  Change all users to use
29643         GLRO(dl_pagesize).
29644
29645         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29646         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
29647         is always initialized.
29648
29649         * malloc/malloc.c: Removed unused configurations and dead code.
29650         * malloc/arena.c: Likewise.
29651         * malloc/hooks.c: Likewise.
29652         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29653
29654         * include/tls.h: Removed.  USE___THREAD must always be defined.
29655         * bits/libc-tsd.h: Don't handle !USE___THREAD.
29656         * elf/dl-libc.c: Likewise.
29657         * elf/dl-tsd.c: Likewise.
29658         * include/errno.h: Likewise.
29659         * include/netdb.h: Likewise.
29660         * include/resolv.h: Likewise.
29661         * inet/herrno-loc.c: Likewise.
29662         * inet/herrno.c: Likewise.
29663         * malloc/arena.c: Likewise.
29664         * malloc/hooks.c: Likewise.
29665         * malloc/malloc.c: Likewise.
29666         * resolv/res-state.c: Likewise.
29667         * resolv/res_libc.c: Likewise.
29668         * sysdeps/i386/dl-machine.h: Likewise.
29669         * sysdeps/ia64/dl-machine.h: Likewise.
29670         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29671         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29672         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29673         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29674         * sysdeps/sh/dl-machine.h: Likewise.
29675         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29676         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29677         * sysdeps/unix/i386/sysdep.S: Likewise.
29678         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29679         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29680         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29681         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29682         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29683         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29684         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29685         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29686         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29687         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29688         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29689         * sysdeps/x86_64/dl-machine.h: Likewise.
29690         * tls.make.c: Likewise.
29691
29692         * configure.in: Remove --with-__thread option.  Make tests for
29693         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29694         tls_model attribute fail if no support is available.  Remove
29695         USE_IN_LIBIO.
29696         * Makeconfig: Adjust for dropped configure option.  All features are
29697         now mandatory.
29698         * Makerules: Likewise.
29699         * Versions.def: Likewise.
29700         * argp/argp-fmtstream.c: Likewise.
29701         * argp/argp-fmtstream.h: Likewise.
29702         * argp/argp-help.c: Likewise.
29703         * assert/assert.c: Likewise.
29704         * config.h.in: Likewise.
29705         * config.make.in: Likewise.
29706         * configure: Likewise.
29707         * configure.in: Likewise.
29708         * csu/Versions: Likewise.
29709         * csu/init.c: Likewise.
29710         * elf/tst-audit2.c: Likewise.
29711         * elf/tst-tls10.c: Likewise.
29712         * elf/tst-tls10.h: Likewise.
29713         * elf/tst-tls11.c: Likewise.
29714         * elf/tst-tls12.c: Likewise.
29715         * elf/tst-tls14.c: Likewise.
29716         * elf/tst-tlsmod11.c: Likewise.
29717         * elf/tst-tlsmod12.c: Likewise.
29718         * elf/tst-tlsmod13.c: Likewise.
29719         * elf/tst-tlsmod13a.c: Likewise.
29720         * elf/tst-tlsmod14a.c: Likewise.
29721         * elf/tst-tlsmod15b.c: Likewise.
29722         * elf/tst-tlsmod16a.c: Likewise.
29723         * elf/tst-tlsmod16b.c: Likewise.
29724         * elf/tst-tlsmod7.c: Likewise.
29725         * elf/tst-tlsmod8.c: Likewise.
29726         * elf/tst-tlsmod9.c: Likewise.
29727         * gmon/gmon.c: Likewise.
29728         * grp/fgetgrent_r.c: Likewise.
29729         * grp/putgrent.c: Likewise.
29730         * hurd/fopenport.c: Likewise.
29731         * include/libc-symbols.h: Likewise.
29732         * include/tls.h: Likewise.
29733         * intl/gettextP.h: Likewise.
29734         * intl/loadinfo.h: Likewise.
29735         * locale/global-locale.c: Likewise.
29736         * locale/localeinfo.h: Likewise.
29737         * mach/devstream.c: Likewise.
29738         * malloc/arena.c: Likewise.
29739         * malloc/set-freeres.c: Likewise.
29740         * misc/err.c: Likewise.
29741         * misc/getttyent.c: Likewise.
29742         * misc/mntent_r.c: Likewise.
29743         * posix/getopt.c: Likewise.
29744         * posix/wordexp.c: Likewise.
29745         * pwd/fgetpwent_r.c: Likewise.
29746         * resolv/Versions: Likewise.
29747         * resolv/res_hconf.c: Likewise.
29748         * shadow/fgetspent_r.c: Likewise.
29749         * shadow/putspent.c: Likewise.
29750         * stdio-common/printf_fphex.c: Likewise.
29751         * stdio-common/tmpfile.c: Likewise.
29752         * stdlib/abort.c: Likewise.
29753         * stdlib/fmtmsg.c: Likewise.
29754         * sunrpc/auth_unix.c: Likewise.
29755         * sunrpc/clnt_perr.c: Likewise.
29756         * sunrpc/clnt_tcp.c: Likewise.
29757         * sunrpc/clnt_udp.c: Likewise.
29758         * sunrpc/clnt_unix.c: Likewise.
29759         * sunrpc/openchild.c: Likewise.
29760         * sunrpc/svc_simple.c: Likewise.
29761         * sunrpc/svc_tcp.c: Likewise.
29762         * sunrpc/svc_udp.c: Likewise.
29763         * sunrpc/svc_unix.c: Likewise.
29764         * sunrpc/xdr.c: Likewise.
29765         * sunrpc/xdr_array.c: Likewise.
29766         * sunrpc/xdr_rec.c: Likewise.
29767         * sunrpc/xdr_ref.c: Likewise.
29768         * sunrpc/xdr_stdio.c: Likewise.
29769
29770 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29771
29772         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29773
29774 2011-07-03  Andreas Jaeger  <aj@suse.de>
29775
29776         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29777         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29778         regenerate with gen-libm-tests.pl.
29779
29780 2010-05-12  Petr Baudis  <pasky@suse.cz>
29781
29782         [BZ #11589]
29783         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29784         around j0() zero points by switching to j1().
29785         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29786         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29787         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29788         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29789
29790 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29791
29792         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29793         instead of 0.
29794         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29795         instead of 0.
29796         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29797         Patch in part by Pavel Roskin <proski@gnu.org>.
29798
29799         [BZ #13138]
29800         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29801         realloc.
29802         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
29803         Free memory block if necessary.
29804
29805         [BZ #12847]
29806         * libio/genops.c (INTDEF): For string streams the _lock pointer can
29807         be NULL.  Don't lock in this case.
29808
29809 2011-09-09  Roland McGrath  <roland@hack.frob.com>
29810
29811         * elf/elf.h (ELFOSABI_GNU): New macro.
29812         (ELFOSABI_LINUX): Define to that.
29813
29814 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
29815
29816         * string/strncat.c (strncat): Undef the symbol in case it has been
29817         defined in bits/string.h.
29818
29819 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29820
29821         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29822
29823         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29824         link map.
29825
29826 2011-08-17  Andreas Jaeger  <aj@suse.de>
29827
29828         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29829
29830 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29831             Ian Lance Taylor  <iant@google.com>
29832
29833         * math/libm-test.inc (lround_test): New testcase.
29834         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29835
29836 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
29837
29838         * Makefile: Remove support for automatic cvs check-ins.
29839         * Makerules: Likewise.
29840         * config.make.in: Likewise.
29841         * configure.in: Likewise.
29842         * intl/Makefile: Likewise.
29843         * locale/Makefile: Likewise.
29844         * po/Makefile: Likewise.
29845         * posix/Makefile: Likewise.
29846         * sysdeps/gnu/Makefile: Likewise.
29847         * sysdeps/mach/hurd/Makefile: Likewise.
29848         * sysdeps/sparc/sparc32/Makefile: Likewise.
29849
29850         [BZ #13118]
29851         * posix/Makefile (bug-regex32-ENV): Define.
29852         Patch by John Stanley <jpsinthemix@verizon.net>.
29853
29854         * misc/Makefile (headers): Add bits/select2.h.
29855         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29856         * misc/bits/select2.h: New file.
29857         * include/bits/select2.h: New file.
29858         * debug/Makefile (routines): Add fdelt_chk.
29859         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29860         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29861         FD_ISSET.
29862         * debug/fdelt_chk.c: New file.
29863
29864         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
29865         * wcsmbs/test-wmemcmp.c: Likewise.
29866         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29867         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29868
29869 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29870
29871         * string/Makefile (strop-tests): Add memcmp.
29872         * string/test-wmemcmp.c: New file.
29873         * string/test-memcmp.c: Add wmemcmp support.
29874
29875 2011-09-08  Roland McGrath  <roland@hack.frob.com>
29876
29877         [BZ #13153]
29878         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29879         2011-07-19 change.
29880
29881         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29882         garbage value in a __mach_port_mod_refs call in the cases of the
29883         task-self and thread-self ports.
29884
29885 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29886
29887         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29888
29889 2011-09-08  Andreas Schwab  <schwab@redhat.com>
29890
29891         * elf/dl-load.c (lose): Check for non-null L.
29892
29893 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29894
29895         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29896
29897         * elf/dl-libc.c (dlerror_run): Pass back error code from
29898         dl_catch_error.
29899
29900         [BZ #13123]
29901         * elf/dl-load.c (lose): Free l_origin if it is valid.
29902
29903         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29904         names.
29905         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29906         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29907         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29908         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29909         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29910         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29911
29912 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29913
29914         * sysdeps/powerpc/fpu/e_hypot.c: New file.
29915         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29916         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29917         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29918         * sysdeps/powerpc/fpu/k_cosf.c: New file.
29919         * sysdeps/powerpc/fpu/k_sinf.c: New file.
29920         * sysdeps/powerpc/fpu/s_cosf.c: New file.
29921         * sysdeps/powerpc/fpu/s_sinf.c: New file.
29922         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29923         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29924
29925 2011-08-15  Alan Modra  <amodra@gmail.com>
29926
29927         [BZ #13092]
29928         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29929         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29930         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
29931         ppc_mcount to static-only-routines.
29932         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29933         __mcount_internal.
29934         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29935         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
29936
29937 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
29938
29939         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29940         for finite and infinity parameters.
29941
29942 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29943
29944         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29945         and add nop instructions for throughput optimization.
29946         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29947
29948 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
29949
29950         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29951         aligned copy for power7 with vector-scalar instructions.
29952         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29953
29954 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
29955
29956         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29957         AVX check.
29958
29959 2011-09-07  Andreas Schwab  <schwab@redhat.com>
29960
29961         [BZ #13144]
29962         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29963         last change.
29964
29965 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29966
29967         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29968         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29969         syscall wrapper around clock_gettime in __vdso_clock_gettime.
29970         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29971         clock_gettime.
29972
29973 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
29974
29975         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29976         Forgot to demangle the pointer.
29977
29978         * sysdeps/i386/sysdep.h: Define atom_text_section.
29979         * sysdeps/x86_64/sysdep.h: Likewise.
29980         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29981         section with atom_text_section.
29982         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29983         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29984         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29985         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29986         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29987
29988         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29989         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29990         already be defined.  Change to take two parameters and don't assign
29991         result to variable.  Adjust all users.
29992         Define INTERNAL_GETTIME if not already defined.
29993         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29994         call.
29995         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29996         HAVE_CLOCK_GETTIME_VSYSCALL.
29997         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29998
29999         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30000         gettimeofday vsyscall, just use time.
30001
30002 2011-09-06  Andreas Schwab  <schwab@redhat.com>
30003
30004         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30005         <errno.h>.
30006
30007 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30008
30009         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30010         syscall on x86-64.
30011         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30012         syscall.
30013         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30014         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30015         syscall if possible.
30016
30017 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30018
30019         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30020         e_ident.  Don't pass to find_mapsXX.
30021         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30022
30023 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30024
30025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30026         strchr-sse2-no-bsf strrchr-sse2-no-bsf
30027         * sysdeps/x86_64/multiarch/strchr.S: Update.
30028         Check bit_slow_BSF bit.
30029         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30030         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30031         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30032
30033 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30034
30035         [BZ #13134]
30036         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30037         before glibc 2.15.
30038         (tryshell): Define.
30039         (__spawni): Change last parameter to be flag.  Test
30040         SPAWN_XFLAGS_USE_PATH flag to use path or not.
30041         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30042         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30043         * posix/spawni.c: Likewise.
30044         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30045         * posix/spawnp.c: Likewise.  Change normal version to use
30046         SPAWN_XFLAGS_USE_PATH.
30047         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30048         SPAWN_XFLAGS_TRY_SHELL.
30049
30050         [BZ #13150]
30051         * posix/glob.h: Remove gcc 1.x support.
30052
30053         [BZ #13068]
30054         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30055
30056 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30057
30058         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30059         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30060         strrchr-sse2-bsf
30061         * sysdeps/i386/i686/multiarch/strchr.S: New file.
30062         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30063         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30064         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30065         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30066         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30067
30068 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30069
30070         * sysdeps/x86_64/wcscmp.S: New file.
30071
30072         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30073         wcscmp-c wcscmp-sse2
30074         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30075         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30076         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30077         * wcsmbs/wcscmp.c: Allow renaming.
30078
30079 2011-09-05  David S. Miller  <davem@davemloft.net>
30080
30081         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30082         stack slot, rather than the struct return pointer slot.
30083         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30084         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30086         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30087
30088 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30089
30090         * po/ja.po: Update from translation team.
30091
30092         [BZ #13144]
30093         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30094         kernel in 64-bit binaries.
30095
30096 2011-09-01  David S. Miller  <davem@davemloft.net>
30097
30098         * elf/elf.h (HWCAP_SPARC_*): Move to..
30099         * sysdeps/sparc/sysdep.h: this new file and add new values.
30100         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30101         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30102         _DL_HWCAP_COUNT to 24.
30103         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30104         entries.
30105         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30106         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30107         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30108         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30109         instead of magic constants.
30110         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30111
30112 2011-08-31  David S. Miller  <davem@davemloft.net>
30113
30114         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30115         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30116         Reimplement to do errno handling inline.
30117         (SYSCALL_ERROR_HANDLER): New macro.
30118         (__SYSCALL_STRING): Do not do errno handling in asm.
30119         (__CLONE_SYSCALL_STRING): Delete.
30120         (__INTERNAL_SYSCALL_STRING): Delete.
30121         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30122         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30123         (PSEUDO): Reimplement to do errno handling inline.
30124         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30125         (SYSCALL_ERROR_HANDLER): New macro.
30126         (__SYSCALL_STRING): Do not do errno handling in asm.
30127         (__CLONE_SYSCALL_STRING): Delete.
30128         (__INTERNAL_SYSCALL_STRING): Delete.
30129         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30130         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30131         i386.
30132         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30133         (inline_syscall*): Add 'err' argument.
30134         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30135         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30136         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30137         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30138
30139         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30140         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30141
30142 2011-08-30  Andreas Schwab  <schwab@redhat.com>
30143
30144         * elf/rtld.c (dl_main): Relocate objects in dependency order.
30145
30146 2011-08-29  Jiri Olsa <jolsa@redhat.com>
30147
30148         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30149         directive.
30150
30151 2011-08-24  David S. Miller  <davem@davemloft.net>
30152
30153         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30154
30155 2011-08-24  Andreas Schwab  <schwab@redhat.com>
30156
30157         * elf/Makefile: Add rules to build and run unload8 test.
30158         * elf/unload8.c: New file.
30159         * elf/unload8mod1.c: New file.
30160         * elf/unload8mod1x.c: New file.
30161         * elf/unload8mod2.c: New file.
30162         * elf/unload8mod3.c: New file.
30163
30164         * elf/dl-close.c (_dl_close_worker): Reset private search list if
30165         it wasn't used.
30166
30167 2011-08-23  David S. Miller  <davem@davemloft.net>
30168
30169         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30170         subtract stack bias.
30171         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30172         %sp not %fp in calculations.
30173         (_JMPBUF_UNWINDS_ADJ): Likewise.
30174
30175         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30176         (aio_suspend): Call it to force an exception region around the
30177         AIO_MISC_WAIT() invocation.
30178
30179 2011-08-23  Andreas Schwab  <schwab@redhat.com>
30180
30181         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30182         backslash.
30183
30184 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
30185
30186         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30187         protection macro.
30188         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30189         and <dl-machine.h>.
30190         (Elf64_FuncDesc): Remove.
30191
30192 2011-08-22  David S. Miller  <davem@davemloft.net>
30193
30194         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30195         sigaltstack check, add missing cfi directives.
30196         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30197         missing cfi directives, and sigaltstack handling.
30198
30199 2011-08-16  Andreas Schwab  <schwab@redhat.com>
30200
30201         [BZ #11724]
30202         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30203         object is seen twice.
30204         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30205
30206         * elf/Makefile (distribute): Add tst-initorder2.c.
30207         (tests): Add tst-initorder2.
30208         (modules-names): Add tst-initorder2a tst-initorder2b
30209         tst-initorder2c tst-initorder2d.  Add rules to build them.
30210         ($(objpfx)tst-initorder2.out): New rule.
30211         * elf/tst-initorder2.c: New file.
30212         * elf/tst-initorder2.exp: New file.
30213
30214 2011-08-22  Andreas Schwab  <schwab@redhat.com>
30215
30216         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30217
30218         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30219         dependencies back to end of function.
30220
30221         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30222         $(elfobjdir)/ld.so.
30223
30224 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
30225
30226         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30227         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30228         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30229         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30230         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30231         of __vdso_gettimeofday.
30232         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30233         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
30234         attribute_hidden.
30235         (_libc_vdso_platform_setup): Remove initialization of
30236         __vdso_gettimeofday and __vdso_time.
30237
30238 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30239
30240         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30241         and fgetc_unlocked.
30242         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30243         getc_unlocked.
30244
30245         * elf/dl-open.c (add_to_global): Report additions to the global scope
30246         for LD_DEBUG=scopes.
30247         (dl_open_worker): Also print scope of newly loaded dependencies.
30248         (_dl_show_scope): Indicate if there is no scope.
30249
30250         [BZ #13114]
30251         * stdio-common/Makefile (tests): Add bug24.
30252         * stdio-common/bug24.c: New file.
30253
30254 2011-08-19  Andreas Jaeger  <aj@suse.de>
30255
30256         [BZ #13114]
30257         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30258         non-existant file when using close-on-exec mode.
30259
30260 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30261
30262         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30263         the very first instruction.
30264
30265         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30266         the CFI state in the end.
30267         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30268         inclusion of dl-trampoline.h.
30269         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30270
30271 2011-08-19  Andreas Schwab  <schwab@redhat.com>
30272
30273         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30274         expectations for long double.
30275
30276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30277         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30278
30279 2011-08-14  David S. Miller  <davem@davemloft.net>
30280
30281         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30282         artificual limit depends upon the system page size.
30283
30284 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
30285
30286         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30287         * resolv/Makefile: Define CFLAGS-libresolv.
30288
30289 2011-08-17  Andreas Schwab  <schwab@redhat.com>
30290
30291         * nss/makedb.c (compute_tables): Make variables used in nested
30292         function static.
30293
30294 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
30295
30296         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30297         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30298         if buffer was too small.
30299
30300         * elf/pldd.c (main): Attach to all threads in the process.
30301         Rewrite /proc handling to use *at functions.
30302
30303 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
30304
30305         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30306         specifies first scope to show.
30307         (dl_open_worker): Update callers.  Move printing scope of new
30308         object to before the relocation.
30309         * elf/rtld.c (dl_main): Update _dl_show_scope call.
30310         * sysdeps/generic/ldsodefs.h: Update declaration.
30311
30312         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30313         string for the scope number.
30314
30315 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
30316
30317         * nscd/servicescache.c (cache_addserv): Make sure written is always
30318         initialized.
30319
30320 2011-08-14  Roland McGrath  <roland@hack.frob.com>
30321
30322         * sysdeps/i386/i486/bits/atomic.h
30323         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30324         statement expression, so as to suppress "set but not used" warning.
30325         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30326
30327         * string/strncat.c (STRNCAT): Use prototype definition.
30328
30329         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30330         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30331         -Iprograms here.
30332         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30333         (localedef-modules): Add localedef.
30334         (locale-modules): Add locale.
30335
30336         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30337         * elf/rtld.c (dl_main): Invert order of assignment in last change,
30338         to avoid a warning.
30339
30340 2011-08-14  David S. Miller  <davem@davemloft.net>
30341
30342         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30343         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30344
30345 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
30346
30347         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30348         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30349         * elf/rtld.c (dl_main): Set l_name of vDSO.
30350         Call _dl_show_scope when DL_DEBUG_SCOPES.
30351         (process_dl_debug): Recognize scopes flag and also set it for all.
30352         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30353         Declare _dl_show_scope.
30354
30355         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30356         (do_dlopen): Pass caller_dlopen to dl_open.
30357         (__libc_dlopen_mode): Initialize caller_dlopen.
30358
30359         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30360         of libc.  Make tolower call locale-independent.  Optimize a bit by
30361         using isdigit instead of isalnum.
30362         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30363
30364 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
30365
30366         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30367         was a dependency or dynamically loaded.
30368
30369 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
30370
30371         * intl/l10nflist.c: Allow architecture-specific pop function.
30372         * sysdeps/x86_64/l10nflist.c: New file.
30373
30374         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30375         classification.
30376
30377 2011-08-10  Andreas Schwab  <schwab@redhat.com>
30378
30379         * include/dirent.h: Add libc_hidden_proto for scandirat and
30380         scandirat64.  Don't declare __scandirat64.
30381         * dirent/scandirat.c: Add libc_hidden_def.
30382         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30383         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30384
30385 2011-08-10  David S. Miller  <davem@davemloft.net>
30386
30387         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30388         enum.
30389         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30390         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30391         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30392
30393 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
30394
30395         * Versions.def [libc]: Add GLIBC_2.15.
30396         * dirent/Makefile (routines): Add scandirat and scandirat64.
30397         * dirent/Versions [libc]: Export scandirat and scandirat64 for
30398         GLIBC_2.15.
30399         * dirent/dirent.h: Declare scandirat and scandirat64.
30400         * dirent/scandirat.c: New file.
30401         * dirent/scandirat64.c: New file.
30402         * sysdeps/wordsize-64/scandirat.c: New file.
30403         * sysdeps/wordsize-64/scandirat64.c: New file.
30404         * dirent/opendir.c: Define opendirat.
30405         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
30406         using scandirat.
30407         * dirent/scandir64.c: Adjust for scandir.c change.
30408         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
30409         __scandirat64, and __scandir_cancel_handler.
30410         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
30411         additional parameter and use openat instead of open (outside of ld.so).
30412         Add new __opendir as wrapper around __opendirat.
30413         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30414         here without requiring old scandirat implementation.
30415
30416 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
30417
30418         * dirent/scandir.c (cancel_handler): Renamed to
30419         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
30420         defined.  Adjust users.
30421         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30422         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30423
30424 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
30425
30426         * string/test-string.h (IMPL): Use __STRING to expand name and then
30427         stringify it.
30428
30429         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
30430         of cleanups.
30431
30432 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30433
30434         * string/Makefile: Update.
30435         (strop-tests): Append strncat.
30436         * string/test-wcscmp.c: New file.
30437         New comprehensive test for wcscmp.
30438         * string/test-strcmp.c: Update.
30439         (WIDE): New define.
30440
30441 2011-07-22  Andreas Schwab  <schwab@redhat.com>
30442
30443         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30444         line.
30445
30446 2011-07-26  Andreas Schwab  <schwab@redhat.com>
30447
30448         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30449         encoding to ACE if AI_IDN.
30450
30451 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
30452
30453         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30454         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30455
30456 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30457
30458         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30459         Fix overflow bug in strncat.
30460         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30461
30462         * string/test-strncat.c: Update.
30463         Add new tests for checking overflow bugs.
30464
30465 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30466
30467         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30468         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30469         * sysdeps/i386/i686/multiarch/strcat.S: New file.
30470         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30471         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30472         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30473         * sysdeps/i386/i686/multiarch/strncat.S: New file.
30474         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30475         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30476
30477         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30478         (USE_AS_STRCAT): Define.
30479         Add strcat and strncat support.
30480         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30481
30482 2011-07-25  Andreas Schwab  <schwab@redhat.com>
30483
30484         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30485         __n bigger than INT_MAX+1.
30486         (__strncmp_g): Likewise.
30487
30488 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
30489
30490         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30491         * libio/stido.h: Likewise.
30492
30493         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30494         (AF_NFC): Define.
30495         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30496         (AF_NFC): Define.
30497
30498         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30499         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30500         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30501         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30502         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30503
30504         [BZ #13021]
30505         * scripts/test-installation.pl: Don't expect libnss_test1 to be
30506         installed.
30507
30508         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30509         typo.
30510         (_dl_x86_64_save_sse): Likewise.
30511
30512 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
30513
30514         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30515         OSXSAVE.
30516         (_dl_x86_64_save_sse): Likewise.
30517
30518         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30519
30520         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30521
30522 2011-07-21  Andreas Schwab  <schwab@redhat.com>
30523
30524         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30525         change.
30526         (_dl_x86_64_save_sse): Use correct AVX check.
30527
30528 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30529
30530         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30531         bug in strncpy/strncat.
30532         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30533
30534 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
30535
30536         * string/tester.c (test_strcat): Add tests for different alignments
30537         of source and destination.
30538         (test_strncat): Likewise.
30539
30540 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
30541
30542         [BZ #12852]
30543         * posix/glob.c (glob): Check passed in values before using them in
30544         expressions to avoid some overflows.
30545         (glob_in_dir): Likewise.
30546
30547         [BZ #13007]
30548         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30549         check for AVX enablement so that we don't crash with old kernels and
30550         new hardware.
30551         * elf/tst-audit4.c: Add same checks here.
30552         * elf/tst-audit6.c: Likewise.
30553
30554         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30555
30556 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
30557
30558         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30559
30560 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
30561
30562         * po/cs.po: Update from translation team.
30563         * po/bg.po: Likewise.
30564
30565 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
30566
30567         * misc/sys/cdefs.h: Add support for const attribute.
30568         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30569         to gnu_dev_{major,minor,makedev} functions.
30570
30571 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
30572
30573         * intl/dcigettext.c (get_output_charset): Add missing bracket.
30574
30575 2011-07-20  Andreas Schwab  <schwab@redhat.com>
30576
30577         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30578         strlen results.
30579
30580 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30581
30582         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30583         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30584         register in order to avoid conflicts with the soft frame pointer
30585         being held in r11 when necessary.
30586         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30587         (INTERNAL_VSYSCALL_NCS): Likewise.
30588
30589 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
30590
30591         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30592         * elf/dl-fini.c (_dl_fini): Adjust caller.
30593         * elf/dl-close.c (_dl_close_worker): Likewise.
30594         * sysdeps/generic/ldsodefs.h: Adjust declaration.
30595
30596 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
30597
30598         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30599         "aux_cache->nlibs < 0".
30600
30601         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30602         in the reload-count case.
30603
30604 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30605
30606         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30607         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30608         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30609         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30610         * sysdeps/x86_64/multiarch/strcat.S: New file.
30611         * sysdeps/x86_64/multiarch/strncat.S: New file.
30612         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30613         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30614         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30615         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30616         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30617         (USE_AS_STRCAT): Define.
30618         Add strcat and strncat support.
30619         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30620         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30621         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30622         * string/strncat.c: Update.
30623         (USE_AS_STRNCAT): Define.
30624         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30625         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30626         and i7.
30627         * sysdeps/x86_64/multiarch/init-arch.h
30628         (bit_Prefer_PMINUB_for_stringop): New.
30629         (index_Prefer_PMINUB_for_stringop): Likewise.
30630         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30631         bit_Prefer_PMINUB_for_stringop.
30632
30633 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
30634
30635         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30636         buffer64.
30637         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30638         of casting of buffer.
30639         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30640         buffer32 and buffer64.
30641         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30642         writes instead of casting of buffer.
30643         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30644         buffer32.
30645         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30646         casting of buffer.
30647
30648 2011-07-19  Andreas Schwab  <schwab@redhat.com>
30649
30650         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30651
30652 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
30653
30654         * nscd/nscd.c (termination_handler): Don't do anything for a database
30655         if it has not yet been initialized.
30656
30657 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
30658
30659         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30660
30661 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
30662
30663         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30664
30665 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
30666
30667         * po/nl.po: Update from translation team.
30668         * po/sv.po: Likewise.
30669
30670 2011-07-16  Roland McGrath  <roland@hack.frob.com>
30671
30672         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30673         now disallowed by GCC.
30674
30675         * configure.in (use-default-link): Default to yes if a test -shared
30676         link meets our qualifications.
30677         * configure: Regenerated.
30678
30679         * config.make.in (output-format): New variable.
30680         * configure.in: Check for ld --print-output-format support.
30681         * configure: Regenerated.
30682         * Makerules ($(common-objpfx)format.lds)
30683         [$(output-format) != unknown]: Just use $(output-format),
30684         instead of the linker-script munging.
30685
30686 2011-07-14  Roland McGrath  <roland@hack.frob.com>
30687
30688         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30689         of $(common-objpfx)shlib.lds.
30690         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30691
30692         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30693         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30694
30695         * configure.in (-z relro check): Adjust test code to add a large
30696         writable data section after it.
30697         * configure: Regenerated.
30698
30699 2011-07-11  Roland McGrath  <roland@hack.frob.com>
30700
30701         * configure.in (-z relro check): Fix test code to make the variable
30702         truly const.
30703         * configure: Regenerated.
30704
30705 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
30706
30707         * nscd/nscd.h (struct traced_file): Define.
30708         (struct database_dyn): Remove inotify_descr, reset_res, and filename
30709         elements.  Add traced_files.
30710         (inotify_fd): Declare.
30711         (register_traced_file): Declare.
30712         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30713         (inotify_fd): Export.
30714         (resolv_conf_descr): Remove.
30715         (nscd_init): Move inotify descriptor creation to main.
30716         Don't register files for notification here.
30717         (register_traced_file): New function.
30718         (invalidate_cache): Don't use reset_res to determine whether to call
30719         res_init, go through the list of registered files.
30720         (main_loop_poll): The inotify descriptors are now stored in the
30721         structures for the traced files.
30722         (main_loop_epoll): Likewise
30723         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
30724         to __nss_disable_nscd.
30725         * nscd/cache.c (prune_cache): There is no single inotify descriptor
30726         for a database anymore.  Check the records for all the registered
30727         files instead.
30728         * nss/Makefile (libnss_files-routines): Add files-init.
30729         (libnss_db-routines): Add db-init.
30730         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30731         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30732         * nss/nss_db/db-init.c: New file.
30733         * nss/nss_files/files-init.c: New file.
30734         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
30735         __nss_lookup_function.
30736         (__nss_lookup_function): Call nss_load_library.
30737         (nss_load_all_libraries): New function.
30738         (__nss_disable_nscd): Take parameter with callback function for files
30739         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
30740         used for the cached services.
30741         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30742         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30743         options for features to all the files in nscd.
30744
30745         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30746
30747 2011-07-10  Roland McGrath  <roland@hack.frob.com>
30748
30749         * csu/elf-init.c (__libc_csu_init): Comment typo.
30750
30751 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
30752
30753         * po/pl.po: Update from translation team.
30754         * po/ja.po: Likewise.
30755         * po/ru.po: Likewise.
30756         * po/ko.po: Likewise.
30757         * po/fr.po: Likewise.
30758
30759 2011-07-09  Roland McGrath  <roland@hack.frob.com>
30760
30761         * configure.in (.ctors/.dtors header and trailer check):
30762         Use an empirical test on a built program.
30763         * configure: Regenerated.
30764
30765         * configure.in (-z relro check): Use an empirical test on a built DSO.
30766         Detect, but do not require, on ia64.
30767         * configure: Regenerated.
30768
30769         * configure.in (READELF): Find it with AC_CHECK_TOOL.
30770         Update tests that use readelf to use $READELF instead.
30771         * configure: Regenerated.
30772
30773 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
30774
30775         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30776         if the result is not used.
30777
30778 2011-07-05  Andreas Jaeger  <aj@suse.de>
30779
30780         [BZ#9696]
30781         * stdlib/tst-strtod.c: Add testcase.
30782
30783 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
30784
30785         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30786         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30787         The latter has a higher limit.  Take additional parameter to pass to
30788         the new function.
30789         (__pathconf): Pass file to __statfs_link_max.
30790         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30791         __statfs_link_max.
30792         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30793         __statfs_link_max.
30794
30795         [BZ #12868]
30796         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30797         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30798         Handle Lustre.
30799         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30800         (__statfs_filesize_max): Likewise.
30801         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30802
30803 2011-07-05  Andreas Jaeger  <aj@suse.de>
30804
30805         * resolv/res_comp.c (dn_skipname): Remove unused variable.
30806
30807 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
30808
30809         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30810         `status' variable.
30811         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30812         Likewise.
30813
30814 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
30815
30816         * Makefile (strop-tests): Add strncat.
30817         * string/test-strncat.c: New file.
30818
30819 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
30820
30821         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30822
30823 2011-06-21  Andreas Jaeger  <aj@suse.de>
30824
30825         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30826         Copy rule from iconvdata/Makefile.
30827
30828 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30829
30830         [BZ #12922]
30831         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30832         but no long options are defined, just return 'W'.
30833
30834 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
30835
30836         [BZ #9696]
30837         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30838
30839 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30840
30841         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30842         netgroups to read.
30843         (innetgr): Likewise.
30844
30845 2011-07-05  Roland McGrath  <roland@hack.frob.com>
30846
30847         * config.make.in (install_root): Default to $(DESTDIR).
30848
30849 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
30850
30851         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30852
30853 2011-07-02  Roland McGrath  <roland@hack.frob.com>
30854
30855         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30856
30857         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30858         containing directory rather than embedding absolute directory names.
30859
30860         * scripts/check-local-headers.sh: Rewritten using awk.
30861         Match by word, not by line.  Print error messages for matches.
30862         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30863
30864         * Makerules [shlib-lds-flags empty]:
30865         ($(common-objpfx)libc_pic.opts): New target.
30866         ($(common-objpfx)libc_pic.os.clean): New target.
30867         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30868
30869         * config.make.in (OBJCOPY): New variable.
30870         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30871         * configure: Regenerated.
30872
30873         * config.make.in (use-default-link): New variable.
30874         * configure.in (use_default_link): Grok --with-default-link to set it.
30875         * configure: Regenerated.
30876         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30877         (shlib-lds, shlib-lds-flags): Define to empty.
30878
30879         * Makerules (shlib-lds): New variable.
30880         (shlib-lds-flags): New variable.
30881         (build-shlib, build-moduile, build-module-asneeded): Use it.
30882         ($(common-objpfx)libc.so): Use $(shlib-lds).
30883         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30884         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30885
30886         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30887         DT_FLAGS/DT_FLAGS_1 with zero flags.
30888
30889         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30890         linker script munging.
30891
30892 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
30893
30894         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30895         as 128-bit value.
30896         * crypt/sha512.c (sha512_process_block): Perform total addition using
30897         128-bit if possible.
30898         (__sha512_finish_ctx): Likewise.
30899         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30900         as 64-bit value.
30901         * crypt/sha256.c (SWAP64): Define.
30902         (sha256_process_block): Perform total addition using 64-bit if
30903         possible.
30904         (__sha256_finish_ctx): Likewise.
30905
30906 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
30907
30908         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
30909         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30910         * nscd/hstcache.c (cache_addhst): Likewise.
30911         * nscd/grpcache.c (cache_addgr): Likewise.
30912         * nscd/aicache.c (addhstaiX): Likewise
30913         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30914
30915 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
30916
30917         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30918         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30919         * nscd/hstcache.c (cache_addhst): Likewise.
30920         * nscd/grpcache.c (cache_addgr): Likewise.
30921         * nscd/aicache.c (addhstaiX): Likewise
30922
30923 2011-07-01  Andreas Schwab  <schwab@redhat.com>
30924
30925         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30926         domain only when needed.
30927
30928 2011-06-30  Andreas Schwab  <schwab@redhat.com>
30929
30930         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30931         is always restored.
30932
30933 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
30934
30935         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30936         are re-adding the entry.
30937         * nscd/servicescache.c (cache_addserv): Likewise.
30938
30939 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
30940
30941         * sysdeps/generic/dl-irel.h: fix protection against multiple
30942         inclusions.
30943         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30944
30945 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
30946
30947         [BZ #12935]
30948         * malloc/memusage.sh: Fix quoting in message.
30949         * debug/xtrace.sh: Likewise.
30950
30951         * configure.in: Remove support for --experimental-malloc option, make
30952         it the default.
30953         * config.make.in: Likewise.
30954         * malloc/Makefile: Likewise.
30955
30956 2011-06-27  Andreas Schwab  <schwab@redhat.com>
30957
30958         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30959         two-byte characters.
30960
30961 2011-06-27  Roland McGrath  <roland@hack.frob.com>
30962
30963         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30964         AC_CACHE_CHECK invocation.
30965         * configure: Regenerated.
30966
30967         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30968
30969 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
30970
30971         [BZ #12350]
30972         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
30973         bit from old_res_options.
30974
30975         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30976
30977         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30978         value type for setfct.
30979
30980 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
30981
30982         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30983         __gettimeofday instead of gettimeofday.
30984
30985 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
30986
30987         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30988
30989 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30990
30991         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30992
30993         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30994         info.
30995
30996 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
30997
30998         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30999         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31000         strcpy-sse2-unaligned strncpy-sse2-unaligned
31001         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31002         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31003         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31004         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31005         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31006         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31007         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31008         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31009         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31010         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31011         (STRCPY): Support SSE2 and SSSE3 versions.
31012
31013 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
31014
31015         [BZ #12874]
31016         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31017         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31018         kernels which artificially limit size of requests.
31019
31020 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31021
31022         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31023         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31024         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31025         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31026         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31027         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31028         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31029         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31030         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31031         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31032         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31033         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31034         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31035         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31036         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31037         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31038         Enable unaligned load optimization for Intel Core i3, i5 and i7
31039         processors.
31040         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31041         Define.
31042         (index_Fast_Unaligned_Load): Define.
31043         (HAS_FAST_UNALIGNED_LOAD): Define.
31044
31045 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
31046
31047         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31048
31049 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31050
31051         [BZ #12907]
31052         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31053         until it is clear that the information is realy needed.
31054         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31055
31056 2011-06-22  Andreas Schwab  <schwab@redhat.com>
31057
31058         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31059
31060 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31061
31062         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31063         /sys/devices/system/cpu/online if it is usable.
31064
31065         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31066         reading the information from the /proc filesystem to once a second.
31067
31068 2011-06-21  Andreas Jaeger  <aj@suse.de>
31069
31070         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31071         NULL after inclusion of kernel headers.
31072
31073 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
31074
31075         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31076         calls to internal_setent.
31077
31078         [BZ #12885]
31079         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31080         addresses using gethostbyname4_r ignore IPv4 addresses.
31081
31082         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31083         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
31084
31085         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31086
31087 2011-06-20  David S. Miller  <davem@davemloft.net>
31088
31089         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31090         inclusions.
31091         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31092
31093         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31094         (elf_irel): Use it.
31095         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31096         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31097         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31098         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31099         * sysdeps/x86_64/dl-irel.h: Likewise.
31100
31101         * elf/dl-runtime.c: Use elf_ifunc_invoke.
31102         * elf/dl-sym.c: Likewise.
31103
31104 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31105
31106         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
31107         need to dereference resplen2.
31108
31109 2011-06-14  Andreas Schwab  <schwab@redhat.com>
31110
31111         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31112
31113 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31114
31115         * Makeconfig: Define vardbdir and inst_vardbdir.
31116         * nss/Makefile: Add rules to install db-Makefile.
31117
31118         * nss/nss_db/db-XXX.c: Cleanup.
31119
31120         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31121         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31122         GLIBC_PRIVATE.
31123         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31124         * nss/makedb.c: Implement -g option to specify that value strings
31125         are generated and should not be added to table iterated over for
31126         get*ent calls.
31127         * nss/nss_db/db-initgroups.c: New file.
31128
31129         * nss/getent.c: Add support for initgroups lookups through getgrouplist
31130         interface.
31131
31132         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31133         (internal_getgrouplist): Adjust to name change.
31134         Update use_initgroups_entry if this is not the first call.
31135         * nss/databases.def: Add initgroups entry.
31136
31137         * nss/makedb.c (compute_tables): Check result of multiple hash table
31138         sizes to minimize maximum chain length.
31139
31140 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
31141
31142         * Versions.def: Add entry for libnss_db.
31143         * shlib-versions: Likewise.
31144         * nss/Makefile: Add rules to build libnss_db.
31145         * nss/Versions: Add libnss_db information.  Organize libnss_files
31146         entries better.
31147         * nss/db-Makefile: Add gshadow support.  Change rules for the new
31148         makedb progra.  Some minor improvements to generate smaller files.
31149         * nss/nss_db/nss_db.h: Move NSS database header data structures to
31150         here from...
31151         * nss/makedb.c: ...here.
31152         Improve database format to be smaller and require less memory at
31153         runtime.
31154         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
31155         db anymore.
31156         * nss/nss_db/db-netgrp.c: Likewise.
31157         * nss/nss_db/db-open.c: Likewise.
31158         * nss/nss_files/flies-XXX.x: Adjust comments.
31159         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31160         * nss/nss_files/files-grp.c: Likewise.
31161         * nss/nss_files/files-hosts.c: Likewise.
31162         * nss/nss_files/files-network.c: Likewise.
31163         * nss/nss_files/files-proto.c: Likewise.
31164         * nss/nss_files/files-pwd.c: Likewise.
31165         * nss/nss_files/files-rpc.c: Likewise.
31166         * nss/nss_files/files-service.c: Likewise.
31167         * nss/nss_files/files-sgrp.c: Likewise.
31168         * nss/nss_files/files-spwd.c: Likewise.
31169         * nss/nss_db/db-alias.c: Removed.
31170         * nss/nss_db/dummy-db.h: Removed.
31171
31172 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
31173
31174         * nss/makedb.c: Rewritten to not use database library.
31175         * nss/Makefile: Update to build new makedb program.
31176
31177 2011-06-14  Andreas Jaeger  <aj@suse.de>
31178
31179         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31180         memset declaration.
31181
31182 2011-06-10  Andreas Schwab  <schwab@redhat.com>
31183
31184         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31185         tmpbuf.
31186
31187 2011-06-10  Roland McGrath  <roland@hack.frob.com>
31188
31189         * Makerules (shlib.lds): Fail if the linker script comes out empty.
31190         * elf/Makefile ($(objpfx)ld.so): Likewise.
31191
31192         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31193         Don't list ld.so twice in dependencies.
31194
31195         * posix/bug-regex31.c: Include <stdlib.h>.
31196
31197         * nscd/hstcache.c (cache_addhst): Remove unused variable.
31198
31199         * nis/nss_compat/compat-spwd.c
31200         (getspent_next_nss_netgr): Remove unused variable.
31201         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31202
31203         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31204         nonmembers" output to use the right array.
31205
31206         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31207
31208         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31209
31210         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31211         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31212         * catgets/gencat.c (read_input_file): Likewise.
31213         * locale/programs/locarchive.c (enlarge_archive): Likewise.
31214
31215         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31216         variable definition inside #if's controlling its use.
31217
31218         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31219
31220         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31221
31222         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31223
31224         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31225         unreachable code.
31226
31227         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31228
31229         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31230         * configure: Regenerated.
31231
31232         * Makerules: Revert last change.
31233         * elf/Makefile: Likewise.
31234
31235 2011-06-09  Roland McGrath  <roland@hack.frob.com>
31236
31237         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31238         * elf/Makefile ($(objpfx)librtld.os): Likewise.
31239         (reloc-link): Likewise.
31240
31241 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
31242
31243         * elf/Makefile: Add rules to build pldd.
31244         * elf/pldd.c: New file.
31245         * elf/pldd-xx.c: New file.
31246
31247 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
31248
31249         * version.h: Update for 2.15 development version.
31250
31251 2011-06-07  David S. Miller  <davem@davemloft.net>
31252
31253         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31254         ifuncs.
31255         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31256         elf_machine_lazy_rel): Likewise.
31257         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31258         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31259         elf_machine_lazy_rel): Likewise.
31260         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31261         dl_hwcap via passed in argument.
31262         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31263         Likewise.
31264
31265 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31266
31267         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
31268
31269 2011-06-06  Roland McGrath  <roland@hack.frob.com>
31270
31271         [BZ #12849]
31272         * manual/fdl-1.1.texi: New file, verbatim from:
31273         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31274         * manual/lgpl-2.1.texi: New file, verbatim from:
31275         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31276         * manual/Makefile (licenses): New variable, list those new file names.
31277         (texis): Use it.
31278         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31279
31280         * manual/fdl.texi: File removed.
31281         * manual/lesser.texi: File removed.
31282         * manual/libc.texinfo (Copying, Documentation License):
31283         Use new @include file names, put @appendix directive before @include.
31284
31285 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
31286
31287         [BZ #12841]
31288         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31289         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31290         (mq_open): Add __NTH.
31291
31292 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
31293
31294         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31295         Assume Intel Core i3/i5/i7 processor if AVX is available.
31296
31297 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31298
31299         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31300         typo.
31301
31302 2011-05-31  Andreas Schwab  <schwab@redhat.com>
31303
31304         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31305         memory.  Use alloca_account.  Fix memory leak when retrying.
31306
31307 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31308
31309         * version.h (RELEASE): Bump for 2.14 release.
31310         * include/features.h (__GLIBC_MINOR__): Bump to 14.
31311
31312         * config.make.in (RANLIB): Remove entry.
31313
31314 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
31315
31316         * po/Makefile (po-sed-cmd): Add ksh to extensions.
31317         (libc.pot): Work around missing support for .ksh extension in xgettext.
31318
31319         [BZ #12684]
31320         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31321         if both request failed.
31322         (send_dg): In case of server errors clear resplen or *resplen2.
31323
31324         [BZ #12454]
31325         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31326         when there are multiple maps.
31327         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31328         (_dl_fini): Remove test here.
31329
31330         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31331
31332 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
31333
31334         [BZ #12350]
31335         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31336         bit from old_res_options.
31337         (gaih_inet): Likewise.
31338
31339         [BZ #11099]
31340         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31341         as signed.
31342
31343         * resolv/res_init.c (res_setoptions): Make the code more compact.
31344
31345         [BZ #11558]
31346         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31347         set RES_USEVC.
31348
31349         [BZ #11634]
31350         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31351
31352         * malloc/malloc.h: Mark malloc hook variables as deprecated.
31353
31354         [BZ #11781]
31355         * malloc/malloc.h: Declare malloc hook variables as volatile.
31356
31357         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31358         in last patch.
31359
31360         [BZ #11799]
31361         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31362         raise in the comment.
31363         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31364         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31365         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31366
31367 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
31368
31369         [BZ #12811]
31370         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31371         grow the buffers more if it already has to be sufficient.
31372         (build_wcs_upper_buffer): Likewise.
31373         * posix/regexec.c (check_matching): Likewise.
31374         (clean_state_log_if_needed): Likewise.
31375         (extend_buffers): Don't enlarge buffers beyond size of the input
31376         buffer.
31377         Patches mostly by Emil Wojak <emil@wojak.eu>.
31378         * posix/bug-regex32.c: New file.
31379         * posix/Makefile (tests): Add bug-regex32.
31380
31381         * locale/findlocale.c (_nl_find_locale): Return right away if
31382         _nl_explode_name failed.
31383         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31384
31385         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31386
31387         * debug/xtrace.sh: Unify messages.
31388         * malloc/memusage.sh: Likewise.
31389
31390         [BZ #12813]
31391         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31392         time symbol from vDSO.  Substitute with vsyscall if not available.
31393         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31394         __vdso_time.
31395
31396         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31397         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31398         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31399         Add sendmmsg and internal_sendmmsg.
31400         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31401         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31402         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31403
31404         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31405         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31406         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31407
31408 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
31409
31410         [BZ #12813]
31411         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31412         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
31413         available.
31414         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31415         __vdso_getcpu.
31416
31417         [BZ #12814]
31418         * iconvdata/Makefile (tests): Add bug-iconv9.
31419         * iconvdata/bug-iconv9.c: New file.
31420
31421 2011-05-27  Andreas Schwab  <schwab@redhat.com>
31422
31423         [BZ #12814]
31424         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31425
31426 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
31427
31428         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31429         (struct user_regs_struct): Change intcs field back to cs.
31430
31431 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
31432
31433         * po/ja.po: Update from translation team.
31434
31435 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
31436
31437         [BZ #12795]
31438         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31439         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31440
31441 2011-05-20  Andreas Schwab  <schwab@redhat.com>
31442
31443         * stdlib/longlong.h: Update from GCC.
31444
31445 2011-05-23  Andreas Schwab  <schwab@redhat.com>
31446
31447         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31448         parameter name.
31449         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31450         Add parameter name.
31451         (__sysconf): Pass it down.
31452
31453 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
31454
31455         [BZ #12671]
31456         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31457         some situations.
31458         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31459         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31460         add in in __libc_use_alloca calls.  Adjust callers.
31461         (glob): Use malloc in some situations.
31462
31463         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31464         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31465         pltexit.
31466
31467 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
31468
31469         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31470         and CLOCK_BOOTTIME_ALARM.
31471
31472         [BZ #12782]
31473         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31474         is returned.
31475
31476         * string/_strerror.c (__strerror_r): Print negative errors as signed
31477         numbers.
31478
31479         [BZ #12777]
31480         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31481         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31482         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31483
31484         * configure.in: Fix typo in redirection and correct removal of test
31485         files in two cases.
31486
31487         [BZ #12788]
31488         * locale/setlocale.c (new_composite_name): Fix test to check for
31489         identical name of all categories.
31490
31491         [BZ #12792]
31492         * libio/filedoalloc.c (local_isatty): New function.
31493         (_IO_file_doallocate): Use local_isatty.
31494         * stdio-common/perror.c (perror): In case a new stream is used
31495         forward the stream error.
31496         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31497         error flag.
31498
31499 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
31500
31501         [BZ #11869]
31502         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31503         alloca.
31504         * include/alloca.h (extend_alloca_account): Define.
31505
31506         [BZ #11857]
31507         * posix/regex.h: Fix comments with documentation of user-accessible
31508         fields after compilation and describe correct free'ing of pattern
31509         after re_compile_pattern.
31510         Patch by Reuben Thomas <rrt@sc3d.org>.
31511
31512 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
31513
31514         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31515         and -mno-altivec to prevent the compiler from using Altivec and/or
31516         VSX instructions when the corresponding registers are not available.
31517
31518 2011-05-19  Andreas Schwab  <schwab@redhat.com>
31519
31520         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31521
31522 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
31523
31524         * libio/freopen.c (freopen): Use __dup2, not dup2.
31525         * libio/freopen64.c (freopen64): Likewise.
31526
31527 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31528
31529         [BZ #12775]
31530         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31531         * math/Makefile (tests): Add test-powl.
31532         (CFLAGS-test-powl.c): Define.
31533         * math/test-powl.c: New file.
31534
31535 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31536
31537         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31538
31539 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
31540
31541         [BZ #11837]
31542         * iconvdata/gb18030.c: Update to GB18020-2005.
31543
31544 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
31545
31546         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31547         RE_SYNTAX_POSIX_AWK): Update to match recent development.
31548         Patch by Aharon Robbins <arnold@skeeve.com>.
31549
31550         [BZ #11892]
31551         * stdlib/putenv.c (putenv): Don't always create copy of the variable
31552         on the stack.
31553
31554         [BZ #11895]
31555         * misc/pselect.c (__pselect): Handle timeout value errors hidden
31556         through underflows.
31557
31558         [BZ #12766]
31559         * misc/error.c (error_at_line): Ensure file_name and old_file_name
31560         point to strings before performing equality test for error_one_per_line
31561         mode.
31562
31563         [BZ #11697]
31564         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31565
31566         [BZ #11820]
31567         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31568         (struct user_fpregs_struct): Avoid __uint*_t types.
31569
31570         [BZ #6420]
31571         * malloc/mtrace.c (tr_where): Add additional parameter to point to
31572         symbol info.  Use it instead of calling _dl_addr locally.
31573         (lock_and_info): New function.
31574         (tr_freehook): Call lock_and_info and pass symbol info as additional
31575         parameter to tr_where.
31576         (tr_mallochook): Likewise.
31577         (tr_reallochook): Likewise.
31578         (tr_memalignhook): Likewise.
31579
31580         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
31581         used and couldn't be at all thread-safe.
31582
31583 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
31584
31585         * libio/freopen.c (freopen): Don't close old file descriptor
31586         before the new one is opened.  Instead dup the new file descriptor
31587         to the old one after the new stream is created.
31588         * libio/freopen64.c (freopen64): Likewise.
31589         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31590         * libio/fileops.c (_IO_new_file_close_it): Handle new
31591         _IO_FLAGS2_NOCLOSE flag.
31592         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31593         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31594         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31595         _IO_FLAGS2_NOCLOSE flag.
31596         * include/unistd.h: Add hidden_proto for dup3.
31597         Define __have_dup3.
31598         * io/dup3.c: Define hidden symbol.
31599         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31600
31601         [BZ #7101]
31602         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31603         when an incomplete long option is used.
31604         * posix/tst-getopt_long1.c: New file.
31605         * posix/Makefile (tests): Add tst-getopt_long1.
31606
31607         [BZ #10138]
31608         * scripts/config.guess: Update from autoconf-2.68.
31609         * scripts/config.sub: Likewise.
31610
31611         [BZ #10157]
31612         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31613         tests into ...
31614         (has_cpuclock): ...this.  New function.
31615         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31616         macro here based on has_cpuclock code.
31617
31618         [BZ #10149]
31619         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31620         First byte (not low byte) is now always NUL.
31621         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31622
31623         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31624         Use non-cancelable interfaces.
31625
31626         [BZ #9809]
31627         * locale/iso-639.def: Add entry for Sorani.
31628
31629         [BZ #11901]
31630         * include/stdlib.h: Move include protection to the right place.
31631         Define abort_msg_s.  Declare __abort_msg with it.
31632         * stdlib/abort.c (__abort_msg): Adjust type.
31633         * assert/assert.c (__assert_fail_base): New function.  Majority
31634         of code from __assert_fail.  Allocate memory for __abort_msg with
31635         mmap.
31636         (__assert_fail): Now call __assert_fail_base.
31637         * assert/assert-perr.c: Remove bulk of implementation.  Use
31638         __assert_fail_base.
31639         * include/assert.hL Declare __assert_fail_base.
31640         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31641         mmap.
31642         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31643
31644 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
31645
31646         [BZ #11952]
31647         [BZ #12453]
31648         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31649         until all modules are registered in the DTV.
31650         * elf/Makefile: Add rules to build and run tst-tls19.
31651         * elf/tst-tls19.c: New file.
31652         * elf/tst-tls19mod1.c: New file.
31653         * elf/tst-tls19mod2.c: New file.
31654         * elf/tst-tls19mod3.c: New file.
31655         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31656
31657         [BZ #12083]
31658         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31659         correctly.
31660
31661         [BZ #12601]
31662         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31663         two-byte sequence errors.
31664         * iconvdata/Makefile (tests): Add bug-iconv8.
31665         * iconvdata/bug-iconv8.c: New file.
31666
31667         [BZ #12626]
31668         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31669         buf2 definition.
31670
31671         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31672
31673         [BZ #12432]
31674         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31675         (dummy_getcfa): New function.
31676         (init): Get _Unwind_GetCFA address, use dummy if not found.
31677         (backtrace_helper): In recursion check, also check whether CFA changes.
31678         (__backtrace): Completely initialize arg.
31679
31680         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31681         storing incomplete byte sequence in state object.  Avoid testing for
31682         guaranteed too small input if we know there is enough data available.
31683
31684 2011-05-11  Andreas Schwab  <schwab@redhat.com>
31685
31686         * Makeconfig (+link-pie): Indent.
31687         * Rules (binaries-pie): Define if $(have-fpie) and
31688         $(build-shared).
31689         (binaries-shared): Also filter out $(binaries-pie).
31690         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31691         * nscd/Makefile (others-pie): Add nscd.
31692         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31693         ($(objpfx)nscd): Remove command override.
31694         * login/Makefile (others-pie): Add pt_chown.
31695         ($(objpfx)pt_chown): Remove command override.
31696         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31697         remove command overrides.
31698
31699 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
31700
31701         * libio/tst_putwc.c: Fix error messages.
31702
31703         [BZ #12724]
31704         * libio/fileops.c (_IO_new_file_close_it): Always flush when
31705         currently writing and seek to current position when not.
31706         * libio/Makefile (tests): Add bug-fclose1.
31707         * libio/bug-fclose1.c: New file.
31708
31709 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
31710
31711         [BZ #12511]
31712         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31713         don't set DF_1_NODELETE here.
31714         (do_lookup_x): When entering new entry test for copy relocation
31715         and if necessary set DF_1_NODELETE flag.
31716         * elf/tst-unique4.cc: New file.
31717         * elf/tst-unique4.h: New file.
31718         * elf/tst-unique4lib.cc: New file.
31719         * elf/Makefile: Add rules to build and run tst-unique4.
31720         Patch by Piotr Bury <pbury@goahead.com>.
31721
31722 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
31723
31724         [BZ #12052]
31725         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31726
31727         [BZ #12625]
31728         * misc/mntent_r.c (addmntent): Flush the stream after the output
31729
31730         [BZ #12393]
31731         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31732         (is_trusted_path_normalize): Skip initial colon.  Append slash
31733         to empty buffer.  Duplicate is_trusted_path code but allow
31734         constructed patch to be prefix.
31735         (is_dst): Allow $ORIGIN followed by /.
31736         (_dl_dst_substitute): Correct clearing of check_for_trusted.
31737         Correct testing of result of is_trusted_path_normalize
31738         (decompose_rpath): Fix warning.
31739
31740 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
31741
31742         [BZ #11257]
31743         * grp/initgroups.c (internal_getgrouplist): When we found the service
31744         list through the initgroups entry in nsswitch.conf do not always
31745         continue on a successful lookup.  Don't always use the
31746         __nss_group_database value if it is set.
31747         * nss/nsswitch.conf (initgroups): Change action for successful db
31748         lookup to continue for compatibility.
31749
31750 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
31751
31752         [BZ #11532]
31753         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31754         and CP774 modules.
31755         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31756         and CP774 modules.
31757         * iconvdata/tst-tables.sh: Likewise.
31758         * iconvdata/cp770.c: New file.
31759         * iconvdata/cp771.c: New file.
31760         * iconvdata/cp772.c: New file.
31761         * iconvdata/cp773.c: New file.
31762         * iconvdata/cp774.c: New file.
31763         * iconvdata/testdata/CP770: New file.
31764         * iconvdata/testdata/CP770..UTF8: New file.
31765         * iconvdata/testdata/CP771: New file.
31766         * iconvdata/testdata/CP771..UTF8: New file.
31767         * iconvdata/testdata/CP772: New file.
31768         * iconvdata/testdata/CP772..UTF8: New file.
31769         * iconvdata/testdata/CP773: New file.
31770         * iconvdata/testdata/CP773..UTF8: New file.
31771         * iconvdata/testdata/CP774: New file.
31772         * iconvdata/testdata/CP774..UTF8: New file.
31773
31774         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31775         END CHARMAP line.
31776         * iconvdata/gen-8bit-gap.sh: Likewise.
31777         * iconvdata/gen-8bit.sh: Likewise.
31778
31779         * locale/iso-639.def: Add ary entry.
31780
31781         [BZ #11258]
31782         * locale/C-translit.h.in: Add U20A1 transliteration.
31783
31784         [BZ #12178]
31785         * locale/iso-639.def: Add wae entry.
31786         Patch by Kevin Bortis <bortis@translate-wae.ch>.
31787
31788         [BZ #12545]
31789         * locale/programs/localedef.c (construct_output_path): Use ssize_t
31790         for n.
31791
31792         [BZ #12711]
31793         * locale/C-translit.h.in: Add entry for U20B9.
31794         Patch by pravin.d.s@gmail.com.
31795
31796 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
31797
31798         [BZ #12713]
31799         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31800         ENAMETOOLONG use generic getcwd.
31801         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
31802         in rtld.  Use *stat64.
31803         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31804         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31805         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31806         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31807         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31808         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31809         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31810         __fstatat64 macros.
31811         * include/dirent.h: Add libc_hidden_proto for rewinddir.
31812         * dirent/rewinddir.c: Add libc_hidden_def.
31813         * sysdeps/mach/hurd/rewinddir.c: Likewise.
31814         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
31815
31816         * include/dirent.h (__alloc_dir): Add flags parameter.
31817         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31818         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31819         __alloc_dir.
31820         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
31821         from fdopendir if O_CLOEXEC is already set.
31822
31823 2011-03-15  Alan Modra  <amodra@gmail.com>
31824
31825         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31826         l_tls_firstbyte_offset non-zero.  Save padding offset in
31827         l_tls_firstbyte_offset for later use.
31828         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31829         freeing static tls block.
31830
31831 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
31832
31833         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31834         where #ifdef was intended.  The intent is to prevent ARG_MAX from
31835         being defined by the kernel headers.
31836
31837 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
31838
31839         [BZ #12734]
31840         * resolv/resolv.h: Define RES_NOTLDQUERY.
31841         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31842         no-tld-query and set RES_NOTLDQUERY.
31843         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31844         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31845         modern BIND to search name as TLD unless forbidden.
31846
31847 2011-05-07  Petr Baudis  <pasky@suse.cz>
31848             Ulrich Drepper  <drepper@gmail.com>
31849
31850         [BZ #12393]
31851         * elf/dl-load.c (fillin_rpath): Move trusted path check...
31852         (is_trusted_path): ...to here.
31853         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31854         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31855         using is_trusted_path_normalize() in setuid scripts.
31856
31857 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31858
31859         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31860         __BEGIN/__END_DECLS.
31861
31862 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
31863
31864         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31865         NSS_STATUS_NOTFOUND if no record was found.
31866
31867 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31868
31869         * sunrpc/Makefile (headers): Add rpc/netdb.h.
31870         (headers-not-in-tirpc): Remove rpc/netdb.h
31871         * resolv/netdb.h: Revert last change.
31872
31873 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31874
31875         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31876         circular dependency between libgcc.a and libc.a.
31877
31878 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31879
31880         * resolv/netdb.h: Don't include <rpc/netdb.h>.
31881         * nis/Makefile: Don't install rpcsvc/*.
31882         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31883         instead of <rpc/types.h>.
31884         (MAXHOSTNAMELEN): Define.
31885
31886 2011-05-03  Andreas Schwab  <schwab@redhat.com>
31887
31888         * elf/ldconfig.c (add_dir): Don't crash on empty path.
31889
31890 2011-04-28  Maciej Babinski  <mbabinski@google.com>
31891
31892         [BZ #12714]
31893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31894         gethostbyname4_r when IPv6 results are possible.
31895
31896 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
31897
31898         [BZ #12723]
31899         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31900         _PC_PIPE_BUF handling.
31901
31902 2011-04-30  Bruno Haible  <bruno@clisp.org>
31903
31904         [BZ #12717]
31905         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31906         * resolv/netdb.h (getnameinfo): Change type of flags parameter
31907         to 'int'.
31908         * inet/getnameinfo.c (getnameinfo): Likewise.
31909
31910 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
31911
31912         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31913         to groups setting in database lookup.
31914         * nss/nsswitch.conf: Add initgroups entry.
31915
31916 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
31917
31918         [BZ #12685]
31919         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31920         mode string.
31921         Patch by Eric Blake <eblake@redhat.com>.
31922
31923 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
31924
31925         * sunrpc/Makefile (need-export-routines): Add svc_run.
31926         (routines): Remove svc_run.
31927         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31928         * sunrpc/clnt_perr.c (clnt_perrno): Export.
31929         * sunrpc/svc_run.c (svc_run): Likewise.
31930         * sunrpc/svc_udp.c (svcudp_create): Likewise.
31931
31932 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
31933
31934         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31935         problem in reallocation in last patch.
31936
31937 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
31938
31939         * sunrpc/Makefile: Move inclusion of Rules.
31940
31941 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31942
31943         * nss/nss_files/files-initgroups.c: New file.
31944         * nss/Makefile (libnss_files-routines): Add files-initgroups.
31945         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31946         _nss_files_initgroups_dyn.
31947
31948 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
31949
31950         * elf/elf.h (R_ARM_IRELATIVE): Define.
31951
31952 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31953
31954         * po/ru.po: Update from translation team.
31955
31956 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31957
31958         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31959         dependencies.
31960
31961 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
31962
31963         [BZ #12653]
31964         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31965         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31966         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31967         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31968         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31969
31970 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
31971
31972         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31973         differing bytes.
31974         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31975         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31976         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31977
31978 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31979
31980         [BZ #12420]
31981         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31982         storing it.
31983         * stdlib/bug-getcontext.c: New file.
31984         * stdlib/Makefile: Add rules to build and run bug-getcontext.
31985
31986 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31987
31988         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31989         instructions into .machine "z9-109".
31990         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31991         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31992
31993 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31994
31995         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31996         between environment variables and auxiliary vector.
31997
31998 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
31999
32000         * Makefile: Add rules to build linkobj/libc.so.
32001         * include/libc-symbols.h: Define libc_hidden_nolink.
32002         * include/rpc/auth.h: Mark functions which are to be hidden.
32003         * include/rpc/auth_des.h: Likewise.
32004         * include/rpc/auth_unix.h: Likewise.
32005         * include/rpc/clnt.h: Likewise.
32006         * include/rpc/des_crypt.h: Likewise.
32007         * include/rpc/key_prot.h: Likewise.
32008         * include/rpc/pmap_clnt.h: Likewise.
32009         * include/rpc/pmap_prot.h: Likewise.
32010         * include/rpc/pmap_rmt.h: Likewise.
32011         * include/rpc/rpc_msg.h: Likewise.
32012         * include/rpc/svc.h: Likewise.
32013         * include/rpc/svc_auth.h: Likewise.
32014         * include/rpc/xdr.h: Likewise.
32015         * nis/Makefile: Link all DSOs against linkobj/libc.so.
32016         * nss/Makefile: Likewise.
32017         * sunrpc/Makefile: Don't install headers.  Build library with normal
32018         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
32019         * sunrpc/auth_des.c: Hide exported symbols by default, export some
32020         for the compat linking library.  Remove use of INTDEF/INTUSE.
32021         * sunrpc/auth_none.c: Likewise.
32022         * sunrpc/auth_unix.c: Likewise.
32023         * sunrpc/authdes_prot.c: Likewise.
32024         * sunrpc/authuxprot.c: Likewise.
32025         * sunrpc/clnt_gen.c: Likewise.
32026         * sunrpc/clnt_perr.c: Likewise.
32027         * sunrpc/clnt_raw.c: Likewise.
32028         * sunrpc/clnt_simp.c: Likewise.
32029         * sunrpc/clnt_tcp.c: Likewise.
32030         * sunrpc/clnt_udp.c: Likewise.
32031         * sunrpc/clnt_unix.c: Likewise.
32032         * sunrpc/des_crypt.c: Likewise.
32033         * sunrpc/des_soft.c: Likewise.
32034         * sunrpc/get_myaddr.c: Likewise.
32035         * sunrpc/key_call.c: Likewise.
32036         * sunrpc/key_prot.c: Likewise.
32037         * sunrpc/netname.c: Likewise.
32038         * sunrpc/pm_getmaps.c: Likewise.
32039         * sunrpc/pm_getport.c: Likewise.
32040         * sunrpc/pmap_clnt.c: Likewise.
32041         * sunrpc/pmap_prot.c: Likewise.
32042         * sunrpc/pmap_prot2.c: Likewise.
32043         * sunrpc/pmap_rmt.c: Likewise.
32044         * sunrpc/publickey.c: Likewise.
32045         * sunrpc/rpc_cmsg.c: Likewise.
32046         * sunrpc/rpc_common.c: Likewise.
32047         * sunrpc/rpc_dtable.c: Likewise.
32048         * sunrpc/rpc_prot.c: Likewise.
32049         * sunrpc/rpc_thread.c: Likewise.
32050         * sunrpc/rtime.c: Likewise.
32051         * sunrpc/svc.c: Likewise.
32052         * sunrpc/svc_auth.c: Likewise.
32053         * sunrpc/svc_authux.c: Likewise.
32054         * sunrpc/svc_raw.c: Likewise.
32055         * sunrpc/svc_run.c: Likewise.
32056         * sunrpc/svc_simple.c: Likewise.
32057         * sunrpc/svc_tcp.c: Likewise.
32058         * sunrpc/svc_udp.c: Likewise.
32059         * sunrpc/svc_unix.c: Likewise.
32060         * sunrpc/svcauth_des.c: Likewise.
32061         * sunrpc/xcrypt.c: Likewise.
32062         * sunrpc/xdr.c: Likewise.
32063         * sunrpc/xdr_array.c: Likewise.
32064         * sunrpc/xdr_float.c: Likewise.
32065         * sunrpc/xdr_intXX_t.c: Likewise.
32066         * sunrpc/xdr_mem.c: Likewise.
32067         * sunrpc/xdr_rec.c: Likewise.
32068         * sunrpc/xdr_ref.c: Likewise.
32069         * sunrpc/xdr_sizeof.c: Likewise.
32070         * sunrpc/xdr_stdio.c: Likewise.
32071
32072 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
32073
32074         [BZ #12650]
32075         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32076         * sysdeps/ia64/dl-tls.h: Likewise.
32077         * sysdeps/powerpc/dl-tls.h: Likewise.
32078         * sysdeps/s390/dl-tls.h: Likewise.
32079         * sysdeps/sh/dl-tls.h: Likewise.
32080         * sysdeps/sparc/dl-tls.h: Likewise.
32081         * sysdeps/x86_64/dl-tls.h: Likewise.
32082         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32083
32084 2011-03-14  Andreas Schwab  <schwab@redhat.com>
32085
32086         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32087         rpath element also skip the following colon.
32088         (expand_dynamic_string_token): Add is_path parameter and pass
32089         down to DL_DST_REQUIRED and _dl_dst_substitute.
32090         (decompose_rpath): Call expand_dynamic_string_token with
32091         non-zero is_path.  Ignore empty rpaths.
32092         (_dl_map_object_from_fd): Call expand_dynamic_string_token
32093         with zero is_path.
32094
32095 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
32096
32097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32098         Make cancelable.
32099
32100 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
32101
32102         [BZ #12655]
32103         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32104         Patch by Filipe David Manana <fdmanana@apache.org>.
32105
32106 2011-04-07  Andreas Schwab  <schwab@redhat.com>
32107
32108         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32109         Maintain aligned stack.
32110         (CHECK_RSP): Remove unused macro.
32111
32112 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
32113
32114         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32115         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32116
32117 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
32118
32119         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32120
32121         * include/features.h: Mention __USE_XOPEN2K8 in comment.
32122
32123 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
32124
32125         [BZ #12518]
32126         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32127         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32128         * sysdeps/x86_64/memmove.c: New file.
32129         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32130         (memcpy): Renamed to ...
32131         (__new_memcpy): This.
32132         (memcpy): Provide GLIBC_2_14 memcpy.
32133         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32134         (memcpy): Provide GLIBC_2_2_5 memcpy.
32135
32136 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32137
32138         [BZ #12631]
32139         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32140
32141 2011-03-30  Andreas Schwab  <schwab@redhat.com>
32142
32143         * misc/syncfs.c: New file.
32144         * misc/Makefile (routines): Add syncfs.
32145         * posix/unistd.h: Declare syncfs.
32146         * sysdeps/unix/syscalls.list: Add syncfs.
32147
32148 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32149
32150         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32151         open_by_handle_at.
32152         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32153         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32154         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32155         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32156         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32157         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32158         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32159
32160 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32161
32162         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32163         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32164         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32165         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32166         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32167         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32168         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32169
32170         * io/Makefile: Compile fallocate.c, fallocate64.c, and
32171         sync_file_range.c with -fexceptions.
32172         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32173         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32174         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32175         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32176         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32177         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32178         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32179         sync_file_range as cancellation point
32180         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
32181         now a wrapper around __call_sync_file_range with cancellation handling.
32182         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32183         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
32184         function name to __call_sync_file_range.
32185         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32186         Add call_sync_file_range.
32187
32188 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32189
32190         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32191         bits/timex.h.
32192
32193 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32194
32195         * iconv/iconv.h: Fix typo in comment.
32196         * io/fcntl.h: Likewise.
32197         * libio/stdio.h: Likewise.
32198         * posix/spawn.h: Likewise.
32199         * posix/unistd.h: Likewise.
32200         * stdlib/stdlib.h: Likewise.
32201         * time/time.h: Likewise.
32202         * wcsmbs/wchar.h: Likewise.
32203
32204         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32205         open_by_handle): Add.
32206         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32207         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
32208         Augment a few comments.
32209         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32210         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32211         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32212         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32213         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32214         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32215         open_by_handle.
32216
32217         * io/fcntl.h (AT_EMPTY_PATH): Define.
32218
32219 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
32220
32221         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32222         * sysdeps/unix/sysv/linux/bits/time.h: New file.
32223         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32224         to...
32225         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
32226         * Versions.def: Add GLIBC_2.14.
32227         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32228         Export.
32229
32230 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
32231
32232         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32233         round counter.
32234         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32235
32236 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32237
32238         [BZ #12597]
32239         * string/test-strncmp.c (do_page_test): New function.
32240         (check2): Likewise.
32241         (test_main): Call check2.
32242         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32243
32244 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
32245
32246         [BZ #12587]
32247         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32248         Handle cache information in CPU leaf 4.
32249         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32250
32251 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
32252
32253         [BZ #12583]
32254         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32255         character representation.
32256         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32257
32258 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
32259
32260         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32261         END(__isnan) to END(__isnanf) to match function entry point/label
32262         EALIGN(__isnanf,...).
32263
32264 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
32265
32266         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32267
32268 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
32269
32270         [BZ #12510]
32271         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32272         copy from the symbol referenced in the relocation to initialize the
32273         used variable.
32274         Patch by Piotr Bury <pbury@goahead.com>.
32275         * elf/Makefile: Add rules to build and tst-unique3.
32276         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32277         * elf/tst-unique3.cc: New file.
32278         * elf/tst-unique3.h: New file.
32279         * elf/tst-unique3lib.cc: New file.
32280         * elf/tst-unique3lib2.cc: New file.
32281
32282         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32283
32284 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
32285
32286         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32287         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
32288         to _start.
32289
32290 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
32291
32292         * elf/dl-load.c (_dl_map_object): If we are looking for the first
32293         to-be-loaded object along a path to loader is ld.so.
32294
32295 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
32296             Ulrich Drepper  <drepper@gmail.com>
32297
32298         * sysdeps/x86_64/memset.S: After aligning destination, code
32299         branches to different locations depending on the value of
32300         misalignment, when multiarch is enabled. Fix this.
32301
32302 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
32303
32304         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32305         Set _x86_64_preferred_memory_instruction for AMD processsors.
32306         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32307         Set bit_Prefer_SSE_for_memop for AMD processors.
32308
32309 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
32310
32311         * libio/fmemopen.c (fmemopen): Optimize a bit.
32312
32313 2011-03-03  Andreas Schwab  <schwab@redhat.com>
32314
32315         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32316
32317 2011-03-03  Roland McGrath  <roland@redhat.com>
32318
32319         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32320
32321 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
32322
32323         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32324         __bzero_ultra1 instead of __memset_ultra1.
32325
32326 2011-02-23  Andreas Schwab  <schwab@redhat.com>
32327             Ulrich Drepper  <drepper@gmail.com>
32328
32329         [BZ #12509]
32330         * include/link.h (struct link_map): Add l_orig_initfini.
32331         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32332         returning unsuccessfully.
32333         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32334         close of a file loaded at startup, restore the original l_initfini
32335         list.
32336         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32337         list, store the pointer.
32338         * elf/Makefile ($(objpfx)noload-mem): New rule.
32339         (noload-ENV): Define.
32340         (tests): Add $(objpfx)noload-mem.
32341         * elf/noload.c: Include <memcheck.h>.
32342         (main): Call mtrace.  Close all opened handles.
32343
32344 2011-02-17  Andreas Schwab  <schwab@redhat.com>
32345
32346         [BZ #12454]
32347         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32348         dependencies are missing.
32349
32350 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32351
32352         Fix __if_freereq crash: Unlike the generic version which uses free,
32353         Hurd needs munmap.
32354         * sysdeps/mach/hurd/ifreq.h: New file.
32355
32356 2011-01-27  Petr Baudis  <pasky@suse.cz>
32357             Ulrich Drepper  <drepper@gmail.com>
32358
32359         [BZ 12445]#
32360         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32361         to extend_alloca().
32362         * stdio-common/bug23.c: New file.
32363         * stdio-common/Makefile (tests): Add bug23.
32364
32365 2010-09-28  Andreas Schwab  <schwab@redhat.com>
32366             Ulrich Drepper  <drepper@gmail.com>
32367
32368         [BZ #12489]
32369         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32370         before performing relro protection.  At old place add assertion
32371         to make sure nothing changed.
32372
32373 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
32374             Glauber de Oliveira Costa  <glommer@gmail.com>
32375
32376         * elf/elf.h: Add new ARM TLS relocs.
32377
32378 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
32379
32380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32381         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32382         cast from r3.
32383         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
32384         'tests' variable.
32385         * sysdeps/wordsize-64/tst-writev.c: New file.
32386
32387 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
32388
32389         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32390         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32391         insns in _dl_start to prevent a TOC reference before relocs are
32392         resolved.
32393
32394 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
32395
32396         [BZ #12469]
32397         * Makeconfig: Remove RANLIB definition.
32398         * Makerules: Don't use RANLIB.
32399         * aclocal.m4: Remove ranlib test.
32400         * configure.in: No need to check for ranlib.
32401         * elf/rtld-Rules: Don't use RANLIB.
32402
32403 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32404
32405         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32406         protection macro.
32407         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32408         inclusion protection macro.
32409
32410         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32411         SIGRTMIN and SIGRTMAX and print information in that case only when
32412         SIGRTMIN is defined.
32413
32414 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
32415
32416         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32417         arginfo fn returning -1.
32418
32419         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32420         and thousands string is zero terminated.
32421
32422 2011-02-03  Andreas Schwab  <schwab@redhat.com>
32423
32424         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32425         sysdeps/unix/sysv/linux/bits/socket.h.
32426
32427 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32428
32429         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32430         (__CPU_COUNT): Remove old macros.
32431         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32432         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32433         (__CPU_ALLOC, __CPU_FREE): Add macros.
32434         (__sched_cpualloc, __sched_cpufree): Add declarations.
32435
32436 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
32437
32438         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32439         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32440         * nscd/aicache.c (addhstaiX): Return timeout of added value.
32441         (readdhstai): Return value of addhstaiX call.
32442         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32443         (addgrbyX): Return value returned by cache_addgr.
32444         (readdgrbyname): Return value returned by addgrbyX.
32445         (readdgrbygid): Likewise.
32446         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32447         (addpwbyX): Return value returned by cache_addpw.
32448         (readdpwbyname): Return value returned by addhstbyX.
32449         (readdpwbyuid): Likewise.
32450         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32451         (addservbyX): Return value returned by cache_addserv.
32452         (readdservbyname): Return value returned by addservbyX:
32453         (readdservbyport): Likewise.
32454         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32455         (addhstbyX): Return value returned by cache_addhst.
32456         (readdhstbyname): Return value returned by addhstbyX.
32457         (readdhstbyaddr): Likewise.
32458         (readdhstbynamev6): Likewise.
32459         (readdhstbyaddrv6): Likewise.
32460         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32461         (readdinitgroups): Return value returned by addinitgroupsX.
32462         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32463         (prune_cache): Keep track of timeout value of re-added entries.
32464         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32465         * nscd/nscd.h: Adjust prototypes of readd* functions.
32466
32467 2011-02-04  Roland McGrath  <roland@redhat.com>
32468
32469         * nis/nis_server.c (nis_servstate): Use the right name for 0.
32470         (nis_stats): Likewise.
32471         * nis/nis_modify.c (nis_modify): Likewise.
32472         * nis/nis_remove.c (nis_remove): Likewise.
32473         * nis/nis_add.c (nis_add): Likewise.
32474
32475         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32476
32477         * posix/fnmatch_loop.c: Add some consts.
32478
32479         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32480
32481 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
32482
32483         [BZ #12460]
32484         * config.make.in (config-cflags-novzeroupper): Define.
32485         * configure.in: Substitute libc_cv_cc_novzeroupper.
32486         * elf/Makefile (AVX-CFLAGS): Define.
32487         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32488         (CFLAGS-tst-auditmod4a.c): Likewise.
32489         (CFLAGS-tst-auditmod4b.c): Likewise.
32490         (CFLAGS-tst-auditmod6b.c): Likewise.
32491         (CFLAGS-tst-auditmod6c.c): Likewise.
32492         (CFLAGS-tst-auditmod7b.c): Likewise.
32493         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32494
32495 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
32496
32497         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32498         function to the callback.
32499         Patch partly by Jiri Olsa <jolsa@redhat.com>.
32500
32501 2011-02-02  Andreas Schwab  <schwab@redhat.com>
32502
32503         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32504         of errno.
32505
32506 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
32507
32508         [BZ #11724]
32509         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32510         of constructors.
32511         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32512         of destructors.
32513         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32514
32515         [BZ #11724]
32516         * elf/Makefile: Add rules to build and run new test.
32517         * elf/tst-initorder.c: New file.
32518         * elf/tst-initorder.exp: New file.
32519         * elf/tst-initordera1.c: New file.
32520         * elf/tst-initordera2.c: New file.
32521         * elf/tst-initordera3.c: New file.
32522         * elf/tst-initordera4.c: New file.
32523         * elf/tst-initorderb1.c: New file.
32524         * elf/tst-initorderb2.c: New file.
32525         * elf/tst-order-a1.c: New file.
32526         * elf/tst-order-a2.c: New file.
32527         * elf/tst-order-a3.c: New file.
32528         * elf/tst-order-a4.c: New file.
32529         * elf/tst-order-b1.c: New file.
32530         * elf/tst-order-b2.c: New file.
32531         * elf/tst-order-main.c: New file.
32532         New test case by George Gensure <werkt0@gmail.com>.
32533
32534 2010-10-01  Andreas Schwab  <schwab@redhat.com>
32535
32536         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32537         decoding ACE if AI_CANONIDN.
32538
32539 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
32540
32541         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32542
32543 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
32544
32545         * version.h (RELEASE): Bump for 2.13 release.
32546         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32547
32548         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32549
32550         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32551         MADV_NOHUGEPAGE.
32552         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32553         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32554         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32555         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32556         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32557         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32558
32559         * posix/getconf.c: Update copyright year.
32560         * catgets/gencat.c: Likewise.
32561         * csu/version.c: Likewise.
32562         * debug/catchsegv.sh: Likewise.
32563         * debug/xtrace.sh: Likewise.
32564         * elf/ldconfig.c: Likewise.
32565         * elf/ldd.bash.in: Likewise.
32566         * elf/sprof.c (print_version): Likewise.
32567         * iconv/iconv_prog.c: Likewise.
32568         * iconv/iconvconfig.c: Likewise.
32569         * locale/programs/locale.c: Likewise.
32570         * locale/programs/localedef.c: Likewise.
32571         * malloc/memusage.sh: Likewise.
32572         * malloc/mtrace.pl: Likewise.
32573         * nscd/nscd.c (print_version): Likewise.
32574         * nss/getent.c: Likewise.
32575
32576         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32577         PF_CAIF, and PF_ALG.
32578         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32579
32580 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
32581
32582         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32583         (modules-names): Use them.
32584         (ifunc-test-modules, ifunc-pie-tests): Define.
32585         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32586         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32587         (test-extras): Likewise.
32588         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32589         $(compile-command.c).
32590         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32591         (all-built-dso): Define.
32592         (check-textrel.out, check-execstack.out): Depend on it.
32593
32594         * configure.in: Don't override --enable-multi-arch.
32595
32596 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
32597
32598         [BZ #6812]
32599         * nscd/hstcache.c (tryagain): Define.
32600         (cache_addhst): Return tryagain not notfound for temporary errors.
32601         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32602         failed.
32603
32604 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
32605
32606         [BZ #10563]
32607         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32608         to make the syscall.
32609         * sysdeps/unix/sysv/linux/setgroups.c: New file.
32610
32611         [BZ #12378]
32612         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32613         and fall back to matching as normal character if the string ends before
32614         the matching ']' is found.  This is what POSIX requires.
32615         * posix/testfnm.c: Adjust test result.
32616         * posix/globtest.sh: Adjust test result.  Add new test.
32617         * posix/tst-fnmatch.input: Likewise.
32618         * posix/tst-fnmatch2.c: Add new test.
32619
32620 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
32621
32622         * elf/Makefile (check-execstack): Revert last change.  Depend on
32623         check-execstack.h.
32624         (check-execstack.h): New target.
32625         (generated): Add check-execstack.h.
32626         * elf/check-execstack.c: Include "check-execstack.h".
32627         (main): Revert last change.
32628         (handle_file): Return zero if GNU_STACK is absent and
32629         DEFAULT_STACK_PERMS doesn't include PF_X.
32630
32631 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
32632
32633         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32634         in child fails because the descriptor is already closed.
32635         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32636         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32637         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32638
32639         [BZ #12397]
32640         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32641         syscall.
32642
32643         [BZ #10484]
32644         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32645         temporary buffer used to handle multi lookups locally.
32646         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32647
32648 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
32649
32650         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32651         loader is ld.so.
32652
32653 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
32654
32655         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32656         alignment for SSE2.
32657
32658 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
32659
32660         [BZ #12394]
32661         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32662         characters.  When rounding increased number of integer digits recompute
32663         number of groups.
32664         * stdio-common/tst-grouping.c: New file.
32665         * stdio-common/Makefile: Add rules to build and run tst-grouping.
32666
32667 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
32668
32669         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32670         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
32671
32672         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32673         void.
32674         * bits/select.h: Likewise.
32675
32676 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
32677
32678         * po/ja.po: Update from translation team.
32679
32680 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
32681
32682         [BZ #11155]
32683         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32684         implementation just like for lxstat, fxstatat, et al.
32685
32686 2010-12-27  Jim Meyering  <meyering@redhat.com>
32687
32688         [BZ #12348]
32689         * posix/regexec.c (build_trtable): Return failure indication upon
32690         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
32691
32692 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
32693
32694         [BZ #12201]
32695         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32696         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32697         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32698         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32699
32700         [BZ #12207]
32701         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32702
32703         [BZ #12204]
32704         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32705         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32706
32707 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
32708
32709         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32710         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32711         script has SORT_BY_INIT_PRIORITY.
32712         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32713         NO_CTORS_DTORS_SECTIONS is defined.
32714         * elf/soinit.c: Likewise.
32715         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32716         NO_CTORS_DTORS_SECTIONS is defined.
32717         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32718         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32719         * sysdeps/sh/init-first.c: Likewise.
32720         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32721
32722 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
32723
32724         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32725         always use the slow path.
32726
32727 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
32728
32729         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32730         similar rule which adds the sysdep directories to the header search in
32731         order to pick up the correct platform stackinfo.h.
32732         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32733         perform test if it is, otherwise return successfully without testing.
32734         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32735         DEFAULT_STACK_PERMS define in stackinfo.h.
32736         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32737         defined in stackinfo.h.
32738         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32739         DEFAULT_STACK_PERMS defined in stackinfo.h.
32740         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32741         * sysdeps/ia64/stackinfo.h: Likewise.
32742         * sysdeps/s390/stackinfo.h: Likewise.
32743         * sysdeps/sh/stackinfo.h: Likewise.
32744         * sysdeps/sparc/stackinfo.h: Likewise.
32745         * sysdeps/x86_64/stackinfo.h: Likewise.
32746         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32747         PF_X for powerpc64.  Retain PF_X for powerpc32.
32748
32749 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
32750
32751         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32752         accurately.
32753         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32754         GETDENTS_64BIT_ALIGNED.
32755
32756 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
32757
32758         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32759
32760 2010-12-10  Andreas Schwab  <schwab@redhat.com>
32761
32762         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32763         _GNU_SOURCE.
32764
32765         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32766         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32767         Remove __restrict.
32768         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32769         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32770
32771 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
32772
32773         [BZ #11655]
32774         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32775         are initialized.
32776
32777 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
32778
32779         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32780
32781 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
32782
32783         * po/it.po: Update from translation team.
32784
32785 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
32786
32787         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32788         unused codes.
32789
32790 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
32791
32792         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32793
32794 2010-11-24  Andreas Schwab  <schwab@redhat.com>
32795
32796         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32797         specially.
32798         (gaih_getanswer_slice): Likewise.
32799
32800 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
32801
32802         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32803
32804 2010-05-31  Petr Baudis  <pasky@suse.cz>
32805
32806         [BZ #11149]
32807         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32808         silently even in the chroot mode.
32809
32810 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
32811
32812         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32813         last patch a bit.  Pretty printing
32814
32815 2010-05-31  Petr Baudis <pasky@suse.cz>
32816
32817         [BZ #10085]
32818         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32819         initialization of skip_initgroups_dyn.
32820
32821 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
32822
32823         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32824         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32825
32826 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
32827
32828         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32829
32830 2010-11-11  Andreas Schwab  <schwab@redhat.com>
32831
32832         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32833         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32834         (tst-fnmatch-ENV): Set MALLOC_TRACE.
32835         ($(objpfx)tst-fnmatch-mem): New rule.
32836         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32837         * posix/tst-fnmatch.c (main): Call mtrace.
32838
32839 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
32840
32841         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32842         Support Intel processor model 6 and model 0x2c.
32843
32844 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
32845
32846         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32847           signed comparison.
32848
32849 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
32850
32851         [BZ #12205]
32852         * string/test-strncasecmp.c (check_result): New function.
32853         (do_one_test): Use it.
32854         (check1): New function.
32855         (test_main): Use it.
32856         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32857         Support strcasecmp and strncasecmp.
32858
32859 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
32860
32861         [BZ #12194]
32862         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32863         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32864
32865 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32866
32867         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32868         IFUNC support.
32869         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32870         memset-x86-64.
32871         * sysdeps/x86_64/multiarch/bzero.S: New file.
32872         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32873         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32874         * sysdeps/x86_64/multiarch/memset.S: New file.
32875         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32876         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32877         Set bit_Prefer_SSE_for_memop for Intel processors.
32878         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32879         Define.
32880         (index_Prefer_SSE_for_memop): Define.
32881         (HAS_PREFER_SSE_FOR_MEMOP): Define.
32882
32883 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
32884
32885         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32886         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32887
32888 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
32889
32890         [BZ #12191]
32891         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32892         (__x86_64_raw_data_cache_size_half): Likewise.
32893         (__x86_64_raw_shared_cache_size): Likewise.
32894         (__x86_64_raw_shared_cache_size_half): Likewise.
32895
32896         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32897         (__x86_64_raw_data_cache_size_half): Likewise.
32898         (__x86_64_raw_shared_cache_size): Likewise.
32899         (__x86_64_raw_shared_cache_size_half): Likewise.
32900         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32901         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32902         and __x86_64_raw_shared_cache_size_half.  Round
32903         __x86_64_data_cache_size_half, __x86_64_data_cache_size
32904         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32905         to multiple of 256 bytes.
32906
32907 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
32908
32909         [BZ #12167]
32910         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32911         of inacessible symlinks.  Verify result of symlink before returning it.
32912         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32913         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32914
32915 2010-10-28  Erich Ritz  <erichritz@gmail.com>
32916
32917         * math/math.h (isinf): Fix typo in comment.
32918
32919 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
32920
32921         * po/da.po: Update from translation team.
32922
32923 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
32924
32925         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32926         is added to the list.
32927
32928 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32929             Ulrich Drepper  <drepper@gmail.com>
32930
32931         * elf/dl-object.c (_dl_new_object): Don't append the new object to
32932         the global list here.  Move code to...
32933         (_dl_add_to_namespace_list): ...here.  New function.
32934         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32935         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32936         * elf/dl-load.c (lose): Don't remove the element from the list.
32937         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32938         (_dl_map_object): Likewise.
32939
32940 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
32941
32942         [BZ #12159]
32943         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32944         into all bytes of SSE register.
32945         Patch by Richard Li <richardpku@gmail.com>.
32946
32947 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
32948
32949         [BZ #12140]
32950         * malloc/malloc.c (_int_free): Fill correct number of bytes when
32951         perturbing.
32952
32953 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
32954
32955         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32956         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32957         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32958         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32960         submachine.
32961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32962
32963 2010-10-22  Andreas Schwab  <schwab@redhat.com>
32964
32965         * include/dlfcn.h (__RTLD_SECURE): Define.
32966         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
32967         mode & __RTLD_SECURE instead.
32968         (open_path): Rename preloaded parameter to secure.
32969         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32970         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32971         * elf/dl-deps.c (openaux): Likewise.
32972         * elf/rtld.c (struct map_args): Remove is_preloaded.
32973         (map_doit): Don't use it.
32974         (dl_main): Likewise.
32975         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32976         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32977
32978 2010-09-09  Andreas Schwab  <schwab@redhat.com>
32979
32980         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32981         (sysd-rules-targets): Remove duplicates.
32982         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32983         rtld-%.$o dependency.
32984
32985 2010-10-18  Andreas Schwab  <schwab@redhat.com>
32986
32987         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32988         _dl_map_object do it.
32989
32990 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
32991
32992         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32993         fast fma builtins, define the macros in the C99 standard.
32994         (FP_FAST_FMAF): Likewise.
32995         (FP_FAST_FMAL): Likewise.
32996         * sysdeps/x86_64/bits/mathdef.h: Likewise.
32997
32998         * bits/mathdef.h: Update copyright year.
32999         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33000
33001 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
33002
33003         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33004         builtins, define the macros in the C99 standard.
33005         (FP_FAST_FMAF): Likewise.
33006         (FP_FAST_FMAL): Likewise.
33007         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33008         multiply/add.
33009         (FP_FAST_FMAF): Likewise.
33010
33011 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
33012
33013         [BZ #3268]
33014         * math/libm-test.inc (fma_test): Some new testcases.
33015         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33016         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33017         y and infinite z.  Do multiplication by C already in long double.
33018         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33019         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33020         y and infinite z.  Do bitwise or of inexact bit into u.d.
33021         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33022         * sysdeps/i386/fpu/s_fmaf.S: Removed.
33023         * sysdeps/i386/fpu/s_fma.S: Removed.
33024         * sysdeps/i386/fpu/s_fmal.S: Removed.
33025
33026 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
33027
33028         [BZ #3268]
33029         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33030         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33031         computation is not scheduled after fetestexcept.  Fix value
33032         of minimum denormal long double.
33033
33034 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
33035
33036         [BZ #3268]
33037         * math/libm-test.inc (fma_test): Add some more tests.
33038         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33039         correctly.
33040
33041 2010-10-15  Andreas Schwab  <schwab@redhat.com>
33042
33043         * scripts/data/localplt-s390-linux-gnu.data: New file.
33044         * scripts/data/localplt-s390x-linux-gnu.data: New file.
33045
33046 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
33047
33048         [BZ #3268]
33049         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33050         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33051         instead of dbl-64.
33052         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33053         inlines.
33054         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33055         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33056         if one of x and y is very large and the other is subnormal.
33057         * sysdeps/s390/fpu/s_fmaf.c: New file.
33058         * sysdeps/s390/fpu/s_fma.c: New file.
33059         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33060         * sysdeps/powerpc/fpu/s_fma.S: New file.
33061         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33062         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33063         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33064
33065 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
33066
33067         [BZ #3268]
33068         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33069         fma tests.
33070         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33071         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33072         * sysdeps/i386/i686/multiarch/s_fma.c: Include
33073         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33074         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33075         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33076         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33077
33078 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
33079
33080         [BZ #12078]
33081         * posix/regcomp.c (parse_branch): One more memory leak plugged.
33082         * posix/bug-regex31.input: Add test case.
33083
33084 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33085
33086         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33087         * posix/bug-regex31.input: New file.
33088
33089         [BZ #12078]
33090         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33091         (parse_sub_exp): Fix last change, use postorder.
33092
33093         * posix/bug-regex31.c: New file.
33094         * posix/Makefile: Add rules to build and run bug-regex31.
33095
33096         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33097
33098         [BZ #12078]
33099         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33100
33101         [BZ #12108]
33102         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33103         to have entries in sys_siglist.
33104
33105         [BZ #12093]
33106         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33107         be NULL.
33108
33109 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
33110
33111         [BZ #3268]
33112         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33113         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33114         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33115         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33116         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33117         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33118         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33119         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33120         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33121         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33122         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33123         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33124         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33125         * math/ftestexcept.c (fetestexcept): Likewise.
33126         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33127         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33128         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33129         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33130         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33131         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33132         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33133
33134 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33135
33136         [BZ #12107]
33137         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33138         newline.
33139
33140 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
33141
33142         * string/bug-strstr1.c: New file.
33143         * string/Makefile: Add rules to build and run bug-strstr1.
33144
33145 2010-10-05  Eric Blake  <eblake@redhat.com>
33146
33147         [BZ #12092]
33148         * string/str-two-way.h (two_way_long_needle): Always clear memory
33149         when skipping input due to the shift table.
33150
33151 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
33152
33153         [BZ #12005]
33154         * malloc/mcheck.c: Handle large requests.
33155
33156         [BZ #12077]
33157         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33158         for strncmp and strncasecmp.
33159         * string/stratcliff.c: Add tests for strcmp and strncmp.
33160         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33161
33162 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33163
33164         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33165         __set_fpscr.
33166
33167 2010-09-30  Andreas Jaeger  <aj@suse.de>
33168
33169         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33170         (CGROUP_SUPER_MAGIC): Define.
33171         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33172         Handle btrfs and cgroup file systems.
33173         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33174         Likewise.
33175
33176 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
33177
33178         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33179         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33180
33181 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33182
33183         [BZ #12067]
33184         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33185         trying to locate the ELF header.
33186
33187 2010-09-27  Andreas Schwab  <schwab@redhat.com>
33188
33189         [BZ #11611]
33190         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33191         Mask out sign-bit copies when constructing f_fsid.
33192
33193 2010-09-24  Petr Baudis <pasky@suse.cz>
33194
33195         * debug/stack_chk_fail_local.c: Add missing licence exception.
33196         * debug/warning-nop.c: Likewise.
33197
33198 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
33199
33200         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33201         implementing getdents64 using getdents syscall, set d_type if
33202         __ASSUME_GETDENTS32_D_TYPE.
33203
33204 2010-09-16  Andreas Schwab  <schwab@redhat.com>
33205
33206         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33207         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33208
33209 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
33210
33211         [BZ #12037]
33212         * posix/unistd.h: Undo change of feature selection for ftruncate from
33213         2010-01-11.
33214
33215 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
33216
33217         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33218         detection.
33219
33220 2010-09-20  Andreas Schwab  <schwab@redhat.com>
33221
33222         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33223         fanotify_mark.
33224         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33225
33226 2010-09-14  Andreas Schwab  <schwab@redhat.com>
33227
33228         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33229         variables after CHECK_SP call.
33230         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33231
33232 2010-09-13  Andreas Schwab  <schwab@redhat.com>
33233             Ulrich Drepper  <drepper@redhat.com>
33234
33235         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33236         re-relocationg ld.so.
33237         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33238         _dl_init_paths call.
33239         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
33240         here anymore.
33241
33242 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
33243
33244         * resolv/res_init.c (__res_vinit): Count the default server we added.
33245
33246 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
33247             Ulrich Drepper  <drepper@redhat.com>
33248
33249         [BZ #11968]
33250         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33251         (____longjmp_chk): Use %ebx for saving value across system call.
33252         Add unwind info.
33253
33254 2010-09-06  Andreas Schwab  <schwab@redhat.com>
33255
33256         * manual/Makefile: Don't mix pattern rules with normal rules.
33257
33258 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33259
33260         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33261         operation.
33262         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33263         * libio/iofopncook.c (_IO_cookie_init): Likewise.
33264         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33265         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33266         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33267         Likewise.
33268
33269 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
33270
33271         [BZ #11979]
33272         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33273         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33274
33275 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
33276
33277         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33278         * sysdeps/x86_64/addmul_1.S: Likewise.
33279         * sysdeps/x86_64/lshift.S: Likewise.
33280         * sysdeps/x86_64/mul_1.S: Likewise.
33281         * sysdeps/x86_64/rshift.S: Likewise.
33282         * sysdeps/x86_64/sub_n.S: Likewise.
33283         * sysdeps/x86_64/submul_1.S: Likewise.
33284
33285 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33286
33287         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33288         Define __sched_param instead of SCHED_* and sched_param when
33289         <bits/sched.h> is included with __need_schedparam defined.
33290         * bits/sched.h [__need_schedparam]
33291         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33292         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33293         (__defined_schedparam): Define to 1.
33294         (__sched_param): New structure, identical to sched_param.
33295         (__need_schedparam): Undefine.
33296
33297 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
33298
33299         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33300         (epoll_create1): Declare.
33301
33302         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33303
33304 2010-08-31  Andreas Schwab  <schwab@redhat.com>
33305
33306         [BZ #7066]
33307         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33308         shifting retval into place.
33309
33310 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
33311
33312         * nis/rpcsvc/nis.h: Update copyright notice.
33313         * nis/rpcsvc/nis.x: Likewise.
33314         * nis/rpcsvc/nis_callback.h: Likewise.
33315         * nis/rpcsvc/nis_callback.x: Likewise.
33316         * nis/rpcsvc/nis_object.x: Likewise.
33317         * nis/rpcsvc/nis_tags.h: Likewise.
33318         * nis/rpcsvc/yp.h: Likewise.
33319         * nis/rpcsvc/yp.x: Likewise.
33320         * nis/rpcsvc/ypupd.h: Likewise.
33321         * nis/yp_xdr.c: Likewise.
33322         * nis/ypupdate_xdr.c: Likewise.
33323
33324         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
33325         mainly the body of pmap_getport.  Add parameters to specify timeouts.
33326         (pmap_getport): Use __libc_rpc_getport.
33327         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33328         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33329         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33330
33331 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
33332
33333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33334         fanotify_mark.
33335
33336 2010-08-27  Roland McGrath  <roland@redhat.com>
33337
33338         * sysdeps/i386/i686/multiarch/Makefile
33339         (CFLAGS-varshift.c): New variable.
33340
33341 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
33342
33343         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33344         * sysdeps/i386/i686/multiarch/varshift.c: New file.
33345
33346         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33347
33348         * sysdeps/x86_64/strlen.S: Minimal code improvement.
33349
33350 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
33351
33352         * sysdeps/x86_64/strlen.S: Unroll the loop.
33353         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33354         strlen-sse2 strlen-sse2-bsf.
33355         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33356         __strlen_no_bsf if bit_Slow_BSF is set.
33357         (__strlen_sse42): Removed.
33358         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33359         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33360
33361 2010-08-25  Roland McGrath  <roland@redhat.com>
33362
33363         * sysdeps/x86_64/multiarch/varshift.S: File removed.
33364         * sysdeps/x86_64/multiarch/varshift.c: New file.
33365         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33366         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33367         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33368         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33369
33370 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
33371
33372         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33373         strlen-sse2 strlen-sse2-bsf.
33374         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33375         __strlen_sse2_bsf if bit_Slow_BSF is unset.
33376         (__strlen_sse2): Removed.
33377         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33378         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33379         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33380         bit_Slow_BSF for Atom.
33381         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33382         (index_Slow_BSF): Define.
33383         (HAS_SLOW_BSF): Define.
33384
33385 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
33386
33387         [BZ #10851]
33388         * resolv/res_init.c (__res_vinit): When no server address at all
33389         is given default to loopback.
33390
33391 2010-08-24  Roland McGrath  <roland@redhat.com>
33392
33393         * configure.in: Remove config-name.h generation.
33394         * configure: Regenerated.
33395         * config-name.in: File removed.
33396         * scripts/config-uname.sh: New file.
33397         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33398         ($(objdir)config-name.h): New target.
33399
33400         * sunrpc/rpc_parse.h: Avoid nested comment.
33401
33402 2010-08-24  Richard Henderson  <rth@redhat.com>
33403             Ulrich Drepper  <drepper@redhat.com>
33404             H.J. Lu  <hongjiu.lu@intel.com>
33405
33406         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33407         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33408         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33409         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
33410         _mm_alignr_epi8 with _mm_loadu_si128.
33411         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33412         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33413         (__m128i_shift_right): Removed.
33414         * sysdeps/i386/i686/multiarch/varshift.h: New file.
33415         * sysdeps/i386/i686/multiarch/varshift.S: New file.
33416         * sysdeps/x86_64/multiarch/varshift.h: New file.
33417         * sysdeps/x86_64/multiarch/varshift.S: New file.
33418
33419 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
33420
33421         * configure.in: Move assembler checks to before sysdep dir checking.
33422
33423 2010-08-20  Petr Baudis  <pasky@suse.cz>
33424
33425         * LICENSES: Sync the sunrpc license.
33426
33427 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
33428
33429         * sunrpc/auth_des.c: Update copyright notice once again.
33430         * sunrpc/auth_none.c: Likewise.
33431         * sunrpc/auth_unix.c: Likewise.
33432         * sunrpc/authdes_prot.c: Likewise.
33433         * sunrpc/authuxprot.c: Likewise.
33434         * sunrpc/bindrsvprt.c: Likewise.
33435         * sunrpc/clnt_gen.c: Likewise.
33436         * sunrpc/clnt_perr.c: Likewise.
33437         * sunrpc/clnt_raw.c: Likewise.
33438         * sunrpc/clnt_simp.c: Likewise.
33439         * sunrpc/clnt_tcp.c: Likewise.
33440         * sunrpc/clnt_udp.c: Likewise.
33441         * sunrpc/clnt_unix.c: Likewise.
33442         * sunrpc/des_crypt.c: Likewise.
33443         * sunrpc/des_soft.c: Likewise.
33444         * sunrpc/get_myaddr.c: Likewise.
33445         * sunrpc/getrpcport.c: Likewise.
33446         * sunrpc/key_call.c: Likewise.
33447         * sunrpc/key_prot.c: Likewise.
33448         * sunrpc/openchild.c: Likewise.
33449         * sunrpc/pm_getmaps.c: Likewise.
33450         * sunrpc/pm_getport.c: Likewise.
33451         * sunrpc/pmap_clnt.c: Likewise.
33452         * sunrpc/pmap_prot.c: Likewise.
33453         * sunrpc/pmap_prot2.c: Likewise.
33454         * sunrpc/pmap_rmt.c: Likewise.
33455         * sunrpc/rpc/auth.h: Likewise.
33456         * sunrpc/rpc/auth_unix.h: Likewise.
33457         * sunrpc/rpc/clnt.h: Likewise.
33458         * sunrpc/rpc/des_crypt.h: Likewise.
33459         * sunrpc/rpc/key_prot.h: Likewise.
33460         * sunrpc/rpc/netdb.h: Likewise.
33461         * sunrpc/rpc/pmap_clnt.h: Likewise.
33462         * sunrpc/rpc/pmap_prot.h: Likewise.
33463         * sunrpc/rpc/pmap_rmt.h: Likewise.
33464         * sunrpc/rpc/rpc.h: Likewise.
33465         * sunrpc/rpc/rpc_des.h: Likewise.
33466         * sunrpc/rpc/rpc_msg.h: Likewise.
33467         * sunrpc/rpc/svc.h: Likewise.
33468         * sunrpc/rpc/svc_auth.h: Likewise.
33469         * sunrpc/rpc/types.h: Likewise.
33470         * sunrpc/rpc/xdr.h: Likewise.
33471         * sunrpc/rpc_clntout.c: Likewise.
33472         * sunrpc/rpc_cmsg.c: Likewise.
33473         * sunrpc/rpc_common.c: Likewise.
33474         * sunrpc/rpc_cout.c: Likewise.
33475         * sunrpc/rpc_dtable.c: Likewise.
33476         * sunrpc/rpc_hout.c: Likewise.
33477         * sunrpc/rpc_main.c: Likewise.
33478         * sunrpc/rpc_parse.c: Likewise.
33479         * sunrpc/rpc_parse.h: Likewise.
33480         * sunrpc/rpc_prot.c: Likewise.
33481         * sunrpc/rpc_sample.c: Likewise.
33482         * sunrpc/rpc_scan.c: Likewise.
33483         * sunrpc/rpc_scan.h: Likewise.
33484         * sunrpc/rpc_svcout.c: Likewise.
33485         * sunrpc/rpc_tblout.c: Likewise.
33486         * sunrpc/rpc_util.c: Likewise.
33487         * sunrpc/rpc_util.h: Likewise.
33488         * sunrpc/rpcinfo.c: Likewise.
33489         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33490         * sunrpc/rpcsvc/key_prot.x: Likewise.
33491         * sunrpc/rpcsvc/klm_prot.x: Likewise.
33492         * sunrpc/rpcsvc/mount.x: Likewise.
33493         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33494         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33495         * sunrpc/rpcsvc/rex.x: Likewise.
33496         * sunrpc/rpcsvc/rstat.x: Likewise.
33497         * sunrpc/rpcsvc/rusers.x: Likewise.
33498         * sunrpc/rpcsvc/sm_inter.x: Likewise.
33499         * sunrpc/rpcsvc/spray.x: Likewise.
33500         * sunrpc/rpcsvc/yppasswd.x: Likewise.
33501         * sunrpc/rtime.c: Likewise.
33502         * sunrpc/svc.c: Likewise.
33503         * sunrpc/svc_auth.c: Likewise.
33504         * sunrpc/svc_authux.c: Likewise.
33505         * sunrpc/svc_raw.c: Likewise.
33506         * sunrpc/svc_run.c: Likewise.
33507         * sunrpc/svc_simple.c: Likewise.
33508         * sunrpc/svc_tcp.c: Likewise.
33509         * sunrpc/svc_udp.c: Likewise.
33510         * sunrpc/svc_unix.c: Likewise.
33511         * sunrpc/svcauth_des.c: Likewise.
33512         * sunrpc/xcrypt.c: Likewise.
33513         * sunrpc/xdr.c: Likewise.
33514         * sunrpc/xdr_array.c: Likewise.
33515         * sunrpc/xdr_float.c: Likewise.
33516         * sunrpc/xdr_mem.c: Likewise.
33517         * sunrpc/xdr_rec.c: Likewise.
33518         * sunrpc/xdr_ref.c: Likewise.
33519         * sunrpc/xdr_sizeof.c: Likewise.
33520         * sunrpc/xdr_stdio.c: Likewise.
33521
33522         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33523         handling.
33524
33525 2010-08-19  Andreas Schwab  <schwab@redhat.com>
33526
33527         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33528
33529 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
33530
33531         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33532         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33533         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33534         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33535         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33536         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33537         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33538         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33539         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33540         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33541         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33542         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33543         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33544         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33545
33546 2010-07-26  Anton Blanchard  <anton@samba.org>
33547
33548         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33549         * malloc/arena.c (heap_trim): Likewise.
33550
33551 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
33552
33553         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33554         here.  Not...
33555         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33556         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33557
33558 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33559
33560         * sysdeps/i386/elf/Makefile: New file.
33561
33562 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
33563
33564         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33565         from fanotify_init.
33566         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33567         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33568
33569 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
33570
33571         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33572         of strncasecmp_l.
33573         * sysdeps/multiarch/strcmp.S: Likewise.
33574
33575 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
33576
33577         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33578         strncase_l-nonascii.
33579         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33580         Add strncase_l-ssse3.
33581         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33582         * sysdeps/x86_64/strcmp.S: Likewise.
33583         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33584         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33585         * sysdeps/x86_64/strncase.S: New file.
33586         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33587         * sysdeps/x86_64/strncase_l.S: New file.
33588         * string/Makefile (strop-tests): Add strncasecmp.
33589         * string/test-strncasecmp.c: New file.
33590
33591         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33592         warning.
33593
33594         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33595         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33596
33597 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
33598
33599         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33600
33601 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
33602
33603         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33604         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33605         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33606
33607 2010-05-01  Alan Modra  <amodra@gmail.com>
33608
33609         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33610         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33611         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33612         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33613         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33614         tidying.  Don't tail-call __sigjmp_save for static lib.
33615         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33616         save location.
33617         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33618         (CALL_MCOUNT): Add eh info, and nop after bl.
33619         (TAIL_CALL_SYSCALL_ERROR): New macro.
33620         (PSEUDO_RET): Use it.
33621         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33622         Correct save location of integer regs and cr.
33623         (_dl_profile_resolve): Correct cr save location.  Delete nops
33624         after bl when SHARED.  Reduce cfi size a little by better
33625         placement of cfi directives.
33626         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33627         make a stack frame.  Instead use parm save area as a temp.
33628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33629         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
33630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33631         Don't make a stack frame for parent, use parm save area.
33632         Increase child stack frame to 112 bytes.  Don't save unused reg,
33633         and adjust reg usage.  Set up cfi on error recovery and
33634         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33636         (__makecontext): Add dummy nop after jump to exit.
33637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33638         Use correct parm save area and cr save, reduce stack frame.
33639         Correct cfi for possible PSEUDO_RET frame setup.
33640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33641         Branch to local label emitted by PSEUDO_RET rather than
33642         __syscall_error.
33643
33644 2010-08-12  Andreas Schwab  <schwab@redhat.com>
33645
33646         [BZ #11904]
33647         * locale/programs/locale.c (print_assignment): New function.
33648         (show_locale_vars): Use it.
33649
33650 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
33651
33652         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33653         field.
33654         (struct statfs64): Likewise.
33655         (_STATFS_F_FLAGS): Define.
33656         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33657         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33658         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33659         (ST_VALID): Define locally.
33660         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33661         __statvfs_getflags, use the provided value.
33662         * sysdeps/unix/sysv/linux/kernel-features.h: Define
33663         __ASSUME_STATFS_F_FLAGS.
33664
33665         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33666
33667         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33668         Add sys/fanotify.h.
33669         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33670         fanotify_mask for GLIBC_2.13.
33671         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33672         fanotify_init and fanotify_mark.
33673         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33674         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33675
33676         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33677         Add prlimit.
33678         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33679         prlimit64 for GLIBC_2.13.
33680         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33681         prlimit64.
33682         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33683         syscall.
33684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33685         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33686         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33687         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33688         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
33689         add prlimit alias.
33690         * sysdeps/unix/sysv/linux/prlimit.c: New file.
33691
33692         [BZ #11903]
33693         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33694         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33695
33696         * nss/Makefile: Add rules to build and run tst-nss-test1.
33697         * shlib-versions: Add entry for libnss_test1.
33698         * nss/nss_test1.c: New file.
33699         * nss/tst-nss-test1.c: New file.
33700
33701         * nss/nsswitch.c (__nss_database_custom): Define new variable.
33702         (__nss_configure_lookup): Set appropriate entry in
33703         __nss_configure_lookup to true.
33704         * nss/nsswitch.h: Define enum with indeces of databases in
33705         databases and __nss_database_custom arrays.  Declare
33706         __nss_database_custom.
33707         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33708         to avoid using nscd when custom rules are installed.
33709         * nss/getXXbyYY_r.c: Likewise.
33710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33711
33712         * nss/nss_files/files-parse.c: Whitespace fixes.
33713
33714 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
33715
33716         [BZ #11883]
33717         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33718         * posix/fnmatch_loop.c: Likewise.
33719
33720 2010-07-17  Andi Kleen  <ak@linux.intel.com>
33721
33722         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33723         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33724         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33725         * Versions.def [GLIBC_2.13]: Add.
33726
33727 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
33728
33729         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33730         Also fail if tpwd after pwuid call is NULL.
33731
33732 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33733
33734         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33735         when converting to ms.
33736
33737 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33738
33739         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33740         EOPNOTSUPP errors with ENOTTY.
33741         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33742         EOPNOTSUPP errors with ENOTTY.
33743
33744 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
33745
33746         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33747         Add strcasecmp_l-ssse3.
33748         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33749         strcasecmp.
33750         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33751         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33752         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33753
33754 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
33755
33756         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33757
33758         * string/Makefile (strop-tests): Add strcasecmp.
33759         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33760         strcasecmp_l-nonascii.
33761         (gen-as-const-headers): Add locale-defines.sym.
33762         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33763         * sysdeps/x86_64/strcasecmp.S: New file.
33764         * sysdeps/x86_64/strcasecmp_l.S: New file.
33765         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33766         * sysdeps/x86_64/locale-defines.sym: New file.
33767         * string/test-strcasecmp.c: New file.
33768
33769         * string/test-strcasestr.c: Test both ends of the range of characters.
33770         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33771
33772 2010-07-29  Roland McGrath  <roland@redhat.com>
33773
33774         [BZ #11856]
33775         * manual/locale.texi (Yes-or-No Questions): Fix example code.
33776
33777 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
33778
33779         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33780         for ld.so.
33781
33782 2010-07-27  Andreas Schwab  <schwab@redhat.com>
33783
33784         * manual/memory.texi (Malloc Tunable Parameters): Document
33785         M_PERTURB.
33786
33787 2010-07-26  Roland McGrath  <roland@redhat.com>
33788
33789         [BZ #11840]
33790         * configure.in (-fgnu89-inline check): Set and substitute
33791         gnu89_inline, not libc_cv_gnu89_inline.
33792         * configure: Regenerated.
33793         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33794
33795 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
33796
33797         * string/test-strnlen.c: New file.
33798         * string/Makefile (strop-tests): Add strnlen.
33799         * string/tester.c (test_strnlen): Add a few more test cases.
33800         * string/tst-strlen.c: Better error reporting.
33801
33802         * sysdeps/x86_64/strnlen.S: New file.
33803
33804 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
33805
33806         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33807         lower-latency instructions.
33808
33809 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
33810
33811         * string/test-strcasestr.c: New file.
33812         * string/test-strstr.c: New file.
33813         * string/Makefile (strop-tests): Add strstr and strcasestr.
33814         * string/str-two-way.h: Don't undefine MAX.
33815         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33816
33817 2010-07-21  Andreas Schwab  <schwab@redhat.com>
33818
33819         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33820         strcasestr-nonascii.
33821         (CFLAGS-strcasestr-nonascii.c): Define.
33822         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33823         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33824         Remove unused attribute.
33825
33826 2010-07-20  Roland McGrath  <roland@redhat.com>
33827
33828         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33829         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
33830         ld.so.cache was broken.  With it, there is no way to disable dsocaps
33831         like LD_HWCAP_MASK can disable hwcaps.
33832
33833 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
33834
33835         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33836
33837 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
33838
33839         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33840         call in strcasestr.
33841         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33842         __strcasestr_sse42_nonascii.
33843         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33844         strcasestr-nonascii.c.
33845         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33846
33847 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
33848
33849         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33850         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33851         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33852         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33853
33854 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
33855
33856         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33857         fcntl.
33858
33859 2010-07-06  Andreas Schwab  <schwab@redhat.com>
33860
33861         [BZ #11577]
33862         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33863         dl_signal_cerror.
33864
33865 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
33866
33867         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33868         _PC_PIPE_BUF using F_GETPIPE_SZ.
33869
33870 2010-07-05  Roland McGrath  <roland@redhat.com>
33871
33872         * manual/arith.texi (Rounding Functions): Fix rint description
33873         implicit in round description.
33874
33875 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
33876
33877         * elf/Makefile: Fix linking for a few tests to make recent linker
33878         happy.
33879
33880 2010-06-30  Andreas Schwab  <schwab@redhat.com>
33881
33882         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33883         $(common-objpfx)libc_nonshared.a.
33884
33885 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
33886
33887         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33888         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33889         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33890         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33891         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33892         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33893         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33894         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33909         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33910         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33911         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33912         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33913         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33914         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33915         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33916         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33917         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33918         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33919         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33920         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33935
33936 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33937
33938         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33939         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
33940         * string/memmove.c (memmove): Renamed to ...
33941         (MEMMOVE): ...this.  Default to memmove.
33942         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33943         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33944         (END_CHK): Define.
33945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33946         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33947         mempcpy-ssse3-back memmove-ssse3-back.
33948         * sysdeps/x86_64/multiarch/bcopy.S: New file .
33949         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33950         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33951         * sysdeps/x86_64/multiarch/memcpy.S: New file.
33952         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33953         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33954         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33955         * sysdeps/x86_64/multiarch/memmove.c: New file.
33956         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33957         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33958         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33959         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33960         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33961         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33962         Define.
33963         (index_Fast_Copy_Backward): Define.
33964         (HAS_ARCH_FEATURE): Define.
33965         (HAS_FAST_REP_STRING): Define.
33966         (HAS_FAST_COPY_BACKWARD): Define.
33967
33968 2010-06-21  Andreas Schwab  <schwab@redhat.com>
33969
33970         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33971         Restore proper fallback handling.
33972
33973 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
33974
33975         [BZ #11701]
33976         * posix/group_member.c (__group_member): Correct checking loop.
33977
33978         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33979         OOM in getpwuid_r correctly.  Return error number when the caller
33980         should return, otherwise -1.
33981         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33982         call returning > 0 value.
33983         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33984
33985 2010-06-07  Andreas Schwab  <schwab@redhat.com>
33986
33987         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33988         libc_nonshared.a from targets in modules-names.
33989
33990 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
33991
33992         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33993         requires it.
33994
33995 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
33996
33997         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33998         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33999         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34000         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34001
34002 2010-06-02  Andreas Schwab  <schwab@redhat.com>
34003
34004         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34005
34006 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
34007
34008         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34009         and F_GETPIPE_SZ.
34010         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34011         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34012         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34013         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34014         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34015         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34016
34017 2010-06-14  Roland McGrath  <roland@redhat.com>
34018
34019         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34020
34021 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
34022
34023         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34024         __REDIRECT followed by __THROW.
34025         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34026         * posix/getopt.h (getopt): Likewise.
34027
34028 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34029
34030         * hurd/lookup-at.c (__file_name_lookup_at): Accept
34031         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
34032         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34033         in AT_FLAGS.
34034         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34035         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34036
34037 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
34038
34039         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34040
34041 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
34042
34043         [BZ #11640]
34044         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34045         Properly check family and model.
34046
34047 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
34048
34049         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34050
34051 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
34052
34053         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34054
34055 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
34056
34057         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34058         symbol reference.
34059
34060 2010-05-19  Andreas Schwab  <schwab@redhat.com>
34061
34062         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34063         symbol reference.
34064
34065 2010-05-21  Andreas Schwab  <schwab@redhat.com>
34066
34067         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34068         and internal_recvmmsg.
34069         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34070         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34071         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34072         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34073
34074         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34075         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34076         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34077
34078 2010-05-20  Andreas Schwab  <schwab@redhat.com>
34079
34080         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34081
34082 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
34083
34084         POWER7 optimizations.
34085         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34086         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34087
34088 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
34089
34090         * version.h: Update for 2.13 development version.
34091
34092 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
34093
34094         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34095         exceptions.  Return 0.
34096
34097 2010-05-07  Roland McGrath  <roland@redhat.com>
34098
34099         * elf/ldconfig.c (main): Add a const.
34100
34101 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
34102
34103         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34104         (args_options): Add no-idn option.
34105         (ahosts_keys_int): Add idn_flags to ai_flags.
34106         (parse_option): Handle 'i' option to clear idn_flags.
34107
34108         * malloc/malloc.c (_int_free): Possible race in the most recently
34109         added check.  Only act on the data if no current modification
34110         happened.
34111
34112 See ChangeLog.17 for earlier changes.