Revert GLIBC_PTHREAD_DEFAULT_STACKSIZE changes.
[glibc.git] / ChangeLog
blob46edfc0bea91246fdef863305cec0859c0e75356
1 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
3         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8         * NEWS: Mention libm performance improvements and non-x86 PI
9         futex support.
11         * csu/libc-start.c (__pthread_initialize_minimal): Change
12         function arguments.
13         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
17         [BZ #13550]
18         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20         <bp-sym.h> and <bp-asm.h>.
21         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23         and <bp-asm.h>.
24         (memcpy): Don't use BP_SYM.
25         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26         <bp-asm.h>.
27         (__mpn_add_n): Don't use BP_SYM.
28         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30         and <bp-asm.h>.
31         (__mpn_addmul_1): Don't use BP_SYM.
32         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34         <bp-sym.h>.
35         (_setjmp): Don't use BP_SYM.
36         (__novmx_setjmp): Likewise.
37         (__GI__setjmp): Likewise.
38         (__vmx_setjmp): Likewise.
39         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
40         <bp-sym.h>.
41         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
42         (__bzero): Don't use BP_SYM.
43         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
46         <bp-sym.h> and <bp-asm.h>.
47         (memcpy): Don't use BP_SYM.
48         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
49         <bp-sym.h> and <bp-asm.h>.
50         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
52         <bp-sym.h> and <bp-asm.h>.
53         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
55         <bp-asm.h>.
56         (__mpn_lshift): Don't use BP_SYM.
57         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59         <bp-asm.h>.
60         (memset): Don't use BP_SYM.
61         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
64         <bp-asm.h>.
65         (__mpn_mul_1): Don't use BP_SYM.
66         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
68         <bp-sym.h> and <bp-asm.h>.
69         (memcmp): Don't use BP_SYM.
70         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
71         <bp-sym.h> and <bp-asm.h>.
72         (memcpy): Don't use BP_SYM.
73         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
74         <bp-sym.h> and <bp-asm.h>.
75         (memset): Don't use BP_SYM.
76         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
77         <bp-sym.h> and <bp-asm.h>.
78         (strncmp): Don't use BP_SYM.
79         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
80         <bp-sym.h> and <bp-asm.h>.
81         (memcpy): Don't use BP_SYM.
82         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
83         <bp-sym.h> and <bp-asm.h>.
84         (memset): Don't use BP_SYM.
85         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
86         <bp-sym.h> and <bp-asm.h>.
87         (__memchr): Don't use BP_SYM.
88         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
89         <bp-sym.h> and <bp-asm.h>.
90         (memcmp): Don't use BP_SYM.
91         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
92         <bp-sym.h> and <bp-asm.h>.
93         (memcpy): Don't use BP_SYM.
94         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
95         <bp-sym.h> and <bp-asm.h>.
96         (__mempcpy): Don't use BP_SYM.
97         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
98         <bp-sym.h> and <bp-asm.h>.
99         (__memrchr): Don't use BP_SYM.
100         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
101         <bp-sym.h> and <bp-asm.h>.
102         (memset): Don't use BP_SYM.
103         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
104         <bp-sym.h> and <bp-asm.h>.
105         (__rawmemchr): Don't use BP_SYM.
106         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
107         <bp-sym.h> and <bp-asm.h>.
108         (__STRCMP): Don't use BP_SYM.
109         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
110         <bp-sym.h> and <bp-asm.h>.
111         (strchr): Don't use BP_SYM.
112         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
113         <bp-sym.h> and <bp-asm.h>.
114         (__strchrnul): Don't use BP_SYM.
115         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
116         <bp-sym.h> and <bp-asm.h>.
117         (strlen): Don't use BP_SYM.
118         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
119         <bp-sym.h> and <bp-asm.h>.
120         (strncmp): Don't use BP_SYM.
121         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
122         <bp-sym.h> and <bp-asm.h>.
123         (__strnlen): Don't use BP_SYM.
124         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
125         <bp-asm.h>.
126         (__mpn_rshift): Don't use BP_SYM.
127         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
128         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
129         <bp-sym.h> and <bp-asm.h>.
130         (__sigsetjmp): Don't use BP_SYM.
131         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
132         (L(start_addresses)): Don't use BP_SYM.
133         (_start): Likewise.
134         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
135         <bp-asm.h>.
136         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
137         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
138         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
139         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
140         <bp-asm.h>.
141         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
142         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
143         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
144         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
145         <bp-asm.h>.
146         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
147         comments.
148         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
149         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
150         <bp-asm.h>.
151         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
152         FIXME comments.
153         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
154         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
155         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
156         <bp-asm.h>.
157         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
158         comment.
159         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
160         and <bp-asm.h>.
161         (strncmp): Don't use BP_SYM,
162         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
163         <bp-asm.h>.
164         (__mpn_sub_n): Don't use BP_SYM.
165         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
166         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
167         and <bp-asm.h>.
168         (__mpn_submul_1): Don't use BP_SYM.
169         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
171         <bp-sym.h> and <bp-asm.h>.
172         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
174         <bp-sym.h> and <bp-asm.h>.
175         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
176         comment.
178 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
180         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
181         Use ZK to minimize writes to Z.
182         (sub_magnitudes): Simplify code a bit.
183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
184         Use ZK to minimize writes to Z.
185         (sub_magnitudes): Simplify code a bit.
187 2013-02-27  Roland McGrath  <roland@hack.frob.com>
189         * csu/gmon-start.c: Add special exception to license text.
191 2013-02-27  Richard Henderson  <rth@redhat.com>
193         * scripts/config.guess: Update from config.git.
194         * scripts/config.sub: Likewise.
196 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
198         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
200         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
202         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
204         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
206         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
208 2013-02-26  Roland McGrath  <roland@hack.frob.com>
210         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
211         [$(build-shared = yes].
213 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
215         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
216         (__mul): Reduce iterations for calculating mantissa.
218         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
219         MPTWO.
220         (__mpranred): Likewise.
222         [BZ #15160]
223         * malloc/memusagestat.c (main): Draw graphs for heap and stack
224         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
226 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
228         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
229         Define __attribute__.
231 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
233         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
234         unused.
235         * posix/regex_internal.h (__attribute): Remove.
236         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
237         (re_string_context_at): Likewise.
238         (bitset_not): Use __attribute__ and mark function as possibly
239         unused.
240         (bitset_merge): Likewise.
241         (bitset_mask): Likewise.
242         (re_string_char_size_at): Likewise.
243         (re_string_wchar_at): Likewise.
244         (re_string_elem_size_at): Likewise.
246 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
248         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
249         code.
250         (cc32): Likewise.
252         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
253         (__acr): Likewise.
254         (__cpy): Likewise.
255         (norm): Likewise.
256         (denorm): Likewise.
257         (__dbl_mp): Likewise.
258         (add_magnitudes): Likewise.
259         (sub_magnitudes): Likewise.
260         (__mul): Likewise.
261         (__inv): Likewise.
263         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
264         style.
266         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
267         style.
269         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
270         code.
272         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
273         up changes with default code.
274         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
275         Likewise.
277 2013-02-24  Allan McRae  <allan@archlinux.org>
279         * manual/socket.texi (The Internet Namespace): Order menu items
280         to match that in the file.
282         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
283         node listing of the info page menu.
285 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
287         [BZ #13550]
288         * sysdeps/i386/bp-asm.h: Remove file.
289         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
290         (PARMS): Do not use macros from bp-asm.h.
291         (S1): Likewise.
292         (S2): Likewise.
293         (SIZE): Likewise.
294         (__mpn_add_n): Do not use BP_SYM
295         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
296         "bp-asm.h".
297         (PARMS): Do not use macros from bp-asm.h.
298         (S1): Likewise.
299         (SIZE): Likewise.
300         (__mpn_addmul_1): Do not use BP_SYM
301         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
302         "bp-asm.h".
303         (PARMS): Do not use macros from bp-asm.h.
304         (SIGMSK): Likewise.
305         (_setjmp): Likewise.  Do not use BP_SYM.
306         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
307         "bp-asm.h".
308         (PARMS): Do not use macros from bp-asm.h.
309         (SIGMSK): Likewise.
310         (setjmp): Likewise.  Do not use BP_SYM.
311         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
312         "bp-asm.h".
313         (PARMS): Do not use macros from bp-asm.h.
314         (__frexp): Do not use BP_SYM.
315         (frexp): Likewise.
316         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
317         "bp-asm.h".
318         (PARMS): Do not use macros from bp-asm.h.
319         (__frexpf): Do not use BP_SYM.
320         (frexpf): Likewise.
321         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
322         "bp-asm.h".
323         (PARMS): Do not use macros from bp-asm.h.
324         (__frexpl): Do not use BP_SYM.
325         (frexpl): Likewise.
326         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
327         "bp-asm.h".
328         (PARMS): Do not use macros from bp-asm.h.
329         (__remquo): Do not use BP_SYM.
330         (remquo): Likewise.
331         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
332         "bp-asm.h".
333         (PARMS): Do not use macros from bp-asm.h.
334         (__remquof): Do not use BP_SYM.
335         (remquof): Likewise.
336         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
337         "bp-asm.h".
338         (PARMS): Do not use macros from bp-asm.h.
339         (__remquol): Do not use BP_SYM.
340         (remquol): Likewise.
341         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
342         "bp-asm.h".
343         (PARMS): Do not use macros from bp-asm.h.
344         (DEST): Likewise.
345         (SRC): Likewise.
346         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
347         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
348         "bp-asm.h".
349         (PARMS): Do not use macros from bp-asm.h.
350         (strlen): Do not use BP_SYM.
351         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
352         "bp-asm.h".
353         (PARMS): Do not use macros from bp-asm.h.
354         (S1): Likewise.
355         (S2): Likewise.
356         (SIZE): Likewise.
357         (__mpn_add_n): Do not use BP_SYM.
358         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
359         "bp-asm.h".
360         (PARMS): Do not use macros from bp-asm.h.
361         (S1): Likewise.
362         (SIZE): Likewise.
363         (__mpn_addmul_1): Do not use BP_SYM.
364         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
365         weak_alias.
366         (bzero): Likewise.
367         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
368         "bp-asm.h".
369         (PARMS): Do not use macros from bp-asm.h.
370         (S): Likewise.
371         (SIZE): Likewise.
372         (__mpn_lshift): Do not use BP_SYM.
373         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
374         "bp-asm.h".
375         (PARMS): Do not use macros from bp-asm.h.
376         (DEST): Likewise.
377         (SRC): Likewise.
378         (LEN): Likewise.
379         (memcpy): Likewise.  Do not use BP_SYM.
380         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
381         libc_hidden_def and weak_alias.
382         (mempcpy): Do not use BP_SYM in weak_alias.
383         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
384         "bp-asm.h".
385         (PARMS): Do not use macros from bp-asm.h.
386         (DEST): Likewise.
387         (LEN): Likewise.
388         [!BZERO_P] (CHR): Likewise.
389         (memset): Likewise.  Do not use BP_SYM.
390         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
391         "bp-asm.h".
392         (PARMS): Do not use macros from bp-asm.h.
393         (S1): Likewise.
394         (SIZE): Likewise.
395         (__mpn_mul_1): Do not use BP_SYM.
396         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
397         "bp-asm.h".
398         (PARMS): Do not use macros from bp-asm.h.
399         (S): Likewise.
400         (SIZE): Likewise.
401         (__mpn_rshift): Do not use BP_SYM.
402         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
403         "bp-asm.h".
404         (PARMS): Do not use macros from bp-asm.h.
405         (STR): Likewise.
406         (CHR): Likewise.
407         (strchr): Likewise.  Do not use BP_SYM.
408         (index): Do not use BP_SYM in weak_alias.
409         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
410         "bp-asm.h".
411         (PARMS): Do not use macros from bp-asm.h.
412         (DEST): Likewise.
413         (SRC): Likewise.
414         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
415         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
416         "bp-asm.h".
417         (PARMS): Do not use macros from bp-asm.h.
418         (strlen): Do not use BP_SYM.
419         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
420         "bp-asm.h".
421         (PARMS): Do not use macros from bp-asm.h.
422         (S1): Likewise.
423         (S2): Likewise.
424         (SIZE): Likewise.
425         (__mpn_sub_n): Do not use BP_SYM.
426         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
427         "bp-asm.h".
428         (PARMS): Do not use macros from bp-asm.h.
429         (S1): Likewise.
430         (SIZE): Likewise.
431         (__mpn_submul_1): Do not use BP_SYM.
432         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
433         "bp-asm.h".
434         (PARMS): Do not use macros from bp-asm.h.
435         (S1): Likewise.
436         (S2): Likewise.
437         (SIZE): Likewise.
438         (__mpn_add_n): Do not use BP_SYM.
439         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
440         weak_alias.
441         (bzero): Likewise.
442         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
443         "bp-asm.h".
444         (PARMS): Do not use macros from bp-asm.h.
445         (BLK2): Likewise.
446         (LEN): Likewise.
447         (memcmp): Do not use BP_SYM.
448         (bcmp): Do not use BP_SYM in weak_alias.
449         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
450         "bp-asm.h".
451         (PARMS): Do not use macros from bp-asm.h.
452         (DEST): Likewise.
453         (SRC): Likewise.
454         (LEN): Likewise.
455         (memcpy): Likewise.  Do not use BP_SYM.
456         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
457         "bp-asm.h".
458         (PARMS): Do not use macros from bp-asm.h.
459         (DEST): Likewise.
460         (SRC): Likewise.
461         (LEN): Likewise.
462         (memmove): Likewise.  Do not use BP_SYM.
463         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
464         "bp-asm.h".
465         (PARMS): Do not use macros from bp-asm.h.
466         (DEST): Likewise.
467         (SRC): Likewise.
468         (LEN): Likewise.
469         (__mempcpy): Likewise.  Do not use BP_SYM.
470         (mempcpy): Do not use BP_SYM in weak_alias.
471         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
472         "bp-asm.h".
473         (PARMS): Do not use macros from bp-asm.h.
474         (DEST): Likewise.
475         (LEN): Likewise.
476         [!BZERO_P] (CHR): Likewise.
477         (memset): Likewise.  Do not use BP_SYM.
478         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
479         "bp-asm.h".
480         (PARMS): Do not use macros from bp-asm.h.
481         (STR2): Likewise.
482         (strcmp): Do not use BP_SYM.
483         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
484         "bp-asm.h".
485         (PARMS): Do not use macros from bp-asm.h.
486         (STR): Likewise.
487         (DELIM): Likewise.
488         [USE_AS_STRTOK_R] (SAVE): Likewise.
489         (FUNCTION): Likewise.  Do not use BP_SYM.
490         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
491         aliases.
492         (strtok_r): Likewise.
493         (__GI___strtok_r): Likewise.
494         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
495         (PARMS): Do not use macros from bp-asm.h.
496         (S): Likewise.
497         (SIZE): Likewise.
498         (__mpn_lshift): Do not use BP_SYM.
499         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
500         (PARMS): Do not use macros from bp-asm.h.
501         (STR): Likewise.
502         (CHR): Likewise.
503         (__memchr): Do not use BP_SYM.
504         (memchr): Do not use BP_SYM in weak_alias.
505         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
506         (PARMS): Do not use macros from bp-asm.h.
507         (BLK2): Likewise.
508         (LEN): Likewise.
509         (memcmp): Do not use BP_SYM.
510         (bcmp): Do not use BP_SYM in weak_alias.
511         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
512         (PARMS): Do not use macros from bp-asm.h.
513         (S1): Likewise.
514         (SIZE): Likewise.
515         (__mpn_mul_1): Do not use BP_SYM.
516         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
517         "bp-asm.h".
518         (PARMS): Do not use macros from bp-asm.h.
519         (STR): Likewise.
520         (CHR): Likewise.
521         (__rawmemchr): Do not use BP_SYM.
522         (rawmemchr): Do not use BP_SYM in weak_alias.
523         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
524         (PARMS): Do not use macros from bp-asm.h.
525         (S): Likewise.
526         (SIZE): Likewise.
527         (__mpn_rshift): Do not use BP_SYM.
528         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
529         (PARMS): Do not use macros from bp-asm.h.
530         (SIGMSK): Likewise.
531         (__sigsetjmp): Likewise.  Do not use BP_SYM.
532         * sysdeps/i386/start.S: Do not include "bp-sym.h".
533         (_start): Do not use BP_SYM.
534         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
535         (PARMS): Do not use macros from bp-asm.h.
536         (DEST): Likewise.
537         (SRC): Likewise.
538         (__stpcpy): Likewise.  Do not use BP_SYM.
539         (stpcpy): Do not use BP_SYM in weak_alias.
540         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
541         "bp-asm.h".
542         (PARMS): Do not use macros from bp-asm.h.
543         (DEST): Likewise.
544         (SRC): Likewise.
545         (LEN): Likewise.
546         (__stpncpy): Likewise.  Do not use BP_SYM.
547         (stpncpy): Do not use BP_SYM in weak_alias.
548         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
549         (PARMS): Do not use macros from bp-asm.h.
550         (STR): Likewise.
551         (CHR): Likewise.
552         (strchr): Likewise.  Do not use BP_SYM.
553         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
554         "bp-asm.h".
555         (PARMS): Do not use macros from bp-asm.h.
556         (STR): Likewise.
557         (CHR): Likewise.
558         (__strchrnul): Likewise.  Do not use BP_SYM.
559         (strchrnul): Do not use BP_SYM in weak_alias.
560         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
561         "bp-asm.h".
562         (PARMS): Do not use macros from bp-asm.h.
563         (STOP): Likewise.
564         (strcspn): Do not use BP_SYM.
565         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
566         "bp-asm.h".
567         (PARMS): Do not use macros from bp-asm.h.
568         (STR): Likewise.
569         (STOP): Likewise.
570         (strpbrk): Likewise.  Do not use BP_SYM.
571         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
572         "bp-asm.h".
573         (PARMS): Do not use macros from bp-asm.h.
574         (STR): Likewise.
575         (CHR): Likewise.
576         (strrchr): Likewise.  Do not use BP_SYM.
577         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
578         (PARMS): Do not use macros from bp-asm.h.
579         (SKIP): Likewise.
580         (strspn): Do not use BP_SYM.
581         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
582         (PARMS): Do not use macros from bp-asm.h.
583         (STR): Likewise.
584         (DELIM): Likewise.
585         (SAVE): Likewise.
586         (FUNCTION): Likewise.  Do not use BP_SYM.
587         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
588         aliases.
589         (strtok_r): Likewise.
590         (__GI___strtok_r): Likewise.
591         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
592         (PARMS): Do not use macros from bp-asm.h.
593         (S1): Likewise.
594         (S2): Likewise.
595         (SIZE): Likewise.
596         (__mpn_sub_n): Do not use BP_SYM.
597         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
598         "bp-asm.h".
599         (PARMS): Do not use macros from bp-asm.h.
600         (S1): Likewise.
601         (SIZE): Likewise.
602         (__mpn_submul_1): Do not use BP_SYM.
603         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
604         <bp-sym.h>.
605         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
606         and <bp-asm.h>.
607         (PARMS): Do not use macros from bp-asm.h.
608         (FLAGS): Likewise.
609         (PTID): Likewise.
610         (TLS): Likewise.
611         (CTID): Likewise.
612         (__clone): Do not use BP_SYM.
613         (clone): Do not use BP_SYM in weak_alias.
614         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
615         and <bp-asm.h>.
616         (PARMS): Do not use macros from bp-asm.h.
617         (LEN): Likewise.
618         (__mmap64): Do not use BP_SYM.
619         (mmap64): Do not use BP_SYM in weak_alias.
620         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
621         <bp-sym.h> and <bp-asm.h>.
622         (PARMS): Do not use macros from bp-asm.h.
623         (__posix_fadvise64_l64): Do not use BP_SYM.
624         * sysdeps/unix/sysv/linux/i386/semtimedop.S
625         (PARMS): Do not use macros from bp-asm.h.
626         (NSOPS): Likewise.
627         (semtimedop): Do not use BP_SYM.
628         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
629         and <bp-asm.h>.
631 2013-02-21  Allan McRae  <allan@archlinux.org>
633         * manual/message.texi (Charset conversion in gettext):
634         Move @end statement to beginning of line.
636 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
639         static.
640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
641         Likewise.
643         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
644         (denorm): Likewise.
645         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
646         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
648 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
650         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
651         tail-call to the resolved function if pltexit isn't needed.
653 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
656         or Y being zero as being unlikely.
657         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
658         Likewise.
660 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
662         * manual/nss.texi (System Databases and Name Service Switch):
663         Remove frobnicate @pxref.
665 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
667         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
668         __attribute__ ((unused)) to __attribute__ ((__unused__)).
670 2013-02-20  Petr Machata  <pmachata@redhat.com>
672         * elf/elf.h (R_ARM_TARGET1): New macro.
673         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
674         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
675         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
676         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
677         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
678         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
679         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
680         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
681         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
682         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
683         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
684         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
685         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
686         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
687         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
688         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
689         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
690         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
691         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
692         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
693         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
694         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
695         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
696         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
697         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
698         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
699         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
700         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
701         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
702         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
703         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
704         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
705         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
706         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
707         (R_ARM_THM_GOT_BREL12): Likewise.
708         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
709         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
710         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
711         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
712         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
713         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
714         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
715         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
716         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
718 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
720         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
721         __attribute_used__ to __attribute__ ((unused)).
723 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
725         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
726         powerpc mpa.c.
727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
728         comment formatting.
729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
731 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
733         [BZ #13550]
734         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
735         Remove macro.
736         (ENTER): Remove both macro definitions.
737         (LEAVE): Likewise.
738         (CHECK_BOUNDS_LOW): Likewise.
739         (CHECK_BOUNDS_HIGH): Likewise.
740         (CHECK_BOUNDS_BOTH): Likewise.
741         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
742         (RETURN_BOUNDED_POINTER): Likewise.
743         (RETURN_NULL_BOUNDED_POINTER): Likewise.
744         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
745         (POP_ERRNO_LOCATION_RETURN): Likewise.
746         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
747         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
748         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
749         macros.
750         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
751         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
752         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
753         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
754         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
755         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
756         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
757         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
758         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
759         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
760         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
761         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
762         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
763         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
764         removed macros.
765         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
766         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
767         macros.
768         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
769         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
770         * sysdeps/i386/i586/memset.S (memset): Likewise.
771         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
772         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
773         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
774         macros.
775         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
776         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
777         Change uses of L(2) to L(out).
778         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
779         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
780         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
781         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
782         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
783         removed macros.
784         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
785         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
786         macros.
787         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
788         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
789         (RETURN): Do not use macro LEAVE.
790         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
791         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
792         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
793         * sysdeps/i386/i686/memset.S (memset): Likewise.
794         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
795         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
796         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
797         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
798         Likewise.
799         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
800         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
801         L(1_2) and L(1_3) into L(1).
802         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
803         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
804         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
805         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
806         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
807         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
808         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
809         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
810         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
811         macros.
812         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
813         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
814         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
815         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
816         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
817         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
818         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
819         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
820         * sysdeps/i386/strcspn.S (strcspn): Likewise.
821         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
822         * sysdeps/i386/strrchr.S (strrchr): Likewise.
823         * sysdeps/i386/strspn.S (strspn): Likewise.
824         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
825         conditional code.
826         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
827         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
828         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
829         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
830         L(1_3) into L(1_1).
831         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
832         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
833         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
834         macros.
835         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
837 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
839         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
840         macro.
842 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
844         * math/atest-exp.c (exp_mpn): Remove ROUND.
845         * math/atest-exp2.c (exp_mpn): Likewise.
846         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
848         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
849         * stdlib/tst-tls-atexit-lib.c: Likewise.
850         * stdlib/tst-tls-atexit.c: Likewise.
852 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
854         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
855         and __attribute_alloc_size__.
857 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
859         * include/programs/xmalloc.h: Change __attribute_alloc_size to
860         __attribute_alloc_size__.
861         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
862         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
864 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
866         * include/programs/xmalloc.h: New file.
867         * catgets/gencat.c: Include it.
868         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
869         * elf/pldd.c: Likewise.
870         * iconv/iconv_charmap.c: Likewise.
871         * iconv/iconvconfig.c: Likewise.
872         * iconv/strtab.c: Likewise.
873         * locale/programs/locale.c: Likewise.
874         * locale/programs/localedef.h: Likewise.
875         * locale/programs/simple-hash.c: Likewise.
876         * nscd/nscd.h: Likewise.
877         * nss/makedb.c: Likewise.
878         * sysdeps/generic/ldconfig.h: Likewise.
880 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
882         * Versions.def: Add GLIBC_2.18.
883         * include/link.h (struct link_map): New member l_tls_dtor_count.
884         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
885         (__call_tls_dtors): Likewise.
886         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
887         __cxa_thread_atexit_impl.
888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
889         Likewise.
890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
891         Likewise.
892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
893         Likewise.
894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
895         Likewise.
896         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
898         Likewise.
899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
900         Likewise.
901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
903         Likewise.
904         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
905         (tests): Add test case tst-tls-atexit.
906         (modules-names): Add shared library for tst-tls-atexit.
907         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
908         (GLIBC_PRIVATE): Add __call_tls_dtors.
909         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
910         for libstdc++.
911         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
912         * stdlib/tst-tls-atexit.c: New test case.
913         * stdlib/tst-tls-atexit-lib.c: New test case.
915         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
917         * elf/Versions (ld): Add _dl_find_dso_for_object.
918         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
919         * elf/dl-open.c (_dl_find_dso_for_object): New function.
920         (dl_open_worker): Use _dl_find_dso_for_object.
921         * elf/dl-sym.c (do_sym): Likewise.
922         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
924 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
926         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
927         Syntactic changes only.
928         (_dl_runtime_profile): Do a tail-call to the resolved function.
930 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
932         [BZ #13550]
933         * sysdeps/x86_64/bp-asm.h: Remove file.
934         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
935         <bp-sym.h> and <bp-asm.h>.
936         (__clone): Do not use BP_SYM.
937         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
938         <bp-sym.h> and <bp-asm.h>.
939         * sysdeps/unix/x86_64/sysdep.S: Likewise.
940         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
941         "bp-asm.h".
942         (_setjmp): Do not use BP_SYM.
943         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
944         "bp-asm.h".
945         (setjmp): Do not use BP_SYM.
946         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
947         libc_hidden_def.
948         (mempcpy): Do not use BP_SYM in weak_alias.
949         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
950         "bp-asm.h".
951         (strchr): Do not use BP_SYM.
952         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
953         "bp-asm.h".
954         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
955         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
956         (_start): Do not use BP_SYM.
957         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
958         "bp-asm.h".
959         (strcat): Do not use BP_SYM.
960         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
961         "bp-asm.h".
962         (STRCMP): Do not use BP_SYM.
963         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
964         "bp-asm.h".
965         (STRCPY): Do not use BP_SYM.
966         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
967         "bp-asm.h".
968         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
969         "bp-asm.h".
970         (FUNCTION): Do not use BP_SYM.
971         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
972         weak_alias.
973         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
975 2013-02-17  Andreas Jaeger  <aj@suse.de>
977         * time/Versions: Sort entries.
978         * string/Versions: Likewise.
979         * resolv/Versions: Likewise.
980         * posix/Versions: Likewise.
981         * iconv/Versions: Likewise.
982         * elf/Versions: Likewise.
983         * wcsmbs/Versions: Likewise.
985 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
987         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
988         loop termination condition.
990         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
991         variable to calculate EZ.
992         (__sqr): Likewise.
994         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
995         the lower precision input.
997 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
999         [BZ #13550]
1000         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1001         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1002         (run-via-rtld-prefix): Do not handle %-bp tests.
1003         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1004         (all-object-suffixes): Remove .ob.
1005         (bppfx): Remove variable.
1006         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1007         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1008         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1009         [$(build-bounded) = yes] (libtype.ob): Likewise.
1010         * Makerules (elide-routines.ob): Remove variable.
1011         (do-tests-clean): Do not handle *-bp.out.
1012         (common-mostlyclean): Do not handle *-bp and *-bp.out.
1013         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1014         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1015         (tests): Do not include $(tests-bp.out).
1016         (xtests): Do not include $(xtests-bp.out).
1017         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1018         [$(build-bounded) = yes] ($(addprefix
1019         $(objpfx),$(binaries-bounded))): Remove rule.
1020         ($(objpfx)%-bp.out): Remove rule.
1021         * config.make.in (build-bounded): Remove variable.
1022         * crypt/Makefile [$(build-bounded) = yes]
1023         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1024         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1025         append to variable.
1026         [$(build-bounded) = yes] (install-lib): Likewise.
1027         [$(build-bounded) = yes] (generated): Likewise.
1028         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1029         Remove rule.
1030         * intl/Makefile [$(build-bounded) = yes]
1031         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1032         * math/Makefile [$(build-bounded) = yes]
1033         ($(tests:%=$(objpfx)%-bp): Likewise.
1034         * misc/Makefile [$(build-bounded) = yes]
1035         ($(objpfx)tst-tsearch-bp): Likewise.
1036         * nptl/Makeconfig (bounded-thread-library): Remove variable.
1037         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1038         Remove dependency.
1039         * string/Makefile (o-objects.ob): Remove variable.
1040         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1041         (CFLAGS-.ob): Remove variable.
1042         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1043         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1044         both definitions of variable.
1045         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1046         (ASFLAGS-.ob): Remove variable.
1048 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
1050         [BZ #13550]
1051         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1052         Remove __BOUNDED_POINTERS__ from condition.
1053         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1054         * string/bits/string2.h [!__NO_STRING_INLINES &&
1055         !__BOUNDED_POINTERS__]: Likewise.
1056         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1057         Likewise.
1058         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1059         Remove conditional code.
1060         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1061         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1062         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1063         condition.
1065         [BZ #13550]
1066         * csu/libc-start.c: Do not include <bp-sym.h>.
1067         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1068         * elf/dl-open.c: Do not include <bp-sym.h>.
1069         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1070         * math/fegetenv.c: Do not include <bp-sym.h>.
1071         (fegetenv): Do not use BP_SYM in versioned symbols.
1072         * nptl/sysdeps/pthread/bits/libc-lockP.h
1073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1074         <bp-sym.h>.
1075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1076         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1078         (__pthread_mutex_destroy): Likewise.
1079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1080         (__pthread_mutex_lock): Likewise.
1081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1082         (__pthread_mutex_trylock): Likewise.
1083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1084         (__pthread_mutex_unlock): Likewise.
1085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1086         (__pthread_mutexattr_init): Likewise.
1087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1088         (__pthread_mutexattr_destroy): Likewise.
1089         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1090         (__pthread_mutexattr_settype): Likewise.
1091         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1092         (__pthread_rwlock_init): Likewise.
1093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1094         (__pthread_rwlock_destroy): Likewise.
1095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1096         (__pthread_rwlock_rdlock): Likewise.
1097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1098         (__pthread_rwlock_tryrdlock): Likewise.
1099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1100         (__pthread_rwlock_wrlock): Likewise.
1101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1102         (__pthread_rwlock_trywrlock): Likewise.
1103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1104         (__pthread_rwlock_unlock): Likewise.
1105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1106         (__pthread_key_create): Likewise.
1107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1108         (__pthread_setspecific): Likewise.
1109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1110         (__pthread_getspecific): Likewise.
1111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1112         Likewise.
1113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1114         (_pthread_cleanup_push_defer): Likewise.
1115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1116         (_pthread_cleanup_pop_restore): Likewise.
1117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1118         (pthread_setcancelstate): Likewise.
1119         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1120         <bp-sym.h>.
1121         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1122         (memchr): Do not use BP_SYM in weak_alias.
1123         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1124         (fegetenv): Do not use BP_SYM in versioned symbols.
1125         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1126         (fesetenv): Do not use BP_SYM in versioned symbols.
1127         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1128         (feupdateenv): Do not use BP_SYM in versioned symbols.
1129         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1130         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1131         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1132         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1133         (open64): Do not use BP_SYM in weak_alias.
1134         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1135         (fegetenv): Do not use BP_SYM in versioned symbols.
1136         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1137         (fesetenv): Do not use BP_SYM in versioned symbols.
1138         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1139         (feupdateenv): Do not use BP_SYM in versioned symbols.
1140         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1141         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1142         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1143         (feraiseexcept): Do not use BP_SYM in versioned symbols.
1144         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1145         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1146         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1147         <bp-sym.h>.
1148         (__libc_start_main): Do not use BP_SYM.
1150 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1152         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1153         redundant return line.
1154         (norm): Likewise.
1155         (denorm): Likewise.
1156         (dbl_mp): Likewise.
1157         (sub_magnitudes): Likewise.
1158         (__add): Likewise.
1159         (__sub): Likewise.
1160         (__mul): Likewise.
1161         (__inv): Likewise.
1162         (__dvd): Likewise.
1163         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1164         (norm): Likewise.
1165         (denorm): Likewise.
1166         (dbl_mp): Likewise.
1167         (sub_magnitudes): Likewise.
1168         (__add): Likewise.
1169         (__sub): Likewise.
1170         (__mul): Likewise.
1171         (__inv): Likewise.
1172         (__dvd): Likewise.
1174         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1175         instead of __mul.
1176         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1177         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1178         (cc32): Likewise.
1180         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1181         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1182         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1183         of __mul for squares.
1184         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1185         function
1186         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1187         Likewise.
1188         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1189         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1191 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
1193         [BZ #13550]
1194         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1195         code.
1196         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1197         prototype or function definition.  Rename ubp_* variables and
1198         parameters.  Remove argv definitions conditional on
1199         [__BOUNDED_POINTERS__].
1200         * debug/backtrace.c (__backtrace): Do not use __unbounded.
1201         * elf/dl-runtime.c (_dl_fixup): Likewise.
1202         * include/set-hooks.h (RUN_HOOK): Likewise.
1203         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1204         definition.
1205         * string/strcpy.c (strcpy): Do not use __unbounded.
1206         * sysdeps/generic/frame.h (struct layout): Likewise.
1207         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1208         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1209         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1210         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1211         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1212         (__backtrace): Likewise.
1213         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1214         use __ptrvalue.
1215         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1216         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1217         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1218         Likewise.
1219         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1220         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1221         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1222         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1223         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1224         Do not use __unbounded.
1225         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1226         Rename __unboundedrlimits parameter to rlimits in prototype.
1227         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1228         Do not use __unbounded.
1229         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1230         not use __ptrvalue.
1231         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1232         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1233         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1234         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1235         __ptrvalue or __unbounded.
1236         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1237         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1238         use __unbounded.
1239         (__new_msgctl): Do not use __ptrvalue.
1240         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1241         __unbounded.
1242         (__libc_msgrcv): Do not use __ptrvalue.
1243         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1244         startup_info): Do not use __unbounded.
1245         (__libc_start_main): Likewise.  Rename ubp_* variables and
1246         parameters.  Remove argv definitions conditional on
1247         [__BOUNDED_POINTERS__].
1248         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1249         __ptrvalue.
1250         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1251         use __unbounded.
1252         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1253         or __ptrvalue.
1254         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1255         use __unbounded.
1256         (__new_shmctl): Do not use __ptrvalue.
1257         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1258         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1259         Likewise.
1260         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1261         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1262         (__libc_sigaction): Likewise.
1263         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1264         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1265         Likewise.
1266         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1268 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
1270         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1272         * string/mempcpy.c: Implement by calling memcpy.
1274 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1276         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1278         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1279         evaluation.
1281         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1282         values in the mantissa.
1284         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1285         minimize writes to Z.
1286         (sub_magnitudes): Simplify code a bit.
1288 2013-02-12  Roland McGrath  <roland@hack.frob.com>
1290         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1291         from the message.  The linker prefixes all warnings with that already.
1293 2013-02-12  Andreas Schwab  <schwab@suse.de>
1295         [BZ #15078]
1296         * posix/regexec.c (extend_buffers): Add parameter min_len.
1297         (check_matching): Pass minimum needed length.
1298         (clean_state_log_if_needed): Likewise.
1299         (get_subexp): Likewise.
1300         * posix/Makefile (tests): Add bug-regex34.
1301         (bug-regex34-ENV): Define.
1302         * posix/bug-regex34.c: New file.
1304         [BZ #11561]
1305         * posix/regcomp.c (parse_bracket_exp): When looking up collating
1306         elements compare against the byte sequence of it, not its name.
1307         * posix/Makefile (tests): Add bug-regex35.
1308         (bug-regex35-ENV): Define.
1309         * posix/bug-regex35.c: New file.
1311 2013-02-11  Tom de Vries  <tom@codesourcery.com>
1313         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
1314         comment.
1315         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1316         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1317         (CHECK_EOL): Add undef.
1319 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
1321         * bits/stdlib-bsearch.h: New file.
1322         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1323         * stdlib/stdlib.h: Likewise.
1325 2013-02-11  Roland McGrath  <roland@hack.frob.com>
1327         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1328         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1329         declaration.
1330         * manual/search.texi (Array Search Function): Add missing const in
1331         lfind prototype.
1332         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1333         declaration to use rlim_t.
1334         (Basic Scheduling Functions): Remove erroneous const from
1335         sched_getparam prototype.  Remove erroneous * from
1336         sched_get_priority_max and sched_get_priority_min prototypes.
1337         (Resource Usage): Fix summary @comment on vtimes to refer to
1338         sys/vtimes.h rather than vtimes.h.
1339         Add missing *s in vtimes prototype.
1340         (Limits on Resources): Fix ulimit prototype to return long int.
1341         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1342         prototypes to use long int rather than double.
1343         (BSD Random): Fix initstate and setstate to use char *, not void *.
1344         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1345         prototype to make second argument 'struct aiocb64 *const[]'.
1346         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1347         (Status of AIO Operations): Remove erroneous const in aio_return and
1348         aio_return64 prototypes.
1349         (Synchronizing I/O): Fix sync prototype to return void.
1350         * manual/startup.texi (Suboptions): Remove an erroneous const in
1351         getsubopt prototype.
1352         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1353         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1354         use size_t rather than int.
1355         (Scanning All Users): Likewise for getpwent_r.
1356         (Setting Groups): Add missing const to setgroups prototype.
1357         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1358         * manual/socket.texi (Host Names): Fix gethostbyaddr and
1359         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1360         'const void *' rather than 'const char *'.
1361         (Host Address Functions): Likewise for inet_ntop.
1362         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1363         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1364         ssize_t for return value.
1365         (Sending Data): Likewise for send, sendto, sendmsg.
1366         (Socket Option Functions): Add a missing const in setsockopt prototype.
1367         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1368         use wchar_t for the argument.
1369         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1370         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1371         take no arguments.
1372         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1373         double/float/long double for second argument.
1374         Fix return types of significand, significandf, significandl.
1375         * manual/filesys.texi (Setting Permissions): Use mode_t for second
1376         argument in fchmod prototype.
1377         (File Owner): Use uid_t and gid_t in fchown prototype.
1378         (File Times): Add const to utimes, futimes, and lutimes prototypes.
1379         (Making Special Files): Use mode_t and dev_t in mknod prototype.
1380         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1381         use 'const struct dirent **' as argument types to CMP function pointer
1382         argument.
1383         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1384         (File Times): Fix summary magic @comment for struct utimbuf and utime
1385         to refer to utime.h, not time.h.
1386         * manual/string.texi (Argz Functions): Add missing const in
1387         argz_extract and argz_next prototypes.
1388         (Finding Tokens in a String): Likewise for basename.
1389         (String/Array Comparison): Fix typo in wcscasecmp prototype.
1390         (Copying and Concatenation): Fix typo in wmemmove prototype.
1391         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1392         (Signal Stack): Remove erroneous const in sigstack prototype.
1393         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1394         prototype.
1395         (Simple Calendar Time): Likewise for stime.
1396         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1397         prototype.
1398         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1399         say sys/sysctl.h instead.
1400         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1401         and vsyslog prototypes.
1403 2013-02-11  Tom de Vries  <tom@codesourcery.com>
1405         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1406         Remove.
1408 2013-02-11  Roland McGrath  <roland@hack.frob.com>
1410         * misc/sys/mman.h: Fix typo in mremap comment.
1412 2013-02-08  Roland McGrath  <roland@hack.frob.com>
1414         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1415         the '\0' terminator.
1417 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
1419         [BZ #13550]
1420         * debug/segfault.c: Don't include <bp-checks.h>.
1421         * sysdeps/generic/bp-checks.h: Remove file.
1422         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1423         (__GETDENTS): Don't use CHECK_N.
1424         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1425         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1426         (__getgroups): Don't use CHECK_N.
1427         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1428         (setgroups): Don't use CHECK_N.
1429         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1430         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1431         (__libc_msgrcv): Don't use CHECK_N.
1432         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1433         (__libc_msgsnd): Don't use CHECK_N.
1434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1435         <bp-checks.h>.
1436         (__libc_pread): Don't use CHECK_N.
1437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1438         include <bp-checks.h>.
1439         (__libc_pread64): Don't use CHECK_N.
1440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1441         include <bp-checks.h>.
1442         (__libc_pwrite): Don't use CHECK_N.
1443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1444         include <bp-checks.h>.
1445         (__libc_pwrite64): Don't use CHECK_N.
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1447         <bp-checks.h>.
1448         (__libc_pread): Don't use CHECK_N.
1449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1450         include <bp-checks.h>.
1451         (__libc_pread64): Don't use CHECK_N.
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1453         include <bp-checks.h>.
1454         (__libc_pwrite): Don't use CHECK_N.
1455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1456         include <bp-checks.h>.
1457         (__libc_pwrite64): Don't use CHECK_N.
1458         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1459         (do_pread): Don't use CHECK_N.
1460         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1461         (do_pread64): Don't use CHECK_N.
1462         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1463         (do_pwrite): Don't use CHECK_N.
1464         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1465         (do_pwrite64): Don't use CHECK_N.
1466         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1467         (__libc_readv): Don't use CHECK_N.
1468         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1469         (semop): Don't use CHECK_N.
1470         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1471         <bp-checks.h>.
1472         (semtimedop): Don't use CHECK_N.
1473         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1474         (__libc_pread): Don't use CHECK_N.
1475         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1476         <bp-checks.h>.
1477         (__libc_pread64): Don't use CHECK_N.
1478         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1479         <bp-checks.h>.
1480         (__libc_pwrite): Don't use CHECK_N.
1481         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1482         <bp-checks.h>.
1483         (__libc_pwrite64): Don't use CHECK_N.
1484         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1485         <bp-checks.h>.
1486         (__libc_msgrcv): Don't use CHECK_N.
1487         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1488         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
1489         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1490         (__libc_writev): Don't use CHECK_N.
1492 2013-02-08  Roland McGrath  <roland@hack.frob.com>
1494         * string/strcpy.c: Removed unused variable.
1496         * Makeconfig (+sysdep-includes): Define with := rather than =.
1497         Use an existing include/ subdir of each sysdeps dir before it.
1499 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1501         * nscd/connection.c (register_traced_file): Comment function.
1502         [HAVE_INOTIFY] (union __inev): Define.
1503         [HAVE_INOTIFY] (inotify_check_files): New function.
1504         [HAVE_INOTIFY] (clear_db_cache): Likewise.
1505         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1506         clear_db_cache.
1507         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1509 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1511         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1512         loaded if not already and that a failure is permanent.
1514 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1516         [BZ #15006]
1517         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1518         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1520 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
1522         [BZ #13550]
1523         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1524         (CHECK_1_NULL_OK): Likewise.
1525         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1526         (__fxstat): Do not use CHECK_1.
1527         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1528         <bp-checks.h>.
1529         (___fxstat64): Do not use CHECK_1.
1530         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1531         <bp-checks.h>.
1532         (__fxstatat): Do not use CHECK_1.
1533         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1534         <bp-checks.h>.
1535         (__fxstatat64): Do not use CHECK_1.
1536         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1537         <bp-checks.h>.
1538         (__fxstat): Do not use CHECK_1.
1539         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1540         <bp-checks.h>.
1541         (__fxstatat): Do not use CHECK_1.
1542         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1543         <bp-checks.h>.
1544         (__getresgid): Do not use CHECK_1.
1545         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1546         <bp-checks.h>.
1547         (__getresuid): Do not use CHECK_1.
1548         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1549         <bp-checks.h>.
1550         (__lxstat): Do not use CHECK_1.
1551         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1552         <bp-checks.h>.
1553         (__old_msgctl): Do not use CHECK_1.
1554         (__new_msgctl): Likewise.
1555         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1556         <bp-checks.h>.
1557         (__new_setrlimit): Do not use CHECK_1.
1558         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1559         <bp-checks.h>.
1560         (__old_shmctl): Do not use CHECK_1.
1561         (__new_shmctl): Likewise.
1562         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1563         <bp-checks.h>.
1564         (__xstat): Do not use CHECK_1.
1565         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1566         (__lxstat): Do not use CHECK_1.
1567         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1568         <bp-checks.h>.
1569         (___lxstat64): Do not use CHECK_1.
1570         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1571         (__old_msgctl): Do not use CHECK_1.
1572         (__new_msgctl): Likewise.
1573         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1574         <bp-checks.h>.
1575         (__gettimeofday): Do not use CHECK_1.
1576         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1577         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1578         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1579         <bp-checks.h>.
1580         (__gettimeofday): Do not use CHECK_1.
1581         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1582         (__old_shmctl): Do not use CHECK_1_NULL_OK.
1583         (__new_shmctl): Do not use CHECK_1.
1584         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1585         <bp-checks.h>.
1586         (do_sigtimedwait): Do not use CHECK_1.
1587         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1588         <bp-checks.h>.
1589         (do_sigwaitinfo): Do not use CHECK_1.
1590         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1591         <bp-checks.h>.
1592         (msgctl): Do not use CHECK_1.
1593         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1594         <bp-checks.h>.
1595         (shmctl): Do not use CHECK_1.
1596         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1597         (ustat): Do not use CHECK_1.
1598         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1599         <bp-checks.h>.
1600         (__fxstat): Do not use CHECK_1.
1601         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1602         <bp-checks.h>.
1603         (__fxstatat): Do not use CHECK_1.
1604         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1605         <bp-checks.h>.
1606         (__lxstat): Do not use CHECK_1.
1607         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1608         <bp-checks.h>.
1609         (__xstat): Do not use CHECK_1.
1610         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1611         (__xstat): Do not use CHECK_1.
1612         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1613         (___xstat64): Do not use CHECK_1.
1615         [BZ #13550]
1616         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1617         definitions.
1618         (CHECK_BOUNDS_HIGH): Likewise.
1619         * string/strcpy.c: Do not include <bp-checks.h>.
1620         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1622 2013-02-07  Roland McGrath  <roland@hack.frob.com>
1624         * nscd/nscd-client.h (__nscd_drop_map_ref):
1625         Add __attribute__ ((unused)).
1626         * nis/nss-nisplus.h (niserr2nss): Likewise.
1628         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1629         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1631         * csu/libc-tls.c (init_static_tls, init_slotinfo):
1632         Remove inline keyword.
1633         * include/rounding-mode.h (round_away): Likewise.
1634         * libio/wfileops.c (adjust_wide_data): Likewise.
1635         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1636         (__m128i_strloadu_tolower): Likewise.
1637         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1638         (__m128i_strloadu_tolower): Likewise.
1639         * time/mktime.c (ydhms_diff): Likewise.
1640         * locale/elem-hash.h (elem_hash): Likewise.
1641         * locale/setlocale.c (setdata): Likewise.
1642         * posix/regex_internal.h (re_string_char_size_at): Likewise.
1643         (re_string_wchar_at): Likewise.
1644         (bitset_not, bitset_merge, bitset_mask): Likewise.
1645         [!(__GNUC__ > 3)] (inline): Remove macro.
1646         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1647         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1648         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1649         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1650         * string/memcmp.c (memcmp_bytes): Likewise.
1651         * locale/programs/locarchive.c (compute_hashval): Likewise.
1652         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1653         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1654         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1655         * nss/getent.c (print_rpc, print_protocols): Likewise.
1656         (print_passwd, print_group, print_aliases): Likewise.
1657         * nis/nss-nisplus.h (niserr2nss): Likewise.
1658         * nscd/connections.c (restart_p): Likewise.
1659         Change return type to bool.
1661 2013-02-05  Roland McGrath  <roland@hack.frob.com>
1663         * Makeconfig (all-Depend-files): Add existing
1664         $(sorted-subdirs:=/Depend) files.
1665         (all-subdirs): Remove nss.
1666         * sysdeps/unix/inet/Subdirs: Add it here instead.
1667         * hesiod/Depend: New file.
1669         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1670         instead of calling alloca.
1672         * io/lseek.c (__lseek): Rename to __libc_lseek.
1673         Define __lseek as an alias.
1675         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1677 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
1679         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1680         else clause and remove check for non-standard endianness.
1682 2013-02-04  David S. Miller  <davem@davemloft.net>
1684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1686 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
1688         [BZ #13550]
1689         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1690         (__ubp_memchr): Remove prototype.
1691         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1692         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1693         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1694         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1695         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1696         Remove alias.
1697         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1698         (__ubp_memchr): Likewise.
1699         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1700         (__ubp_memchr): Likewise.
1701         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1702         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1703         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1704         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1705         CHECK_STRING.
1706         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1707         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1708         (__getcwd): Do not use CHECK_STRING.
1709         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1710         <bp-checks.h>.
1711         (__real_chown): Do not use CHECK_STRING.
1712         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1713         <bp-checks.h>.
1714         (fchownat): Do not use CHECK_STRING.
1715         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1716         CHECK_STRING.
1717         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1718         <bp-checks.h>.
1719         (__lchown): Do not use CHECK_STRING.
1720         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1721         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1722         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1723         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1725         include <bp-checks.h>.
1726         (truncate64): Do not use CHECK_STRING.
1727         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1728         <bp-checks.h>.
1729         (__real_chown): Do not use CHECK_STRING.
1730         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1731         <bp-checks.h>.
1732         (__lchown): Do not use CHECK_STRING.
1733         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1734         <bp-checks.h>.
1735         (__chown): Do not use CHECK_STRING.
1736         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1737         <bp-checks.h>.
1738         (truncate64): Do not use CHECK_STRING.
1739         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1740         Likewise.
1741         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1742         (__xmknod): Do not use CHECK_STRING.
1743         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1744         <bp-checks.h>.
1745         (__xmknodat): Do not use CHECK_STRING.
1746         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1747         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1749 2013-02-04  Andreas Schwab  <schwab@suse.de>
1751         [BZ #14142]
1752         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1753         * include/netdb.h: Likewise for h_errno.
1754         * elf/tst-stackguard1.c: Include <tls.h>.
1756 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1758         * elf/link.h (struct link_map): Extend the l_addr comment.
1759         * include/link.h (struct link_map): Likewise.
1761 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
1763         [BZ #13550]
1764         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1765         (BOUNDED_1): Remove macro.
1766         * debug/backtrace.c: Don't include <bp-checks.h>.
1767         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1768         (__backtrace): Likewise.
1769         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1770         <bp-checks.h>.
1771         (__backtrace): Don't use BOUNDED_1.
1772         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1773         <bp-checks.h>.
1774         (__backtrace): Don't use BOUNDED_1.
1775         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1776         (__backtrace): Don't use BOUNDED_1.
1777         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1778         (shmat): Don't use BOUNDED_N.
1780 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
1782         [BZ #13550]
1783         * sysdeps/generic/bp-start.h: Remove file.
1784         * csu/libc-start.c: Don't include <bp-start.h>.
1785         (LIBC_START_MAIN): Set up __environ directly instead of using
1786         INIT_ARGV_and_ENVIRON.
1787         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1788         <bp-start.h>.
1790         [BZ #13550]
1791         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1792         definitions.
1793         (CHECK_FCNTL): Likewise.
1794         (CHECK_N_PAGES): Likewise.
1796         [BZ #13550]
1797         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1798         definitions.
1799         (CHECK_SIGSET_NULL_OK): Likewise.
1800         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1801         <bp-checks.h>.
1802         (sigpending): Don't use CHECK_SIGSET.
1803         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1804         <bp-checks.h>.
1805         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1806         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1807         <bp-checks.h>.
1808         (do_sigsuspend): Don't use CHECK_SIGSET.
1809         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1810         use CHECK_SIGSET.
1811         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1812         (do_sigwait): Don't use CHECK_SIGSET.
1813         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1814         use CHECK_SIGSET.
1815         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1816         include <bp-checks.h>.
1817         (sigpending): Don't use CHECK_SIGSET.
1818         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1819         include <bp-checks.h>.
1820         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1821         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1822         <bp-checks.h>.
1823         (sigpending): Don't use CHECK_SIGSET.
1824         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1825         <bp-checks.h>.
1826         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1828         [BZ #13550]
1829         * sysdeps/generic/bp-semctl.h: Remove file.
1830         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1831         <bp-checks.h> and <bp-semctl.h>.
1832         (__old_semctl): Don't use CHECK_SEMCTL.
1833         (__new_semctl): Likewise.
1834         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1835         and <bp-semctl.h>.
1836         (__old_semctl): Don't use CHECK_SEMCTL.
1837         (__new_semctl): Likewise.
1838         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1839         <bp-checks.h> and <bp-semctl.h>.
1840         (__old_semctl): Don't use CHECK_SEMCTL.
1841         (__new_semctl): Likewise.
1842         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1843         <bp-checks.h> and <bp-semctl.h>.
1844         (semctl): Don't use CHECK_SEMCTL.
1846         [BZ #13550]
1847         * Makerules (elide-bp-thunks): Remove variable.
1848         (elide-routines.oS): Don't use $(elide-bp-thunks).
1849         (elide-routines.os): Likewise.
1850         (elide-routines.o): Likewise.
1851         (elide-routines.op): Likewise.
1852         (elide-routines.og): Likewise.
1853         (objects): Don't use $(bp-thunks).
1854         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1855         include.
1856         (common-generated): Do not add s-proto-bp.d.
1857         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1858         (int): Likewise.
1859         (typ): Likewise.
1860         Do not generate makefile rules for bounded-pointer thunks.
1861         * sysdeps/generic/bp-thunks.h: Remove file.
1862         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1863         * sysdeps/unix/s-proto-bp.S: Likewise.
1865         [BZ #15062]
1866         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1867         parts of result separately when argument is not close to line from
1868         -i to i and one part of argument is small.
1869         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1870         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1871         * math/libm-test.inc (cacos_test): Add more tests.
1872         (casin_test): Likewise.
1873         (casinh_test): Likewise.
1874         * sysdeps/i386/fpu/libm-test-ulps: Update.
1875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1877 2013-01-31  David S. Miller  <davem@davemloft.net>
1879         * po/de.po: Update from translation team.
1881 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
1883         * time/tzfile.c: Include stdint.h for SIZE_MAX.
1885 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
1887         * configure.in (_AC_PROG_CC_C89): New definition.
1888         * configure: Regenerate.
1890         * configure.in (AC_PROG_CPP): New definition.
1891         * configure: Regenerate.
1893 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
1895         * debug/tst-backtrace.h: New file.
1896         * debug/tst-backtrace2.c: Include tst-backtrace.h.
1897         (ret): Remove variable.
1898         (x): Likewise.
1899         (FAIL): Remove macro.
1900         (NO_INLINE): Likewise.
1901         (fn1): Use match function instead of strstr.
1902         * debug/tst-backtrace3.c: Include tst-backtrace.h.
1903         (ret): Remove variable.
1904         (x): Likewise.
1905         (FAIL): Remove macro.
1906         (NO_INLINE): Likewise.
1907         (fn): Use match function instead of strstr.
1908         * debug/tst-backtrace4.c: Include tst-backtrace.h.
1909         (ret): Remove variable.
1910         (x): Likewise.
1911         (FAIL): Remove macro.
1912         (NO_INLINE): Likewise.
1913         (handle_signal): Use match function instead of strstr.
1914         * debug/tst-backtrace5.c: Include tst-backtrace.h.
1915         (ret): Remove variable.
1916         (x): Likewise.
1917         (FAIL): Remove macro.
1918         (NO_INLINE): Likewise.
1919         (handle_signal): Use match function instead of strstr.
1921 2013-01-23  Roland McGrath  <roland@hack.frob.com>
1923         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1925 2013-01-23  David S. Miller  <davem@davemloft.net>
1927         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1928         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1929         argument of CAS if possible.
1930         * sysdeps/sparc/sparc64/bits/atomic.h
1931         (__arch_compare_and_exchange_val_32_acq): Likewise.
1932         (__arch_compare_and_exchange_val_64_acq): Likewise.
1934 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
1936         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1937         * sysdeps/posix/ulimit.c: ... this.
1938         Include <limits.h>.
1939         * sysdeps/unix/bsd/ulimit.c: Remove file.
1941 2013-01-23  Adam Conrad  <adconrad@0c3.net>
1943         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1944         (LDFLAGS-tst-array5): Likewise.
1946 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
1948         [BZ #15036]
1949         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1950         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1951         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1952         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1954 2013-01-21  David S. Miller  <davem@davemloft.net>
1956         * sysdeps/sparc/backtrace.c: New file.
1957         * sysdeps/sparc/sparc32/backtrace.h: New file.
1958         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1959         * sysdeps/sparc/sparc64/backtrace.h: New file.
1960         * sysdeps/sparc/sparc64/backtrace.c: Delete.
1961         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1962         -funwind-tables.
1964 2013-01-21  Andreas Schwab  <schwab@suse.de>
1966         [BZ #15020]
1967         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1968         closed its stdout.
1970 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
1972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1973         "mpa2.h".
1974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1976 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
1977             Mark Mitchell  <mark@codesourcery.com>
1978             Tom de Vries  <tom@codesourcery.com>
1979             Paul Pluzhnikov  <ppluzhnikov@google.com>
1981         * debug/tst-backtrace2.c: New file.
1982         * debug/tst-backtrace3.c: Likewise.
1983         * debug/tst-backtrace4.c: Likewise.
1984         * debug/tst-backtrace5.c: Likewise.
1985         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1986         (CFLAGS-tst-backtrace3.c): Likewise.
1987         (CFLAGS-tst-backtrace4.c): Likewise.
1988         (CFLAGS-tst-backtrace5.c): Likewise.
1989         (LDFLAGS-tst-backtrace2): Likewise.
1990         (LDFLAGS-tst-backtrace3): Likewise.
1991         (LDFLAGS-tst-backtrace4): Likewise.
1992         (LDFLAGS-tst-backtrace5): Likewise.
1993         (tests): Add new tests tst-backtrace2, tst-backtrace3,
1994         tst-backtrace4 and tst-backtrace5.
1996 2013-01-18  Anton Blanchard  <anton@samba.org>
1997             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1999         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2000         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2001         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2002         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2004         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2005         "+r" and remove output regs list as redundant.  Add explicit inline
2006         asm to specify register of return val to work around compiler codegen
2007         bug.  Remove (int) cast on return value.  Add return type parameter to
2008         use in macro so that this macro does not truncate return value for
2009         64-bit values.
2010         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2011         pass to INTERNAL_VSYSCALL_NCS.
2012         (INLINE_VSYSCALL): Add 'long int' as return type to
2013         INTERNAL_VSYSCALL_NCS macro invocation.
2014         (INTERNAL_VSYSCALL): Add 'long int' as return type to
2015         INTERNAL_VSYSCALL_NCS macro invocation.
2016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2018 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2020         [BZ #14496]
2021         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2022         Fix application of SIMD FP exception mask.
2024         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2025         mp_no from a power of two.
2026         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2027         __mpexp_twomm1.  Use __pow_mp.
2029         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2030         multiplication.
2032 2013-01-17  David S. Miller  <davem@davemloft.net>
2034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2036 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
2038         [BZ #15023]
2039         * include/complex.h: Condition contents on [!_COMPLEX_H].
2040         (__kernel_casinhf): New prototype.
2041         (__kernel_casinh): Likewise.
2042         (__kernel_casinhl): Likewise.
2043         * math/Makefile (libm_calls): Add k_casinh.
2044         * math/k_casinh.c: New file.
2045         * math/k_casinhf.c: Likewise.
2046         * math/k_casinhl.c: Likewise.
2047         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2048         finite nonzero arguments.
2049         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2050         finite nonzero arguments.
2051         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2052         finite nonzero arguments.
2053         * math/s_casinh.c: Do not include <float.h>.
2054         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2055         * math/s_casinhf.c: Do not include <float.h>.
2056         (__casinhf): Move code for finite nonzero arguments to
2057         k_casinhf.c.
2058         * math/s_casinhl.c: Do not include <float.h>.
2059         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2060         redefine.
2061         (__casinhl): Move code for finite nonzero arguments to
2062         k_casinhl.c.
2063         * math/libm-test.inc (cacos_test): Add more tests.
2064         * sysdeps/i386/fpu/libm-test-ulps: Update.
2065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2067 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
2069         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2070         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2071         [!HAVE_MREMAP]: Remove [defined linux] case.
2072         * malloc/arena.c: Do not include <malloc-sysdep.h>.
2074 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2076         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2078 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
2080         * elf/elf.h (R_386_SIZE32): New relocation.
2081         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2082         R_386_SIZE32.
2083         (elf_machine_rela): Likewise.
2084         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2085         R_X86_64_SIZE64 and R_X86_64_SIZE32.
2087 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
2089         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2090         (FP_FAST_FMA): Do not define.
2091         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2092         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2093         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2094         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2095         !_SOFT_FLOAT]: Likewise.
2096         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2097         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2098         value.
2099         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2100         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2101         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2102         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2103         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2104         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2105         file.
2107 2013-01-16  Andreas Schwab  <schwab@suse.de>
2109         [BZ #14327]
2110         * include/stdlib.h (__mktemp): Add declaration.
2111         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2112         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2114 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2116         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2117         definitions.
2118         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2119         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2120         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2121         definitions here.
2122         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2123         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2124         definitions.
2125         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2126         and ONE.
2127         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2128         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2129         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2130         definitions.
2131         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2132         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2133         definitions.
2134         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2136         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2138 2013-01-15  David S. Miller  <davem@davemloft.net>
2140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2141         trunc{,f} to libm-sysdep_routes.
2142         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2144         file.
2145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2147         file.
2148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2149         file.
2150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2152         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2153         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2154         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2155         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2156         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2157         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2160         nearbyint{,f} to libm-sysdep_routes.
2161         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2163         New file.
2164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2165         file.
2166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2167         New file.
2168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2169         file.
2170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2172         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2173         file.
2174         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2175         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2176         file.
2177         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2178         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2179         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2181         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2182         libc_feholdexcept and libc_fesetenv.
2184 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
2186         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2188 2013-01-14  David S. Miller  <davem@davemloft.net>
2190         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2191         (SPARC_ASM_VIS2_IFUNC): Likewise.
2192         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2194         use of 'siam' instruction.
2195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2196         Likewise.
2197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2198         Likewise.
2199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2200         Likewise.
2201         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2202         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2203         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2204         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2206         file.
2207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2208         file.
2209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2210         file.
2211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2212         file.
2213         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2214         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2215         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2216         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2218         new VIS2 routines.
2219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2222         Likewise.
2223         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2225         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2226         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2228         routines to libm-sysdep_routines.
2229         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2232         fdim/fdimf to libm-sysdep_routines.
2233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2234         file.
2235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2237         file.
2238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2241         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2242         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2243         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2244         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2246 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2248         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2249         to optimize copies.
2251         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2255         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2256         local variable MPTWO.
2257         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2258         Likewise.
2260 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2262         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2263         GLOB_NOESCAPE.
2265 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2267         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2269 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2271         * manual/pattern.texi (glob_t): Document gl_flags.
2272         (glob64_t): Likewise.
2274 2013-01-11  David S. Miller  <davem@davemloft.net>
2276         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2277         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2278         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
2279         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2280         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2281         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2282         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2283         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2284         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2285         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2286         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2287         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2288         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2290         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2291         sparc V9 rather than using V8 code.
2292         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2293         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2295         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2296         Move to...
2297         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2298         Here.
2300 2013-01-11  Roland McGrath  <roland@hack.frob.com>
2302         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2303         not in the main loop.
2304         * configure: Regenerated.
2306 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
2308         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2309         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2310         to just #else.
2311         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
2312         [!__GLIBC_HAVE_LONG_LONG] case.
2313         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2314         condition to just #else.
2315         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2316         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2317         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2318         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2319         unconditional.
2320         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2321         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2322         #elif condition to just #else.
2323         * sysdeps/unix/sysv/linux/sys/sysmacros.h
2324         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2325         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2326         #elif condition to just #else.
2328 2013-01-11  Steve Ellcey  <sellcey@mips.com>
2330         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2331         (EF_MIPS_ARCH_64): Fix value.
2332         (EF_MIPS_ARCH_32R2): New.
2333         (EF_MIPS_ARCH_64R2): New.
2335 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
2337         * Makeconfig (+link-pie-before-libc): New.
2338         (+link-pie-after-libc): Likewise.
2339         (+link-pie-tests): Likewise.
2340         (+link-pie): Rewritten.
2341         (link-before-libc): Remove $(config-LDFLAGS).
2342         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2343         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2344         (config-LDFLAGS): Renamed to ...
2345         (rtld-LDFLAGS): This.
2346         (rtld-tests-LDFLAGS): New macro.
2347         (link-libc-rpath-link): Likewise.
2348         (link-libc-tests-rpath-link): Likewise.
2349         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2350         (link-libc): Prepand $(link-libc-rpath-link).
2351         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2352         (test-program-prefix): New macro.
2353         (test-via-rtld-prefix): Likewise.
2354         (test-program-cmd): Likewise.
2355         (host-test-program-cmd): Likewise.
2356         * Makefile ($(common-objpfx)testrun.sh): Replace
2357         $(run-program-prefix) with $(test-program-prefix).
2358         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2359         $(rtld-LDFLAGS).
2360         ($(common-objpfx)shlib.lds): Likewise.
2361         (build-module-helper): Likewise.
2362         ($(common-objpfx)format.lds): Likewise.
2363         * Rules (binaries-pie-tests): New.
2364         (binaries-pie-notests): Likewise.
2365         (binaries-pie): Rewritten.
2366         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2367         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2368         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2369         (make-test-out): Replace $(host-built-program-cmd) with
2370         $(host-test-program-cmd).
2371         * config.make.in (build-hardcoded-path-in-tests): New variable.
2372         * configure.in (--enable-hardcoded-path-in-tests): New configure
2373         option.
2374         (hardcoded_path_in_tests): New AC_SUBST.
2375         * configure: Regenerated.
2376         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2377         $(built-program-cmd) with $(test-program-cmd).
2378         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2379         (test_program_cmd): This.
2380         * elf/Makefile ($(objpfx)order.out): Run test with
2381         $(test-program-prefix).
2382         ($(objpfx)order2.out): Likewise.
2383         ($(objpfx)tst-initorder.out): Likewise.
2384         ($(objpfx)tst-initorder2.out): Likewise.
2385         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2386         $(test-program-cmd).
2387         ($(objpfx)tst-array1-static.out): Likewise.
2388         ($(objpfx)tst-array2.out): Likewise.
2389         ($(objpfx)tst-array3.out): Likewise.
2390         ($(objpfx)tst-array4.out): Likewise.
2391         ($(objpfx)tst-array5.out): Likewise.
2392         ($(objpfx)tst-array5-static.out): Likewise.
2393         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2394         $(test-program-cmd).
2395         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2396         $(run-program-prefix) with $(test-program-prefix).
2397         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2398         (test_program_prefix): This.
2399         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2400         $(run-program-prefix) with $(test-program-prefix).
2401         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2402         (test_program_prefix): This.
2403         * iconvdata/tst-tables.sh: Likewise.
2404         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2405         $(run-program-prefix) with $(test-program-prefix).
2406         ($(objpfx)tst-translit.out): Likewise.
2407         ($(objpfx)tst-gettext2.out): Likewise.
2408         ($(objpfx)tst-gettext4.out): Likewise.
2409         ($(objpfx)tst-gettext6.out): Likewise.
2410         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2411         (test_program_prefix): This.
2412         * intl/tst-gettext2.sh: Likewise.
2413         * intl/tst-gettext4.sh  Likewise.
2414         * intl/tst-gettext6.sh: Likewise.
2415         * intl/tst-translit.sh: Likewise.
2416         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2417         with $(test-program-cmd).
2418         * libio/Makefile ($(objpfx)test-freopen.out): Replace
2419         $(run-program-prefix) with $(test-program-prefix).
2420         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2421         (test_program_prefix): This.
2422         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2423         $(run-program-prefix) with $(test-program-prefix).
2424         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2425         (test_program_prefix): This.
2426         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2427         * posix/Makefile ($(objpfx)globtest.out): Replace
2428         $(run-via-rtld-prefix) and $(test-wrapper) with
2429         $(test-program-prefix) and $(test-via-rtld-prefix).
2430         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2431         $(test-program-prefix).
2432         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2433         $(host-test-program-cmd).
2434         (tst-spawn-ARGS): Likewise.
2435         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2436         $(test-program-prefix).
2437         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2438         (test_via_rtld_prefix): This.
2439         (test_wrapper): Renamed to ...
2440         (test_program_prefix): This.
2441         (run_program_prefix): Replaced by test_program_prefix.
2442         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2443         (test_program_prefix): This.
2444         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2445         with $(host-test-program-cmd).
2446         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2447         $(run-program-prefix) with $(test-program-prefix).
2448         ($(objpfx)tst-printf.out): Likewise.
2449         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2450         $(test-program-cmd).
2451         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2452         (test_program_prefix): This.
2453         * stdio-common/tst-unbputc.sh: Likewise.
2454         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2455         $(run-program-prefix) with $(test-program-prefix).
2456         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2457         (test_program_prefix): This.
2458         * string/Makefile ($(objpfx)tst-svc.out):  Replace
2459         $(built-program-cmd) with $(test-program-cmd).
2461 2013-01-11  Andreas Jaeger  <aj@suse.de>
2463         [BZ #15003]
2464         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2465         value. Sync with Linux 3.7.
2467 2013-01-10  David S. Miller  <davem@davemloft.net>
2469         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2470         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2471         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2473 2013-01-10  Roland McGrath  <roland@hack.frob.com>
2475         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2476         never set.
2477         * configure: Regenerated.
2479 2013-01-10  David S. Miller  <davem@davemloft.net>
2481         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2482         sparc V9 rather than using V8 code.
2483         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2484         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2486 2013-01-10  Roland McGrath  <roland@hack.frob.com>
2488         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2489         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2490         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2491         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2492         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2493         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2494         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2495         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2496         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2497         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2498         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2499         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2500         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2501         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2502         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2503         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2504         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2505         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2506         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2507         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2508         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2509         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2510         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2511         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2512         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2513         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2514         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2516 2013-01-10  David S. Miller  <davem@davemloft.net>
2518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2520 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2522         * posix/Makefile (tests-static): New variable.
2523         (tests): Add $(tests-static).
2524         (tst-exec-static-ARGS): New variable.
2525         (tst-spawn-static-ARGS): Likewise.
2526         * posix/tst-exec-static.c: New file.
2527         * posix/tst-spawn-static.c: Likewise.
2528         * posix/tst-exec.c: Support run directly.
2529         * posix/tst-spawn.c: Likewise.
2531 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
2533         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2534         long.
2535         * math/bits/mathcalls.h (llrint): Likewise.
2536         (llround): Likewise.
2537         * stdlib/stdlib.h (struct drand48_data): Likewise.
2538         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2539         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2540         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2541         Likewise.
2542         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2543         Likewise.
2544         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2545         (elf_greg_t): Likewise.
2546         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2547         (__jmp_buf): Likewise.
2548         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2549         definitions.
2550         (llrint): Likewise, for all definitions.
2551         (llrintl): Likewise.
2553         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2554         Remove [__GNUC__] condition.
2555         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2556         condition to just [__USE_ISOC99].
2557         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2559 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2561         [BZ #14200]
2562         * sysdeps/unix/sysv/linux/x86/bits/environments.h
2563         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2564         defined.
2565         (_POSIX_V6_ILP32_OFF32): Likewise.
2566         (_XBS5_ILP32_OFF32): Likewise.
2567         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2568         (__ILP32_OFFBIG_LDFLAGS): Likewise.
2570 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2572         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2574         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2575         doubles __mpexp_twomm1.  Adjust usage.
2576         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2577         Remove.
2579 2013-01-10  Andreas Schwab  <schwab@suse.de>
2581         [BZ #14964]
2582         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2583         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2585 2013-01-09  David S. Miller  <davem@davemloft.net>
2587         [BZ #15003]
2588         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2589         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2590         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2591         TCP_FASTOPEN): Define.
2592         (tcp_repair_opt): New structure.
2593         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2594         enum values.
2595         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2596         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2597         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2598         (tcp_cookie_transactions): New structure.
2600 2013-01-09  Anton Blanchard  <anton@samba.org>
2602         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2603         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2604         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2605         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2607 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
2609         * include/features.h (__USE_ANSI): Remove.
2611 2013-01-09  Roland McGrath  <roland@hack.frob.com>
2613         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2615         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2617 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
2619         * sysdeps/s390/fpu/libm-test-ulps: Update.
2621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2623         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2624         (__acr): Likewise.
2625         (__cpy): Likewise.
2626         (norm): Likewise.
2627         (denorm): Likewise.
2628         (__mp_dbl): Likewise.
2629         (__dbl_mp): Likewise.
2630         (add_magnitudes): Likewise.
2631         (sub_magnitudes): Likewise.
2632         (__add): Likewise.
2633         (__sub): Likewise.
2634         (__mul): Likewise.
2635         (__inv): Likewise.
2636         (__dvd): Likewise.
2637         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2638         (__acr): Likewise.
2639         (__cpy): Likewise.
2640         (norm): Likewise.
2641         (denorm): Likewise.
2642         (__mp_dbl): Likewise.
2643         (__dbl_mp): Likewise.
2644         (add_magnitudes): Likewise.
2645         (sub_magnitudes): Likewise.
2646         (__add): Likewise.
2647         (__sub): Likewise.
2648         (__mul): Likewise.
2649         (__inv): Likewise.
2650         (__dvd): Likewise.
2651         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2652         (__acr): Likewise.
2653         (__cpy): Likewise.
2654         (norm): Likewise.
2655         (denorm): Likewise.
2656         (__mp_dbl): Likewise.
2657         (__dbl_mp): Likewise.
2658         (add_magnitudes): Likewise.
2659         (sub_magnitudes): Likewise.
2660         (__add): Likewise.
2661         (__sub): Likewise.
2662         (__mul): Likewise.
2663         (__inv): Likewise.
2664         (__dvd): Likewise.
2666 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
2668         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2669         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2670         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2671         2 && __USE_EXTERN_INLINES]: Likewise.
2673 2013-01-08  Andreas Jaeger  <aj@suse.de>
2675         [BZ# 14985]
2676         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2677         Remove.
2678         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2679         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2681 2013-01-07  Anton Blanchard  <anton@samba.org>
2683         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2684         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2685         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2686         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2687         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2688         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2689         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2690         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2692         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2693         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2694         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2695         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2696         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2697         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2698         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2699         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2700         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2701         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2702         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2703         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2704         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2705         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2706         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2707         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2708         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2709         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2710         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2711         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2712         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2713         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2715         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2716         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2717         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2718         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2719         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2720         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2721         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2722         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2723         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2724         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2725         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2727 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
2729         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2730         (__MALLOC_PMT): Likewise.
2731         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2732         [__GNUC__], only on [_LIBC].
2733         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2734         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2735         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2736         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2737         forward declaration.
2738         (realloc_hook_ini): Likewise.
2739         (memalign_hook_ini): Likewise.
2740         (__libc_memalign): Do not use __MALLOC_PMT in variable
2741         declaration.
2742         (__libc_valloc): Likewise.
2743         (__libc_pvalloc): Likewise.
2744         (__libc_calloc): Likewise.
2745         (__posix_memalign): Likewise.
2747         [BZ #14996]
2748         * math/s_casinh.c: Include <float.h>.
2749         (__casinh): Do not do computation with squaring and square root
2750         for large arguments.
2751         * math/s_casinhf.c: Include <float.h>.
2752         (__casinhf): Do not do computation with squaring and square root
2753         for large arguments.
2754         * math/s_casinhl.c: Include <float.h>.
2755         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2756         (__casinhl): Do not do computation with squaring and square root
2757         for large arguments.
2758         * math/libm-test.inc (casin_test): Add more tests.
2759         (casinh_test): Likewise.
2760         * sysdeps/i386/fpu/libm-test-ulps: Update.
2761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2763 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
2765         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2766         (__x86_64_raw_data_cache_size): Likewise.
2767         (__x86_64_data_cache_size_half): Likewise.
2768         (__x86_64_raw_data_cache_size_half): Likewise.
2769         (__x86_64_shared_cache_size): Likewise.
2770         (__x86_64_raw_shared_cache_size): Likewise.
2771         (__x86_64_shared_cache_size_half): Likewise.
2772         (__x86_64_raw_shared_cache_size_half): Likewise.
2773         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2774         to ...
2775         (__x86_data_cache_size): This.
2776         (__x86_64_raw_data_cache_size): Renamed to ...
2777         (__x86_raw_data_cache_size): This.
2778         (__x86_64_data_cache_size_half): Renamed to ...
2779         (__x86_data_cache_size_half): This.
2780         (__x86_64_raw_data_cache_size_half): Renamed to ...
2781         (__x86_raw_data_cache_size_half): This.
2782         (__x86_64_shared_cache_size): Renamed to ...
2783         (__x86_shared_cache_size): This.
2784         (__x86_64_raw_shared_cache_size): Renamed to ...
2785         (__x86_raw_shared_cache_size): This.
2786         (__x86_64_shared_cache_size_half): Renamed to ...
2787         (__x86_shared_cache_size_half): This.
2788         (__x86_64_raw_shared_cache_size_half): Renamed to ...
2789         (__x86_raw_shared_cache_size_half): This.
2790         * sysdeps/x86_64/memcpy.S: Updated.
2791         * sysdeps/x86_64/memset.S: Likewise.
2792         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2793         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2794         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2796 2013-01-04  David S. Miller  <davem@davemloft.net>
2798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2800 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2802         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2803         1 to avoid redefinition warning.
2804         (__USE_GNU): Don't define.
2805         (init_signaling_nan): Protoize.
2807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2809 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2811         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2812         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2813         (__cpymn): Likewise.
2814         (norm): Remove commented code.
2815         (denorm): Likewise.
2816         (__mp_dbl): Likewise.
2817         (__inv): Likewise.
2818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2819         (__cpymn): Likewise.
2820         (norm): Remove commented code.
2821         (denorm): Likewise.
2822         (__mp_dbl): Likewise.
2823         (__inv): Likewise.
2825         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2826         mp_no value for 1.0 and 2.0.
2827         (norm): Use RADIXI instead of radixi.d.
2828         (denorm): Likewise.
2829         (__mul): Use 0.0 instead of zero.d.
2830         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2831         mp_no value for 1.0 and 2.0.
2832         (norm): Use RADIXI instead of radixi.d.
2833         (denorm): Likewise.
2834         (__mul): Use 0.0 instead of zero.d.
2836 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
2838         [BZ #14994]
2839         * math/s_casinh.c (__casinh): Reduce finite argument to first
2840         quadrant then set signs of results at the end.
2841         * math/s_casinhf.c (__casinhf): Likewise.
2842         * math/s_casinhl.c (__casinhl): Likewise.
2843         * math/libm-test.inc (casin_test): Add more tests.
2844         (casinh_test): Likewise.
2845         * sysdeps/i386/fpu/libm-test-ulps: Update.
2846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2848 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2850         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2852         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2854         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2855         declarations.
2856         (denorm): Likewise.
2857         (__mp_dbl): Likewise.
2858         (__inv): Likewise.
2860         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2861         and adjust the header comment.
2863         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2864         variable name from declaration.
2866 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2869         Initialize COMMON_CPUID_INDEX_7 element.
2870         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2871         (CPUID_RTM): Likewise.
2872         (HAS_RTM): Likewise.
2873         (COMMON_CPUID_INDEX_7): New enum.
2875 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
2877         [BZ #14981]
2878         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2879         size is zero, record memory as freed.
2881 2013-01-03  Andreas Jaeger  <aj@suse.de>
2883         * po/ia.po: Add new Interlingua translation.
2885 2012-01-03  Allan McRae  <allan@archlinux.org>
2887         * locale/programs/localedef.c: Fix description of '--posix' flag.
2889 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
2891         * NEWS: Update dates in second copyright notice.
2892         * README: Update copyright dates in example.
2893         * manual/libc.texinfo: Update copyright dates.
2894         * scripts/test-installation.pl: Update copyright date in --version
2895         output.
2897         * hurd/ctty-input.c: Fix copyright notice formatting.
2898         * hurd/ctty-output.c: Likewise.
2899         * hurd/dtable.c: Likewise.
2900         * hurd/hurd-raise.c: Likewise.
2901         * hurd/hurdprio.c: Likewise.
2902         * hurd/msgportdemux.c: Likewise.
2903         * misc/sys/file.h: Likewise.
2904         * misc/sys/ioctl.h: Likewise.
2905         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2906         * sysdeps/mach/hurd/chdir.c: Likewise.
2907         * sysdeps/mach/hurd/fchdir.c: Likewise.
2908         * sysdeps/mach/hurd/rename.c: Likewise.
2909         * sysdeps/mach/hurd/rmdir.c: Likewise.
2910         * sysdeps/mach/hurd/seekdir.c: Likewise.
2911         * sysdeps/mach/hurd/setsid.c: Likewise.
2912         * sysdeps/posix/wait3.c: Likewise.
2914         * All files with FSF copyright notices: Update copyright dates
2915         using scripts/update-copyrights.
2916         * intl/plural.c: Regenerated.
2917         * locale/programs/charmap-kw.h: Likewise.
2918         * locale/programs/locfile-kw.h: Likewise.
2920 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2922         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2923         four values.
2925         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2926         calculation loop and add branch prediction.
2928         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2929         check access beyond bounds of m1np.
2931         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2932         MPTWO.
2933         (__inv): Remove local variable MPTWO to use the global
2934         constant.
2935         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2936         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2937         variable MPTWO.
2938         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2939         MP3HALFS static const.
2941 2013-01-01  David S. Miller  <davem@davemloft.net>
2943         * po/ca.po: Update from translation team.
2945 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
2947         * scripts/update-copyrights: New file.
2948         * Makeconfig: Reformat copyright notice.
2949         * ctype/ctype.h: Likewise.
2950         * debug/swprintf_chk.c: Likewise.
2951         * elf/dl-cache.c: Likewise.
2952         * elf/dl-debug.c: Likewise.
2953         * elf/dl-object.c: Likewise.
2954         * grp/initgroups.c: Likewise.
2955         * hurd/Makefile: Likewise.
2956         * hurd/hurd/signal.h: Likewise.
2957         * hurd/hurdfault.c: Likewise.
2958         * hurd/hurdioctl.c: Likewise.
2959         * hurd/hurdlookup.c: Likewise.
2960         * hurd/intr-msg.c: Likewise.
2961         * iconv/gconv_open.c: Likewise.
2962         * libio/swprintf.c: Likewise.
2963         * locale/lc-ctype.c: Likewise.
2964         * locale/nl_langinfo.c: Likewise.
2965         * mach/Machrules: Likewise.
2966         * mach/Makefile: Likewise.
2967         * malloc/obstack.h: Likewise.
2968         * manual/Makefile: Likewise.
2969         * manual/tsort.awk: Likewise.
2970         * misc/bits/stab.def: Likewise.
2971         * nis/nis_print_group_entry.c: Likewise.
2972         * nis/nis_table.c: Likewise.
2973         * nis/nss_compat/compat-pwd.c: Likewise.
2974         * nis/nss_compat/compat-spwd.c: Likewise.
2975         * po/Makefile: Likewise.
2976         * posix/fnmatch.c: Likewise.
2977         * posix/regex.h: Likewise.
2978         * resolv/Makefile: Likewise.
2979         * resolv/nss_dns/dns-network.c: Likewise.
2980         * resolv/res_hconf.c: Likewise.
2981         * scripts/gen-sorted.awk: Likewise.
2982         * soft-fp/soft-fp.h: Likewise.
2983         * stdio-common/printf.h: Likewise.
2984         * stdlib/monetary.h: Likewise.
2985         * stdlib/random.c: Likewise.
2986         * stdlib/random_r.c: Likewise.
2987         * sysdeps/generic/Makefile: Likewise.
2988         * sysdeps/gnu/Makefile: Likewise.
2989         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2990         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2991         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2992         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2993         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2994         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2995         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2996         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2997         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2998         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2999         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3000         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3001         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3002         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3003         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3004         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3005         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3006         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3007         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3008         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3009         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3010         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3011         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3012         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3013         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3014         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3015         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3016         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3017         * sysdeps/mach/hurd/errnos.awk: Likewise.
3018         * sysdeps/mach/hurd/fork.c: Likewise.
3019         * sysdeps/mach/hurd/getcwd.c: Likewise.
3020         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3021         * sysdeps/mach/hurd/mmap.c: Likewise.
3022         * sysdeps/mach/hurd/utimes.c: Likewise.
3023         * sysdeps/mach/hurd/xmknod.c: Likewise.
3024         * sysdeps/posix/profil.c: Likewise.
3025         * sysdeps/posix/readdir_r.c: Likewise.
3026         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3027         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3028         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3029         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3031         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3032         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3033         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3034         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3035         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3036         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3037         * sysdeps/pthread/lio_listio.c: Likewise.
3038         * sysdeps/sparc/dl-procinfo.h: Likewise.
3039         * sysdeps/unix/i386/sysdep.S: Likewise.
3040         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3041         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3042         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3043         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3045         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3046         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3047         * sysdeps/unix/sysv/linux/speed.c: Likewise.
3048         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3049         * sysdeps/wordsize-32/divdi3.c: Likewise.
3050         * time/sys/time.h: Likewise.
3051         * wcsmbs/Makefile: Likewise.
3053 2013-01-01  David S. Miller  <davem@davemloft.net>
3055         * po/fr.po: Update from translation team.
3057         * catgets/gencat.c: Update copyright year.
3058         * csu/version.c: Likewise.
3059         * debug/catchsegv.sh: Likewise.
3060         * debug/pcprofiledump.c: Likewise.
3061         * debug/xtrace.sh: Likewise.
3062         * elf/ldconfig.c: Likewise.
3063         * elf/ldd.bash.in: Likewise.
3064         * elf/pldd.c: Likewise.
3065         * elf/sotruss.ksh: Likewise.
3066         * elf/sprof.c: Likewise.
3067         * iconv/iconv_prog.c: Likewise.
3068         * iconv/iconvconfig.c: Likewise.
3069         * locale/programs/locale.c: Likewise.
3070         * locale/programs/localedef.c: Likewise.
3071         * login/programs/pt_chown.c: Likewise.
3072         * malloc/memusage.sh: Likewise.
3073         * malloc/memusagestat.c: Likewise.
3074         * malloc/mtrace.pl: Likewise.
3075         * nscd/nscd.c: Likewise.
3076         * nss/getent.c: Likewise.
3077         * nss/makedb.c: Likewise.
3078         * posix/getconf.c: Likewise.
3080 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3082         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3083         numbers.
3085 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
3087         * math/bits/mathcalls.h (modf): Use __nonnull.
3089 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3091         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3092         (split): Use macro CN instead of the bare value.
3093         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3094         could be used.
3095         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3096         instead of the bare value.
3097         (power1): Likewise.
3099 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3101         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3102         __ATAN_TWOM.
3103         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3105         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3106         their values.
3107         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3108         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3109         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3110         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3112 2012-12-28  Andreas Jaeger  <aj@suse.de>
3114         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
3115         values are from Linux 3.7.
3117         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3118         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
3120 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3122         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3123         TRUE case.
3125         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3126         (norm): Likewise.
3127         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3128         variables with preprocessor constants.
3129         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3130         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3131         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3133 2012-12-27  Bruno Haible  <bruno@clisp.org>
3135         [BZ #14317]
3136         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3137         only if needed.
3139 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3141         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3142         and use variable directly.
3143         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3145         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3146         MPONE.
3147         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3148         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3149         variable MPONE.
3150         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3151         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3152         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3153         include directive.  Remove local variable MPONE.
3154         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3155         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3156         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3158 2012-12-25  David S. Miller  <davem@davemloft.net>
3160         * version.h (RELEASE): Set to "development".
3161         (VERSION): Set to "2.17.90".
3162         * NEWS: Add 2.18 section.
3164 2012-12-21  David S. Miller  <davem@davemloft.net>
3166         * po/hr.po: Update from translation team.
3168 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3170         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3172 2012-12-19  Steve Ellcey  <sellcey@mips.com>
3174         * NEWS:  Mention new memcpy for MIPS.
3176 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3178         * manual/contrib.texi (Contributors): Spelling correction.
3180 2012-12-15  David S. Miller  <davem@davemloft.net>
3182         * po/ru.po: Update from translation team.
3184 2012-12-13  David S. Miller  <davem@davemloft.net>
3186         * NEWS: Mention IFUNC testsuite enhancements.
3188         * po/pl.po: Update from translation team.
3189         * po/bg.po: Likewise.
3191         * manual/contrib.texi (Contributors): Update entries for Hongjiu
3192         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
3194 2012-12-11  David S. Miller  <davem@davemloft.net>
3196         * po/sv.po: Update from translation team.
3198         * po/vi.po: Update from translation team.
3200         * po/cs.po: Update from translation team.
3202         * po/de.po: Update from translation team.
3203         * po/eo.po: Likewise.
3204         * po/nl.po: Likewise.
3206 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3208         [BZ #14246]
3209         * manual/argp.texi (Argp Helper Functions): Move node to follow
3210         Argp Parsing State.
3212         [BZ #14872]
3213         * manual/conf.texi (Limits on File System Capacity): Mention if
3214         terminating null is included in the max size.
3216 2012-12-10  Andreas Jaeger  <aj@suse.de>
3218         * po/cs.po: Update from translation team.
3220 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3222         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3223         void pointer and cast to uintptr_t.
3224         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3225         path.
3226         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3227         * sysdeps/s390/s390-64/memset.S: Likewise.
3229 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
3231         [BZ #14833]
3232         * menual/message.texi (Message Translation): Fix typos.
3233         (Helper programs for gettext): Likewise.
3235 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
3237         [BZ #14898]
3238         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3239         Change to -1.
3241 2012-12-07  David S. Miller  <davem@davemloft.net>
3243         * po/libc.pot: Update.
3245 2012-12-07  Richard Henderson  <rth@redhat.com>
3247         [BZ #10114]
3248         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3249         normal/normal case to before the switch.
3250         (_FP_DIV): Likewise.
3252 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
3253             Mike Frysinger  <vapier@gentoo.org>
3255         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3256         check for __NR_fadvise64_64.
3258 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
3260         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3261         0, not just to plain "0" as a statement.
3262         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3263         with cw.
3265 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
3267         * NEWS: Use sourceware.org in Bugzilla URL.
3269 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3272         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3274         * stdio-common/tst-put-error.c (do_test): Add newline to the
3275         padded test to ensure flush.
3277 2012-12-05  Jeff Law  <law@redhat.com>
3279         * sunrpc/etc.rpc (fedfs_admin): Add entry.
3281 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
3283         * README: Don't refer to ports add-on as distributed separately.
3284         Mention AArch64 in list of systems supported in the ports add-on.
3286         * LICENSES: Add more non-FSF copyright and license notices.
3288         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3289         ((unused)).
3291         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3293         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3294         10000 as width of padded output.
3296 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3298         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3300         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3301         variable LX with __attribute__ ((unused)).
3302         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3303         Likewise.
3304         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3305         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3306         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3307         with __attribute__ ((unused)).
3309 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
3311         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3313 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3315         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3316         (CFLAGS-nldbl-acos.c): New variable.
3317         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3318         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3319         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3320         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3321         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3322         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3323         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3324         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3325         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3326         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3327         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3328         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3329         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3330         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3331         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3332         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3333         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3334         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3335         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3336         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3337         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3338         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3339         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3340         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3341         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3342         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3343         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3344         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3345         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3346         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3347         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3348         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3349         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3350         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3351         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3352         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3353         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3354         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3355         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3356         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3357         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3358         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3359         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3360         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3361         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3362         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3363         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3364         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3365         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3366         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3367         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3368         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3369         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3370         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3371         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3372         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3373         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3374         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3375         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3376         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3377         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3378         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3379         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3380         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3381         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3382         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3383         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3384         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3385         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3386         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3387         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3388         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3389         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3390         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3391         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3392         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3393         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3394         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3395         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3396         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3397         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3398         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3399         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3400         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3401         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3402         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3403         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3404         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3405         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3406         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3407         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3408         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3409         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3410         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3411         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3412         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3413         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3416         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3418         [BZ #14914]
3419         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3420         whole low double instead of just low 47 bits when splitting values
3421         into two parts.
3423 2012-12-03  Allan McRae  <allan@archlinux.org>
3425         * manual/stdio.texi (Predefined Printf Handlers): Remove
3426         @hsep and @vsep usage.
3428 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
3430         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3431         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3433 2012-12-03  Jeff Law  <law@redhat.com>
3435         * time/sys/time.h (settimeofday): Do not mark TV argument
3436         as __nonnull.
3438 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
3440         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3441         when currently writing and seek to current position when not.
3442         * libio/Makefile (tests): Remove bug-fclose1.
3443         * libio/bug-fclose1.c: Delete.
3445 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
3447         * manual/arith.texi (feenableexcept): Fix typo.
3448         (fedisableexcept): Likewise.
3450 2012-11-30  Roland McGrath  <roland@hack.frob.com>
3452         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3453         second, differently-typed declaration, rather than a cast.
3455 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3457         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3458         * include/rpc/svc.h: ... here.
3460 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
3462         [BZ #13013]
3463         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3464         depending n and resplen2 to catch cases where answer
3465         equals answerp2.
3467 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
3469         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3470         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3472 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
3474         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3476 2012-11-29  Roland McGrath  <roland@hack.frob.com>
3478         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3480 2012-11-28  Jeff Law  <law@redhat.com>
3482         [BZ #13761]
3483         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3484         dataset_temporary.  Track alloca usage into alloca_used.
3485         If dataset is large allocate and release it via malloc/free.
3487 2012-06-04  Florian Weimer  <fweimer@redhat.com>
3489         [BZ #14197]
3490         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3492 2012-11-28  David S. Miller  <davem@davemloft.net>
3494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3496 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
3498         [BZ #14803]
3499         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3500         of pi/2 rounded to nearest to 64 bits.
3501         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3502         nearest to 64 bits.
3503         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3504         bits.
3506 2012-11-28  Jeff Law <law@redhat.com>
3507             Martin Osvald <mosvald@redhat.com>
3509         [BZ #14889]
3510         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3511         * sunrpc/svc.c: Include time.h.
3512         (__svc_accept_failed): New function.
3513         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3514         any reason other than EINTR, call __svc_accept_failed.
3515         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3516         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3518 2012-11-28  Andreas Schwab  <schwab@suse.de>
3520         * scripts/abilist.awk: Also handle indirect functions in .opd
3521         section.
3523 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
3525         [BZ #13881]
3526         * sysdeps/x86/fpu/powl_helper.c: New file.
3527         * sysdeps/x86/fpu/Makefile: Likewise.
3528         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3529         (p3): New object.
3530         (__ieee754_powl): Use __powl_helper for finite arguments except
3531         integer exponents below 8.
3532         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3533         (p3): New object.
3534         (__ieee754_powl): Use __powl_helper for finite arguments except
3535         integer exponents below 8.
3536         * math/libm-test.inc (pow_test): Add more tests and enable some
3537         previously disabled tests.
3538         * sysdeps/i386/fpu/libm-test-ulps: Update.
3539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3541 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3542             Carlos O'Donell  <carlos_odonell@mentor.com>
3544         * nss/makedb.c (is_prime): Assert that input is odd and greater
3545         than 4.  Note that fact in a comment too.
3546         (next_prime): Add 4 to input.
3548 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3550         [BZ #11741]
3551         * libio/Makefile (tests): Add test case tst-fwrite-error.
3552         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3553         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3554         * libio/tst-fwrite-error.c: New test case.
3556 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
3558         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3559         before casting to void *.
3560         * include/libc-internal.h (__pointer_type): New macro.
3561         (__integer_if_pointer_type_sub): Likewise.
3562         (__integer_if_pointer_type): Likewise.
3563         (cast_to_integer): Likewise.
3564         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3565         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3566         before casting to atomic64_t.
3567         (atomic_exchange_acq): Likewise.
3568         (__arch_exchange_and_add_body): Likewise.
3569         (__arch_add_body): Likewise.
3570         (atomic_add_negative): Likewise.
3571         (atomic_add_zero): Likewise.
3573 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
3575         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3576         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3577         (add_fdes): Likewise.
3578         (linear_search_fdes): Likewise.
3579         (binary_search_unencoded_fdes): Likewise.
3581 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
3583         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3585 2012-11-24  Adam Conrad  <adconrad@0c3.net>
3587         * configure.in: Autodetect C++ header directories.
3588         * configure: Regenerated.
3590 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
3592         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3594 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
3596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3598 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
3600         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3601         LDBL_MANT_DIG == 106]: Disable some tests.
3602         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3603         Likewise.
3604         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3605         Likewise.
3607         [BZ #14871]
3608         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3609         input for small inputs.  Return +/- pi/2 for large inputs.
3610         * math/libm-test.inc (atan_test): Add more tests.
3612         * sysdeps/generic/unwind-dw2-fde-glibc.c
3613         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3614         __attribute__ ((unused)).
3616         [BZ #14645]
3617         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3618         x * y if x and y are nonzero and z is zero.
3620         [BZ #14811]
3621         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3622         nonzero exponents with absolute value below 0x1p-117 to +/-
3623         0x1p-117.
3625         [BZ #14869]
3626         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3627         up arguments below 2**-450, not just those below 2**-500.
3628         * math/libm-test.inc (hypot_test): Add another test.
3630         [BZ #14868]
3631         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3632         Return a+b for ratio over 2**120, not 2**60.
3633         * math/libm-test.inc (hypot_test): Add another test.
3635         * math/libm-test.inc (clog_test): Use
3636         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3637         (clog10_test): Likewise.
3639         [BZ #6778]
3640         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3642 2012-11-22  Andreas Schwab  <schwab@suse.de>
3644         * sysdeps/i386/fpu/libm-test-ulps: Update.
3646 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
3648         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3649         printf output with newline.
3651 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
3653         [BZ #14865]
3654         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3655         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3656         -z nodlopen, -z initfirst and -z execstack support.
3657         * configure: Regenerated.
3659         * elf/elf.h (DF_1_NODIRECT): New macro.
3660         (DF_1_IGNMULDEF): Likewise.
3661         (DF_1_NOKSYMS): Likewise.
3662         (DF_1_NOHDR): Likewise.
3663         (DF_1_EDITED): Likewise.
3664         (DF_1_NORELOC): Likewise.
3665         (DF_1_SYMINTPOSE): Likewise.
3666         (DF_1_GLOBAUDIT): Likewise.
3667         (DF_1_SINGLETON): Likewise.
3668         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3669         DT_1_SUPPORTED_MASK bits.
3670         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3672 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
3674         * sysdeps/unix/make-syscalls.sh: Document prefixes.
3676 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
3678         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3679         macro.
3681         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3682         (sendmmsg): Move declarations...
3683         * socket/sys/socket.h: ... here.
3684         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3685         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3686         include it from...
3687         * socket/recvmmsg.c: ... this new file.
3688         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3689         (sendmmsg): Rename to __sendmmsg, create weak alias and make
3690         definition of __sendmmsg hidden.
3691         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3692         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3693         Move ENOSYS stub into and include it from...
3694         * socket/sendmmsg.c: ... this new file.
3695         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3696         (sysdep_routines): Move recvmmsg and sendmmsg...
3697         * socket/Makefile (routines): ... here.
3698         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3699         (GLIBC_PRIVATE): Add __sendmmsg.
3700         * include/sys/socket.h (__sendmmsg): Add declarations.
3701         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3702         sendmmsg.
3704 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
3706         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3707         variable I1 with __attribute__ ((unused)).
3708         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3710 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
3712         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3713         DUMMY variables with __attribute__ ((unused)).
3715         * bits/byteswap.h: Include <bits/types.h>.
3716         (__bswap_64): Use __uint64_t instead of unsigned long long int.
3718 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
3720         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3721         string_t.  Do not manually set errno.
3722         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3723         length with __strnlen.  Make sure to both set errno and return it on
3724         failure.
3726 2012-11-19  David S. Miller  <davem@davemloft.net>
3728         With help from Joseph Myers.
3729         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3730         very large arguments properly.
3731         * math/libm-test.inc (atan_test): New tests.
3732         (atan2_test): New tests.
3733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3736 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
3738         [BZ #14856]
3739         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3740         Define to 3.
3742         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3743         [POSIX] (EADDRNOTAVAIL): Likewise.
3744         [POSIX] (EAFNOSUPPORT): Likewise.
3745         [POSIX] (EALREADY): Likewise.
3746         [POSIX] (ECONNABORTED): Likewise.
3747         [POSIX] (ECONNREFUSED): Likewise.
3748         [POSIX] (ECONNRESET): Likewise.
3749         [POSIX] (EDESTADDRREQ): Likewise.
3750         [POSIX] (EDQUOT): Likewise.
3751         [POSIX] (EHOSTUNREACH): Likewise.
3752         [POSIX] (EIDRM): Likewise.
3753         [POSIX] (EISCONN): Likewise.
3754         [POSIX] (ELOOP): Likewise.
3755         [POSIX] (EMULTIHOP): Likewise.
3756         [POSIX] (ENETDOWN): Likewise.
3757         [POSIX] (ENETUNREACH): Likewise.
3758         [POSIX] (ENOBUFS): Likewise.
3759         [POSIX] (ENODATA): Likewise.
3760         [POSIX] (ENOLINK): Likewise.
3761         [POSIX] (ENOMSG): Likewise.
3762         [POSIX] (ENOPROTOOPT): Likewise.
3763         [POSIX] (ENOSR): Likewise.
3764         [POSIX] (ENOSTR): Likewise.
3765         [POSIX] (ENOTCONN): Likewise.
3766         [POSIX] (ENOTSOCK): Likewise.
3767         [POSIX] (EOPNOTSUPP): Likewise.
3768         [POSIX] (EOVERFLOW): Likewise.
3769         [POSIX] (EPROTO): Likewise.
3770         [POSIX] (EPROTONOSUPPORT): Likewise.
3771         [POSIX] (EPROTOTYPE): Likewise.
3772         [POSIX] (ESTALE): Likewise.
3773         [POSIX] (ETIME): Likewise.
3774         [POSIX] (ETXTBSY): Likewise.
3775         [POSIX] (EWOULDBLOCK): Likewise.
3776         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3777         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3778         [POSIX] (SEEK_CUR): Likewise.
3779         [POSIX] (SEEK_END): Likewise.
3780         [POSIX || UNIX98] (mode_t): Do not require.
3781         [POSIX] (off_t): Likewise.
3782         [POSIX] (pid_t): Likewise.
3783         [POSIX] (sys/stat.h): Do not allow header.
3784         [POSIX] (unistd.h): Likewise.
3785         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3786         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3787         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3788         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3789         require.
3790         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3791         sigevent): Specify elements.
3792         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3793         entry.
3794         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3795         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3797         * conform/data/cpio.h-data [POSIX]: Disable whole file.
3798         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3799         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3800         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3801         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3802         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3803         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3804         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3805         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3806         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3807         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3808         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3809         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3810         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3811         Likewise.
3812         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3813         Likewise.
3814         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3815         Likewise.
3816         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3817         Likewise.
3818         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3819         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3820         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3821         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3822         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3823         Specify lower bound on value.
3824         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3825         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3826         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3827         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3828         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3829         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3830         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3831         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3832         value.
3833         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3834         as optional.
3835         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3836         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3837         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3838         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3839         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3840         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3841         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3842         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3843         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3844         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3845         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3846         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3847         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3848         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3849         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3850         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3851         entry.
3852         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3853         optional.
3854         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3855         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3856         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3857         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3858         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3859         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3860         Likewise.
3861         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3862         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3863         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3864         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3865         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
3866         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3867         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3868         as optional.
3869         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3870         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3871         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3872         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3873         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3874         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3875         specify as optional.
3876         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3877         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3878         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3879         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3880         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3881         [XPG3] (NL_LANGMAX): Likewise.
3882         [POSIX || XPG3] (NL_MSGMAX): Likewise.
3883         [POSIX || XPG3] (NL_NMAX): Likewise.
3884         [POSIX || XPG3] (NL_SETMAX): Likewise.
3885         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3886         [XPG3] (NZERO): Likewise.
3887         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3888         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3889         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3890         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3891         (REG_ERANGE): Expect.
3892         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3893         optional-constant.
3894         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3895         Use (void) in prototype.
3896         [POSIX] (*_t): Allow.
3897         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3898         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3899         (WRDE_BADVAL): Expect.
3901         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3902         expect.
3903         [XPG3 || XPG4] (O_RSYNC): Likewise.
3904         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3905         Likewise.
3906         [XPG3 || XPG4] (pthread_sigmask): Likewise.
3907         [XPG3 || XPG4] (sigqueue): Likewise.
3908         [XPG3 || XPG4] (sigtimedwait): Likewise.
3909         [XPG3 || XPG4] (sigwaitinfo): Likewise.
3910         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3911         [XPG3 || XPG4] (vsnprintf): Likewise.
3912         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3913         Likewise.
3914         [XPG3 || XPG4] (blksize_t): Likewise.
3915         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3916         Likewise.
3917         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3918         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3919         [XPG3 || XPG4] (struct itimerspec): Likewise.
3920         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3921         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3922         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3923         [XPG3 || XPG4] (clockid_t): Likewise.
3924         [XPG3 || XPG4] (timer_t): Likewise.
3925         [XPG3 || XPG4] (clock_getres): Likewise.
3926         [XPG3 || XPG4] (clock_gettime): Likewise.
3927         [XPG3 || XPG4] (clock_settime): Likewise.
3928         [XPG3 || XPG4] (nanosleep): Likewise.
3929         [XPG3 || XPG4] (timer_create): Likewise.
3930         [XPG3 || XPG4] (timer_delete): Likewise.
3931         [XPG3 || XPG4] (timer_gettime): Likewise.
3932         [XPG3 || XPG4] (timer_getoverrun): Likewise.
3933         [XPG3 || XPG4] (timer_settime): Likewise.
3934         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3935         [XPG3 || XPG4] (getlogin_r): Likewise.
3936         [XPG3 || XPG4] (pread): Likewise.
3937         [XPG3 || XPG4] (pthread_atfork): Likewise.
3938         [XPG3 || XPG4] (pwrite): Likewise.
3940         [BZ #14835]
3941         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3942         <bits/siginfo.h>.
3944 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
3946         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3947         finalizing MALLSTREAM.
3949         * sysdeps/mach/hurd/syncfs.c: New file.
3951 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3953         [BZ #14719]
3954         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3955         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3956         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3957         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3958         (_nss_dns_gethostbyname4_r): Likewise.
3959         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3960         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3962 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
3964         [BZ #13763]
3965         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3967 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
3969         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3970         * elf/cache.c (print_entry): Print ",AArch64" for
3971         FLAG_AARCH64_LIB64
3973         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3974         * elf/cache.c (print_entry): Print ",hard-float" for
3975         FLAG_ARM_LIBHF.
3977 2012-11-18  David S. Miller  <davem@davemloft.net>
3979         With help from Joseph Myers.
3980         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3981         cutoff to 2**-13.
3982         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3983         cutoff to 2**-25.
3984         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3985         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3986         small.
3987         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3988         * math/libm-test.inc (y0_test): New tests.
3989         (y1_test): New tests.
3990         * sysdeps/i386/fpu/libm-test-ulps: Update.
3991         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3994 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
3996         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3997         64-bit targets.
3998         * configure: Regenerated.
4000 2012-11-17  David S. Miller  <davem@davemloft.net>
4002         [BZ #14811]
4003         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4004         nonzero exponents with absolute value below 0x1p-128 to +/-
4005         0x1p-128.
4007 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
4009         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4011         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4013         * posix/getconf-speclist.c: New file.
4014         * posix/posix-envs.def: Likewise.
4015         * posix/confstr.c (START_ENV_GROUP): New macro.
4016         (END_ENV_GROUP): Likewise.
4017         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4018         (KNOWN_PRESENT_ENV_STRING): Likewise.
4019         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4020         (UNKNOWN_ENVIRONMENT): Likewise.
4021         (confstr): Include posix-envs.def instead of handling
4022         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4023         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4024         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4025         (END_ENV_GROUP): Likewise.
4026         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4027         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4028         (UNKNOWN_ENVIRONMENT): Likewise.
4029         (__sysconf): Include posix-envs.def instead of handling associated
4030         cases directly here.
4031         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4032         preprocessing getconf-speclist.c rather than running getconf or
4033         generating empty file.
4035 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
4037         * scripts/check-local-headers.sh: Ignore 'mach' headers.
4039 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
4041         [BZ #14672]
4042         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4044 2012-11-16  David S. Miller  <davem@davemloft.net>
4046         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4047         smaller than LDBL_EPSILON/2.0L, just return xm1.
4049 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
4051         * elf/tst-array1.c (init): Set constructor priority to 1000.
4052         (fini): Set destructor priority to 1000.
4053         * elf/tst-array2dep.c: Likewise.
4055 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4057         [BZ #11741]
4058         * libio/fileops.c (_IO_new_file_write): Correctly return error.
4059         (_IO_new_file_xsputn): Also return EOF if none of the input
4060         data was written when overflow failed.
4061         * libio/iopadn.c (_IO_padn): Likewise.
4062         * libio/iowpadn.c (_IO_wpadn): Likewise.
4063         * stdio-common/tst-put-error.c: Add copyright notice.
4064         (do_test): Add case for printing padded string.
4065         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4066         _IO_padn returned error.
4067         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4068         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4069         return EOF.
4071 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4073         * libio/libioP.h: Add comment note that the references to C++
4074         bits are now obsolete.
4076 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4078         * math/libm-test.inc (check_complex): Use asprintf.
4080 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
4082         * debug/pcprofiledump.c (print_version): Update copyright year.
4083         * malloc/memusagestat.c (print_version): Likewise.
4085 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4087         [BZ #14831]
4088         * elf/Makefile (tests): Add tst-audit8.
4089         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4090         ($(objpfx)tst-audit8.out): New target.
4091         (tst-audit8-ENV): New variable.
4092         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4093         audit if l_reloc_result is NULL.
4094         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4095         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4096         * elf/tst-audit8.c: New file.
4098 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4100         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4101         * misc/Makefile (CFLAGS-select.c): Define.
4102         * posix/Makefile (CFLAGS-pause.c): Define.
4104 2012-11-13  David S. Miller  <davem@davemloft.net>
4106         * crypt/Makefile: Move test targets after toplevel Rules
4107         inclusion.  Grab any necessary sysdep routines when linking.
4108         * crypt/md5.c (md5_process_block): Remove define, we will always
4109         name it __md5_process_block.
4110         (md5_finish_ctx): Update md5_process_block call.
4111         (md5_stream): Likewise.
4112         (md5_process_bytes): Likewise.
4113         (md5_process_block): Rename to __md5_process_block and move to ...
4114         * crypt/md5-block.c: ... here.
4115         * crypt/sha256.c (sha256_process_block): Move to ...
4116         * crypt/sha256-block.c: ... here.
4117         * crypt/sha512.c (sha512_process_block): Move to ...
4118         * crypt/sha512-block.c: ... here.
4119         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4120         path.
4121         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4122         * sysdeps/sparc/sparc64/multiarch/Makefile
4123         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4124         crypt subdir.
4125         (localedef-aux): Add md5 crypto assembler when in locale subdir.
4126         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4127         multiarch changes.
4128         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4129         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4130         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4131         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4132         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4133         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4134         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4135         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4136         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4137         file.
4138         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4139         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4140         file.
4141         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4143 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
4145         * timezone/tzselect.ksh: Update from tzcode git revision
4146         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4147         * timezone/zdump.c: Likewise.
4148         * timezone/zic.c: Likewise.
4149         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4150         in TZVERSION setting, not $(PKGVERSION).
4151         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
4152         REPORT_BUGS_TO settings.
4154         [BZ #14838]
4155         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4156         macro.
4158 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4160         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4161         detection to immediately after _FP_ROUND().
4162         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4163         bits are 0.
4165 2012-11-11  David S. Miller  <davem@davemloft.net>
4167         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4168         inttypes.h
4169         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4170         __close rather than their public counterparts.
4172 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
4174         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4175         file.
4176         [UNIX98] (sem_timedwait): Do not expect.
4177         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4178         [XPG4 || UNIX98] (sockatmark): Do not expect.
4179         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4180         (clock_getcpuclockid): Do not expect.
4181         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4182         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4183         Do not expect.
4184         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4185         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4186         [UNIX98] (vwscanf): Likewise.
4187         [UNIX98] (vswscanf): Likewise.
4189 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
4191         * timezone/version.h: Remove file.
4192         * timezone/README: Do not refer to version.h.
4193         * timezone/Makefile ($(objpfx)zic.o): New dependency on
4194         $(objpfx)version.h.
4195         ($(objpfx)zdump.o): Likewise.
4196         ($(objpfx)version.h): New target.
4198         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4199         2012i.
4200         * timezone/README: Don't mention modification to tzselect.ksh.
4201         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4202         work on unmodified tzselect.ksh.  Substitute version numbers in
4203         tzselect.ksh.
4205         * Makefile (format-me): Remove.
4206         (INSTALL): Adjust indentation.  Use commands directly instead of
4207         using $(format-me).
4209         * aclocal.m4 (ACX_PKGVERSION): New macro.
4210         (ACX_BUGURL): Likewise.
4211         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4212         (PKGVERSION): New AC_DEFINE_UNQUOTED.
4213         (REPORT_BUGS_TO): Likewise.
4214         * configure: Regenerated.
4215         * config.h.in (PKGVERSION): New macro.
4216         (REPORT_BUGS_TO): Likewise.
4217         * config.make.in (PKGVERSION): New variable.
4218         (PKGVERSION_TEXI): Likewise.
4219         (REPORT_BUGS_TO): Likewise.
4220         (REPORT_BUGS_TEXI): Likewise.
4221         * Makefile (format-me): Use -I$(common-objpfx)manual.
4222         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4223         ($(common-objpfx)manual/%): New target.
4224         (manual/%): Remove target.
4225         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4226         (print_version): Use PKGVERSION.
4227         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4228         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4229         and REPORT_BUGS_TO.
4230         ($(objpfx)xtrace): Likewise.
4231         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4232         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4233         (print_version): Use PKGVERSION.
4234         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4235         (do_version): Use PKGVERSION.
4236         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4237         REPORT_BUGS_TO.
4238         (common-ldd-rewrite): Likewise.
4239         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4240         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4241         (print_version): Use PKGVERSION.
4242         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4243         * elf/pldd.c (argp_program_bug_address): Remove variable.
4244         (more_help): New function.
4245         (argp): Use more_help.
4246         (print_version): Use PKGVERSION.
4247         * elf/sln.c (main): Use PKGVERSION.
4248         (usage): Use REPORT_BUGS_TO.
4249         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4250         (top level): Use PKGVERSION.
4251         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4252         (print_version): Use PKGVERSION.
4253         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4254         (print_version): Use PKGVERSION.
4255         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4256         (print_version): Use PKGVERSION.
4257         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4258         (print_version): Use PKGVERSION.
4259         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4260         (print_version): Use PKGVERSION.
4261         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4262         (print_version): Use PKGVERSION.
4263         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4264         and BUGURL.
4265         ($(objpfx)memusage): Likewise.
4266         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4267         (do_version): Use PKGVERSION.
4268         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4269         (print_version): Use PKGVERSION.
4270         * malloc/mtrace.pl ($PACKAGE): Remove variable.
4271         ($PKGVERSION): New variable.
4272         ($REPORT_BUGS_TO): Likewise.
4273         (usage): Use $REPORT_BUGS_TO.
4274         (top level): Use $PKGVERSION.
4275         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4276         ($(objpfx)pkgvers.texi): New rule.
4277         ($(objpfx)stamp-pkgvers): Likewise.
4278         * manual/install.texi: Include pkgvers.texi.
4279         (--with-pkgversion): Document new configure option.
4280         (--with-bugurl): Likewise.
4281         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4282         than necessarily for this particular distribution.  Use
4283         REPORT_BUGS_TO for where to report bugs.
4284         * INSTALL: Regenerated.
4285         * manual/libc.texinfo: Include pkgvers.texi.
4286         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4287         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4288         (print_version): Use PKGVERSION.
4289         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4290         (print_version): Use PKGVERSION.
4291         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4292         (print_version): Use PKGVERSION.
4293         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4294         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4295         macro.
4296         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4297         (print_version): Use PKGVERSION.
4298         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4299         (print_version): Use PKGVERSION.
4300         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4301         and PKGVERSION.
4303         * timezone/checktab.awk: Update from tzcode 2012i.
4304         * timezone/ialloc.c: Likewise.
4305         * timezone/private.h: Likewise.
4306         * timezone/scheck.c: Likewise.
4307         * timezone/tzfile.h: Likewise.
4308         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4309         (TZVERSION): Hardcode tzcode version number.
4310         * timezone/zdump.c: Update from tzcode 2012i.
4311         * timezone/zic.c: Likewise.
4312         * timezone/version.h: New file.
4313         * timezone/README: Describe version.h.  Update upstream location.
4315         [BZ #14824]
4316         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4317         (mktemp): Enable declaration.
4318         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4319         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4320         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4321         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4322         Likewise.
4323         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4324         Likewise.
4325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4326         Likewise.
4327         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4328         Likewise.
4329         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4330         Likewise.
4331         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4332         Likewise.
4334         [BZ #14821]
4335         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4336         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
4337         for copies of such integer values.
4338         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4339         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4341 2012-11-09  Andreas Jaeger  <aj@suse.de>
4343         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4344         definitions and declarations that are provided by
4345         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4347 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4349         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4350         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4351         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4352         definition.
4354 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4356         * elf/elf.h: Update comment before AArch64 relocations.
4358 2012-11-07  David S. Miller  <davem@davemloft.net>
4360         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4361         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4362         (__start_context): Declare.
4363         (__makecontext_ret): Delete.
4364         (__makecontext): Hook up __start_context instead of
4365         __makecontext_ret.
4366         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4367         (sysdep_routines): Add __start_context when in stdlib.
4369 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4371         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4372         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4373         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
4374         hardcoded "nm".
4375         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
4376         (READELF): New variable.  Use it instead of hardcoded "readelf".
4378 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
4380         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4381         * sysdeps/x86/Makefile: Here.
4382         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4383         * sysdeps/x86/tst-xmmymm.sh: This.
4385 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4387         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4388         expectations.
4389         [UNIX98] (pthread_barrier_t): Do not expect.
4390         [UNIX98] (pthread_barrierattr_t): Likewise.
4391         [UNIX98] (pthread_spinlock_t): Likewise.
4392         [UNIX98] (pthread_barrier_destroy): Likewise.
4393         [UNIX98] (pthread_barrier_init): Likewise.
4394         [UNIX98] (pthread_barrier_wait): Likewise.
4395         [UNIX98] (pthread_barrierattr_destroy): Likewise.
4396         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4397         [UNIX98] (pthread_barrierattr_init): Likewise.
4398         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4399         [UNIX98] (pthread_getcpuclockid): Likewise.
4400         [UNIX98] (pthread_mutex_timedlock): Likewise.
4401         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4402         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4403         [UNIX98] (pthread_sigmask): Likewise.
4404         [UNIX98] (pthread_spin_destroy): Likewise.
4405         [UNIX98] (pthread_spin_init): Likewise.
4406         [UNIX98] (pthread_spin_lock): Likewise.
4407         [UNIX98] (pthread_spin_trylock): Likewise.
4408         [UNIX98] (pthread_spin_unlock): Likewise.
4409         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4410         Do not expect.
4411         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4412         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4413         [XPG3 || XPG4] (pthread_cond_t): Likewise.
4414         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4415         [XPG3 || XPG4] (pthread_key_t): Likewise.
4416         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4417         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4418         [XPG3 || XPG4] (pthread_once_t): Likewise.
4419         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4420         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4421         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4422         [XPG3 || XPG4] (pthread_t): Likewise.
4424         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4425         not expect.
4426         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4428         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4429         Change function return type to int.
4431         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4432         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4433         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4434         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4435         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4436         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4437         [!POSIX] (posix_madvise): Likewise.
4438         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4439         && !UNIX98].
4440         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4441         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4442         (mode_t): Likewise.
4443         (posix_mem_offset): Likewise.
4444         (posix_typed_mem_get_info): Likewise.
4445         (posix_typed_mem_open): Likewise.
4447         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4448         Change condition to [XOPEN2K8].
4450         * conform/conformtest.pl: Preprocess allow-header data with -x c
4451         instead of from stdin.
4452         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4453         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4454         [C99-based standards] (cerfc): Likewise.
4455         [C99-based standards] (cexp2): Likewise.
4456         [C99-based standards] (cexpm1): Likewise.
4457         [C99-based standards] (clog10): Likewise.
4458         [C99-based standards] (clog1p): Likewise.
4459         [C99-based standards] (clog2): Likewise.
4460         [C99-based standards] (clgamma): Likewise.
4461         [C99-based standards] (ctgamma): Likewise.
4462         [C99-based standards] (cerff): Likewise.
4463         [C99-based standards] (cerfcf): Likewise.
4464         [C99-based standards] (cexp2f): Likewise.
4465         [C99-based standards] (cexpm1f): Likewise.
4466         [C99-based standards] (clog10f): Likewise.
4467         [C99-based standards] (clog1pf): Likewise.
4468         [C99-based standards] (clog2f): Likewise.
4469         [C99-based standards] (clgammaf): Likewise.
4470         [C99-based standards] (ctgammaf): Likewise.
4471         [C99-based standards] (cerfl): Likewise.
4472         [C99-based standards] (cerfcl): Likewise.
4473         [C99-based standards] (cexp2l): Likewise.
4474         [C99-based standards] (cexpm1l): Likewise.
4475         [C99-based standards] (clog10l): Likewise.
4476         [C99-based standards] (clog1pl): Likewise.
4477         [C99-based standards] (clog2l): Likewise.
4478         [C99-based standards] (clgammal): Likewise.
4479         [C99-based standards] (ctgammal): Likewise.
4480         * conform/data/inttypes.h-data [C99-based standards]: Include
4481         stdint.h-data.  Remove all expectations for stdint.h contents.
4482         [C99-based standards] (PRI*): Do not allow.
4483         [C99-based standards] (SCN*): Likewise.
4484         [C99-based standards] (*_t): Likewise.
4485         [C99-based-standards] (PRId8): Expect macro.
4486         [C99-based-standards] (PRIi8): Likewise.
4487         [C99-based-standards] (PRIo8): Likewise.
4488         [C99-based-standards] (PRIu8): Likewise.
4489         [C99-based-standards] (PRIx8): Likewise.
4490         [C99-based-standards] (PRIX8): Likewise.
4491         [C99-based-standards] (SCNd8): Likewise.
4492         [C99-based-standards] (SCNi8): Likewise.
4493         [C99-based-standards] (SCNo8): Likewise.
4494         [C99-based-standards] (SCNu8): Likewise.
4495         [C99-based-standards] (SCNx8): Likewise.
4496         [C99-based-standards] (PRIdLEAST8): Likewise.
4497         [C99-based-standards] (PRIiLEAST8): Likewise.
4498         [C99-based-standards] (PRIoLEAST8): Likewise.
4499         [C99-based-standards] (PRIuLEAST8): Likewise.
4500         [C99-based-standards] (PRIxLEAST8): Likewise.
4501         [C99-based-standards] (PRIXLEAST8): Likewise.
4502         [C99-based-standards] (SCNdLEAST8): Likewise.
4503         [C99-based-standards] (SCNiLEAST8): Likewise.
4504         [C99-based-standards] (SCNoLEAST8): Likewise.
4505         [C99-based-standards] (SCNuLEAST8): Likewise.
4506         [C99-based-standards] (SCNxLEAST8): Likewise.
4507         [C99-based-standards] (PRIdFAST8): Likewise.
4508         [C99-based-standards] (PRIiFAST8): Likewise.
4509         [C99-based-standards] (PRIoFAST8): Likewise.
4510         [C99-based-standards] (PRIuFAST8): Likewise.
4511         [C99-based-standards] (PRIxFAST8): Likewise.
4512         [C99-based-standards] (PRIXFAST8): Likewise.
4513         [C99-based-standards] (SCNdFAST8): Likewise.
4514         [C99-based-standards] (SCNiFAST8): Likewise.
4515         [C99-based-standards] (SCNoFAST8): Likewise.
4516         [C99-based-standards] (SCNuFAST8): Likewise.
4517         [C99-based-standards] (SCNxFAST8): Likewise.
4518         [C99-based-standards] (PRId16): Likewise.
4519         [C99-based-standards] (PRIi16): Likewise.
4520         [C99-based-standards] (PRIo16): Likewise.
4521         [C99-based-standards] (PRIu16): Likewise.
4522         [C99-based-standards] (PRIx16): Likewise.
4523         [C99-based-standards] (PRIX16): Likewise.
4524         [C99-based-standards] (SCNd16): Likewise.
4525         [C99-based-standards] (SCNi16): Likewise.
4526         [C99-based-standards] (SCNo16): Likewise.
4527         [C99-based-standards] (SCNu16): Likewise.
4528         [C99-based-standards] (SCNx16): Likewise.
4529         [C99-based-standards] (PRIdLEAST16): Likewise.
4530         [C99-based-standards] (PRIiLEAST16): Likewise.
4531         [C99-based-standards] (PRIoLEAST16): Likewise.
4532         [C99-based-standards] (PRIuLEAST16): Likewise.
4533         [C99-based-standards] (PRIxLEAST16): Likewise.
4534         [C99-based-standards] (PRIXLEAST16): Likewise.
4535         [C99-based-standards] (SCNdLEAST16): Likewise.
4536         [C99-based-standards] (SCNiLEAST16): Likewise.
4537         [C99-based-standards] (SCNoLEAST16): Likewise.
4538         [C99-based-standards] (SCNuLEAST16): Likewise.
4539         [C99-based-standards] (SCNxLEAST16): Likewise.
4540         [C99-based-standards] (PRIdFAST16): Likewise.
4541         [C99-based-standards] (PRIiFAST16): Likewise.
4542         [C99-based-standards] (PRIoFAST16): Likewise.
4543         [C99-based-standards] (PRIuFAST16): Likewise.
4544         [C99-based-standards] (PRIxFAST16): Likewise.
4545         [C99-based-standards] (PRIXFAST16): Likewise.
4546         [C99-based-standards] (SCNdFAST16): Likewise.
4547         [C99-based-standards] (SCNiFAST16): Likewise.
4548         [C99-based-standards] (SCNoFAST16): Likewise.
4549         [C99-based-standards] (SCNuFAST16): Likewise.
4550         [C99-based-standards] (SCNxFAST16): Likewise.
4551         [C99-based-standards] (PRId32): Likewise.
4552         [C99-based-standards] (PRIi32): Likewise.
4553         [C99-based-standards] (PRIo32): Likewise.
4554         [C99-based-standards] (PRIu32): Likewise.
4555         [C99-based-standards] (PRIx32): Likewise.
4556         [C99-based-standards] (PRIX32): Likewise.
4557         [C99-based-standards] (SCNd32): Likewise.
4558         [C99-based-standards] (SCNi32): Likewise.
4559         [C99-based-standards] (SCNo32): Likewise.
4560         [C99-based-standards] (SCNu32): Likewise.
4561         [C99-based-standards] (SCNx32): Likewise.
4562         [C99-based-standards] (PRIdLEAST32): Likewise.
4563         [C99-based-standards] (PRIiLEAST32): Likewise.
4564         [C99-based-standards] (PRIoLEAST32): Likewise.
4565         [C99-based-standards] (PRIuLEAST32): Likewise.
4566         [C99-based-standards] (PRIxLEAST32): Likewise.
4567         [C99-based-standards] (PRIXLEAST32): Likewise.
4568         [C99-based-standards] (SCNdLEAST32): Likewise.
4569         [C99-based-standards] (SCNiLEAST32): Likewise.
4570         [C99-based-standards] (SCNoLEAST32): Likewise.
4571         [C99-based-standards] (SCNuLEAST32): Likewise.
4572         [C99-based-standards] (SCNxLEAST32): Likewise.
4573         [C99-based-standards] (PRIdFAST32): Likewise.
4574         [C99-based-standards] (PRIiFAST32): Likewise.
4575         [C99-based-standards] (PRIoFAST32): Likewise.
4576         [C99-based-standards] (PRIuFAST32): Likewise.
4577         [C99-based-standards] (PRIxFAST32): Likewise.
4578         [C99-based-standards] (PRIXFAST32): Likewise.
4579         [C99-based-standards] (SCNdFAST32): Likewise.
4580         [C99-based-standards] (SCNiFAST32): Likewise.
4581         [C99-based-standards] (SCNoFAST32): Likewise.
4582         [C99-based-standards] (SCNuFAST32): Likewise.
4583         [C99-based-standards] (SCNxFAST32): Likewise.
4584         [C99-based-standards] (PRId64): Likewise.
4585         [C99-based-standards] (PRIi64): Likewise.
4586         [C99-based-standards] (PRIo64): Likewise.
4587         [C99-based-standards] (PRIu64): Likewise.
4588         [C99-based-standards] (PRIx64): Likewise.
4589         [C99-based-standards] (PRIX64): Likewise.
4590         [C99-based-standards] (SCNd64): Likewise.
4591         [C99-based-standards] (SCNi64): Likewise.
4592         [C99-based-standards] (SCNo64): Likewise.
4593         [C99-based-standards] (SCNu64): Likewise.
4594         [C99-based-standards] (SCNx64): Likewise.
4595         [C99-based-standards] (PRIdLEAST64): Likewise.
4596         [C99-based-standards] (PRIiLEAST64): Likewise.
4597         [C99-based-standards] (PRIoLEAST64): Likewise.
4598         [C99-based-standards] (PRIuLEAST64): Likewise.
4599         [C99-based-standards] (PRIxLEAST64): Likewise.
4600         [C99-based-standards] (PRIXLEAST64): Likewise.
4601         [C99-based-standards] (SCNdLEAST64): Likewise.
4602         [C99-based-standards] (SCNiLEAST64): Likewise.
4603         [C99-based-standards] (SCNoLEAST64): Likewise.
4604         [C99-based-standards] (SCNuLEAST64): Likewise.
4605         [C99-based-standards] (SCNxLEAST64): Likewise.
4606         [C99-based-standards] (PRIdFAST64): Likewise.
4607         [C99-based-standards] (PRIiFAST64): Likewise.
4608         [C99-based-standards] (PRIoFAST64): Likewise.
4609         [C99-based-standards] (PRIuFAST64): Likewise.
4610         [C99-based-standards] (PRIxFAST64): Likewise.
4611         [C99-based-standards] (PRIXFAST64): Likewise.
4612         [C99-based-standards] (SCNdFAST64): Likewise.
4613         [C99-based-standards] (SCNiFAST64): Likewise.
4614         [C99-based-standards] (SCNoFAST64): Likewise.
4615         [C99-based-standards] (SCNuFAST64): Likewise.
4616         [C99-based-standards] (SCNxFAST64): Likewise.
4617         [C99-based-standards] (PRIdMAX): Likewise.
4618         [C99-based-standards] (PRIiMAX): Likewise.
4619         [C99-based-standards] (PRIoMAX): Likewise.
4620         [C99-based-standards] (PRIuMAX): Likewise.
4621         [C99-based-standards] (PRIxMAX): Likewise.
4622         [C99-based-standards] (PRIXMAX): Likewise.
4623         [C99-based-standards] (SCNdMAX): Likewise.
4624         [C99-based-standards] (SCNiMAX): Likewise.
4625         [C99-based-standards] (SCNoMAX): Likewise.
4626         [C99-based-standards] (SCNuMAX): Likewise.
4627         [C99-based-standards] (SCNxMAX): Likewise.
4628         [C99-based-standards] (PRIdPTR): Likewise.
4629         [C99-based-standards] (PRIiPTR): Likewise.
4630         [C99-based-standards] (PRIoPTR): Likewise.
4631         [C99-based-standards] (PRIuPTR): Likewise.
4632         [C99-based-standards] (PRIxPTR): Likewise.
4633         [C99-based-standards] (PRIXPTR): Likewise.
4634         [C99-based-standards] (SCNdPTR): Likewise.
4635         [C99-based-standards] (SCNiPTR): Likewise.
4636         [C99-based-standards] (SCNoPTR): Likewise.
4637         [C99-based-standards] (SCNuPTR): Likewise.
4638         [C99-based-standards] (SCNxPTR): Likewise.
4639         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4640         allow.
4641         * conform/data/stdint.h-data: Update comments to clarify
4642         requirements.
4643         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
4644         type.
4645         [C99-based standards] (INT8_MAX): Likewise.
4646         [C99-based standards] (INT16_MIN): Likewise.
4647         [C99-based standards] (INT16_MAX): Likewise.
4648         [C99-based standards] (INT32_MIN): Likewise.
4649         [C99-based standards] (INT32_MAX): Likewise.
4650         [C99-based standards] (INT64_MIN): Likewise.
4651         [C99-based standards] (INT64_MAX): Likewise.
4652         [C99-based standards] (UINT8_MAX): Likewise.
4653         [C99-based standards] (UINT16_MAX): Likewise.
4654         [C99-based standards] (UINT32_MAX): Likewise.
4655         [C99-based standards] (UINT64_MAX): Likewise.
4656         [C99-based standards] (INT_LEAST8_MIN): Likewise.
4657         [C99-based standards] (INT_LEAST8_MAX): Likewise.
4658         [C99-based standards] (INT_LEAST16_MIN): Likewise.
4659         [C99-based standards] (INT_LEAST16_MAX): Likewise.
4660         [C99-based standards] (INT_LEAST32_MIN): Likewise.
4661         [C99-based standards] (INT_LEAST32_MAX): Likewise.
4662         [C99-based standards] (INT_LEAST64_MIN): Likewise.
4663         [C99-based standards] (INT_LEAST64_MAX): Likewise.
4664         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4665         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4666         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4667         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4668         [C99-based standards] (INT_FAST8_MIN): Likewise.
4669         [C99-based standards] (INT_FAST8_MAX): Likewise.
4670         [C99-based standards] (INT_FAST16_MIN): Likewise.
4671         [C99-based standards] (INT_FAST16_MAX): Likewise.
4672         [C99-based standards] (INT_FAST32_MIN): Likewise.
4673         [C99-based standards] (INT_FAST32_MAX): Likewise.
4674         [C99-based standards] (INT_FAST64_MIN): Likewise.
4675         [C99-based standards] (INT_FAST64_MAX): Likewise.
4676         [C99-based standards] (UINT_FAST8_MAX): Likewise.
4677         [C99-based standards] (UINT_FAST16_MAX): Likewise.
4678         [C99-based standards] (UINT_FAST32_MAX): Likewise.
4679         [C99-based standards] (UINT_FAST64_MAX): Likewise.
4680         [C99-based standards] (INTPTR_MIN): Likewise.
4681         [C99-based standards] (INTPTR_MAX): Likewise.
4682         [C99-based standards] (UINTPTR_MAX): Likewise.
4683         [C99-based standards] (INTMAX_MIN): Likewise.
4684         [C99-based standards] (INTMAX_MAX): Likewise.
4685         [C99-based standards] (UINTMAX_MAX): Likewise.
4686         [C99-based standards] (PTRDIFF_MIN): Likewise.
4687         [C99-based standards] (PTRDIFF_MAX): Likewise.
4688         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4689         [C99-based standards] (SIZE_MAX): Likewise.
4690         [C99-based standards] (WCHAR_MAX): Likewise.
4691         [C99-based standards] (WINT_MAX): Likewise.
4692         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
4693         constraint on value.
4694         [C99-based standards] (WCHAR_MIN): Likewise.
4695         [C99-based standards] (WINT_MIN): Likewise.
4696         [C99-based standards] (*_t): Allow.
4697         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4698         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4699         Include math.h-data and complex.h-data.  Remove all expectations
4700         of math.h and complex.h contents.
4701         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4702         at end of line.
4703         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4704         (struct tm): Expect tag.
4705         [C99-based-standards] (wcstof): Expect function.
4706         [C99-based-standards] (wcstold): Likewise.
4707         [C99-based-standards] (wcstoll): Likewise.
4708         [C99-based-standards] (wcstoull): Likewise.
4709         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4710         macro-int-constant.  Specify type.
4711         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
4712         constraint on value.
4713         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4714         Specify type.
4715         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4716         Specify value.
4717         [ISO C standards]: Do not allow headers.
4718         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4719         wcs[abcdefghijklmnopqrstuvwxyz]*.
4720         [ISO C standards] (*_t): Do not allow.
4721         * conform/data/wctype.h-data [C99-based standards] (iswblank):
4722         Expect function.
4723         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4724         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4725         Specify type.
4726         [ISO C standards]: Do not allow headers.
4727         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4728         is[abcdefghijklmnopqrstuvwxyz]*.
4729         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4730         to[abcdefghijklmnopqrstuvwxyz]*.
4731         [ISO C standards] (*_t): Do not allow.
4732         * conform/data/stdalign.h-data: New file.
4733         * conform/data/stdbool.h-data: Likewise.
4734         * conform/data/stdnoreturn.h-data: Likewise.
4736 2012-11-07  Roland McGrath  <roland@hack.frob.com>
4738         [BZ #14815]
4739         * manual/filesys.texi (Directory Entries): Typo fix.
4740         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4742 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4744         * elf/elf.h (EM_AARCH64): New macro.
4745         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4746         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4747         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4748         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4749         (R_AARCH64_TLSDESC): Likewise.
4750         (NT_ARM_TLS): Likewise.
4751         (NT_ARM_HW_BREAK): Likewise.
4752         (NT_ARM_HW_WATCH): Likewise.
4754 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4756         [BZ #14811]
4757         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4758         (__ieee754_powl): Saturate nonzero exponents with absolute value
4759         below 0x1p-79 to +/- 0x1p-79.
4760         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4761         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4762         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4763         nonzero exponents with absolute value below 0x1p-32 to +/-
4764         0x1p-32.
4765         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4766         (__ieee754_powl): Saturate nonzero exponents with absolute value
4767         below 0x1p-79 to +/- 0x1p-79.
4768         * math/libm-test.inc (pow_test): Add more tests.
4770 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4772         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4773         _dl_s390_cap_flags with kernel. Increase string length.
4774         (_dl_s390_platforms): Add z196 and zEC12.
4776 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4778         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4779         Change XOPEN21K to XOPEN2K.
4781 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
4783         * string/memmove.c: Use memcpy when possible.
4785 2012-11-06  Andreas Jaeger  <aj@suse.de>
4787         * po/eo.po: Update from translation team.
4789 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
4791         [BZ #14793]
4792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4793         exponent and small x and y exponents, scale x or y up.  Increase
4794         by 2 the exponent used in scaling up.
4795         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4796         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4797         * math/libm-test.inc (fma_test): Add more tests.
4798         (fma_test_towardzero): Likewise.
4799         (fma_test_downward): Likewise.
4800         (fma_test_upward): Likewise.
4802 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
4804         [BZ #14805]
4805         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4806         fenv_t *.
4808         [BZ #14801]
4809         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4810         namespace for names of struct fields.
4811         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4812         fenv_t fields.
4813         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4814         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4816 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4818         [BZ #3665]
4819         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4821 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4823         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4824         PTR_DEMANGLE.
4826         [BZ #5246]
4827         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4828         PTR_DEMANGLE.
4830 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
4832         [BZ #14797]
4833         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4834         definitely overflow as x * y not x * y + z.
4835         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4836         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4837         * math/libm-test.inc (fma_test): Add more tests.
4838         (fma_test_towardzero): Likewise.
4839         (fma_test_downward): Likewise.
4840         (fma_test_upward): Likewise.
4842 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4844         [BZ #157]
4846         * include/stub-tag.h: Remove file.
4847         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4848         '#include' of it.
4849         * manual/maint.texi (Porting): Don't reference it.
4850         * Makerules ($(objpfx)stubs): Likewise.
4851         * dirent/closedir.c: Don't include <stub-tag.h>.
4852         * dirent/dirfd.c: Likewise.
4853         * dirent/fdopendir.c: Likewise.
4854         * dirent/getdents.c: Likewise.
4855         * dirent/getdents64.c: Likewise.
4856         * dirent/opendir.c: Likewise.
4857         * dirent/readdir.c: Likewise.
4858         * dirent/readdir64.c: Likewise.
4859         * dirent/readdir64_r.c: Likewise.
4860         * dirent/readdir_r.c: Likewise.
4861         * dirent/rewinddir.c: Likewise.
4862         * dirent/seekdir.c: Likewise.
4863         * dirent/telldir.c: Likewise.
4864         * gmon/profil.c: Likewise.
4865         * grp/setgroups.c: Likewise.
4866         * inet/if_index.c: Likewise.
4867         * io/access.c: Likewise.
4868         * io/chdir.c: Likewise.
4869         * io/chmod.c: Likewise.
4870         * io/chown.c: Likewise.
4871         * io/close.c: Likewise.
4872         * io/dup.c: Likewise.
4873         * io/dup2.c: Likewise.
4874         * io/dup3.c: Likewise.
4875         * io/euidaccess.c: Likewise.
4876         * io/faccessat.c: Likewise.
4877         * io/fchdir.c: Likewise.
4878         * io/fchmod.c: Likewise.
4879         * io/fchmodat.c: Likewise.
4880         * io/fchown.c: Likewise.
4881         * io/fchownat.c: Likewise.
4882         * io/fcntl.c: Likewise.
4883         * io/flock.c: Likewise.
4884         * io/fstatfs.c: Likewise.
4885         * io/fstatfs64.c: Likewise.
4886         * io/fstatvfs.c: Likewise.
4887         * io/fstatvfs64.c: Likewise.
4888         * io/futimens.c: Likewise.
4889         * io/fxstat.c: Likewise.
4890         * io/fxstat64.c: Likewise.
4891         * io/fxstatat.c: Likewise.
4892         * io/fxstatat64.c: Likewise.
4893         * io/getcwd.c: Likewise.
4894         * io/isatty.c: Likewise.
4895         * io/lchmod.c: Likewise.
4896         * io/lchown.c: Likewise.
4897         * io/link.c: Likewise.
4898         * io/linkat.c: Likewise.
4899         * io/lseek.c: Likewise.
4900         * io/lseek64.c: Likewise.
4901         * io/lxstat64.c: Likewise.
4902         * io/mkdir.c: Likewise.
4903         * io/mkdirat.c: Likewise.
4904         * io/mkfifo.c: Likewise.
4905         * io/mkfifoat.c: Likewise.
4906         * io/open.c: Likewise.
4907         * io/open64.c: Likewise.
4908         * io/openat.c: Likewise.
4909         * io/openat64.c: Likewise.
4910         * io/pipe.c: Likewise.
4911         * io/pipe2.c: Likewise.
4912         * io/poll.c: Likewise.
4913         * io/posix_fadvise.c: Likewise.
4914         * io/posix_fadvise64.c: Likewise.
4915         * io/posix_fallocate.c: Likewise.
4916         * io/posix_fallocate64.c: Likewise.
4917         * io/read.c: Likewise.
4918         * io/readlink.c: Likewise.
4919         * io/readlinkat.c: Likewise.
4920         * io/rmdir.c: Likewise.
4921         * io/sendfile.c: Likewise.
4922         * io/sendfile64.c: Likewise.
4923         * io/statfs.c: Likewise.
4924         * io/statfs64.c: Likewise.
4925         * io/statvfs.c: Likewise.
4926         * io/statvfs64.c: Likewise.
4927         * io/symlink.c: Likewise.
4928         * io/symlinkat.c: Likewise.
4929         * io/ttyname.c: Likewise.
4930         * io/ttyname_r.c: Likewise.
4931         * io/umask.c: Likewise.
4932         * io/unlink.c: Likewise.
4933         * io/unlinkat.c: Likewise.
4934         * io/utime.c: Likewise.
4935         * io/utimensat.c: Likewise.
4936         * io/write.c: Likewise.
4937         * io/xmknod.c: Likewise.
4938         * io/xmknodat.c: Likewise.
4939         * io/xstat.c: Likewise.
4940         * io/xstat64.c: Likewise.
4941         * login/getpt.c: Likewise.
4942         * login/grantpt.c: Likewise.
4943         * login/unlockpt.c: Likewise.
4944         * math/e_acoshl.c: Likewise.
4945         * math/e_acosl.c: Likewise.
4946         * math/e_asinl.c: Likewise.
4947         * math/e_atan2l.c: Likewise.
4948         * math/e_atanhl.c: Likewise.
4949         * math/e_coshl.c: Likewise.
4950         * math/e_expl.c: Likewise.
4951         * math/e_fmodl.c: Likewise.
4952         * math/e_gammal_r.c: Likewise.
4953         * math/e_hypotl.c: Likewise.
4954         * math/e_j0l.c: Likewise.
4955         * math/e_j1l.c: Likewise.
4956         * math/e_jnl.c: Likewise.
4957         * math/e_lgammal_r.c: Likewise.
4958         * math/e_log10l.c: Likewise.
4959         * math/e_log2l.c: Likewise.
4960         * math/e_logl.c: Likewise.
4961         * math/e_powl.c: Likewise.
4962         * math/e_rem_pio2l.c: Likewise.
4963         * math/e_sinhl.c: Likewise.
4964         * math/e_sqrtl.c: Likewise.
4965         * math/fclrexcpt.c: Likewise.
4966         * math/fedisblxcpt.c: Likewise.
4967         * math/feenablxcpt.c: Likewise.
4968         * math/fegetenv.c: Likewise.
4969         * math/fegetexcept.c: Likewise.
4970         * math/fegetround.c: Likewise.
4971         * math/feholdexcpt.c: Likewise.
4972         * math/fesetenv.c: Likewise.
4973         * math/fesetround.c: Likewise.
4974         * math/feupdateenv.c: Likewise.
4975         * math/fgetexcptflg.c: Likewise.
4976         * math/fraiseexcpt.c: Likewise.
4977         * math/fsetexcptflg.c: Likewise.
4978         * math/ftestexcept.c: Likewise.
4979         * math/k_cosl.c: Likewise.
4980         * math/k_rem_pio2l.c: Likewise.
4981         * math/k_sinl.c: Likewise.
4982         * math/k_tanl.c: Likewise.
4983         * math/s_asinhl.c: Likewise.
4984         * math/s_atanl.c: Likewise.
4985         * math/s_cbrtl.c: Likewise.
4986         * math/s_erfl.c: Likewise.
4987         * math/s_expm1l.c: Likewise.
4988         * math/s_log1pl.c: Likewise.
4989         * math/s_tanhl.c: Likewise.
4990         * misc/acct.c: Likewise.
4991         * misc/brk.c: Likewise.
4992         * misc/chflags.c: Likewise.
4993         * misc/chroot.c: Likewise.
4994         * misc/fchflags.c: Likewise.
4995         * misc/fgetxattr.c: Likewise.
4996         * misc/flistxattr.c: Likewise.
4997         * misc/fremovexattr.c: Likewise.
4998         * misc/fsetxattr.c: Likewise.
4999         * misc/fsync.c: Likewise.
5000         * misc/ftruncate.c: Likewise.
5001         * misc/futimes.c: Likewise.
5002         * misc/futimesat.c: Likewise.
5003         * misc/getdomain.c: Likewise.
5004         * misc/getdtsz.c: Likewise.
5005         * misc/gethostid.c: Likewise.
5006         * misc/gethostname.c: Likewise.
5007         * misc/getloadavg.c: Likewise.
5008         * misc/getpagesize.c: Likewise.
5009         * misc/getsysstats.c: Likewise.
5010         * misc/getxattr.c: Likewise.
5011         * misc/gtty.c: Likewise.
5012         * misc/ioctl.c: Likewise.
5013         * misc/lgetxattr.c: Likewise.
5014         * misc/listxattr.c: Likewise.
5015         * misc/llistxattr.c: Likewise.
5016         * misc/lremovexattr.c: Likewise.
5017         * misc/lsetxattr.c: Likewise.
5018         * misc/lutimes.c: Likewise.
5019         * misc/madvise.c: Likewise.
5020         * misc/mincore.c: Likewise.
5021         * misc/mlock.c: Likewise.
5022         * misc/mlockall.c: Likewise.
5023         * misc/mmap.c: Likewise.
5024         * misc/mprotect.c: Likewise.
5025         * misc/msync.c: Likewise.
5026         * misc/munlock.c: Likewise.
5027         * misc/munlockall.c: Likewise.
5028         * misc/munmap.c: Likewise.
5029         * misc/preadv.c: Likewise.
5030         * misc/preadv64.c: Likewise.
5031         * misc/ptrace.c: Likewise.
5032         * misc/pwritev.c: Likewise.
5033         * misc/pwritev64.c: Likewise.
5034         * misc/readv.c: Likewise.
5035         * misc/reboot.c: Likewise.
5036         * misc/remap_file_pages.c: Likewise.
5037         * misc/removexattr.c: Likewise.
5038         * misc/revoke.c: Likewise.
5039         * misc/select.c: Likewise.
5040         * misc/setdomain.c: Likewise.
5041         * misc/setegid.c: Likewise.
5042         * misc/seteuid.c: Likewise.
5043         * misc/sethostid.c: Likewise.
5044         * misc/sethostname.c: Likewise.
5045         * misc/setregid.c: Likewise.
5046         * misc/setreuid.c: Likewise.
5047         * misc/setxattr.c: Likewise.
5048         * misc/sstk.c: Likewise.
5049         * misc/stty.c: Likewise.
5050         * misc/swapoff.c: Likewise.
5051         * misc/swapon.c: Likewise.
5052         * misc/sync.c: Likewise.
5053         * misc/syncfs.c: Likewise.
5054         * misc/syscall.c: Likewise.
5055         * misc/truncate.c: Likewise.
5056         * misc/ualarm.c: Likewise.
5057         * misc/usleep.c: Likewise.
5058         * misc/ustat.c: Likewise.
5059         * misc/utimes.c: Likewise.
5060         * misc/vhangup.c: Likewise.
5061         * misc/writev.c: Likewise.
5062         * posix/_exit.c: Likewise.
5063         * posix/alarm.c: Likewise.
5064         * posix/execve.c: Likewise.
5065         * posix/fexecve.c: Likewise.
5066         * posix/fork.c: Likewise.
5067         * posix/fpathconf.c: Likewise.
5068         * posix/getaddrinfo.c: Likewise.
5069         * posix/getegid.c: Likewise.
5070         * posix/geteuid.c: Likewise.
5071         * posix/getgid.c: Likewise.
5072         * posix/getgroups.c: Likewise.
5073         * posix/getlogin.c: Likewise.
5074         * posix/getlogin_r.c: Likewise.
5075         * posix/getpgid.c: Likewise.
5076         * posix/getpid.c: Likewise.
5077         * posix/getppid.c: Likewise.
5078         * posix/getresgid.c: Likewise.
5079         * posix/getresuid.c: Likewise.
5080         * posix/getsid.c: Likewise.
5081         * posix/getuid.c: Likewise.
5082         * posix/glob64.c: Likewise.
5083         * posix/nanosleep.c: Likewise.
5084         * posix/pathconf.c: Likewise.
5085         * posix/pause.c: Likewise.
5086         * posix/posix_madvise.c: Likewise.
5087         * posix/pread.c: Likewise.
5088         * posix/pread64.c: Likewise.
5089         * posix/pwrite.c: Likewise.
5090         * posix/pwrite64.c: Likewise.
5091         * posix/sched_getaffinity.c: Likewise.
5092         * posix/sched_getp.c: Likewise.
5093         * posix/sched_gets.c: Likewise.
5094         * posix/sched_primax.c: Likewise.
5095         * posix/sched_primin.c: Likewise.
5096         * posix/sched_rr_gi.c: Likewise.
5097         * posix/sched_setaffinity.c: Likewise.
5098         * posix/sched_setp.c: Likewise.
5099         * posix/sched_sets.c: Likewise.
5100         * posix/sched_yield.c: Likewise.
5101         * posix/setgid.c: Likewise.
5102         * posix/setlogin.c: Likewise.
5103         * posix/setpgid.c: Likewise.
5104         * posix/setresgid.c: Likewise.
5105         * posix/setresuid.c: Likewise.
5106         * posix/setsid.c: Likewise.
5107         * posix/setuid.c: Likewise.
5108         * posix/sleep.c: Likewise.
5109         * posix/spawni.c: Likewise.
5110         * posix/sysconf.c: Likewise.
5111         * posix/times.c: Likewise.
5112         * posix/wait.c: Likewise.
5113         * posix/wait3.c: Likewise.
5114         * posix/wait4.c: Likewise.
5115         * posix/waitpid.c: Likewise.
5116         * resolv/gai_sigqueue.c: Likewise.
5117         * resource/getpriority.c: Likewise.
5118         * resource/getrlimit.c: Likewise.
5119         * resource/getrusage.c: Likewise.
5120         * resource/nice.c: Likewise.
5121         * resource/setpriority.c: Likewise.
5122         * resource/setrlimit.c: Likewise.
5123         * resource/ulimit.c: Likewise.
5124         * rt/aio_cancel.c: Likewise.
5125         * rt/aio_fsync.c: Likewise.
5126         * rt/aio_read.c: Likewise.
5127         * rt/aio_sigqueue.c: Likewise.
5128         * rt/aio_suspend.c: Likewise.
5129         * rt/aio_write.c: Likewise.
5130         * rt/clock_getres.c: Likewise.
5131         * rt/clock_gettime.c: Likewise.
5132         * rt/clock_nanosleep.c: Likewise.
5133         * rt/clock_settime.c: Likewise.
5134         * rt/lio_listio.c: Likewise.
5135         * rt/mq_close.c: Likewise.
5136         * rt/mq_getattr.c: Likewise.
5137         * rt/mq_notify.c: Likewise.
5138         * rt/mq_open.c: Likewise.
5139         * rt/mq_receive.c: Likewise.
5140         * rt/mq_send.c: Likewise.
5141         * rt/mq_setattr.c: Likewise.
5142         * rt/mq_timedreceive.c: Likewise.
5143         * rt/mq_timedsend.c: Likewise.
5144         * rt/mq_unlink.c: Likewise.
5145         * rt/shm_open.c: Likewise.
5146         * rt/shm_unlink.c: Likewise.
5147         * rt/timer_create.c: Likewise.
5148         * rt/timer_delete.c: Likewise.
5149         * rt/timer_getoverr.c: Likewise.
5150         * rt/timer_gettime.c: Likewise.
5151         * rt/timer_settime.c: Likewise.
5152         * setjmp/__longjmp.c: Likewise.
5153         * setjmp/setjmp.c: Likewise.
5154         * signal/kill.c: Likewise.
5155         * signal/killpg.c: Likewise.
5156         * signal/raise.c: Likewise.
5157         * signal/sigaction.c: Likewise.
5158         * signal/sigaltstack.c: Likewise.
5159         * signal/sigblock.c: Likewise.
5160         * signal/sigignore.c: Likewise.
5161         * signal/sigintr.c: Likewise.
5162         * signal/signal.c: Likewise.
5163         * signal/sigpause.c: Likewise.
5164         * signal/sigpending.c: Likewise.
5165         * signal/sigqueue.c: Likewise.
5166         * signal/sigreturn.c: Likewise.
5167         * signal/sigset.c: Likewise.
5168         * signal/sigsetmask.c: Likewise.
5169         * signal/sigstack.c: Likewise.
5170         * signal/sigsuspend.c: Likewise.
5171         * signal/sigtimedwait.c: Likewise.
5172         * signal/sigvec.c: Likewise.
5173         * signal/sigwait.c: Likewise.
5174         * signal/sigwaitinfo.c: Likewise.
5175         * signal/sysv_signal.c: Likewise.
5176         * socket/accept.c: Likewise.
5177         * socket/accept4.c: Likewise.
5178         * socket/bind.c: Likewise.
5179         * socket/connect.c: Likewise.
5180         * socket/getpeername.c: Likewise.
5181         * socket/getsockname.c: Likewise.
5182         * socket/getsockopt.c: Likewise.
5183         * socket/isfdtype.c: Likewise.
5184         * socket/listen.c: Likewise.
5185         * socket/recv.c: Likewise.
5186         * socket/recvfrom.c: Likewise.
5187         * socket/recvmsg.c: Likewise.
5188         * socket/send.c: Likewise.
5189         * socket/sendmsg.c: Likewise.
5190         * socket/sendto.c: Likewise.
5191         * socket/setsockopt.c: Likewise.
5192         * socket/shutdown.c: Likewise.
5193         * socket/sockatmark.c: Likewise.
5194         * socket/socket.c: Likewise.
5195         * socket/socketpair.c: Likewise.
5196         * stdio-common/ctermid.c: Likewise.
5197         * stdio-common/cuserid.c: Likewise.
5198         * stdio-common/remove.c: Likewise.
5199         * stdio-common/rename.c: Likewise.
5200         * stdio-common/renameat.c: Likewise.
5201         * stdio-common/tempname.c: Likewise.
5202         * stdlib/getcontext.c: Likewise.
5203         * stdlib/makecontext.c: Likewise.
5204         * stdlib/setcontext.c: Likewise.
5205         * stdlib/swapcontext.c: Likewise.
5206         * stdlib/system.c: Likewise.
5207         * streams/fattach.c: Likewise.
5208         * streams/fdetach.c: Likewise.
5209         * streams/getmsg.c: Likewise.
5210         * streams/getpmsg.c: Likewise.
5211         * streams/putmsg.c: Likewise.
5212         * streams/putpmsg.c: Likewise.
5213         * sysdeps/unix/bsd/getpt.c: Likewise.
5214         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5215         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5216         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5218         Likewise.
5219         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5220         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5221         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5222         * sysvipc/msgctl.c: Likewise.
5223         * sysvipc/msgget.c: Likewise.
5224         * sysvipc/msgrcv.c: Likewise.
5225         * sysvipc/msgsnd.c: Likewise.
5226         * sysvipc/semctl.c: Likewise.
5227         * sysvipc/semget.c: Likewise.
5228         * sysvipc/semop.c: Likewise.
5229         * sysvipc/semtimedop.c: Likewise.
5230         * sysvipc/shmat.c: Likewise.
5231         * sysvipc/shmctl.c: Likewise.
5232         * sysvipc/shmdt.c: Likewise.
5233         * sysvipc/shmget.c: Likewise.
5234         * termios/tcdrain.c: Likewise.
5235         * termios/tcflow.c: Likewise.
5236         * termios/tcflush.c: Likewise.
5237         * termios/tcgetattr.c: Likewise.
5238         * termios/tcgetpgrp.c: Likewise.
5239         * termios/tcsendbrk.c: Likewise.
5240         * termios/tcsetattr.c: Likewise.
5241         * termios/tcsetpgrp.c: Likewise.
5242         * time/adjtime.c: Likewise.
5243         * time/clock.c: Likewise.
5244         * time/getitimer.c: Likewise.
5245         * time/gettimeofday.c: Likewise.
5246         * time/setitimer.c: Likewise.
5247         * time/settimeofday.c: Likewise.
5248         * time/stime.c: Likewise.
5249         * time/time.c: Likewise.
5251 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
5253         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5254         /usr/old/bin.
5256         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5257         instead of spaces.
5258         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5260 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
5262         [BZ #14796]
5263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5264         FE_TONEAREST before applying Dekker multiplication and Knuth
5265         addition.  Clear inexact exceptions and check for exact zero
5266         results afterwards.
5267         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5268         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5269         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5270         * math/libm-test.inc (fma_test): Add more tests.
5271         (fma_test_towardzero): Likewise.
5272         (fma_test_downward): Likewise.
5273         (fma_test_upward): Likewise.
5274         * sysdeps/generic/math_private.h (default_libc_fesetround): New
5275         function.
5276         (libc_fesetround): New macro.
5277         (libc_fesetroundf): Likewise.
5278         (libc_fesetroundl): Likewise.
5279         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5280         function.
5281         (libc_fesetround_387): Likewise.
5282         (libc_fesetroundf): New macro.
5283         (libc_fesetround): Likewise.
5284         (libc_fesetroundl): Likewise.
5285         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5286         function.
5287         (libc_fesetroundf): New macro.
5288         (libc_fesetround): Likewise.
5289         (libc_fesetroundl): Likewise.
5290         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5291         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5292         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5293         libm_hidden_ver.
5294         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5295         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5296         libm_hidden_def.
5297         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5298         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5299         libm_hidden_ver.
5300         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5301         libm_hidden_def.
5303         [BZ #3439]
5304         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5305         integer constant usable in #if and use that to give value to enum
5306         constant.
5307         (FE_DIVBYZERO): Likewise.
5308         (FE_UNDERFLOW): Likewise.
5309         (FE_OVERFLOW): Likewise.
5310         (FE_INVALID): Likewise.
5311         (FE_INVALID_SNAN): Likewise.
5312         (FE_INVALID_ISI): Likewise.
5313         (FE_INVALID_IDI): Likewise.
5314         (FE_INVALID_ZDZ): Likewise.
5315         (FE_INVALID_IMZ): Likewise.
5316         (FE_INVALID_COMPARE): Likewise.
5317         (FE_INVALID_SOFTWARE): Likewise.
5318         (FE_INVALID_SQRT): Likewise.
5319         (FE_INVALID_INTEGER_CONVERSION): Likewise.
5320         (FE_TONEAREST): Likewise.
5321         (FE_TOWARDZERO): Likewise.
5322         (FE_UPWARD): Likewise.
5323         (FE_DOWNWARD): Likewise.
5324         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5325         (FE_DIVBYZERO): Likewise.
5326         (FE_OVERFLOW): Likewise.
5327         (FE_UNDERFLOW): Likewise.
5328         (FE_INEXACT): Likewise.
5329         (FE_TONEAREST): Likewise.
5330         (FE_DOWNWARD): Likewise.
5331         (FE_UPWARD): Likewise.
5332         (FE_TOWARDZERO): Likewise.
5333         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5334         (FE_UNDERFLOW): Likewise.
5335         (FE_OVERFLOW): Likewise.
5336         (FE_DIVBYZERO): Likewise.
5337         (FE_INVALID): Likewise.
5338         (FE_TONEAREST): Likewise.
5339         (FE_TOWARDZERO): Likewise.
5340         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5341         (FE_OVERFLOW): Likewise.
5342         (FE_UNDERFLOW): Likewise.
5343         (FE_DIVBYZERO): Likewise.
5344         (FE_INEXACT): Likewise.
5345         (FE_TONEAREST): Likewise.
5346         (FE_TOWARDZERO): Likewise.
5347         (FE_UPWARD): Likewise.
5348         (FE_DOWNWARD): Likewise.
5349         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5350         (FE_DIVBYZERO): Likewise.
5351         (FE_OVERFLOW): Likewise.
5352         (FE_UNDERFLOW): Likewise.
5353         (FE_INEXACT): Likewise.
5354         (FE_TONEAREST): Likewise.
5355         (FE_DOWNWARD): Likewise.
5356         (FE_UPWARD): Likewise.
5357         (FE_TOWARDZERO): Likewise.
5359 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
5361         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5363 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
5365         * scripts/cross-test-ssh.sh (command): Use newlines to separate
5366         commands.  Quote $PWD.
5367         (blacklist_exports): Don't use remove_newlines.  Replace "declare
5368         -x" by "export".
5369         (remove_newlines): Remove.
5371 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
5373         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5374         * stdlib/stdlib.h (atof): Moved to ...
5375         * include/bits/stdlib-float.h: Here.  New file.
5376         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5377         * stdlib/bits/stdlib-float.h: New file.
5378         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5379         -mno-sse -mno-mmx.
5380         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5381         <xmmintrin.h>.
5383 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
5385         * conform/conformtest.pl (@headers): Add fenv.h.
5386         * conform/data/fenv.h-data: New file.
5387         * include/fenv.h [_ISOMAC]: Disable all contents of file except
5388         include of <math/fenv.h>.
5390         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5391         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5392         && !UNIX98].  Enables tests for XOPEN2K8.
5393         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5394         POSIX2008]: Likewise.
5396         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5397         (struct rusage): Do not expect type or its members.
5399         [BZ #3439]
5400         * math/math.h (FP_NAN): Define macro to integer constant usable in
5401         #if and use that to give value to enum constant.
5402         (FP_INFINITE): Likewise.
5403         (FP_ZERO): Likewise.
5404         (FP_SUBNORMAL): Likewise.
5405         (FP_NORMAL): Likewise.
5407 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
5409         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5410         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5411         arguments.
5413 2012-11-02  Roland McGrath  <roland@hack.frob.com>
5415         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5416         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5417         autoconf-time if not.
5418         * configure.in: Remove AC_PREREQ.
5420 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5422         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5423         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5424         of the internal implementation.
5426 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
5428         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5429         except include of <misc/sys/syslog.h>.
5431 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5434         function returns with a NULL context exit with zero.
5436 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5438         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5440 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
5442         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5443         (run_program_cmd): This.
5444         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5445         (tst_langinfo): New variable.  Use it.
5447 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
5449         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5450         floating point opcodes.
5452 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5454         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5455         variable.
5457         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5459         * sysdeps/mach/hurd/powerpc: Remove directory.
5460         * sysdeps/mach/powerpc: Likewise.
5462 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5464         * scripts/check-local-headers.sh: Ignore c++ headers.
5466 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5468         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5469         __libc_cleanup_region_start argument.
5471 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
5473         [BZ #14784]
5474         [BZ #14785]
5475         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5476         x * y using scaling, not as x * y + z.
5477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5478         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5479         * math/libm-test.inc (fma_test): Add more tests.
5480         (fma_test_towardzero): Likewise.
5481         (fma_test_downward): Likewise.
5482         (fma_test_upward): Likewise.
5484 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5486         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5488 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
5490         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5491         New variable.
5493 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
5495         * rt/tst-shm.c (worker): Correct checking for mmap failure.
5497 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
5499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5500         Fix sort order.
5501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5502         Likewise.
5504 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5507         Fix the order of the list for glibc 2.17.
5508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5509         Likewise.
5511 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
5513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5515 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
5517         [BZ #14610]
5518         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5519         for low part of x being zero before using __atanl (y).
5520         * math/libm-test.inc (atan2_test): Add another test.
5522         * manual/install.texi (Configuring and compiling): Document
5523         general use of test-wrapper and test-wrapper-env.
5524         * INSTALL: Regenerated.
5526         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5527         (__fma): Do not extract and scale down low bits on after-rounding
5528         systems when result rounded to normal precision would have normal
5529         exponent.
5530         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5531         (__fmal): Do not extract and scale down low bits on after-rounding
5532         systems when result rounded to normal precision would have normal
5533         exponent.
5534         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5535         (__fmal): Do not extract and scale down low bits on after-rounding
5536         systems when result rounded to normal precision would have normal
5537         exponent.
5538         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5539         macro.
5540         (fma_test): Add more tests.
5541         (fma_test_towardzero): Likewise.
5542         (fma_test_downward): Likewise.
5543         (fma_test_upward): Likewise.
5545 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
5547         * sysdeps/i386/tininess.h: Renamed to ...
5548         * sysdeps/x86/tininess.h: This.
5549         * sysdeps/x86_64/tininess.h: Removed.
5551 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
5553         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5554         input.  Use $(build-program-cmd).
5555         ($(objpfx)tst-array1-static.out): Likewise.
5556         ($(objpfx)tst-array2.out): Likewise.
5557         ($(objpfx)tst-array3.out): Likewise.
5558         ($(objpfx)tst-array4.out): Likewise.
5559         ($(objpfx)tst-array5.out): Likewise.
5560         ($(objpfx)tst-array5-static.out): Likewise.
5562 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
5564         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5565         if defined.
5567         * nss/nsswitch.h (nss_interface_function): Provide new
5568         macro for use with NSS functions.
5569         * grp/initgroups.c: Use new macro.
5570         * nss/getXXbyYY.c: Likewise.
5571         * nss/getXXbyYY_r.c: Likewise.
5572         * nss/getXXent.c: Likewise.
5573         * nss/getXXent_r.c: Likewise.
5574         * sysdeps/posix/getaddrinfo.c: Likewise.
5576 2012-10-30  Andreas Jaeger  <aj@suse.de>
5578         * po/ru.po: Update Russion translation from translation project.
5580 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
5582         [BZ #14152]
5583         [BZ #14783]
5584         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5585         result and shift together with sticky bit instead of replicating
5586         round-to-nearest rounding.
5587         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5588         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5589         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
5590         missing underflow exceptions.
5591         (fma_test_towardzero): Add more tests.
5592         (fma_test_downward): Likewise.
5593         (fma_test_upward): Likewise.
5595         [BZ #14047]
5596         * sysdeps/generic/tininess.h: New file.
5597         * sysdeps/i386/tininess.h: Likewise.
5598         * sysdeps/sh/tininess.h: Likewise.
5599         * sysdeps/x86_64/tininess.h: Likewise.
5600         * stdlib/tst-strtod-underflow.c: Likewise.
5601         * stdlib/tst-tininess.c: Likewise.
5602         * stdlib/strtod_l.c: Include <tininess.h>.
5603         (round_and_return): Do not set errno for exact underflow cases.
5604         Force an underflow exception when setting errno for underflow.
5605         Determine underflow based on rounding to normal precision if
5606         TININESS_AFTER_ROUNDING.
5607         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5608         ERANGE for exact underflow cases.
5609         * stdlib/Makefile (tests): Add tst-tininess and
5610         tst-strtod-underflow.
5611         ($(objpfx)tst-tininess): Use $(link-libm).
5612         ($(objpfx)tst-strtod-underflow): Likewise.
5614 2012-10-30  Andreas Jaeger  <aj@suse.de>
5616         [BZ#14767]
5617         * elf/Makefile (tests): Remove conditional for have-initfini-array
5618         since this is now always required and the variable does not exist
5619         anymore.
5620         (tests-static): Likewise.
5621         (modules-names): Likewise.
5623         * po/eo.po: Add Esperanto translation from translation project.
5625         * elf/tst-array1.c (fini_array): Make writeable so that it can be
5626         merged with constructor/destructor.
5627         (init_array): Likewise.
5628         * elf/tst-array2dep.c (fini_array): Likewise.
5629         (init_array): Likewise.
5631 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
5633         * manual/message.texi: Delete @cartouche tags.
5635 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
5637         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5638         EOPNOTSUPP.
5639         * sysdeps/mach/hurd/fsync.c: Likewise.
5641         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5642         [_POSIX_REALTIME_SIGNALS]: Change condition to
5643         [_POSIX_REALTIME_SIGNALS > 0].
5645 2012-10-27  Andreas Jaeger  <aj@suse.de>
5647         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5648         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5649         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5650         [__WORDSIZE != 64]: Likewise.
5652 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
5654         *  iconvdata/tst-table.sh: Remove ${SHELL}.
5655         *  iconvdata/tst-tables.sh: Likewise.
5657 2012-10-25  David S. Miller  <davem@davemloft.net>
5659         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5660         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5661         of strtoull.
5663         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5664         ifunc-impl-list.c
5665         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5666         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5667         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5668         file.
5670 2012-10-25  Roland McGrath  <roland@hack.frob.com>
5672         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5673         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5674         __getdirentries.
5676 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
5677             Jim Blandy  <jimb@codesourcery.com>
5679         * scripts/cross-test-ssh.sh: New file.
5680         * manual/install.texi (Configuring and compiling): Document use of
5681         cross-test-ssh.sh.
5682         * INSTALL: Regenerated.
5684 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
5686         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5687         EOPNOTSUPP.
5689 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
5691         * Makeconfig (run-program-prefix): Fix comment.
5693 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
5694             Jim Blandy  <jimb@codesourcery.com>
5696         * Makeconfig (test-wrapper): New variable,
5697         (test-wrapper-env): Likewise.
5698         [$(cross-compiling) = yes && $(test-wrapper) != ""]
5699         (run-built-tests): Define to yes.
5700         (run-program-prefix): Use $(test-wrapper).
5701         (built-program-cmd): Likewise.
5702         * Rules (make-test-out): Use $(test-wrapper-env) and
5703         $(host-built-program-cmd).
5704         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5705         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5706         tst-pathopt.sh.
5707         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5708         $(test-wrapper-env) to tst-rtld-load-self.sh.
5709         ($(objpfx)order2.out): Use $(test-wrapper).
5710         ($(objpfx)tst-initorder.out): Likewise.
5711         ($(objpfx)tst-initorder2.out): Likewise.
5712         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5713         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5714         (test_wrapper_env): New variable.  Use it to run ld.so.
5715         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5716         Use it to run ld.so.
5717         (test_wrapper_env): Likewise.
5718         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5719         $(test-wrapper) to run-iconv-test.sh.
5720         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5721         (ICONV): Use $test_wrapper.
5722         * posix/Makefile ($(objpfx)globtest.out): Pass
5723         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5724         globtest.sh, not $(run-program-prefix).
5725         * posix/globtest.sh (run_via_rtld_prefix): New variable.
5726         (test_wrapper): Likewise.
5727         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
5728         set together with run_via_rtld_prefix.
5729         (run_program_prefix): Define in terms of test_wrapper and
5730         run_via_rtld_prefix.
5732 2012-10-24  Roland McGrath  <roland@hack.frob.com>
5734         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5735         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5736         Targets removed.
5738         [BZ #14743]
5739         * include/time.h: Remove librt_hidden_proto (clock_gettime).
5740         Declare __clock_getres, __clock_gettime, __clock_settime,
5741         __clock_nanosleep, and __clock_getcpuclockid.
5742         * rt/clock_gettime.c: Define __clock_gettime as an alias.
5743         Remove librt_hidden_def (clock_gettime).
5744         * sysdeps/unix/clock_gettime.c: Likewise.
5745         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5746         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5747         * rt/clock_getres.c: Define __clock_getres as an alias.
5748         * sysdeps/posix/clock_getres.c: Likewise.
5749         * rt/clock_settime.c: Define __clock_settime as an alias.
5750         * sysdeps/unix/clock_settime.c: Likewise.
5751         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5752         * sysdeps/unix/clock_nanosleep.c: Likewise.
5753         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5754         * rt/clock-compat.c: New file.
5755         * rt/Makefile (librt-routines): Add clock-compat and move
5756         $(clock-routines) to ...
5757         (routines): ... here, new variable.
5758         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5759         Don't add get_clockfreq here.
5760         * rt/Versions (libc: GLIBC_2.17): New version set.
5761         Add clock_* symbols here.
5762         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
5763         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5764         (GLIBC_2.17): Add clock_* symbols.
5765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5767         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5769         Likewise.
5770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5771         Likewise.
5772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5776         * NEWS: Mention the move.
5778         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5779         Use __open, __read, __close rather than their public counterparts.
5780         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5781         (__get_clockfreq_via_cpuinfo): Likewise.
5782         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5783         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5785         * config.h.in (HAVE_IFUNC): New #undef.
5786         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5787         was successful.
5788         * configure: Regenerated.
5790 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
5792         * configure.in: Move READELF check to start of file.
5793         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5794         libc_cv_asm_gnu_indirect_function in the process.
5795         * configure: Regenerated.
5797 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
5799         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5800         send the output to /dev/null.
5801         (libc_cv_cc_with_libunwind): Likewise.
5802         (libc_cv_as_noexecstack): Likewise.
5803         * configure: Regenerate.
5805 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
5807         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5809         * posix/globtest.sh (TMPDIR): Do not set.
5810         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5811         (testout): Likewise.
5813 2012-10-24  Andreas Jaeger  <aj@suse.de>
5815         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5816         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5817         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5818         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5819         posix_fadvise64, posix_fallocate64.
5821         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5822         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5823         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5824         Likewise.
5825         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5826         Likewise.
5827         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5829         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5830         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5831         <bits/fcntl-linux.h>.
5832         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5834         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5835         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5836         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5837         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5838         [__WORDSIZE != 64]: Likewise.
5840 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
5842         * Makeconfig (run-built-tests): New variable.
5843         * Rules [$(cross-compiling) = yes]: Change condition to
5844         [$(run-built-tests) = no].
5845         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5846         to [$(run-built-tests) = yes].
5847         * elf/Makefile [$(cross-compiling) = no]: Likewise
5848         * grp/Makefile [$(cross-compiling) = no]: Likewise.
5849         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5850         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5851         * intl/Makefile [$(cross-compiling) = no]: Likewise.
5852         * io/Makefile [$(cross-compiling) = no]: Likewise.
5853         * libio/Makefile [$(cross-compiling) = no]: Likewise.
5854         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5855         * misc/Makefile [$(cross-compiling) = no]: Likewise.
5856         * posix/Makefile [$(cross-compiling) = no]: Likewise.
5857         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5858         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5859         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5860         * string/Makefile [$(cross-compiling) = no]: Likewise.
5862         * posix/Makefile ($(objpfx)globtest.out): Pass
5863         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5864         $(rtld-installed-name).
5865         * posix/globtest.sh (elf_objpfx): Remove variable.
5866         (rtld_installed_name): Likewise.
5867         (library_path): Likewise.
5868         (run_program_prefix): New variable.  Use for running globtest
5869         binary.
5871 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
5872             Joseph Myers  <joseph@codesourcery.com>
5874         * Makeconfig (host-built-program-cmd): New variable.
5875         * elf/Makefile (tst-stackguard1-ARGS): Use
5876         $(host-built-program-cmd).
5877         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5878         (tst-spawn-ARGS): Likewise.
5879         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5881 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
5882             Jim Blandy  <jimb@codesourcery.com>
5884         * Makeconfig (run-via-rtld-prefix): New variable.
5885         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5886         (built-program-cmd): Likewise.
5888 2012-10-22  Andreas Jaeger  <aj@suse.de>
5890         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5891         __O_RSYNC if it exists, otherwise to O_SYNC.
5893 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
5894             Joseph Myers  <joseph@codesourcery.com>
5896         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5897         /dev/null.
5898         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5899         from /dev/null
5900         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5901         /dev/null.
5903 2012-10-22  Andreas Jaeger  <aj@suse.de>
5905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5906         Define always.
5907         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5909         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5910         bits/fcntl-linux.h.
5912         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5913         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5915         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5916         to __O_LARGEFILE.
5917         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5918         to __O_LARGEFILE.
5920 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
5921             Joseph Myers  <joseph@codesourcery.com>
5923         * config.make.in (NM): New variable.
5925 2012-10-21  Andreas Jaeger  <aj@suse.de>
5927         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5928         definitions and declarations that are provided by
5929         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5931 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
5933         [BZ #14683]
5934         * elf/Makefile (tests-static): Add tst-leaks1-static.
5935         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5936         ($(objpfx)tst-leaks1-static): New rule.
5937         ($(objpfx)tst-leaks1-static-mem): Likewise.
5938         (tst-leaks1-static-ENV): New macro.
5939         * elf/dl-open.c (dl_open_worker): Check the main application
5940         only if SHARED is defined.
5941         * elf/tst-leaks1-static.c: New file.
5943 2012-10-20  Andreas Jaeger  <aj@suse.de>
5945         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5946         generic values for Linux.
5947         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5948         and declarations that are provided by <bits/fcntl-linux.h> and
5949         include <bits/fcntl-linux.h>.
5950         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5951         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5953 2012-10-20  Roland McGrath  <roland@hack.frob.com>
5955         * io/fcntl.h: Move include of <bits/types.h> to the top and
5956         include it unconditionally.
5958 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
5960         * wcsmbs/Makefile (tests-ifunc): New variable.
5961         (tests): Add $(tests-ifunc).
5962         * wcsmbs/test-wcschr-ifunc.c: New file.
5963         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5964         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5965         * wcsmbs/test-wcslen-ifunc.c: Likewise.
5966         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5967         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5969         * string/Makefile (tests-ifunc): New variable.
5970         (tests): Add $(tests-ifunc).
5971         * string/test-memccpy.c (TEST_NAME): New macro.
5972         * string/test-memchr.c (TEST_NAME): Likewise.
5973         * string/test-memcmp.c (TEST_NAME): Likewise.
5974         * string/test-memcpy.c (TEST_NAME): Likewise.
5975         * string/test-memmem.c (TEST_NAME): Likewise.
5976         * string/test-memmove.c (TEST_NAME): Likewise.
5977         * string/test-memset.c (TEST_NAME): Likewise.
5978         * string/test-rawmemchr.c (TEST_NAME): Likewise.
5979         * string/test-stpcpy.c (TEST_NAME): Likewise.
5980         * string/test-stpncpy.c (TEST_NAME): Likewise.
5981         * string/test-strcasecmp.c (TEST_NAME): Likewise.
5982         * string/test-strcasestr.c (TEST_NAME): Likewise.
5983         * string/test-strcat.c (TEST_NAME): Likewise.
5984         * string/test-strchr.c (TEST_NAME): Likewise.
5985         * string/test-strcmp.c(TEST_NAME): Likewise.
5986         * string/test-strcpy.c (TEST_NAME): Likewise.
5987         * string/test-strcspn.c (TEST_NAME): Likewise.
5988         * string/test-strlen.c (TEST_NAME): Likewise.
5989         * string/test-strncasecmp.c (TEST_NAME): Likewise.
5990         * string/test-strncmp.c (TEST_NAME): Likewise.
5991         * string/test-strncpy.c (TEST_NAME): Likewise.
5992         * string/test-strnlen.c (TEST_NAME): Likewise.
5993         * string/test-strpbrk.c (TEST_NAME): Likewise.
5994         * string/test-strrchr.c (TEST_NAME): Likewise.
5995         * string/test-strspn.c (TEST_NAME): Likewise.
5996         * string/test-strstr.c (TEST_NAME): Likewise.
5997         * string/test-bcopy-ifunc.c: New file.
5998         * string/test-bzero-ifunc.c: Likewise.
5999         * string/test-memccpy-ifunc.c: Likewise.
6000         * string/test-memchr-ifunc.c: Likewise.
6001         * string/test-memcmp-ifunc.c: Likewise.
6002         * string/test-memcpy-ifunc.c: Likewise.
6003         * string/test-memmem-ifunc.c: Likewise.
6004         * string/test-memmove-ifunc.c: Likewise.
6005         * string/test-mempcpy-ifunc.c: Likewise.
6006         * string/test-memset-ifunc.c: Likewise.
6007         * string/test-rawmemchr-ifunc.c: Likewise.
6008         * string/test-stpcpy-ifunc.c: Likewise.
6009         * string/test-stpncpy-ifunc.c: Likewise.
6010         * string/test-strcasecmp-ifunc.c: Likewise.
6011         * string/test-strcasestr-ifunc.c: Likewise.
6012         * string/test-strcat-ifunc.c: Likewise.
6013         * string/test-strchr-ifunc.c: Likewise.
6014         * string/test-strchrnul-ifunc.c: Likewise.
6015         * string/test-strcmp-ifunc.c: Likewise.
6016         * string/test-strcpy-ifunc.c: Likewise.
6017         * string/test-strcspn-ifunc.c: Likewise.
6018         * string/test-strlen-ifunc.c: Likewise.
6019         * string/test-strncasecmp-ifunc.c: Likewise.
6020         * string/test-strncat-ifunc.c: Likewise.
6021         * string/test-strncmp-ifunc.c: Likewise.
6022         * string/test-strncpy-ifunc.c: Likewise.
6023         * string/test-strnlen-ifunc.c: Likewise.
6024         * string/test-strpbrk-ifunc.c: Likewise.
6025         * string/test-strrchr-ifunc.c: Likewise.
6026         * string/test-strspn-ifunc.c: Likewise.
6027         * string/test-strstr-ifunc.c: Likewise.
6029         * debug/Makefile (tests-ifunc): New variable.
6030         (tests): Add $(tests-ifunc).
6031         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6032         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6033         * debug/test-stpcpy_chk-ifunc.c: New file.
6034         * debug/test-strcpy_chk-ifunc.c: Likewise.
6036 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6038         [BZ #13601]
6039         * elf/dl-load.c (open_verify): Retry read if the entire ELF
6040         header is not read in.
6042 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
6044         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
6045         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
6046         directly.  Pass built executable to script as
6047         $(built-program-cmd).
6048         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
6049         $testprogram without using LD_LIBRARY_PATH and $ldso.
6051         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6052         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6053         $(rtld-installed-name).
6054         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6055         (rtld_installed_name): Likewise.
6056         (library_path): Likewise.
6057         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
6058         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6059         $(run-program-prefix) to tst-tables.sh.
6060         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
6061         it to run tst-table-from and tst-table-to.
6062         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6063         Pass it to tst-table.sh.
6064         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6065         $(run-program-prefix) to tst-gettext.sh.
6066         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6067         tst-translit.sh.
6068         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6069         tst-gettext2.sh.
6070         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
6071         to run tst-gettext.
6072         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
6073         to run tst-gettext2.
6074         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
6075         to run tst-translit.
6076         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6077         $(run-program-prefix) to tst-mtrace.sh.
6078         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
6079         to run tst-mtrace.
6080         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6081         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6082         $(rtld-installed-name).
6083         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6084         (rtld_installed_name): Likewise.
6085         (run_program_prefix): New variable.  Use it to run wordexp-test.
6087         * Makeconfig (ARCH): Remove all definitions.
6088         (machine): Likewise.
6089         [ARCH]: Remove conditional code.
6090         [!objdir]: Give error.
6091         [!objdir] (objpfx): Remove.
6092         [!objdir] (common-objpfx): Likewise.
6093         [!objdir] (common-objdir): Likewise.
6094         * configure.in (config_makefile): Remove.  Hardcode Makefile in
6095         AC_CONFIG_FILES call.
6096         * configure: Regenerated.
6098         [BZ #13888]
6099         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6100         or TMPDIR.
6101         (testout): Likewise.
6103         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6104         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6105         $(rtld-installed-name).
6106         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6107         (rtld_installed_name): Likwise.
6108         (runit): Remove function.
6109         (run_getconf): New variable,  Use it for running getconf binary.
6111 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
6113         [BZ #14716]
6114         * string/test-memmem.c (check_result): New function.
6115         (do_one_test): Use it.
6116         (check1): New function.
6117         (test_main): Use it.
6119 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
6121         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6123 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
6125         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6126         (_G_LSEEK64): Likewise.
6127         (_G_MMAP64): Likewise.
6128         (_G_FSTAT64): Likewise.
6129         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6130         (_G_LSEEK64): Likewise.
6131         (_G_MMAP64): Likewise.
6132         (_G_FSTAT64): Likewise.
6133         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6134         unconditional.  Call __mmap64 directly.
6135         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6136         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
6137         __lseek64 directly.
6138         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6139         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
6140         __mmap64 directly.
6141         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6142         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
6143         __lseek64 directly.
6144         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6145         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
6146         __lseek64 directly.
6147         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6148         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
6149         __lseek64 directly.
6150         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6151         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
6152         __fxstat64 directly.
6153         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6154         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6155         unconditional.
6156         (freopen64) [!_G_OPEN64]: Remove conditional code.
6157         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6158         unconditional.
6159         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6160         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6161         unconditional.
6162         (ftello64) [!_G_LSEEK64]: Remove conditional code.
6163         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6164         unconditional.
6165         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6166         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6167         unconditional.
6168         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6169         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6170         unconditional.
6171         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6172         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6173         unconditional.
6174         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6175         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6176         unconditional.
6177         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6179 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6181         [BZ #12140]
6182         * manual/memory.texi (Malloc Tunable Parameters): Add note
6183         about free list pointers overwriting some perturb bytes.
6184         Wording suggested by Roland McGrath.
6186 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
6188         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6189         (lgamma_test): Likewise.
6190         (tgamma_test): Likewise.
6192 2012-10-16  Florian Weimer  <fweimer@redhat.com>
6194         [BZ #14700]
6195         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6196         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6198 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
6200         * NEWS: Mention BZ #14716.
6201         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6202         when removing AVAILABLE1_USES_J macro.
6204 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
6206         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6207         (__bswap_64): __uint64_t for unsigned 64-bit int.
6209 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
6211         * include/string.h (memmem): Declare libc hidden alias.
6212         * string/memmem.c (memmem): Define libc hidden alias.
6213         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6214         __read, __close instead of open, read, close.
6216 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
6218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6219         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6220         global and hidden.
6221         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6222         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6223         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6224         Likewise.
6225         (__rawmemchr_sse2): Likewise.
6226         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6227         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6228         (__strchr_sse2): Likewise.
6229         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6230         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6231         (__strcasecmp_sse2): Likewise.
6232         (__strncasecmp_sse2): Likewise.
6233         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6234         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6235         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6236         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6237         (__strrchr_sse2): Likewise.
6238         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6239         ifunc-impl-list.c.
6240         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6241         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6242         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6243         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6244         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6245         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6246         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6247         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6248         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6249         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6250         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6251         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6252         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6253         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6254         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6255         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6256         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6257         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6258         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6259         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6260         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6261         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6262         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6263         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6264         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6265         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6266         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6267         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6268         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6269         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6271         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6272         global and hidden.
6273         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6274         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6275         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6276         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6277         Likewise.
6278         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6279         Likewise.
6280         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6281         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6282         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6283         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6284         ifunc-impl-list.c.
6285         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6286         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6287         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6288         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6289         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6290         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6291         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6292         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6293         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6294         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6295         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6296         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6297         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6298         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6299         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6300         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6301         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6302         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6303         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6304         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6305         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6306         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6307         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6308         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6309         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6310         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6311         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6312         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6313         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6314         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6315         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6316         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6317         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6318         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6319         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6320         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6321         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6322         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6323         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6324         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6325         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6327         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6328         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6329         * include/ifunc-impl-list.h: New file.
6330         * misc/ifunc-impl-list.c: Likewise.
6331         * misc/Makefile (routines): Add ifunc-impl-list.
6332         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6333         * string/test-string.h: Include <ifunc-impl-list.h>.
6334         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6335         impl_array): New variables.
6336         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6337         are defined.
6338         (test_init): Call __libc_ifunc_impl_list to initialize
6339         func_list if TEST_IFUNC and TEST_NAME are defined.
6341         * string/Makefile (strop-tests): Add bcopy and bzero.
6342         * string/test-bcopy.c: New file.
6343         * string/test-bzero.c: Likewise.
6344         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6345         defined.
6346         * string/test-memset.c: Support bzero test if TEST_BZERO is
6347         defined.
6348         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6349         __libc_memmove.
6350         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6351         __libc_memset.
6352         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6353         of memset.
6355 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
6357         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6358         * configure: Regenerated.
6360         * Makeconfig (+link-static-before-libc): Don't include
6361         $(link-static-libc).
6363         * libio/libio.h (_IO_pos_t): Remove.
6365 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6367         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
6368         McGrath.
6370 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6372         * crypt/crypt-entry.c: Include fips-private.h.
6373         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6374         * crypt/md5c-test.c (main): Tolerate disabled MD5.
6375         * sysdeps/unix/sysv/linux/fips-private.h: New file.
6376         * sysdeps/generic/fips-private.h: New file, dummy fallback.
6378 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6380         * crypt/crypt-private.h: Include stdbool.h.
6381         (_ufc_setup_salt_r): Return bool.
6382         * crypt/crypt-entry.c: Include errno.h.
6383         (__crypt_r): Return NULL with EINVAL for bad salt.
6384         * crypt/crypt_util.c (bad_for_salt): New.
6385         (_ufc_setup_salt_r): Check that salt is long enough and within
6386         the specified alphabet.
6387         * crypt/badsalttest.c: New file.
6388         * crypt/Makefile (tests): Add it.
6389         ($(objpfx)badsalttest): New.
6391 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
6393         * NEWS: Add entry for BZ #14602.
6395 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
6397         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6398         type-generic.
6399         * math/libm-test.inc: Update comment listing what functions and
6400         macros are tested.
6401         (isgreater_test): New function.
6402         (isgreaterequal_test): Likewise.
6403         (isless_test): Likewise.
6404         (islessequal_test): Likewise.
6405         (islessgreater_test): Likewise.
6406         (isunordered_test): Likewise.
6407         (main): Call the new functions.
6409 2012-10-09  Roland McGrath  <roland@hack.frob.com>
6411         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6412         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6413         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6414         * sysdeps/i386/configure: Regenerated.
6415         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6416         * sysdeps/mach/configure: Regenerated.
6417         * sysdeps/mach/hurd/configure: Regenerated.
6418         * sysdeps/powerpc/configure: Regenerated.
6419         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6420         * sysdeps/powerpc/powerpc64/configure: Regenerated.
6421         * sysdeps/s390/s390-32/configure: Regenerated.
6422         * sysdeps/s390/s390-64/configure: Regenerated.
6423         * sysdeps/sh/configure: Regenerated.
6424         * sysdeps/sparc/configure: Regenerated.
6425         * sysdeps/unix/sysv/linux/configure: Regenerated.
6426         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6427         * sysdeps/x86_64/configure: Regenerated.
6429         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6430         defined.  Don't check if MAP is NULL.
6432 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
6434         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6435         (_G_stat64): Likewise.
6436         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6437         (_G_stat64): Likewise.
6438         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6439         instead of struct _G_stat64.
6440         * libio/fileops.c (mmap_remap_check): Likewise.
6441         (decide_maybe_mmap): Likewise.
6442         (_IO_new_file_seekoff): Likewise.
6443         (_IO_file_stat): Likewise.
6444         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6445         _G_off64_t.
6446         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6447         instead of struct _G_stat64.
6448         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6450 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
6452         [BZ #14602]
6453         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6454         Replace with ...
6455         (CHECK_EOL): New macro.
6456         (two_way_short_needle): Check beginning of haystack for EOL.  Use
6457         CHECK_EOL.
6458         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6459         Replace with CHECK_EOL.
6460         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6461         Replace with CHECK_EOL.
6463 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
6465         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6466         type-generic.
6467         * math/libm-test.inc: Update comment listing what functions and
6468         macros are tested.
6469         (finite_test): New function.
6470         (isinf_test): Likewise.
6471         (isnan_test): Likewise.
6472         (fpclassify_test): Test subnormal input.
6473         (isfinite_test): Likewise.
6474         (isnormal_test): Likewise.
6475         (main): Call the new functions.
6477 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
6479         [BZ #14660]
6480         * Makerules (%.dynsym): Force C locale when running
6481         $(OBJDUMP) --dynamic-syms.
6483 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
6485         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6486         <stdint.h>.
6488 2012-10-06  David S. Miller  <davem@davemloft.net>
6490         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6491         upper 32-bits of the length value in %o2 since we use branch-on-register
6492         tests which consider the entire 64-bit register.
6494 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
6496         * string/test-strstr.c (check2): Add a test for page boundary.
6498 2012-10-05  David S. Miller  <davem@davemloft.net>
6500         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6501         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6502         file.
6503         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6504         sysdep_routines.
6505         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6506         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6507         and bzero when HWCAP_SPARC_CRYPTO is present.
6509 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
6511         [BZ #14602]
6512         * string/test-strstr.c (check2): New function.
6513         (test_main): Call check2.
6515         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6516         and bug-strchr1.
6517         * string/bug-strcasestr1.c (do_test): Moved to ...
6518         * string/test-strcasestr.c (check1): Here.  New function.
6519         (do_one_test): Break out result checking code into ...
6520         (check_result): This.  New function.
6521         (do_one_test): Call check_result.
6522         (test_main): Call check1.
6523         * string/bug-strchr1.c (do_test): Moved to ...
6524         * string/test-strchr.c (check1): Here.  New function.
6525         (do_one_test): Break out result checking code into ...
6526         (check_result): This.  New function.
6527         (do_one_test): Call check_result.
6528         (test_main): Call check1.
6529         * string/bug-strstr1.c (main): Moved to ...
6530         * string/test-strstr.c (check1): Here.  New function.
6531         (do_one_test): Break out result checking code into ...
6532         (check_result): This.  New function.
6533         (do_one_test): Call check_result.
6534         (test_main): Call check1.
6535         * string/bug-strcasestr1.c: Removed.
6536         * string/bug-strchr1.c: Likewise.
6537         * string/bug-strstr1.c: Likewise.
6539         * elf/Makefile (dl-routines): Add hwcaps.
6540         * elf/dl-support.c (_dl_important_hwcaps): Removed.
6541         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6542         (_dl_important_hwcaps): Moved to ...
6543         * elf/dl-hwcaps.c: Here.  New file.
6544         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6546         [BZ #14557]
6547         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6548         if IS_IN_rtld isn't defined.
6550         * elf/dl-support.c (_dl_sysinfo_map): New.
6551         Include "get-dynamic-info.h" and "setup-vdso.h".
6552         (_dl_non_dynamic_init): Call setup_vdso.
6553         * elf/dynamic-link.h: Don't include <assert.h>.
6554         (elf_get_dynamic_info): Moved to ...
6555         * elf/get-dynamic-info.h: Here.  New file.
6556         * elf/dynamic-link.h: Include "get-dynamic-info.h".
6557         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6558         * elf/setup-vdso.h: Here.  New file.
6559         * elf/rtld.c: Include "setup-vdso.h".
6560         (dl_main): Call setup_vdso.
6562 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
6564         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6565         creal in comment listing functions tested.  List finite, isinf,
6566         isnan, isless, islessequal, isgreater, isgreaterequal,
6567         islessgreater, isunordered, lgamma_r and pow10 as functions and
6568         macros not tested.  Mention which functions not tested are aliases
6569         for other functions.  Fix typo.  Note that signs of NaNs are not
6570         tested.
6572         * scripts/config.guess: Update from config.git.
6573         * scripts/config.sub: Likewise.
6575 2012-10-04  Roland McGrath  <roland@hack.frob.com>
6577         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6578         * misc/madvise.c (madvise): Renamed to __madvise.
6579         Make madvise a weak alias.
6580         * include/sys/mman.h: Declare __madvise.
6581         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6582         * sysdeps/unix/syscalls.list
6583         (madvise): Make __madvise the strong name, and madvise a weak alias.
6584         * sysdeps/unix/sysv/linux/syscalls.list
6585         (madvise, mmap): Remove redundant entries.
6586         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6587         * malloc/malloc.c (mtrim): Likewise.
6588         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6590 2012-10-03  Roland McGrath  <roland@hack.frob.com>
6592         * sysdeps/mach/hurd/dl-cache.c: File removed.
6593         * config.h.in (USE_LDCONFIG): New #undef.
6594         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6595         * configure: Regenerated.
6596         * elf/Makefile (dl-routines): Add dl-cache only under
6597         [$(use-ldconfig) = yes].
6598         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6599         cache on [USE_LDCONFIG].
6600         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6601         [USE_LDCONFIG].
6602         * elf/rtld.c (dl_main): Likewise.
6604 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
6606         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6607         _SC_LEVEL4_CACHE_LINESIZE.
6609 2012-10-03  Roland McGrath  <roland@hack.frob.com>
6611         * sysdeps/unix/bsd/confstr.h: File removed.
6613 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
6615         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6616         sys/sdt-config.h.
6618 2012-10-02  Roland McGrath  <roland@hack.frob.com>
6620         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6621         Make 'mapoff' field ElfW(Off) rather than off_t.
6623 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
6625         * nscd/Makefile: Remove nscd-cflags and all its users.
6626         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6627         (CFLAGS-nonlib): Add compiler flags for nscd modules.
6629         [BZ #10631]
6630         * malloc.c (malloc_printerr): Clarify error message.
6632 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
6634         [BZ #14648]
6635         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6636         Set bit_FMA_Usable if FMA is supported.
6637         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6638         macro.
6639         (bit_FMA4_Usable): Updated.
6640         (index_FMA_Usable): New macro.
6641         (CPUID_FMA): Likewise
6642         (HAS_FMA): Defined with bit_FMA_Usable.
6644 2012-10-01  Roland McGrath  <roland@hack.frob.com>
6646         * bits/types.h (__swblk_t): Type removed.
6647         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6648         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6649         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6650         (__SWBLK_T_TYPE): Likewise.
6651         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6652         (__SWBLK_T_TYPE): Likewise.
6653         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6654         (__SWBLK_T_TYPE): Likewise.
6655         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6656         (__SWBLK_T_TYPE): Likewise.
6658 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
6659             Honza Horak <hhorak@redhat.com>
6661         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6662         (xdr_mapname): Use YPMAXMAP as maxsize.
6663         (xdr_peername): Use YPMAXPEER as maxsize.
6664         (xdr_keydat): Use YPAXRECORD as maxsize.
6665         (xdr_valdat): Use YPMAXRECORD as maxsize.
6667 2012-10-01  Roland McGrath  <roland@hack.frob.com>
6669         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6671         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6672         * csu/init-first.c: ... here.
6673         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6674         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6675         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6676         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6677         * sysdeps/i386/init-first.c: File removed.
6678         * sysdeps/sh/init-first.c: File removed.
6680 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
6682         [BZ #14645]
6683         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6684         if x * y might underflow to zero and z is zero.
6685         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6686         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6687         * math/libm-test.inc (min_subnorm_value): New variable.
6688         (fma_test): Add more tests.
6689         (fma_test_towardzero): Likewise.
6690         (fma_test_downward): Likewise
6691         (fma_test_upward): Likewise.
6692         (initialize): Set min_subnorm_value.
6694 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
6696         [BZ #14638]
6697         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6698         0 + 0.
6699         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6700         mode for addition resulting in exact zero.
6701         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6702         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6703         exact 0 + 0.
6704         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6705         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6706         * math/libm-test.inc (fma_test): Add more tests.
6707         (fma_test_towardzero): New function.
6708         (fma_test_downward): Likewise.
6709         (fma_test_upward): Likewise.
6710         (main): Call the new functions.
6712 2012-09-28  David S. Miller  <davem@davemloft.net>
6714         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6716 2012-09-28  Roland McGrath  <roland@hack.frob.com>
6718         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6719         instead of SIGALRM.
6721         * sysdeps/gnu/_G_config.h: Moved to ...
6722         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6723         * sysdeps/mach/hurd/_G_config.h: Moved to ...
6724         * sysdeps/generic/_G_config.h: ... here.
6726         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
6728         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6730         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6731         Conditionalize target on [libnss_test1.so-version].
6733         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6735         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6736         (elfobjdir): Move out of conditionals.
6738         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6739         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6740         (__nss_lookup_function): Conditionalize label remove_from_tree on
6741         [!DO_STATIC_NSS || SHARED], matching its only use.
6743 2012-09-28  David S. Miller  <davem@davemloft.net>
6745         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6746         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6747         file.
6748         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6749         sysdep_routines.
6750         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6751         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6752         when HWCAP_SPARC_CRYPTO is present.
6754 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
6756         * io/tst-mknodat.c: Create a FIFO instead of a socket.
6758 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
6760         [BZ #6530]
6761         * stdio-common/vfprintf.c (process_string_arg): Revert
6762         2000-07-22 change.
6764 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
6766         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6767         for testcase.
6768         * stdio-common/tst-sprintf.c: Include <locale.h>
6769         (main): Test sprintf's handling of incomplete multibyte
6770         characters.
6772 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
6774         * elf/dl-runtime.c (VERSYMIDX): Removed.
6775         * elf/dl-version.c (VERSYMIDX): Likewise.
6776         * elf/do-rel.h (VERSYMIDX): Likewise.
6777         (VALIDX): Likewise.
6778         * elf/dynamic-link.h (VERSYMIDX): Likewise.
6779         * elf/rtld.c (VALIDX): Likewise.
6780         (ADDRIDX): Likewise.
6781         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6782         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6783         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6784         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6785         (VALIDX): Likewise.
6786         (ADDRIDX): Likewise.
6788 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
6790         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6792 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
6794         [BZ #11438]
6795         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6796         to global scope.
6797         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6798         addresses are in the same scope as 192.0.2/24.
6799         * posix/gai.conf: Document new scope table defaults.
6801 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6803         [BZ #5298]
6804         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6805         for ftell.  Compute offsets from write pointers instead.
6806         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6808 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6810         [BZ #14543]
6811         * libio/Makefile (tests): New test case tst-fseek.
6812         * libio/tst-fseek.c: New test case to verify that fseek/ftell
6813         combination works in wide mode.
6814         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6815         state when the external buffer state changes.
6817 2012-09-27  David S. Miller  <davem@davemloft.net>
6819         [BZ #14376]
6820         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6821         pass reloc->r_addend in as the 'high' argument to
6822         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6826 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
6828         * rt/tst-aio2.c: Include <pthread.h>.
6829         * rt/tst-aio3.c: Likewise.
6831 2012-09-27  Steve Ellcey  <sellcey@mips.com>
6833         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6835 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
6837         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6838         contents on [SHARED].
6840 2012-09-26  Marek Polacek  <polacek@redhat.com>
6842         [BZ #14530]
6843         [BZ #13741]
6844         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6845         for C++ and GCC <4.3 as well as for non GCC compilers.
6847 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6851 2012-09-25  Roland McGrath  <roland@hack.frob.com>
6853         * Makefile.in (all, install): Declare with .PHONY.
6854         Reported by Michael Hope <michael.hope@linaro.org>.
6856 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6858         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6859         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6860         system header.
6861         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6862         Likewise.
6863         (sydep_routines): Add the new and the internal functions.
6864         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6865         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6867         (GLIBC_2.17): Add the new function.
6868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6869         (GLIBC_2.17): Likewise.
6870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6871         (GLIBC_2.17): Likewise.
6872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6873         (GLIBC_2.17): Likewise.
6874         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6876 2012-09-25  Alan Modra  <amodra@gmail.com>
6878         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6879         Add release barrier before setting once_control to say
6880         initialisation is done.  Add hints on lwarx.  Use macro in
6881         place of isync.
6882         (clear_once_control): Add release barrier.
6884 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
6886         [BZ #13629]
6887         * math/s_clog.c (__clog): Handle more values close to |z| = 1
6888         specially.
6889         * math/s_clog10.c (__clog10): Likewise.
6890         * math/s_clog10f.c (__clog10f): Likewise.
6891         * math/s_clog10l.c (__clog10l): Likewise.
6892         * math/s_clogf.c (__clogf): Likewise.
6893         * math/s_clogl.c (__clogl): Likewise.
6894         * math/Makefile (libm-calls): Add x2y2m1.
6895         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6896         (__x2y2m1): Likewise.
6897         (__x2y2m1l): Likewise.
6898         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6899         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6900         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6901         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6902         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6903         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6904         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6905         * sysdeps/i386/fpu/libm-test-ulps: Update.
6906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6908         [BZ #14621]
6909         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6910         int as type of variable DEPTH.
6911         (glob): Use size_t instead of int as type of variables NEWCOUNT
6912         and OLD_PATHC.
6914 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6916         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6917         Add s_sincosf-sse2.
6918         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6919         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6920         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6921         macros for using routine as __sincosf_ia32.
6922         Use macro for function declaration and weak_alias.
6923         * sysdeps/i386/fpu/libm-test-ulps: Update.
6925         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6928         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6929         subnormal argument.
6930         * math/s_cexpf.c (__cexpf): Likewise.
6931         * math/s_csinf.c (__csinf): Likewise.
6932         * math/s_csinhf.c (__csinhf): Likewise.
6933         * math/s_ctanf.c (__ctanf): Likewise.
6934         * math/s_ctanhf.c (__ctanhf): Likewise.
6935         * math/s_ccosh.c (__ccoshf): Likewise.
6936         * math/s_cexp.c (__cexpl): Likewise.
6937         * math/s_csin.c (__csin): Likewise.
6938         * math/s_csinh.c (__csinh): Likewise.
6939         * math/s_ctan.c (__ctan): Likewise.
6940         * math/s_ctanh.c (ctanh): Likewise.
6941         * math/s_ccoshl.c (__ccoshl): Likewise.
6942         * math/s_cexpl.c (__cexpl): Likewise.
6943         * math/s_csinl.c (__csinl): Likewise.
6944         * math/s_csinhl.c (__csinhl): Likewise.
6945         * math/s_ctanl.c (__ctanl): Likewise.
6946         * math/s_ctanhl.c (__ctanhl): Likewise.
6948 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
6950         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6951         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6952         (_IO_off_t): Define to __off_t, not _G_off_t.
6953         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6954         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6955         (_IO_wint_t): Define to wint_t, not _G_wint_t.
6956         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6957         type of __dummy and __dummy2 fields.
6958         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6959         (_G_ssize_t): Likewise.
6960         (_G_off_t): Likewise.
6961         (_G_pid_t): Likewise.
6962         (_G_uid_t): Likewise.
6963         (_G_wchar_t): Likewise.
6964         (_G_wint_t): Likewise.
6965         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6966         (_G_ssize_t): Likewise.
6967         (_G_off_t): Likewise.
6968         (_G_pid_t): Likewise.
6969         (_G_uid_t): Likewise.
6970         (_G_wchar_t): Likewise.
6971         (_G_wint_t): Likewise.
6972         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6973         (_G_ssize_t): Likewise.
6974         (_G_off_t): Likewise.
6975         (_G_pid_t): Likewise.
6976         (_G_uid_t): Likewise.
6977         (_G_wchar_t): Likewise.
6978         (_G_wint_t): Likewise.
6980 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6982         * malloc/arena.c: Include malloc-sysdep.h.
6983         (shrink_heap): Use check_may_shrink_heap to decide if madvise
6984         is sufficient to shrink the heap or an unmap is needed.
6985         * sysdeps/generic/malloc-sysdep.h: New file.  Define
6986         new function check_may_shrink_heap.
6987         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
6988         new function check_may_shrink_heap.
6990 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6992         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6993         comments.
6995 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
6997         * catgets/test-gencat.sh: Add "set -e".
6998         * elf/tst-pathopt.sh: Likewise.
6999         * grp/tst_fgetgrent.sh: Likewise.
7000         * iconvdata/run-iconv-test.sh: Likewise.
7001         * intl/tst-gettext.sh: Likewise.
7002         * intl/tst-gettext2.sh: Likewise.
7003         * intl/tst-gettext4.sh: Likewise.
7004         * intl/tst-gettext6.sh: Likewise.
7005         * intl/tst-translit.sh: Likewise.
7006         * io/ftwtest-sh: Likewise.
7007         * libio/test-freopen.sh: Likewise.
7008         * malloc/tst-mtrace.sh: Likewise.
7009         * posix/globtest.sh: Likewise.
7010         * posix/tst-getconf.sh: Likewise.
7011         * posix/wordexp-tst.sh: Likewise.
7012         * stdio-common/tst-printf.sh: Likewise.
7013         * stdio-common/tst-unbputc.sh: Likewise.
7014         * stdlib/tst-fmtmsg.sh: Likewise.
7015         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7016         * catgets/Makefile: Do not specify -e option when running
7017         testsuite shell scripts.
7018         * elf/Makefile: Likewise.
7019         * grp/Makefile: Likewise.
7020         * iconvdata/Makefile: Likewise.
7021         * intl/Makefile: Likewise.
7022         * io/Makefile: Likewise.
7023         * libio/Makefile: Likewise.
7024         * malloc/Makefile: Likewise.
7025         * posix/Makefile: Likewise.
7026         * stdio-common/Makefile: Likewise.
7027         * stdlib/Makefile: Likewise.
7028         * sysdeps/x86_64/Makefile: Likewise.
7030         * io/ftwtest-sh: Add copyright header.
7031         * posix/globtest.sh: Likewise.
7032         * posix/tst-getconf.sh: Likewise.
7033         * posix/wordexp-tst.sh: Likewise.
7034         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7036 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
7038         [BZ #13679]
7039         * Makeconfig (+link): Defined as $(+link-static) if
7040         $(build-shared) isn't yes.
7041         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7042         isn't yes.
7043         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7045         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7047         [BZ #14562]
7048         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7049         new chunk size with MALLOC_ALIGN_MASK.
7051 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
7053         [BZ #5044]
7054         * stdio-common/printf_fphex.c: Include <stdbool.h> and
7055         <rounding-mode.h>.
7056         (__printf_fphex): Determine rounding using get_rounding_mode and
7057         round_away.
7058         * stdio-common/tst-printf-round.c (struct hex_test): New
7059         structure.
7060         (hex_tests): New variable.
7061         (test_hex_in_one_mode): New function.
7062         (do_test): Also run tests for hex float output.
7064 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
7066         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7067         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7068         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7069         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7070         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7071         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7072         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7073         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7075 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
7077         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7078         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7079         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7080         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7082 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
7084         [BZ #14579]
7085         * elf/rtld.c (dl_main): Limit the check for self loading to normal
7086         mode only.
7087         * elf/tst-rtld-load-self.sh: New test.
7088         * elf/Makefile: Run it.
7090 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
7092         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7093         (tst-writev-ENV): Remove.
7094         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7096 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
7098         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7100 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
7102         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7103         unconditional.
7104         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7105         Likewise.
7106         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7107         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7108         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7109         Likewise.
7111 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7113         [BZ #14587]
7114         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7115         * config.make.in (have-cpp-asm-debuginfo): Removed.
7116         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7117         * configure: Regenerated.
7119 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
7121         [BZ #5044]
7122         * stdio-common/printf_fp.c: Include <stdbool.h> and
7123         <rounding-mode.h>.
7124         (___printf_fp): Determine rounding using get_rounding_mode and
7125         round_away.
7126         * stdio-common/tst-printf-round.c: New file.
7127         * stdio-common/Makefile (tests): Add tst-printf-round.
7128         (link-libm): New variable.
7129         ($(objpfx)tst-printf-round): Depend in $(link-libm).
7131 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
7133         [BZ #14576]
7134         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7135         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7136         Likewise.
7137         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7138         Likewise.
7140 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
7142         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7143         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7144         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7145         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7147 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
7149         [BZ #14518]
7150         * include/rounding-mode.h: New file.
7151         * sysdeps/generic/get-rounding-mode.h: Likewise.
7152         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7153         * stdlib/strtod_l.c: Include <rounding-mode.h>.
7154         (MAX_VALUE): New macro.
7155         (MIN_VALUE): Likewise.
7156         (overflow_value): New function.
7157         (underflow_value): Likewise.
7158         (round_and_return): Use overflow_value and underflow_value to
7159         determine return values in overflow and underflow cases.  Use
7160         round_away to determine rounding depending on rounding mode.
7161         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7162         determine return values in overflow and underflow cases.
7163         * stdlib/tst-strtod-round.c: Include <fenv.h>.
7164         (struct test_results): New structure.
7165         (struct test): Use struct test_results to store expected results
7166         for all rounding modes.
7167         (TEST): Include expected results for all rounding modes.
7168         (test_in_one_mode): New function.
7169         (do_test): Use test_in_one_mode to compute and check results.
7170         Check results for all rounding modes.
7171         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7172         $(link-libm).
7174 2012-12-09  Allan McRae  <allan@archlinux.org>
7176         * sysdeps/i386/fpu/libm-test-ulps: Update
7178 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
7180         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7181         (_G_int32_t): Likewise.
7182         (_G_uint16_t): Likewise.
7183         (_G_uint32_t): Likewise.
7184         (_G_HAVE_BOOL): Likewise.
7185         (_G_HAVE_ATEXIT): Likewise.
7186         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7187         (_G_HAVE_IO_FILE_OPEN): Likewise.
7188         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7189         (_G_int32_t): Likewise.
7190         (_G_uint16_t): Likewise.
7191         (_G_uint32_t): Likewise.
7192         (_G_HAVE_BOOL): Likewise.
7193         (_G_HAVE_ATEXIT): Likewise.
7194         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7195         (_G_HAVE_IO_FILE_OPEN): Likewise.
7196         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7197         (_G_int32_t): Likewise.
7198         (_G_uint16_t): Likewise.
7199         (_G_uint32_t): Likewise.
7200         (_G_HAVE_BOOL): Likewise.
7201         (_G_HAVE_ATEXIT): Likewise.
7202         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7203         (_G_HAVE_IO_FILE_OPEN): Likewise.
7205 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
7207         * csu/libc-tls.c: Update copyright years.
7209 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
7211         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7212         [!_G_USING_THUNKS]: Remove conditional code.
7213         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7214         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7216         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7217         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7218         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7219         (_G_VTABLE_LABEL_PREFIX): Likewise.
7220         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7221         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7222         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7223         (_G_VTABLE_LABEL_PREFIX): Likewise.
7224         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7225         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7226         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7227         (_G_VTABLE_LABEL_PREFIX): Likewise.
7228         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7230 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
7232         * libio/Makefile: Include ../Makeconfig before tests.
7233         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7234         only if $(build-shared) is yes.
7236         * iconv/gconv_db.c: Update copyright years.
7238 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7240         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7241         unwind info if defined PIC. Fix special cases description.
7242         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7244         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7245         DP_HI_MASK entry.
7246         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7248 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
7250         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7252         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7253         is NULL.
7255         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7256         (LDLIBS-tst-chk4): This.
7257         (LDFLAGS-tst-chk5): Renamed to ...
7258         (LDLIBS-tst-chk5): This.
7259         (LDFLAGS-tst-chk6): Renamed to ...
7260         (LDLIBS-tst-chk6): This.
7261         (LDFLAGS-tst-lfschk4): Renamed to ...
7262         (LDLIBS-tst-lfschk4): This.
7263         (LDFLAGS-tst-lfschk5): Renamed to ...
7264         (LDLIBS-tst-lfschk5): This.
7265         (LDFLAGS-tst-lfschk6): Renamed to ...
7266         (LDLIBS-tst-lfschk6): This.
7268         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7269         on $(common-objpfx)soversions.mk.
7271 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
7273         [BZ #10014]
7274         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7275         example host name.
7277 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7279         * malloc/arena.c (arena_get_retry): New function that gets
7280         another arena for the caller to try its request on.
7281         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7282         current arena cannot fulfill the request.
7283         (__libc_memalign): Likewise.
7284         (__libc_memalign): Likewise.
7285         (__libc_pvalloc): Likewise.
7286         (__libc_calloc): Likewise.
7288 2012-09-05  John Tobey  <john.tobey@gmail.com>
7290         [BZ #13542]
7291         * manual/arith.texi (Operations on Complex): Fix description
7292         of carg branch cut.
7294 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
7296         [BZ #10014]
7297         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7298         host name.
7300         [BZ #10038]
7301         * manual/memory.texi (Memory): Make order of menu items match
7302         order of sections.
7304 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7306         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7307         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
7308         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7310 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7312         * csu/libc-tls.c (static_dtv): Renamed to ...
7313         (_dl_static_dtv): This.  Make it global.
7314         (_dl_initial_dtv): Removed.
7315         (__libc_setup_tls): Updated.
7316         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7317         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7318         DL_INITIAL_DTV.
7320 2012-09-06  Petr Machata  <pmachata@redhat.com>
7322         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7323         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7324         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7325         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7327 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7329         [BZ #14545]
7330         * csu/libc-tls.c (_dl_initial_dtv): New variable.
7331         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7332         freeing dtv[-1].
7334 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7336         [BZ #14544]
7337         * Makeconfig (link-static-before-libc): Replace $(+prector)
7338         with $(+prectorT).
7339         (link-static-after-libc): Replace $(+postctor) with
7340         $(+postctorT).
7341         (link-bounded): Replace $(+prector)/$(+postctor) with
7342         $(+prectorT)/$(+postctorT).
7343         (+prectorT): New macro.
7344         (+postctorT): Likewise.
7346 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
7348         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7349         (round_str): Handle values above the maximum for IBM long double
7350         as inexact.
7351         * stdlib/tst-strtod-round.c (tests): Regenerated.
7353 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7355         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7356         assembler flag.
7357         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7358         zarch_nohighgprs around the zarch optimized routines.
7359         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7360         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7361         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7362         for zarch.
7364 2012-09-05  David S. Miller  <davem@davemloft.net>
7366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7368         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7369         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7370         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7371         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7372         entries.
7374 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7376         * malloc/arena.c: Fold copyright years.
7377         * malloc/mcheck.c, malloc/memusage.c: Likewise.
7379 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7381         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7383 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7385         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
7387 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7389         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7390         change internal state upon failure.
7392 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7394         * malloc/mcheck.c (mcheck_check_all): Fix typo.
7395         * malloc/memusage.c (mmap): Likewise.
7396         (mmap64, mremap): Likewise.  Adjust name in comment.
7398 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7400         * libio/fileops.c: Fix typos in comments.
7401         * libio/oldfileops.c: Likewise.
7402         * libio/wfileops.c: Likewise.
7404 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7406         [BZ #1349]
7407         * malloc/Makefile (tests): Add tst-malloc-usable test case.
7408         (tst-malloc-usable-ENV): Set environment for test case.
7409         * malloc/hooks.c (malloc_check_get_size): New function to get
7410         requested size.
7411         * malloc/malloc.c (musable): Use malloc_check_get_size.
7412         * malloc/tst-malloc-usable.c: New test case.
7414 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
7416         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7418 2012-09-05  Allan McRae  <allan@archlinux.org>
7420         [BZ #13966]
7421         * configure.in (CXX_SYSINCLUDES): Use compiler output to
7422         determine header location.
7423         * configure: Regenerated.
7425 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
7427         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7428         float format.
7429         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7430         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7431         format.
7432         (test): Regenerate.
7434 2012-09-04  David S. Miller  <davem@davemloft.net>
7436         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7437         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7438         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7440 2012-09-04  Florian Weimer  <fweimer@redhat.com>
7442         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7443         failures.
7445         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7447 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
7449         [BZ #9914]
7450         * libio/iogetdelim.c: Include <limits.h>.
7451         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7452         + len + 1 would overflow.
7454 2012-09-03  Andreas Jaeger  <aj@suse.de>
7456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7457         * sysdeps/i386/fpu/libm-test-ulps: Update.
7459 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7461         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7462         Add s_sinf-sse2, s_conf-sse2.
7464         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7465         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7466         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7467         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7469         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7470         for using routine as __sinf_ia32.
7471         Use macro for function declaration and weak_alias.
7472         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7473         for using routine as __cosf_ia32.
7474         Use macro for function declaration and weak_alias.
7476         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7477         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7479         * sysdeps/x86_64/fpu/s_sinf.S: New file.
7480         * sysdeps/x86_64/fpu/s_cosf.S: New file.
7481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7483         * math/libm-test.inc (cos_test): Add more test cases.
7484         (sin_test): Likewise.
7485         (sincos_test): Likewise.
7487 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7489         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7490         (IFUNC_RESOLVE): Make pointers to the specialized implementations
7491         hidden.
7492         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7494 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
7496         [BZ #14538]
7497         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7498         first element of the GOT.
7499         (elf_machine_load_address): Return the difference between
7500         the runtime address of _DYNAMIC and elf_machine_dynamic ().
7502 2012-09-01  Allan McRae  <allan@archlinux.org>
7504         [BZ #13412]
7505         * configure.in (AWK): Require gawk version 3.0 or later.
7506         * configure: Regenerated.
7508 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
7510         * sysdeps/unix/sysv/linux/kernel-features.h
7511         (__ASSUME_POSIX_CPU_TIMERS): Remove.
7512         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7513         [__NR_clock_getres]: Make code unconditional.
7514         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7515         (clock_getcpuclockid): Remove code left unreachable by removal of
7516         conditionals.
7517         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7518         code unconditional.
7519         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7520         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7521         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7522         Make code unconditional.
7523         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7524         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7525         * sysdeps/unix/sysv/linux/clock_settime.c
7526         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7527         conditional code.
7528         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7529         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7531 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
7533         [BZ #14476]
7534         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7535         scripts/test-installation.pl.
7537         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7538         and $ld_so_version if it is set.
7540 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7542         [BZ #14516]
7543         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7544         failure if reading from procfs failed.
7545         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7547 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
7549         * sysdeps/unix/sysv/linux/kernel-features.h
7550         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7551         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7552         Remove conditional code.
7553         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7554         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7555         Remove conditional code.
7556         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7557         * sysdeps/unix/sysv/linux/i386/fxstat.c
7558         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7559         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7560         * sysdeps/unix/sysv/linux/i386/fxstatat.c
7561         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7562         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7563         * sysdeps/unix/sysv/linux/i386/lxstat.c
7564         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7565         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7566         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7567         Remove conditional code.
7568         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7569         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7570         Remove conditional code.
7571         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7572         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7573         <kernel-features.h>.
7574         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7575         Remove.
7576         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7577         Remove conditional code.
7578         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7579         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7580         Remove conditional.
7582 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
7584         [BZ #5400]
7585         * NEWS: Add fixed bug number.
7587 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
7589         [BZ #14519]
7590         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7591         underflowing exponent in case of negative sign.
7592         * stdlib/tst-strtod-round-data: Add more tests.
7593         * stdlib/tst-strtod-round.c (tests): Regenerated.
7595         [BZ #3479]
7596         * stdlib/strtod_l.c (NDIG): Remove.
7597         (HEXNDIG): Likewise.
7598         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7599         smallest representable value.
7600         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7601         lie within an exact representation of 1/2 ulp of the result.
7602         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7603         unconditionally.
7604         (TENS_P9_IDX): Define unconditionally.
7605         (TENS_P9_SIZE): Likewise.
7606         (TENS_P10_IDX): Likewise.
7607         (TENS_P10_SIZE): Likewise.
7608         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7609         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7610         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7611         entries for 10^2^13 and 10^2^14.
7612         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7613         (TENS_P13_IDX): Define.
7614         (TENS_P13_SIZE): Likewise.
7615         (TENS_P14_IDX): Likewise.
7616         (TENS_P14_SIZE): Likewise.
7617         (_fpioconst_pow10): Change array size to
7618         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
7619         unconditional.
7620         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7621         1024]: Add entries for 10^2^13 and 10^2^14.
7622         [LAST_POW10 > _LAST_POW10]: Remove #error.
7623         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7624         (_fpioconst_pow10): Change array size to
7625         FPIOCONST_POW10_ARRAY_SIZE.
7626         * stdlib/gen-fpioconst.c: New file.
7627         * stdlib/gen-tst-strtod-round.c: Likewise.
7628         * stdlib/tst-strtod-round-data: Likewise.
7629         * stdlib/tst-strtod-round.c: Likewise.
7630         * stdlib/Makefile (tests): Add tst-strtod-round.
7632         [BZ #14459]
7633         * stdlib/strtod_l.c: Include <stdint.h>.
7634         (NDEBUG): Do not define.
7635         (round_and_return): Change EXPONENT parameter to type intmax_t.
7636         Rearrange calculations to avoid internal overflow possibilities.
7637         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7638         Rearrange calculations to avoid internal overflow possibilities.
7639         Assert that number fits inside MPNSIZE limbs.
7640         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7641         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
7642         calculations and add assertions to avoid internal overflow
7643         possibilities.  Add casts to avoid signed/unsigned operations.
7644         * stdlib/tst-strtod-overflow.c: New file.
7645         * stdlib/Makefile (tests): Add tst-strtod-overflow.
7647 2012-08-25  Marek Polacek  <polacek@redhat.com>
7649         * time/time.h: Fix some typos in comments.
7651 2012-08-23  Roland McGrath  <roland@hack.frob.com>
7653         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7654         * posix/tst-rfc3484-2.c: Likewise.
7655         * posix/tst-rfc3484-3.c: Likewise.
7657 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
7659         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7660         (EF_ARM_ABI_FLOAT_HARD): Likewise.
7662 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
7664         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7665         #include of fxstatat64.c.
7667 2012-08-22  Roland McGrath  <roland@hack.frob.com>
7669         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7670         * shadow/getspent_r.c: Likewise.
7671         * shadow/getspnam.c: Likewise.
7672         * shadow/getspnam_r.c: Likewise.
7673         * gshadow/getsgent.c: Likewise.
7674         * gshadow/getsgent_r.c: Likewise.
7675         * gshadow/getsgnam.c: Likewise.
7676         * gshadow/getsgnam_r.c: Likewise.
7677         * inet/getnetbyad.c: Likewise.
7678         * inet/getnetbyad_r.c: Likewise.
7679         * inet/getnetbynm.c: Likewise.
7680         * inet/getnetbynm_r.c: Likewise.
7681         * inet/getnetent.c: Likewise.
7682         * inet/getnetent_r.c: Likewise.
7683         * inet/getproto.c: Likewise.
7684         * inet/getproto_r.c: Likewise.
7685         * inet/getprtent.c: Likewise.
7686         * inet/getprtent_r.c: Likewise.
7687         * inet/getprtname.c: Likewise.
7688         * inet/getprtname_r.c: Likewise.
7689         * inet/getrpcbyname.c: Likewise.
7690         * inet/getrpcbyname_r.c: Likewise.
7691         * inet/getrpcbynumber.c: Likewise.
7692         * inet/getrpcbynumber_r.c: Likewise.
7693         * inet/getrpcent.c: Likewise.
7694         * inet/getrpcent_r.c: Likewise.
7695         * inet/getaliasent.c: Likewise.
7696         * inet/getaliasent_r.c: Likewise.
7697         * inet/getaliasname.c: Likewise.
7698         * inet/getaliasname_r.c: Likewise.
7699         * nscd/getgrgid_r.c: Likewise.
7700         * nscd/getgrnam_r.c: Likewise.
7701         * nscd/gethstbyad_r.c: Likewise.
7702         * nscd/gethstbynm3_r.c: Likewise.
7703         * nscd/getpwnam_r.c: Likewise.
7704         * nscd/getpwuid_r.c: Likewise.
7705         * nscd/getsrvbynm_r.c: Likewise.
7706         * nscd/getsrvbypt_r.c: Likewise.
7707         * nscd/gai.c: Likewise.
7709         * configure.in (build_nscd): New substituted variable, set
7710         by --disable-build-nscd and defaults to $use_nscd.
7711         * configure: Regenerated.
7712         * config.make.in (build-nscd): New substituted variable.
7713         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7714         Change conditional to require [$(build-nscd) = yes] as well.
7715         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7717         [BZ# 13696]
7718         * configure.in (use_nscd): New substituted variable, set by
7719         --disable-nscd.  If enabled, define USE_NSCD.
7720         * configure: Regenerated.
7721         * config.h.in: Add USE_NSCD.
7722         * config.make.in (use-nscd): New substituted variable.
7723         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7724         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7725         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7726         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7727         (CFLAGS-getgrnam_r.c): Likewise.
7728         (CFLAGS-initgroups.c): Likewise.
7729         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7730         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7731         Variables removed.
7732         * inet/getnetgrent_r.c
7733         (nscd_setnetgrent): New function, broken out of ...
7734         (setnetgrent): ... here.  Call it.
7735         (innetgr): Conditionalize nscd bits on [USE_NSCD].
7736         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7737         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7738         * nscd/Makefile (routines, aux): Move definitions after include of
7739         Makeconfig.  Conditionalize on [$(use-nscd) != no].
7740         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7741         Conditionalize on [USE_NSCD].
7742         (is_nscd, nscd_init_cb): Likewise.
7743         (nss_load_library): Conditionalize init callback on [USE_NSCD].
7744         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7745         * nss/nss_db/db-init.c: Likewise.
7746         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7747         [USE_NSCD].
7748         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7749         (make_request): Use it.
7750         (cache_valid_p): New function.
7751         (__check_pf): Use it.
7752         * NEWS: Add item for --disable-nscd.
7754 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
7756         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7757         to support sed >= 4.2.1-20-ga9bf076.
7758         * configure: Regenerated.
7760 2012-08-22  Roland McGrath  <roland@hack.frob.com>
7762         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7763         Conditionalize whole body on [IREL].
7765 2012-08-22  Jeff Law <law@redhat.com>
7767         [BZ #14505]
7768         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7769         if the family is PF_UNSPEC.
7771 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
7773         * Makerules (lib-version): Rename from V.
7774         (install-lib-nosubdir): Change V to lib-version.
7776 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
7778         [BZ #14252]
7779         * powerpc32/power6/wcschr.c: New file.
7780         * powerpc32/power6/wcscpy.c: New file.
7781         * powerpc32/power6/wcsrchr.c: New file.
7782         * powerpc64/power6/wcschr.c: New file.
7783         * powerpc64/power6/wcscpy.c: New file.
7784         * powerpc64/power6/wcsrchr.c: New file.
7786 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
7788         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7789         (two_way_short_needle): Use it.
7790         * string/strstr.c (AVAILABLE1_USES_J): Define.
7791         * string/strcasestr.c: Likewise.
7793         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7794         array references.
7795         * string/strcasestr.c (TOLOWER): Make side-effect safe.
7797         [BZ #11607]
7798         * NEWS: Add an entry.
7799         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7800         define their defaults.
7801         (two_way_short_needle): Detect end-of-string on-the-fly.
7802         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7803         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7804         * string/bug-strcasestr1.c: New test.
7805         * string/Makefile: Run it.
7807 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
7809         [BZ #11607]
7810         * string/str-two-way.h (two_way_short_needle): Optimize matching of
7811         the first character.
7813 2012-08-21  Roland McGrath  <roland@hack.frob.com>
7815         * csu/elf-init.c (__libc_csu_irel): Function removed.
7816         * csu/libc-start.c (apply_irel): New function.
7817         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7819 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
7821         * sysdeps/unix/sysv/linux/kernel-features.h
7822         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7823         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7824         <kernel-features.h>.
7825         [__NR_fadvise64_64]: Make code unconditional.
7826         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7827         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7828         !__NR_fadvise64_64)]: Likewise.
7829         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7830         !__NR_fadvise64_64))]: Likewise.
7831         [__NR_fadvise64]: Make code unconditional.
7832         [!__NR_fadvise64]: Remove conditional code.
7833         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7834         <kernel-features.h>.
7835         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7836         unconditional.
7837         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7838         conditional code.
7839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7840         not include <kernel-features.h>.
7841         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7842         unconditional.
7843         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7844         conditional code.
7845         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7846         include <kernel-features.h>.
7847         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7848         unconditional.
7849         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7850         conditional code.
7852 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
7854         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7855         slight instruction rearrangements per scrollpipe analysis.
7856         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7858 2012-08-20  Roland McGrath  <roland@hack.frob.com>
7860         * manual/syslog.texi (syslog; vsyslog, closelog):
7861         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7862         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7864         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7865         DSOCAPS to match condition on defining it.
7867 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
7869         * sysdeps/unix/sysv/linux/kernel-features.h
7870         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7872         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7873         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7875         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7876         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7878         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7879         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7881         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7882         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7884         * sysdeps/unix/sysv/linux/kernel-features.h
7885         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7886         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7887         unconditional.
7888         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7889         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7890         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7891         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7892         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7893         Make code unconditional.
7894         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7895         (__mmap64) [!__NR_mmap2]: Likewise.
7896         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7897         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7898         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7899         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7900         [__NR_mmap2]: Make code unconditional.
7901         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7902         (__mmap64) [!__NR_mmap2]: Likewise.
7904 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7906         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7908 2012-08-18  Andreas Jaeger  <aj@suse.de>
7910         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7912 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
7914         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7915         * include/unistd.h (__have_sock_cloexec): Likewise.
7916         (__have_pipe2): Likewise.
7917         (__have_dup3): Likewise.
7919 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
7921         [BZ #9685]
7922         * include/unistd.h (__have_pipe2): Change define into an extern int.
7923         (__have_dup3): Likewise.
7924         * socket/have_sock_cloexec.c: Include fcntl.h.
7925         (__have_pipe2): New variable.
7926         (__have_dup3): Likewise.
7928 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
7930         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7932 2012-08-17  Marek Polacek  <polacek@redhat.com>
7934         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7935         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7937 2012-08-17  Roland McGrath  <roland@hack.frob.com>
7939         * configure.in: Add AC_SUBST for sysheaders.
7940         * configure: Regenerated.
7941         * config.make.in (sysheaders): New substituted variable.
7943         * sysdeps/unix/mkfifo.c: Moved ...
7944         * sysdeps/posix/mkfifo.c: ... here.
7945         * sysdeps/unix/mkfifoat.c: Moved ...
7946         * sysdeps/posix/mkfifoat.c: ... here.
7948         * sysdeps/unix/utime.c: Moved ...
7949         * sysdeps/posix/utime.c: ... here.
7951         * sysdeps/unix/time.c: Moved ...
7952         * sysdeps/posix/time.c: ... here.
7953         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7954         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7956         * sysdeps/unix/nice.c: Moved ...
7957         * sysdeps/posix/nice.c: ... here.
7959         * sysdeps/unix/alarm.c: Moved ...
7960         * sysdeps/posix/alarm.c: ... here.
7962         * intl/Makefile ($(codeset_mo)): Depend on the input file.
7964 2012-08-17  Jeff Law <law@redhat.com>
7966         * intl/Makefile (codeset_mo): New variable.
7967         ($(codeset_mo)): New target.
7968         (tst-codeset.out): Depend on that.  Remove explicit rule.
7969         (tst-gettext3.out, tst-gettext5.out): Likewise.
7970         (LOCPATH-ENV, tst-codeset-ENV): New variables.
7971         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7972         * intl/tst-codeset.sh: Remove.
7973         * intl/tst-gettext3.sh: Likewise.
7974         * intl/tst-gettext5.sh: Likewise.
7976 2012-08-17  Roland McGrath  <roland@hack.frob.com>
7978         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
7979         * sysdeps/unix/syscalls.list: ... here.
7981         * sysdeps/posix/getaddrinfo.c
7982         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7983         (gaiconf_init, gaiconf_reload): Use them.
7984         [!_STATBUF_ST_NSEC]
7985         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7986         Define using time_t rather than struct timespec.
7988         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7989         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7990         Macros removed.
7991         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7992         [!NO_THREADS].
7993         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7994         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7995         Likewise.
7997         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7998         __libc_cleanup_push argument.
8000         * bits/param.h: New file.
8001         * misc/sys/param.h: New file.
8002         * include/sys/param.h: New file.
8003         * misc/Makefile (headers): Add bits/param.h.
8004         * sysdeps/generic/sys/param.h: File removed.
8005         * sysdeps/unix/sysv/linux/bits/param.h: New file.
8006         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8007         * sysdeps/mach/hurd/bits/param.h: New file.
8008         * sysdeps/mach/hurd/sys/param.h: File removed.
8010         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8011         last change.
8013         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8014         [_IO_MTSAFE_IO].
8015         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8016         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8017         New macros.
8019         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8020         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8021         rather than -D_IO_MTSAFE_IO conditionally.
8022         * stdio-common/Makefile (CPPFLAGS): Likewise.
8023         * wcsmbs/Makefile (CPPFLAGS): Likewise.
8024         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8025         Use $(libio-mtsafe).
8026         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8027         of -D_IO_MTSAFE_IO.
8028         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8029         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8030         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8031         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8032         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8033         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8034         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8035         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8036         (CFLAGS-fread_u_chk.c): Likewise.
8037         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8038         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8039         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8040         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8041         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8042         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8043         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8044         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8045         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8047         * libio/Makefile: Test [$(libc-reentrant) = yes]
8048         instead of [$(filter %REENTRANT, $(defines)) nonempty].
8050         * Makeconfig
8051         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8052         * sysdeps/pthread/configure: File removed.
8053         * sysdeps/pthread/Makeconfig: New file.
8054         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8055         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8057 2012-08-16  Gary Benson  <gbenson@redhat.com>
8059         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8060         unmapping the first object in a namespace.
8062 2012-08-16  Roland McGrath  <roland@hack.frob.com>
8064         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8065         (__internal_setnetgrent): ... this.  Add internal_function to
8066         definition.  Add libc_hidden_def.
8067         (setnetgrent): Update caller.
8068         (internal_endnetgrent): Renamed to ...
8069         (__internal_endnetgrent): ... this.  Add internal_function to
8070         definition.  Add libc_hidden_def.
8071         (endnetgrent): Update caller.
8072         (internal_getnetgrent_r): Renamed to ...
8073         (__internal_getnetgrent_r): ... this.  Add internal_function to
8074         definition.  Add libc_hidden_def.
8075         (__getnetgrent_r): Update caller.
8076         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
8078 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
8080         * stdlib/longlong.h: Update from GCC.
8082 2012-08-16  Roland McGrath  <roland@hack.frob.com>
8084         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8085         on _QL, which is set by umul_ppmm but never used.
8086         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8087         variables, which are set by GMP macros but never used.
8088         * stdio-common/_itowa.c (_itowa): Likewise.
8089         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8090         * stdlib/mod_1.c (mpn_mod_1): Likewise.
8092 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
8094         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8095         struct La_sh_regs is not constant.
8096         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8097         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8098         and struct La_sparc64_regs are not constant.
8100 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
8102         * sysdeps/unix/sysv/linux/kernel-features.h
8103         (__ASSUME_POSIX_TIMERS): Remove.
8104         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8105         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8106         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8107         Make code unconditional.
8108         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8109         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8110         Make code unconditional.
8111         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8112         * sysdeps/unix/sysv/linux/clock_nanosleep.c
8113         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8114         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8115         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8116         Make code unconditional.
8117         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8118         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8119         (__libc_missing_posix_timers): Remove.
8121 2012-08-15  Roland McGrath  <roland@hack.frob.com>
8123         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8124         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8126         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8128         * elf/dl-sym.c: Include <stdlib.h>.
8130         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8131         constants, which avoids warnings in 32-bit builds.
8133         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8134         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8136         * misc/lseek.c: File moved to ...
8137         * io/lseek.c: ... here.
8139         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8141         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8142         shifting LEN more than 31 bits at once.
8144 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8146         [BZ #14195]
8147         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8148         segmentation fault for a case of two empty input strings.
8149         * string/test-strncasecmp.c (check1): Renamed to...
8150         (bz12205): ...this.
8151         (bz14195): Add new testcase for two empty input strings and N > 0.
8152         (test_main): Call new testcase, adapt for renamed function.
8154 2012-08-15  Andreas Jaeger  <aj@suse.de>
8156         [BZ #14090]
8157         * crypt/md5test2.c: New test, based on test supplied by Serge
8158         Belyshev <belyshev@depni.sinp.msu.ru>.
8159         * crypt/Makefile (xtests): Add md5test-giant..
8160         * crypt/Makefile ($(objpfx)md5test-giant): Add.
8162 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
8164         [BZ #14090]
8165         * crypt/md5.c (md5_process_block): Don't assume the buffer
8166         length is less than 2**32.
8167         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8168         length is less than 2**64.
8170 2012-08-15  Roland McGrath  <roland@hack.frob.com>
8172         * string/str-two-way.h: Include <sys/param.h>.
8173         (MAX): Macro removed.
8175         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8176         Move #define and #undef of memmove to just before and after
8177         including <string.h>.
8179         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8180         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8181         and after including <string.h>.  Move declarations of
8182         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8183         to before #include "string/memmove.c".
8185         * include/dirent.h: Declare __getdirentries.
8187         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8188         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8190 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
8192         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8193         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8194         * sysdeps/i386/configure: Regenerated.
8195         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8196         STABS_CURRENT_FILE, and STABS_FUN.
8197         (END): Remove call to STABS_FUN_END.
8198         (STABS_CURRENT_FILE1): Delete.
8199         (STABS_CURRENT_FILE): Likewise.
8200         (STABS_FUN): Likewise.
8201         (STABS_FUN_END): Likewise.
8202         (STABS_FUN2): Likewise.
8203         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8204         * sysdeps/x86_64/configure: Regenerated.
8206 2012-08-14  Roland McGrath  <roland@hack.frob.com>
8208         * elf/dl-open.c: Include <atomic.h>.
8209         * elf/dl-lookup.c: Likewise.
8211 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
8213         * sysdeps/unix/sysv/linux/kernel-features.h
8214         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8215         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8216         unconditionally.
8217         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8218         unconditionally.
8219         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8220         condition on __ASSUME_CLONE_THREAD_FLAGS.
8222 2012-08-14  Andreas Jaeger  <aj@suse.de>
8224         * sysdeps/i386/fpu/libm-test-ulps: Update.
8226 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
8228         * include/atomic.h (atomic_exchange_and_add): Split into ...
8229         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8230         New atomic macros.
8232 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
8234         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8236 2012-08-13  Jeff Law <law@redhat.com>
8238         * manual/stdio.texi (snprintf): Clarify handling of the trailing
8239         null byte in the output string.
8241 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
8243         * sysdeps/unix/sysv/linux/kernel-features.h
8244         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8245         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8246         (__ASSUME_ARG_MAX_STACK_BASED): Define.
8247         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8248         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8249         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
8250         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8252 2012-08-09  Jeff Law <law@redhat.com>
8254         [BZ #13939]
8255         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8256         When avoid_arena is set, don't retry in the that arena.  Pick the
8257         next one, whatever it might be.
8258         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8259         (arena_lock): Pass in new parameter to arena_get2.
8260         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8261         arena_get2.
8262         (__libc_malloc): Unify retrying after main arena failure with
8263         __libc_memalign version.
8264         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8266 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8268         [BZ #14166]
8269         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8270         to __redirect_strstr.
8271         (__strstr_sse42): Use typeof __redirect_strstr.
8272         (__strstr_ia32): Likewise.
8273         (__libc_strstr): New prototype.
8274         (strstr): Renamed to ...
8275         (__libc_strstr): This.
8276         (strstr): New strong alias of __libc_strstr.
8277         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8278         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8279         __redirect_time.
8280         Include <time.h>.
8281         (__libc_time): New prototype.
8282         (time_ifunc): Replace time with __libc_time.
8283         (time): New strong alias and hidden definition of __libc_time.
8284         (__GI_time): Remove strong alias.
8285         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8286         Include <stddef.h>.
8287         (memmove): Redefined to __redirect_memmove.
8288         (__memmove_sse2): Use typeof __redirect_memmove.
8289         (__memmove_ssse3): Likewise.
8290         (__memmove_ssse3_back): Likewise.
8291         (__libc_memmove): New prototype.
8292         (memmove): Renamed to ...
8293         (__libc_memmove): This.
8294         (memmove): New strong alias of __libc_memmove.
8296 2012-08-08  Mark Salter  <msalter@redhat.com>
8298         * elf/elf.h
8299         (R_MN10300_TLS_GD): Define.
8300         (R_MN10300_TLS_LD): Likewise.
8301         (R_MN10300_TLS_LDO): Likewise.
8302         (R_MN10300_TLS_GOTIE): Likewise.
8303         (R_MN10300_TLS_IE): Likewise.
8304         (R_MN10300_TLS_LE): Likewise.
8305         (R_MN10300_TLS_DTPMOD): Likewise.
8306         (R_MN10300_TLS_DTPOFF): Likewise.
8307         (R_MN10300_TLS_TPOFF): Likewise.
8308         (R_MN10300_SYM_DIFF): Likewise.
8309         (R_MN10300_ALIGN): Likewise.
8310         (R_MN10300_NUM): Update.
8312 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
8314         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8315         Remove.
8317 2012-08-08  Roland McGrath  <roland@hack.frob.com>
8319         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8321         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8322         sysdeps/unix -> sysdeps/posix move.
8323         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8325 2012-08-07      Allan McRae     <allan@archlinux.org>
8327         [BZ #14303]
8328         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8329         (SUNOS_CPP): Likewise.
8330         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8331         not found.
8332         (open_input): Call CPP using execvp.
8334 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
8336         * sysdeps/unix/sysv/linux/kernel-features.h
8337         (__ASSUME_PROT_GROWSUPDOWN): Remove.
8338         (__ASSUME_NO_CLONE_DETACHED): Likewise.
8339         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8340         (__ASSUME_WAITID_SYSCALL): Likewise.
8341         * sysdeps/unix/sysv/linux/dl-execstack.c
8342         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8343         code unconditional.
8344         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8345         conditional code.
8346         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8347         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8348         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8349         code.
8350         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8351         unconditional.
8352         [__ASSUME_WAITID_SYSCALL]: Likewise.
8353         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8355 2012-08-07  Roland McGrath  <roland@hack.frob.com>
8357         * sysdeps/unix/closedir.c: Renamed to ...
8358         * sysdeps/posix/closedir.c: ... here.
8359         * sysdeps/unix/dirfd.c: Renamed to ...
8360         * sysdeps/posix/dirfd.c: ... here.
8361         * sysdeps/unix/dirstream.h: Renamed to ...
8362         * sysdeps/posix/dirstream.h: ... here.
8363         * sysdeps/unix/fdopendir.c: Renamed to ...
8364         * sysdeps/posix/fdopendir.c: ... here.
8365         * sysdeps/unix/opendir.c: Renamed to ...
8366         * sysdeps/posix/opendir.c: ... here.
8367         * sysdeps/unix/readdir.c: Renamed to ...
8368         * sysdeps/posix/readdir.c: ... here.
8369         * sysdeps/unix/readdir_r.c: Renamed to ...
8370         * sysdeps/posix/readdir_r.c: ... here.
8371         * sysdeps/unix/rewinddir.c: Renamed to ...
8372         * sysdeps/posix/rewinddir.c: ... here.
8373         * sysdeps/unix/seekdir.c: Renamed to ...
8374         * sysdeps/posix/seekdir.c: ... here.
8375         * sysdeps/unix/telldir.c: Renamed to ...
8376         * sysdeps/posix/telldir.c: ... here.
8377         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8378         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8379         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8380         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8382         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8383         * bits/fcntl.h: ... here.
8385         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8386         not 0.
8387         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8388         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8389         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8390         (struct flock): Move l_start, l_len to the beginning.
8391         Use __pid_t for l_pid.
8392         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8393         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8394         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8395         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8396         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8397         [__USE_LARGEFILE64] (struct flock64): New type.
8398         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8400         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8401         * bits/dirent.h: ... here.
8403         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8404         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8406 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
8408         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8409         Change from 2.6.0 to 2.6.16.
8410         * sysdeps/unix/sysv/linux/configure: Regenerated.
8411         * sysdeps/unix/sysv/linux/kernel-features.h
8412         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8413         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8414         version.
8415         (__ASSUME_UTIMES): Likewise.
8416         (__ASSUME_CLONE_STOPPED): Remove.
8417         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8418         architectures, not kernel version.
8419         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8420         (__ASSUME_NO_CLONE_DETACHED): Likewise.
8421         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8422         (__ASSUME_WAITID_SYSCALL): Likewise.
8423         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8424         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8425         * README: State 2.6.16 as minimum Linux kernel version.  Do not
8426         refer to older versions.
8428 2012-08-06  Roland McGrath  <roland@hack.frob.com>
8430         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8431         Define alphasort64 as an alias.
8432         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8433         Define versionsort64 as an alias.
8434         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8435         Define scandir64 as an alias.
8436         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8437         Define scandirat64 as an alias.
8438         * dirent/alphasort64.c (alphasort64):
8439         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8440         * dirent/versionsort64.c: Likewise.
8441         * dirent/scandir64.c: Likewise.
8442         * dirent/scandirat64.c: Likewise.
8443         * sysdeps/wordsize-64/alphasort.c: File removed.
8444         * sysdeps/wordsize-64/alphasort64.c: File removed.
8445         * sysdeps/wordsize-64/scandir.c: File removed.
8446         * sysdeps/wordsize-64/scandir64.c: File removed.
8447         * sysdeps/wordsize-64/scandirat.c: File removed.
8448         * sysdeps/wordsize-64/scandirat64.c: File removed.
8449         * sysdeps/wordsize-64/versionsort.c: File removed.
8450         * sysdeps/wordsize-64/versionsort64.c: File removed.
8451         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8452         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8453         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8454         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8455         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8456         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8457         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8458         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8460         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8461         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8462         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8463         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8464         [defined __arch64__ || defined __sparcv9]
8465         (__INO_T_MATCHES_INO64_T): New macro.
8466         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8467         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8468         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8469         * sysdeps/unix/sysv/linux/bits/dirent.h
8470         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8471         (_DIRENT_MATCHES_DIRENT64): New macro.
8473         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8474         Define lockf64 as an alias.
8475         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8476         Define fseeko64 as an alias.
8477         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8478         Define ftello64 as an alias.
8479         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8480         Define _IO_fgetpos64 and fgetpos64 as aliases.
8481         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8482         Define _IO_fsetpos64 and fsetpos64 as aliases.
8483         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8484         Conditionalize body on this.
8485         * libio/fseeko64.c: Likewise.
8486         * libio/ftello64.c: Likewise.
8487         * libio/iofgetpos64.c: Likewise.
8488         * libio/iofsetpos64.c: Likewise.
8489         * sysdeps/wordsize-64/lockf.c: File removed.
8490         * sysdeps/wordsize-64/lockf64.c: File removed.
8491         * sysdeps/wordsize-64/fseeko.c: File removed.
8492         * sysdeps/wordsize-64/fseeko64.c: File removed.
8493         * sysdeps/wordsize-64/ftello.c: File removed.
8494         * sysdeps/wordsize-64/ftello64.c: File removed.
8495         * sysdeps/wordsize-64/iofgetpos.c: File removed.
8496         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8497         * sysdeps/wordsize-64/iofsetpos.c: File removed.
8498         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8499         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8500         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8501         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8502         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8503         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8504         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8505         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8506         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8507         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8508         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8510         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8511         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8512         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8513         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8514         [defined __arch64__ || defined __sparcv9]
8515         (__OFF_T_MATCHES_OFF64_T): New macro.
8516         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8517         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8518         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8519         (__OFF_T_MATCHES_OFF64_T): New macro.
8521 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
8523         * stdlib/secure-getenv.c (__secure_getenv): Replace
8524         GLIBC_2_16 with GLIBC_2_17.
8526 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
8528         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8529         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8531 2012-08-03  David S. Miller  <davem@davemloft.net>
8533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8535 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
8537         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8538         Remove.
8539         (__ASSUME_CORRECT_SI_PID): Likewise.
8540         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8541         (__ASSUME_TMPFS_NAME): Likewise.
8542         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8543         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8544         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8545         (HAVE_AUX_SECURE): Make definition unconditional.
8546         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8547         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8549 2012-08-03  Roland McGrath  <roland@hack.frob.com>
8551         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8552         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8553         * sysdeps/mach/hurd/eloop-threshold.h: New file.
8554         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8555         __eloop_threshold instead of SYMLOOP_MAX.
8557         * sysdeps/generic/eloop-threshold.h: New file.
8558         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8559         of MAXSYMLINKS.
8560         * elf/chroot_canon.c (chroot_canon): Likewise.
8562 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
8564         [BZ #13717]
8565         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8566         Change to 2.6.0 everywhere.
8567         * sysdeps/unix/sysv/linux/configure: Regenerated.
8568         * sysdeps/unix/sysv/linux/kernel-features.h
8569         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8570         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8571         kernel versions.
8572         (__ASSUME_POSIX_TIMERS): Define unconditionally.
8573         (__ASSUME_FUTEX_REQUEUE): Remove.
8574         (__ASSUME_STATFS64): Define unconditionally.
8575         (__ASSUME_AT_SECURE): Likewise.
8576         (__ASSUME_CORRECT_SI_PID): Likewise.
8577         (__ASSUME_TGKILL): Define without depending on kernel version for
8578         i386.
8579         (__ASSUME_UTIMES): Likewise.
8580         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8581         kernel version.
8582         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8583         (__ASSUME_TMPFS_NAME): Likewise.
8584         * README: Update reference to Linux kernel versions.
8586 2012-08-02  Marek Polacek  <polacek@redhat.com>
8588         [BZ# 14150]
8589         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
8590         libc_cv_asm_type_prefix with %.
8591         * configure: Regenerated.
8592         * include/libc-symbols.h: Remove comment about
8593         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8594         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8595         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8596         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8597         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8598         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8599         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8600         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8601         * elf/tst-unique2mod1.c: Likewise.
8602         * elf/tst-unique1mod2.c: Likewise.
8603         * elf/tst-unique1mod1.c: Likewise.
8604         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8605         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8606         Replace ASM_TYPE_DIRECTIVE with .type.
8607         * sysdeps/s390/s390-64/sysdep.h: Likewise.
8608         * sysdeps/i386/sysdep.h: Likewise.
8609         * sysdeps/x86_64/sysdep.h: Likewise.
8610         * sysdeps/sh/sysdep.h: Likewise.
8611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8612         Do not define ASM_TYPE_DIRECTIVE.
8613         * sysdeps/powerpc/sysdep.h: Likewise.
8614         * sysdeps/powerpc/powerpc32/sysdep.h:
8615         Replace ASM_TYPE_DIRECTIVE with .type.
8616         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8617         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8618         * sysdeps/i386/fpu/e_powf.S: Likewise.
8619         * sysdeps/i386/fpu/e_expl.S: Likewise.
8620         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8621         * sysdeps/i386/fpu/e_acosh.S: Likewise.
8622         * sysdeps/i386/fpu/e_pow.S: Likewise.
8623         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8624         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8625         * sysdeps/i386/fpu/s_expm1.S: Likewise.
8626         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8627         * sysdeps/i386/fpu/e_log2.S: Likewise.
8628         * sysdeps/i386/fpu/e_log2l.S: Likewise.
8629         * sysdeps/i386/fpu/e_scalb.S: Likewise.
8630         * sysdeps/i386/fpu/e_powl.S: Likewise.
8631         * sysdeps/i386/fpu/e_log10f.S: Likewise.
8632         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8633         * sysdeps/i386/fpu/e_logl.S: Likewise.
8634         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8635         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8636         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8637         * sysdeps/i386/fpu/e_log2f.S: Likewise.
8638         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8639         * sysdeps/i386/fpu/e_log.S: Likewise.
8640         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8641         * sysdeps/i386/fpu/e_logf.S: Likewise.
8642         * sysdeps/i386/fpu/e_log10l.S: Likewise.
8643         * sysdeps/i386/fpu/e_atanh.S: Likewise.
8644         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8645         * sysdeps/i386/fpu/e_log10.S: Likewise.
8646         * sysdeps/i386/fpu/s_frexp.S: Likewise.
8647         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8648         * sysdeps/i386/fpu/s_asinh.S: Likewise.
8649         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8650         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8651         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8652         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8653         * sysdeps/i386/i686/strtok.S: Likewise.
8654         * sysdeps/i386/i386-mcount.S: Likewise.
8655         * sysdeps/i386/strtok.S: Likewise.
8656         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8657         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8658         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8659         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8660         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8661         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8662         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8663         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8664         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8665         * sysdeps/x86_64/_mcount.S: Likewise.
8666         * sysdeps/x86_64/strtok.S: Likewise.
8667         * sysdeps/sh/_mcount.S: Likewise.
8669 2012-08-01  Roland McGrath  <roland@hack.frob.com>
8671         * libio/iofopen.c: Include <fcntl.h>.
8672         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8673         (_IO_fopen64, fopen64): Define as aliases.
8674         * libio/iofopen64.c: Include <fcntl.h>.
8675         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8676         Conditionalize body on this.
8677         * sysdeps/wordsize-64/iofopen.c: File removed.
8678         * sysdeps/wordsize-64/iofopen64.c: File removed.
8680 2012-08-01  Marek Polacek  <polacek@redhat.com>
8682         * libc/Makeconfig: Use elf in place of binfmt-subdir.
8683         Use dlfcn directly instead of a variable.
8684         (binfmt-subdir): Do not define.
8685         (dlfcn): Likewise.
8687 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
8689         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8690         Remove all definitions.
8691         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8692         <kernel-features.h>.
8693         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8694         (miss_F_GETOWN_EX): Remove all definitions.
8695         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8696         macro definition.
8697         [!__ASSUME_FCNTL64]: Remove conditional code.
8698         [__ASSUME_FCNTL64]: Make code unconditional.
8699         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8700         <kernel-features.h>.
8701         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8702         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8703         (lockf64) [__NR_fcntl64]: Make code unconditional.
8704         (lockf64) [__ASSUME_FCNTL64]: Likewise.
8706         * sysdeps/unix/sysv/linux/kernel-features.h
8707         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8708         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8709         Make code unconditional.
8710         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8711         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8713         [__NR_vfork]: Make code unconditional.
8714         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8715         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8717         [__NR_vfork]: Make code unconditional.
8718         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8719         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8721 2012-08-01  Roland McGrath  <roland@hack.frob.com>
8723         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8724         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8726         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8727         Define mkstemp64 as an alias.
8728         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8729         Define mkstemps64 as an alias.
8730         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8731         Define mkostemp64 as an alias.
8732         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8733         Define mkostemps64 as an alias.
8734         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8735         Conditionalize body on this.
8736         * misc/mkostemp64.c: Likewise.
8737         * misc/mkostemps64.c: Likewise.
8738         * misc/mkstemps64.c: Likewise.
8739         * sysdeps/wordsize-64/mkstemp64.c: File removed.
8740         * sysdeps/wordsize-64/mkostemp64.c: File removed.
8741         * sysdeps/wordsize-64/mkostemp.c: File removed.
8742         * sysdeps/wordsize-64/mkstemp.c: File removed.
8743         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8744         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8745         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8746         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8748         [BZ #14138]
8749         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8750         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8751         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8752         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8754         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8755         compat_symbol macros from <shlib-compat.h> rather than the underlying
8756         default_symbol_version and symbol_version macros, so that DEFAULT
8757         lines in shlib-versions are respected.
8758         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8760 2012-08-01  Florian Weimer  <fweimer@redhat.com>
8762         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8763         Declare with warn_unused_result.
8764         (setgid, setregid, setegid, setresgid): Likewise.
8765         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8766         Likewise.
8767         * WUR-REPORT: Remove set*id functions.
8769 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
8771         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8773 2012-07-31  Roland McGrath  <roland@hack.frob.com>
8775         * include/sys/socket.h (__libc_accept, __libc_accept4):
8776         Add attribute_hidden.
8777         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8779         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8780         use of PTR_MANGLE.
8781         * inet/getnetgrent_r.c (setup): Likewise.
8783         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8785 2012-07-31  David S. Miller  <davem@davemloft.net>
8787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8789 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
8791         [BZ #13629]
8792         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8793         value between 1.0 and 2.0 and smaller part has absolute value less
8794         than 1.0.
8795         * math/s_clog10.c (__clog10): Likewise.
8796         * math/s_clog10f.c (__clog10f): Likewise.
8797         * math/s_clog10l.c (__clog10l): Likewise.
8798         * math/s_clogf.c (__clogf): Likewise.
8799         * math/s_clogl.c (__clogl): Likewise.
8800         * math/libm-test.inc (clog_test): Add more tests.
8801         (clog10_test): Likewise.
8802         * sysdeps/i386/fpu/libm-test-ulps: Update.
8803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8805 2012-07-31  Florian Weimer  <fweimer@redhat.com>
8807         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8808         Exit with zero in case no suitable GID is found, and write a
8809         message to standard error.
8811 2012-07-30  Roland McGrath  <roland@hack.frob.com>
8813         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8814         rather than to 1.
8815         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8816         (MAXPATHLEN): Removed.
8817         (NOGROUP, NODEV): New macros.
8818         (setbit, clrbit, isset, isclr): New macros.
8819         (howmany, roundup, powerof2): New macros.
8820         (DEV_BSIZE): New macro.
8822         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8823         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8825         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8826         definition on [!__NO_LONG_DOUBLE_MATH].
8828         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8829         PTR_MANGLE and PTR_DEMANGLE.
8831         * socket/accept4.c (accept4): Rename to __libc_accept4.
8832         Define accept4 as a weak alias.
8834         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8835         on [_DIRENT_HAVE_D_TYPE].
8836         * io/ftw.c (ftw_dir): Likewise.
8838         * io/xmknod.c (__xmknod): Don't check PATH for being null.
8840         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8842         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8843         Use the BSD numbers rather than the arbitrary ones we had.
8844         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8845         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8846         (SIGXCPU, SIGXFSZ): New macros.
8847         (_NSIG): Now 32.
8849         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8850         initializer on [_LIBC_REENTRANT].
8852         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8853         definitions inside [_POSIX_MAPPED_FILES].
8855         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8857         * dirent/opendir.c: Include <fcntl.h>.
8859         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8860         (__libc_getspecific): Likewise.
8861         (__libc_key_create): Likewise.
8863         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8864         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8865         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8866         (tmpfile64): Define as alias.
8867         * sysdeps/wordsize-64/tmpfile.c: File removed.
8868         * sysdeps/wordsize-64/tmpfile64.c: File removed.
8869         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8870         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8872         * stdio-common/vfscanf.c: Include <stdbool.h>.
8873         * nss/makedb.c: Likewise.
8874         * stdio-common/_i18n_number.h: Likewise.
8875         * argp/argp-help.c: Likewise.
8876         * posix/wordexp.c: Likewise.
8877         * sysdeps/posix/spawni.c: Likewise.
8878         * nss/nss_files/files-initgroups.c: Likewise.
8879         * stdio-common/reg-modifier.c: Include <stdlib.h>.
8880         * nss/nss_files/files-initgroups.c: Likewise.
8881         * nss/nss_db/db-netgrp.c: Likewise.
8882         * nss/nss_db/db-initgroups.c: Likewise.
8883         * io/fchmodat.c: Include <sys/stat.h>.
8885         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8886         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8888         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8889         [HAVE_MMAP].
8891         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8892         Add multiple inclusion protection.
8894 2012-07-27  David S. Miller  <davem@davemloft.net>
8896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8898 2012-07-27  Gary Benson  <gbenson@redhat.com>
8900         [BZ #14298]
8901         * elf/rtld.c: Include <stap-probe.h>.
8902         (dl_main): Added static probes "init_start" and "init_complete".
8903         * elf/dl-load.c: Include <stap-probe.h>.
8904         (lose): Take new parameter "nsid".
8905         Added static probe "map_failed".
8906         (_dl_map_object_from_fd): Pass namespace id to lose.
8907         Added static probe "map_start".
8908         (open_verify): Pass namespace id to lose.
8909         * elf/dl-open.c: Include <stap-probe.h>.
8910         (dl_open_worker) Added static probes "map_complete", "reloc_start"
8911         and "reloc_complete".
8912         * elf/dl-close.c: Include <stap-probe.h>.
8913         (_dl_close_worker): Added static probes "unmap_start" and
8914         "unmap_complete".
8915         * elf/rtld-debugger-interface.txt: New file documenting the above.
8917 2012-07-26  Roland McGrath  <roland@hack.frob.com>
8919         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8920         rather than a string variable.
8921         * sunrpc/rpc_main.c (h_output): Likewise.
8922         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8924 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
8926         * inet/check_native.c: New file.
8928 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
8930         [BZ #13629]
8931         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8932         if larger part has absolute value 1.0.
8933         * math/s_clog10.c (__clog10): Likewise.
8934         * math/s_clog10f.c (__clog10f): Likewise.
8935         * math/s_clog10l.c (__clog10l): Likewise.
8936         * math/s_clogf.c (__clogf): Likewise.
8937         * math/s_clogl.c (__clogl): Likewise.
8938         * math/libm-test.inc (clog_test): Add more tests.
8939         (clog10_test): Likewise.
8940         * sysdeps/i386/fpu/libm-test-ulps: Update.
8941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8943         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8944         (pltexit): Likewise.
8945         (La_regs): Likewise.
8946         (La_retval): Likewise.
8947         (int_retval): Likewise.
8948         Update #error for removed macros to refer only to definitions in
8949         tst-audit.h.
8950         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8951         macro.
8952         (pltexit): Likewise.
8953         (La_regs): Likewise.
8954         (La_retval): Likewise.
8955         (int_retval): Likewise.
8956         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8957         macro.
8958         (pltexit): Likewise.
8959         (La_regs): Likewise.
8960         (La_retval): Likewise.
8961         (int_retval): Likewise.
8962         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8963         macro.
8964         (pltexit): Likewise.
8965         (La_regs): Likewise.
8966         (La_retval): Likewise.
8967         (int_retval): Likewise.
8968         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8969         macro.
8970         (pltexit): Likewise.
8971         (La_regs): Likewise.
8972         (La_retval): Likewise.
8973         (int_retval): Likewise.
8974         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8975         macro.
8976         (pltexit): Likewise.
8977         (La_regs): Likewise.
8978         (La_retval): Likewise.
8979         (int_retval): Likewise.
8980         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8981         macro.
8982         (pltexit): Likewise.
8983         (La_regs): Likewise.
8984         (La_retval): Likewise.
8985         (int_retval): Likewise.
8986         * sysdeps/generic/tst-audit.h: Update comment to refer only to
8987         macro definitions in tst-audit.h.
8988         * sysdeps/i386/tst-audit.h: New file.
8989         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8990         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8991         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8992         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8993         * sysdeps/sh/tst-audit.h: Likewise.
8994         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8995         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8996         * sysdeps/x86_64/tst-audit.h: Likewise.
8998 2012-07-26  Andreas Jaeger  <aj@suse.de>
9000         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9001         ptrace.
9003         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9004         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9005         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9006         PTRACE_O_MASK.
9007         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9008         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9009         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9011         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9012         value.
9014         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9015         _sigsys.
9016         (si_call_addr, si_syscall, si_arch): Define new macro.
9017         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9018         _sigsys.
9019         (si_call_addr, si_syscall, si_arch): Define new marcro.
9020         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9021         _sigsys.
9022         (si_call_addr, si_syscall, si_arch): Define new macro.
9023         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9024         _sigsys.
9025         (si_call_addr, si_syscall, si_arch): Define new macro.
9027 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
9029         [BZ #13717]
9030         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9031         Change to 2.4.21 where previously 2.4.1.
9032         * sysdeps/unix/sysv/linux/configure: Regenerated.
9033         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9034         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9035         Linux kernel version.
9036         (__ASSUME_STD_AUXV): Remove.
9037         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9038         kernel version.
9039         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9040         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9041         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9042         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9043         (__ASSUME_NETLINK_SUPPORT): Likewise.
9044         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9045         (__no_netlink_support): Remove conditional definition.
9046         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9047         Remove.
9048         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9049         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9050         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9051         (if_nameindex_ioctl): Remove.
9052         (if_nameindex_netlink): Do not handle __no_netlink_support.
9053         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9054         code.
9055         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9056         Remove conditional code.
9057         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9058         code.
9059         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9060         unconditional.
9061         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9062         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9063         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9064         Remove.
9065         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9066         [!__ASSUME_STD_AUXV]: Remove conditional code.
9067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9068         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9069         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9071         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9072         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9073         code.
9074         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9076         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9077         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9078         conditional code.
9079         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9081         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9082         code.
9083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9084         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9085         conditional code.
9086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9087         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9088         code unconditional.
9089         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9090         conditional code.
9091         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9092         unconditional.
9093         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9094         conditional code.
9095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9096         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9097         unconditional.
9098         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9099         conditional code.
9100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9101         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9102         code unconditional.
9103         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9104         conditional code.
9105         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9106         unconditional.
9107         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9108         conditional code.
9109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9110         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9111         code unconditional.
9112         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9113         conditional code.
9114         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9115         unconditional.
9116         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9117         conditional code.
9119 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
9121         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9122         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9123         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9124         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9125         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9126         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9127         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9128         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9129         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9130         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9131         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9132         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9133         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9134         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9135         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9136         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9137         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9138         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9139         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9140         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9141         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9142         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9143         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9145 2012-07-25  Florian Weimer  <fweimer@redhat.com>
9147         * Versions.def: Add GLIBC_2.17.
9148         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9149         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9150         Introduce __libc_secure_getenv.
9151         * stdlib/Versions (2.17): Add secure_getenv
9152         (GLIBC_PRIVATE): Add __libc_secure_getenv.
9153         * stdlib/secure-getenv.c: Rename __secure_getenv to
9154         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
9155         symbol __secure_getenv for GLIBC_2.0.
9156         * stdlib/tst-secure-getenv.c: New.
9157         * stdlib/Makefile (tests): Add testcase.
9158         * manual/startup.texi (Environment Access): Document
9159         secure_getenv.
9160         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9161         __libc_secure_getenv.
9162         * inet/ruserpass.c (ruserpass): Likewise.
9163         * malloc/mtrace.c (mtrace): Likewise.
9164         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9165         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9166         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9167         * sysdeps/posix/tempname.c: Likewise.  Evaluate
9168         HAVE_SECURE_GETENV.
9169         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9170         __secure_getenv to __libc_secure_getenv.
9171         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9173         Likewise.
9174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9175         Likewise.
9176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9178         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9184 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
9186         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9187         (struct La_i86_retval): Likewise.
9188         (struct La_x86_64_regs): Likewise.
9189         (struct La_x86_64_retval): Likewise.
9190         (struct La_x32_regs): Likewise.
9191         (struct La_x32_retval): Likewise.
9192         (struct La_ppc32_regs): Likewise.
9193         (struct La_ppc32_retval): Likewise.
9194         (struct La_ppc64_regs): Likewise.
9195         (struct La_ppc64_retval): Likewise.
9196         (struct La_sh_regs): Likewise.
9197         (struct La_sh_retval): Likewise.
9198         (struct La_s390_32_regs): Likewise.
9199         (struct La_s390_32_retval): Likewise.
9200         (struct La_s390_64_regs): Likewise.
9201         (struct La_s390_64_retval): Likewise.
9202         (struct La_sparc32_regs): Likewise.
9203         (struct La_sparc32_retval): Likewise.
9204         (struct La_sparc64_regs): Likewise.
9205         (struct La_sparc64_retval): Likewise.
9206         (struct audit_ifaces): Remove architecture-specific pltenter and
9207         pltexit members.
9208         * sysdeps/i386/ldsodefs.h: New file.
9209         * sysdeps/powerpc/ldsodefs.h: Likewise.
9210         * sysdeps/s390/ldsodefs.h: Likewise.
9211         * sysdeps/sh/ldsodefs.h: Likewise.
9212         * sysdeps/sparc/ldsodefs.h: Likewise.
9213         * sysdeps/x86_64/ldsodefs.h: Likewise.
9215 2012-07-25  Marek Polacek  <polacek@redhat.com>
9217         [BZ #6808]
9218         * math/libm-test.inc (yn_test): Add another test.
9219         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9220         to ERANGE when the result is +-Inf.
9221         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9222         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9223         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9224         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9226 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
9228         * conform/data/time.h-data (NULL): Use macro-constant.  Require
9229         equal to 0.
9230         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
9231         clock_t.
9232         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
9234 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
9236         * configure.in <sysdeps resolving>: Correct printing
9237         Implies_before.
9238         * configure: Regenerate.
9240 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
9242         * math/w_ilogb.c: Include <limits.h>.
9243         * math/w_ilogbl.c: Likewise.
9245 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
9247         * manual/lang.texi (__va_copy): Document primarily as ISO C99
9248         va_copy.  Document allowing for unavailable va_copy only as
9249         pre-C99 compatibility.
9250         * manual/string.texi (Copying and Concatenation): Use va_copy
9251         instead of __va_copy in concat example.
9253 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
9255         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9256         (__sendto): Use create_address_port.  Initialize APORT and deallocate
9257         it if not null.
9259         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9260         with O_NOLINK passed to __file_name_lookup.
9262         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9263         with O_NOLINK passed to __file_name_lookup.
9265         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9266         negative N or less than NGIDS.
9268         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9269         type to string_t.  Set ERANGE as errno and return it if NAME is not big
9270         enough.  Use memcpy instead of strncpy.
9272 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
9274         * elf/Makefile (check-data): Remove.
9275         (localplt.data): New vpath directive.
9276         ($(objpfx)check-localplt.out): Use localplt.data from vpath
9277         instead of $(check-data).
9278         * scripts/data/localplt-generic.data: Move to ...
9279         * sysdeps/generic/localplt.data: ... here.
9280         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9281         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9282         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9284         ... here.
9285         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9287         ... here.
9288         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9290         ... here.
9291         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9293         ... here.
9294         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9296         ... here.
9297         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9299         ... here.
9301 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9303         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9304         PPC32 and PPC64 files.
9305         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9306         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9308 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9310         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9311         __makecontext_ret to ...
9312         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9313         ... here and call exit if uc_link is NULL.  New file.
9314         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9315         __makecontext_ret.S.
9316         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9317         __makecontext_ret to ...
9318         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9319         ... here and call exit if uc_link is NULL.  New file.
9320         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9321         __makecontext_ret.S.
9323 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9325         * elf/elf.h (R_390_IRELATIVE): New definition.
9326         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9327         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
9328         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9329         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9330         (elf_machine_lazy_rel): Likewise.
9331         * sysdeps/s390/dl-irel.h: New file.
9332         * sysdeps/s390/s390-64/memcpy.S: New asm code.
9333         * sysdeps/s390/s390-64/memset.S: New asm code.
9334         * sysdeps/s390/s390-64/memcmp.S: New asm code.
9335         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9336         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9337         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9338         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9339         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9340         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9341         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9342         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9343         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9344         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9345         * sysdeps/s390/s390-32/memcpy.S: New asm code.
9346         * sysdeps/s390/s390-32/memset.S: New asm code.
9347         * sysdeps/s390/s390-32/memcmp.S: New asm code.
9349 2012-07-17  Marek Polacek  <polacek@redhat.com>
9351         [BZ #14349]
9352         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9353         * sysdeps/s390/s390-64/configure.in: Likewise.
9354         * sysdeps/sparc/configure.in: Likewise.
9355         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9356         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9357         * sysdeps/i386/configure.in: Likewise.
9358         * sysdeps/x86_64/configure.in: Likewise.
9359         * sysdeps/sh/configure.in: Likewise.
9360         * sysdeps/s390/s390-32/configure: Regenerated.
9361         * sysdeps/s390/s390-64/configure: Likewise.
9362         * sysdeps/x86_64/configure: Likewise.
9363         * sysdeps/sh/configure: Likewise.
9364         * sysdeps/powerpc/powerpc64/configure: Likewise.
9365         * sysdeps/powerpc/powerpc32/configure: Likewise.
9366         * sysdeps/sparc/configure: Likwise.
9367         * sysdeps/i386/configure: Likewise.
9369         * elf/dl-open.c: Comment fixes.
9371 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
9373         * Makefile [CXX] (check-data): Remove.
9374         [CXX] (c++-types.data): New vpath directive.
9375         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9376         vpath.  Do not allow for C++ type data being missing.
9377         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9378         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9379         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9380         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9381         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9382         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9383         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9385         ... here.
9386         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9388         ... here.
9389         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9391         ... here.
9392         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9394         ... here.
9395         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9397         ... here.
9398         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9400         ... here.
9401         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9403         ... here.
9404         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9407         * elf/tls-macros.h (TLS_LE): Move architecture-specific
9408         definitions to architecture-specific files.
9409         (TLS_IE): Likewise.
9410         (TLS_LD): Likewise.
9411         (TLS_GD): Likewise.
9412         * sysdeps/i386/tls-macros.h: New file.
9413         * sysdeps/powerpc/tls-macros.h: Likewise.
9414         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9415         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9416         * sysdeps/sh/tls-macros.h: Likewise.
9417         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9418         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9419         * sysdeps/x86_64/tls-macros.h: Likewise.
9421 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
9423         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9424         zero value for regular exit case.
9426         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9427         (__start_context): Preserve zero value for regular exit case.
9429 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
9430             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9432         * manual/setjmp.texi (setcontext): Clarify normal process
9433         termination when uc_link is the null pointer.
9434         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9435         exit call.
9437 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
9439         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9440         preprocessor.  Test for each exception mask separately.
9442 2012-07-16  Andreas Jaeger  <aj@suse.de>
9444         * po/ru.po: Update from translation team.
9446 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
9448         * conform/data/string.h-data (NULL): Use macro-constant.  Require
9449         equal to 0.
9450         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9451         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9452         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9453         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9454         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9456 2012-07-13  Andreas Jaeger  <aj@suse.de>
9458         * po/fr.po: Update from translation team.
9460 2012-07-12  Marek Polacek  <polacek@redhat.com>
9462         [BZ #14173]
9463         * math/libm-test.inc (yn_test): Add test for BZ #14173.
9464         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9465         loop condition.
9467 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
9469         [BZ #13717]
9470         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9471         Change to 2.4.1 where previously 2.4.0.
9472         * sysdeps/unix/sysv/linux/configure: Regenerated.
9473         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9474         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9475         version.
9476         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9477         (__ASSUME_AT_CLKTCK): Remove.
9478         (__ASSUME_AT_PAGESIZE): Likewise.
9479         (__ASSUME_AT_XID): Likewise.
9480         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9481         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9482         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9483         unconditionally.
9484         (HAVE_AUX_PAGESIZE): Likewise.
9485         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9486         [__ASSUME_AT_CLKTCK]: Make code unconditional.
9487         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9489 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
9491         [BZ #14307]
9492         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9493         the temporary buffer used to invoke __gethostbyname2_r,
9494         __gethostbyaddr_r and gethostbyname4_r to make room for struct
9495         host_data / struct gaih_addrtuple.
9496         * resolv/nss_dns/dns-host.c (global scope): Move definition of
9497         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9498         header file nss/nsswitch.h.
9499         * nss/nsswitch.h (global scope): Add definition of implementation
9500         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9501         resolv/nss_dns/dns-host.c).
9503 2012-07-11  Andreas Jaeger  <aj@suse.de>
9505         * po/fr.po: Update from translation team.
9507         * po/sv.po: Update from translation team
9508         * po/fr.po: Another update from translation team.
9510 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9512         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9513         for subnormals or multiply small sinh result by itself.
9514         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9517 2012-07-11  David S. Miller  <davem@davemloft.net>
9519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9521 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
9523         [BZ #14347]
9524         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9525         (INTERNAL_MARK): Shift it here.
9527 2012-07-10  Marek Polacek  <polacek@redhat.com>
9529         [BZ #14151]
9530         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
9531         libc_cv_asm_global_directive with .globl.
9532         * configure: Regenerated.
9533         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9534         with .globl.
9535         * sysdeps/i386/configure: Regenerated.
9536         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9537         with .globl.
9538         * sysdeps/x86_64/configure: Regenerated.
9539         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9540         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9541         * elf/tst-unique2mod2.c: Likewise.
9542         * elf/tst-unique2mod1.c: Likewise.
9543         * elf/tst-unique1mod2.c: Likewise.
9544         * elf/tst-unique1mod1.c: Likewise.
9545         * sysdeps/s390/s390-32/sysdep.h: Likewise.
9546         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9547         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9548         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9549         * sysdeps/mach/sysdep.h: Likewise.
9550         * sysdeps/i386/sysdep.h: Likewise.
9551         * sysdeps/i386/i386-mcount.S: Likewise.
9552         * sysdeps/x86_64/_mcount.S: Likewise.
9553         * sysdeps/x86_64/sysdep.h: Likewise.
9554         * sysdeps/sh/_mcount.S: Likewise.
9555         * sysdeps/sh/sysdep.h: Likewise.
9556         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9557         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9558         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9559         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9560         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9561         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9562         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9563         * locale/localeinfo.h: Likewise.
9564         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9565         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9567 2012-07-09  Roland McGrath  <roland@hack.frob.com>
9569         [BZ #14336]
9570         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9571         system".
9572         * manual/message.texi (The Uniforum approach): Likewise.
9573         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9574         (glibc iconv Implementation): Likewise.
9576 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
9578         [BZ #14337]
9579         * math/s_clog.c (__clog): Avoid scaling a value down where that
9580         could result in underflow.
9581         * math/s_clog10.c (__clog10): Likewise.
9582         * math/s_clog10f.c (__clog10f): Likewise.
9583         * math/s_clog10l.c (__clog10l): Likewise.
9584         * math/s_clogf.c (__clogf): Likewise.
9585         * math/s_clogl.c (__clogl): Likewise.
9586         * math/libm-test.inc (clog_test): Add more tests.
9587         (clog10_test): Likewise.
9588         * sysdeps/i386/fpu/libm-test-ulps: Update.
9589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9591 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
9593         [BZ #14283]
9594         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9595         by 7 not 8 to examine high bit of fractional part.
9597         [BZ #14042]
9598         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9599         for call to __mcount_internal.
9600         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9601         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9602         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9604 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
9606         [BZ #14154]
9607         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9608         approximation for values within 0x1p-13f of an odd multiple of
9609         pi/4.
9610         * math/libm-test.inc (tan_test): Do not allow spurious underflow
9611         exception.  Add more tests.
9612         * sysdeps/i386/fpu/libm-test-ulps: Update.
9614         [BZ #6778]
9615         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9616         inputs and return -1 for them.  Do not check for +Inf in case not
9617         reachable for +Inf.
9618         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9619         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9620         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9621         and return -1 for them.  Do not check for +Inf in case not
9622         reachable for +Inf.
9623         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9624         define.
9625         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9626         and return -1 for them.  Do not check for +Inf in case not
9627         reachable for +Inf.
9628         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
9629         spurious underflow.
9630         * sysdeps/i386/fpu/libm-test-ulps: Update.
9631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9633 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
9635         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9637 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
9639         [BZ #14157]
9640         [BZ #14331]
9641         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9642         could result in spurious underflow.  Scale down values above
9643         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9644         * math/s_csqrtf.c (__csqrtf): Likewise.
9645         * math/s_csqrtl.c (__csqrtl): Likewise.
9646         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
9647         spurious underflow.
9648         * sysdeps/i386/fpu/libm-test-ulps: Update.
9649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9651 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
9653         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9654         xopen-msg.sed.
9655         * catgets/xopen-msg.awk: New file.
9656         * catgets/xopen-msg.sed: Removed.
9658         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9659         po2text.sed.
9660         * intl/po2test.awk: New file.
9661         * intl/po2test.sed: Removed.
9663 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
9665         [BZ #14328]
9666         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9667         or multiply small sinh result by itself.
9668         * math/s_ctanf.c (__ctanf): Likewise.
9669         * math/s_ctanh.c (__ctanh): Likewise.
9670         * math/s_ctanhf.c (__ctanhf): Likewise.
9671         * math/s_ctanhl.c (__ctanhl): Likewise.
9672         * math/s_ctanl.c (__ctanl): Likewise.
9673         * math/libm-test.inc (ctan_test_tonearest): New function.
9674         (ctan_test_towardzero): Likewise.
9675         (ctan_test_downward): Likewise.
9676         (ctan_test_upward): Likewise.
9677         (ctanh_test_tonearest): Likewise.
9678         (ctanh_test_towardzero): Likewise.
9679         (ctanh_test_downward): Likewise.
9680         (ctanh_test_upward): Likewise.
9681         (main): Call these new functions.
9682         * sysdeps/i386/fpu/libm-test-ulps: Update.
9683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9685 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
9687         * .gitignore: Delete /ports entry.
9689 2012-07-03  Andreas Jaeger  <aj@suse.de>
9691         * po/bg.po: Update from translation team.
9692         * po/cs.po: Likewise.
9693         * po/de.po: Likewise.
9694         * po/hr.po: Likewise.
9695         * po/nl.pl: Likewise.
9696         * po/pl.po: Likewise.
9697         * po/vi.po: Likewise.
9699 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
9701         * Makeconfig [!+link] (+link-before-libc): New variable.
9702         [!+link] (+link-after-libc): Likewise.
9703         [!+link] (+link-tests): Likewise.
9704         [!+link] (+link): Define in terms of $(+link-before-libc) and
9705         $(+link-after-libc).
9706         [!+link-static] (+link-static-before-libc): New variable.
9707         [!+link-static] (+link-static-after-libc): Likewise.
9708         [!+link-static] (+link-static-tests): Likewise.
9709         [!+link-static] (+link-static): Define in terms of
9710         $(+link-static-before-libc) and $(+link-static-after-libc).
9711         [build-shared] (link-libc-before-gnulib): New variable.
9712         [build-shared] (link-libc-tests): Likewise.
9713         [build-shared] (link-libc): Define in terms of
9714         $(link-libc-before-gnulib).
9715         [!build-shared] (link-libc-tests): New variable.
9716         (link-libc-static-tests): New variable.
9717         [!gnulib] (gnulib-arch): New variable.
9718         [!gnulib] (gnulib-tests): Likewise.
9719         [!gnulib] (static-gnulib-arch): Likewise.
9720         [!gnulib] (static-gnulib-tests): Likewise.
9721         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
9722         Define with "=" instead of ":=".
9723         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
9724         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
9725         * Rules (binaries-all-notests): New variable.
9726         (binaries-all-tests): Likewise.
9727         (binaries-static-notests): Likewise.
9728         (binaries-static-tests): Likewise.
9729         (binaries-all): Define using $(binaries-all-notests) and
9730         $(binaries-all-tests).
9731         (binaries-static): Define using $(binaries-static-notests) and
9732         $(binaries-static-tests).
9733         (binaries-shared-tests): New variable.
9734         (binaries-shared-notests): Likewise.
9735         (binaries-shared): Remove variable.
9736         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9737         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9738         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9739         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9740         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9741         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9742         * elf/Makefile (sln-modules): New variable.
9743         (extra-objs): Add $(sln-modules:=.o).
9744         (ldconfig-modules): Add static-stubs.
9745         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9746         * elf/static-stubs.c: New file.
9748         [BZ #14283]
9749         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9750         by 7 not 8 to examine high bit of fractional part.  Use volatile
9751         variables when splitting into final array of floats if
9752         __FLT_EVAL_METHOD__ != 0.
9753         * math/libm-test.inc (cos_test): Add another test.
9754         (sin_test): Likewise.
9755         * sysdeps/i386/fpu/libm-test-ulps: Update.
9757         [BZ #14273]
9758         * math/libm-test.inc (cosh_test): Add more tests.
9760         * version.h (RELEASE): Set to "development".
9761         (VERSION): Set to "2.16.90".
9763 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
9765         * NEWS: Update copyright. Remove last-updated date.
9766         Mention math library bug fixes and timezone data changes.
9767         * README: Mention GNU/Hurd, x32, and HPPA support status.
9769 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
9771         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9773 2012-06-27  Andreas Jaeger  <aj@suse.de>
9775         * manual/contrib.texi (Contributors): Add Samuel Thibault.
9777 2012-06-25  Andreas Jaeger  <aj@suse.de>
9779         * sysdeps/s390/fpu/libm-test-ulps: Update.
9781 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
9782             Thomas Schwinge  <thomas@codesourcery.com>
9784         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9785         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9786         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9787         fanotify_mark.
9789 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
9791         * sysdeps/mach/start.c: Remove file.
9792         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9793         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9794         * sysdeps/sh/init-first.c: Likewise.
9796         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9797         registers for frame unwinding purposes, add CFI directives.
9798         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9799         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9800         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9801         Likewise.
9803         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9804         __fortify_fail returning.
9805         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9807         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9808         sysdeps/sh/____longjmp_chk.S.
9809         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9810         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9811         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9812         (gen-as-const-headers): Append sigaltstack-offsets.sym.
9814         * sysdeps/sh/abort-instr.h: New file.
9815         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9816         process in case exit returns.
9818         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9819         initialize the GOT register before use.
9821         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9822         calculation of ARGC > 4.
9824         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9825         meaningful names to some local labels.
9827 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9828             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9830         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9831         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9832         (__arch_compare_and_exchange_val_16_acq): Likewise.
9833         (__arch_compare_and_exchange_val_32_acq): Likewise.
9834         (atomic_exchange_and_add): Fix gUSA sequence.
9835         (atomic_add): Likewise.
9836         (atomic_add_negative): Likewise.
9837         (atomic_add_zero): Likewise.
9838         (atomic_bit_test_set): Likewise.
9840 2012-06-22  Andreas Schwab  <schwab@redhat.com>
9842         [BZ #13579]
9843         * include/link.h (struct link_map): Add l_free_initfini.
9844         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9845         l_initfini.
9846         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9847         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9848         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9849         set.
9851 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
9853         * configure.in: Use AC_LANG_SOURCE.
9854         * configure: Regenerate.
9856 2012-06-22  Roland McGrath  <roland@hack.frob.com>
9858         * configure.in (libc_cv_localstatedir): New substituted variable.
9859         * configure: Regenerated.
9860         * config.make.in (localstatedir): New variable, substituted from
9861         libc_cv_localstatedir.
9862         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9863         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9864         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9865         * sysdeps/gnu/configure: Regenerated.
9867 2012-06-21  Jeff Law  <law@redhat.com>
9869         [BZ #14277]
9870         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9871         free.  Simplify list management for _LIBC case.
9873 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
9875         [BZ #14273]
9876         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9877         Clear sign bit of 64-bit integer value before comparing against
9878         overflow value.
9880         * sysdeps/mach/configure: Regenerated.
9882 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
9884         [BZ #14278]
9885         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9887 2012-06-21  Jeff Law  <law@redhat.com>
9889         [BZ #13882]
9890         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
9891         uint16_t for elements in the "seen" array to avoid char overflows.
9892         * elf/dl-fini.c (_dl_sort_fini): Likewise.
9893         * elf/dl-open.c (dl_open_worker): Likewise.
9895 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
9897         * scripts/list-sources.sh: Scan PORTS for translations.
9898         * po/libc.pot: Regenerated.
9900 2012-06-21  Andreas Jaeger  <aj@suse.de>
9902         [BZ #12194]
9903         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9904         warning.
9905         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9906         * bits/byteswap-16.h (__bswap_16): Likewise.
9907         * bits/byteswap.h (__bswap_constant_16): Likewise.
9909 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
9911         [BZ #14117]
9912         * sysdeps/i386/fpu_control.h: Removed.
9913         * sysdeps/x86_64/fpu_control.h: Moved to ...
9914         * sysdeps/x86/fpu_control.h: Here.
9916         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9917         (_FPU_SETCW): Likewise.
9919 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
9921         [BZ #14117]
9922         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9923         * sysdeps/x86/fpu/bits/mathinline.h: This.
9924         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9926         [BZ #14050]
9927         [BZ #14117]
9928         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9929         functions if __x86_64__ is defined.
9931 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
9933         * string/endian.h: Add !__ASSEMBLER__ condition for including
9934         conversion interfaces.
9936 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
9938         [BZ #14241]
9939         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9940         of ABS(x) in calculating zero to negative powers other than odd
9941         integers.
9942         * math/libm-test.inc (pow_test): Add more tests.
9944 2012-06-15  Andreas Jaeger  <aj@suse.de>
9946         * manual/contrib.texi (Contributors): Update entry of Liubov
9947         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9948         Machado Filho.
9950 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
9952         * string/string.h: Add __wur to GNU version of strerror_r.
9954 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
9956         [BZ #14229]
9957         * string/Makefile (tests): Add tst-strtok_r.
9958         * string/tst-strtok_r.c: New file.
9959         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9960         RAX_LP/RDX_LP on SAVE_PTR.
9962 2012-06-14  Roland McGrath  <roland@hack.frob.com>
9964         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9966 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
9968         * libm_test.inc (csqrt_test): Allow more spurious underflow
9969         exceptions.
9970         (j0_test): Likewise.
9971         (j1_test): Likewise.
9972         (y0_test): Likewise.
9973         (y1_test): Likewise.
9975 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
9977         * po/Makefile (libc.pot): Use UTF-8 charset.
9979 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
9981         [BZ #14210]
9982         Suppress sign-conversion warning from FD_SET.
9983         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9984         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9985         not unsigned long int.
9986         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9988 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
9990         [BZ #14050]
9991         [BZ #14117]
9992         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9993         __extern_always_inline instead of __extern_inline.
9994         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9995         (__signbit): Likewise.
9996         (__signbitl): Support C++ namespace.
9997         (lrintf): New inline function.
9998         (lrint): Likewise.
9999         (llrintf): Likewise.
10000         (llrint): Likewise.
10001         (fmaxf): Likewise.
10002         (fmax): Likewise.
10003         (fminf): Likewise.
10004         (fmin): Likewise.
10005         (rint): Likewise.
10006         (rintf): Likewise.
10007         (ceil): Likewise.
10008         (ceilf): Likewise.
10009         (floor): Likewise.
10010         (floorf): Likewise.
10011         (nearbyint): Likewise.
10012         (nearbyintf): Likewise.
10014 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
10016         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10017         non-default versions.
10019 2012-06-11  Roland McGrath  <roland@hack.frob.com>
10021         [BZ #14218]
10022         * manual/argp.texi (Argp): Reword argp_parse description slightly.
10024 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
10026         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10027         (FE_UPWARD, FE_DOWNWARD): Don't define.
10028         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10029         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10031         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10032         reading it.
10033         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10034         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10036 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10038         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10039         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10040         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10041         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10043 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
10045         [BZ #14117]
10046         * sysdeps/i386/fpu/bits/fenv.h: Removed.
10047         * sysdeps/i386/fpu/Implies: New file.
10048         * sysdeps/x86_64/fpu/Implies: Likewise.
10049         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10050         * sysdeps/x86/fpu/bits/fenv.h: This.
10052         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10053         __SSE_MATH__.
10055 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10057         [BZ #14134]
10058         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10059         character 0xffff that matches the last element of the
10060         conversion table.
10062 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10064         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10065         fmodl commit.
10067 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10069         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10070         values higher than 25.6283.
10072 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10074         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10075         subnormal exponent extraction and add some __builtin_expect.
10076         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10077         Fix for subnormal mantissa calculation.
10079 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
10081         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10082         cpu2 is -1 and errno is not ENOSYS.
10084 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
10086         [BZ #14117]
10087         * sysdeps/i386/i486/bits/string.h: Renamed to ...
10088         * sysdeps/x86/bits/string.h: This.
10089         * sysdeps/x86_64/bits/string.h: Removed.
10091         * sysdeps/i386/i486/bits/string.h: Define inline functions only
10092         if not compiling for x86-64, but compiling for >= i486.
10094         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10095         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10097         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10098         New macro from Linux kernel 3.4.0.
10099         (FP_XSTATE_MAGIC2): Likewise.
10100         (FP_XSTATE_MAGIC2_SIZE): Likewise.
10101         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10102         (struct _fpx_sw_bytes): New struct.
10103         (struct _xsave_hdr): Likewise.
10104         (struct _ymmh_state): Likewise.
10105         (struct _xstate): Likewise.
10107         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10108         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10109         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10110         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10111         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10112         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10114         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10115         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10116         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10117         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10118         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10119         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10121 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10123         [BZ #13743]
10124         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10125         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10126         (sysdep_headers): Include sys/platform/ppc.h.
10127         * sysdeps/powerpc/test-gettimebase.c: Test for
10128         __ppc_get_timebase() to catch future ISA opcode/insn changes.
10129         * manual/Makefile (appendices): Include platform.texi.
10130         * manual/contrib.texi (Contributors): Update @node pointers.
10131         * manual/maint.texi (Maintenance): Likewise.
10132         (Platform): New node.
10133         * manual/platform.texi: New file.  Document the new features.
10135 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10136             Jakub Jelinek  <jakub@redhat.com>
10138         [BZ #14188]
10139         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10140         where __builtin_expect is unavailable.
10142 2012-06-03  David S. Miller  <davem@davemloft.net>
10144         * stdlib/longlong.h: Updated from GCC.
10146 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
10148         [BZ #14042]
10149         * sysdeps/powerpc/powerpc32/mcount.c: New file.
10150         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10151         __mcount_internal.
10152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10153         (GLIBC_2.16): Likewise.
10155 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10157         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10159 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
10161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10162         (default-abi): New variable.
10163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10164         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10165         variable.
10166         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10167         Likewise.
10168         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10169         Likewise.
10170         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10171         Likewise.
10173         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10174         definition.  Document in comment.
10176 2012-06-01  David S. Miller  <davem@davemloft.net>
10178         * stdlib/longlong.h: Updated from GCC.
10180 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10182         [BZ #14117]
10183         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10184         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10185         sys/debugreg.h sys/io.h here.
10186         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10187         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10188         sys/io.h.
10189         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10190         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10191         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10192         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10193         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10194         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10196         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10197         Define only if __x86_64__ is defined.
10199 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
10201         [BZ #14048]
10202         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10203         Use int64_t for variable i.
10204         * math/libm-test.inc (fmod_test): Add more tests.
10206         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10207         z computation is not scheduled after fetestexcept.
10208         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10209         Use math_force_eval instead of asm to ensure calculation scheduled
10210         before exception test.
10211         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10212         Ensure a1 + u.d computation is not scheduled after fetestexcept.
10214 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
10216         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10217         computation is not scheduled after fetestexcept.
10219 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10221         [BZ #14117]
10222         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10223         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10225 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10227         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10228         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10230 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
10232         [BZ #14117]
10233         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10234         <bits/wordsize.h>.
10235         (__WCHAR_MIN): Support __WORDSIZE == 64.
10236         (__WCHAR_MAX): Likewise.
10238         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10239         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10241         [BZ #14183]
10242         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10243         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10245         [BZ #14117]
10246         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10247         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10249         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10250         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10252         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10253         Defined to 1 if __x86_64__ isn't defined.
10254         (_STAT_VER_LINUX_OLD): New.
10255         (st_atime): Remove duplicate.
10256         (st_mtime): Likewise.
10257         (st_ctime): Likewise.
10259 2012-05-31  David S. Miller  <davem@davemloft.net>
10261         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10262         entries.
10264 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
10266         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10267         gen-libm-test.pl.
10269         [BZ #14132]
10270         * elf/dl-reloc.c: Include <_itoa.h>.
10271         (_dl_reloc_bad_type): Remove use of INTUSE.
10272         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10273         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10274         * stdio-common/psiginfo.c (psiginfo): Likewise.
10275         * stdio-common/psignal.c (psignal): Likewise.
10276         * string/strsignal.c (strsignal): Likewise.
10277         * include/signal.h (_sys_siglist): Declare hidden proto.
10278         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
10279         INTVARDEF with libc_hidden_data_def.
10280         * stdio-common/itoa-udigits.c: Likewise.
10281         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10282         (_itoa_lower_digits_internal): Remove declaration.
10283         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10284         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10285         (_sys_sigabbrev_internal): Remove aliases.
10286         (_sys_siglist): Define hidden alias.
10288 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
10290         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10291         bits/sysctl.h.
10293 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
10295         [BZ #14117]
10296         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10297         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10299         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10300         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10301         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10302         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10303         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10304         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10306         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10307         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10308         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10310         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10311         with __addr.
10312         (insw): Likewise.
10313         (insl): Likewise.
10314         (outsb): Likewise.
10315         (outsw): Likewise.
10316         (outsl): Likewise.
10318         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10319         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10320         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10322         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10323         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10324         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10325         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10326         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10327         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10329         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10330         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10332         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10333         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10335         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10336         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10337         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10339         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10340         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10341         to ...
10342         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10344         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10345         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10346         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10348         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10349         for x86-64.
10350         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10352 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
10354         * math/math.h (M_El): Use two more decimal places.
10355         (M_LOG2El): Likewise.
10356         (M_LOG10El): Likewise.
10357         (M_LN2l): Likewise.
10358         (M_LN10l): Likewise.
10359         (M_PIl): Likewise.
10360         (M_PI_2l): Likewise.
10361         (M_PI_4l): Likewise.
10362         (M_1_PIl): Likewise.
10363         (M_2_PIl): Likewise.
10364         (M_2_SQRTPIl): Likewise.
10365         (M_SQRT2l): Likewise.
10366         (M_SQRT1_2l): Likewise.
10368 2012-05-31  David S. Miller  <davem@davemloft.net>
10370         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10371         values between float registers.
10372         * sysdeps/sparc/sparc64/memset.S: Likewise.
10373         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10375 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
10377         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10378         -D_FORTIFY_SOURCE=1.
10379         (CPPFLAGS-tst-longjmp_chk.c): Define.
10380         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10381         (CPPFLAGS-tst-longjmp_chk2.c): Define.
10382         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10383         CFLAGS-tst-wchar-h.c.
10385 2012-05-31  Marek Polacek  <polacek@redhat.com>
10387         [BZ #14132]
10388         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10389         __endmntent_internal): Remove declaration.
10390         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10391         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10392         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10394 2012-05-30  David S. Miller  <davem@davemloft.net>
10396         * sysdeps/sparc/sparc32/soft-fp/q_util.c
10397         (___Q_simulate_exceptions): Use real FP ops rather than writing
10398         into the %fsr.
10399         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10400         Likewise.
10402 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10404         [BZ #14117]
10405         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10406         * sysdeps/x86/bits/xtitypes.h: This.
10408         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10409         * sysdeps/x86/bits/wordsize.h: This.
10411         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10412         * sysdeps/x86/bits/huge_vall.h: This.
10414         * sysdeps/i386/bits/select.h: Removed.
10415         * sysdeps/x86_64/bits/select.h: Renamed to ...
10416         * sysdeps/x86/bits/select.h: This.
10418         * sysdeps/i386/bits/setjmp.h: Removed.
10419         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10420         * sysdeps/x86/bits/setjmp.h: This.
10422         * sysdeps/i386/bits/mathdef.h: Removed.
10423         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10424         * sysdeps/x86/bits/mathdef.h: This.
10426 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
10428         [BZ #14132]
10429         * include/sys/socket.h (__connect_internal)
10430         (__libc_sa_len_internal): Remove declaration.
10431         (__connect, __libc_sa_len): Declare hidden_proto.
10432         (SA_LEN): Remove use of INTUSE.
10433         * socket/connect.c: Add libc_hidden_def.
10434         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10435         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10436         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10437         alias.
10438         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10439         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10440         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10441         of adding _internal alias.
10443 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10445         [BZ #14117]
10446         * sysdeps/i386/bits/link.h: Removed.
10447         * sysdeps/i386/bits/linkmap.h: Likewise.
10448         * sysdeps/x86_64/bits/link.h: Renamed to ...
10449         * sysdeps/x86/bits/link.h: This.
10450         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10451         * sysdeps/x86/bits/linkmap.h: This.
10453         * sysdeps/i386/bits/endian.h: Removed.
10454         * sysdeps/x86_64/bits/endian.h: Renamed to ...
10455         * sysdeps/x86/bits/endian.h: This.
10457         * sysdeps/i386/bits/byteswap.h: Removed.
10458         * sysdeps/i386/bits/byteswap-16.h: Likewise.
10459         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10460         * sysdeps/x86/bits/byteswap.h: This.
10461         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10462         * sysdeps/x86/bits/byteswap-16.h: This.
10463         * sysdeps/i386/Implies: Add x86.
10464         * sysdeps/x86_64/Implies: Likewise.
10466 2012-05-30  David S. Miller  <davem@davemloft.net>
10468         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10469         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10470         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10471         (FP_TRAPPING_EXCEPTIONS): Define.
10472         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10473         (FP_TRAPPING_EXCEPTIONS): Define.
10474         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10475         subnormals only when inexact has been signalled or underflow
10476         exceptions are enabled.
10477         (_FP_PACK_CANONICAL): Likewise.
10479 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10481         [BZ #14183]
10482         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10483         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10485 2012-05-30  Richard Henderson  <rth@twiddle.net>
10487         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10488         with #ifndef NOT_IN_libc.
10490         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
10491         marked to avoid plt entry.
10493 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10495         [BZ #14112]
10496         * Makeconfig (default-abi): New macro.
10497         (abi-includes): Likewise.
10498         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
10499         $(abi-$(default-abi)-lib-soname) for soname if defined.
10500         ($(common-objpfx)gnu/lib-names.stmp): Generate from
10501         abi-variants.
10502         * Makefile (installed-stubs): Likewise.
10503         * include/stubs-biarch.h: Removed.
10504         * scripts/lib-names.awk: Only handle one library at a time.
10505         * scripts/soversions.awk: Remove WORDSIZE support.
10506         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10507         entries.
10508         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10509         Removed.
10510         (syscall-list-default-condition): Likewise.
10511         (syscall-list-default-condition): Likewise.
10512         (syscall-list-includes): Likewise.
10513         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10514         syscall-list-* with abi-*.  Handle undefined abi-variants.
10515         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10516         * sysdeps/unix/sysv/linux/i386/Implies: New file.
10517         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10518         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10519         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10520         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10521         Removed.
10522         (syscall-list-32-options): Likewise.
10523         (syscall-list-32-condition): Likewise.
10524         (syscall-list-64-options): Likewise.
10525         (syscall-list-64-condition): Likewise.
10526         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10527         macro.
10528         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10529         Renamed to ...
10530         (abi-*): This.
10531         (abi-64-ld-soname): New macro.
10532         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10533         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10534         Renamed to ...
10535         (abi-*): This.
10536         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10537         * sysdeps/x86_64/x32/shlib-versions: Likewise.
10539 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
10541         * sysdeps/unix/sysv/linux/kernel-features.h
10542         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10543         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10544         include <kernel-features.h>.
10545         [!__NR_ftruncate64]: Remove conditional code.
10546         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10547         [__NR_ftruncate64]: Make code unconditional.
10548         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10549         * sysdeps/unix/sysv/linux/truncate64.c: Do not
10550         include <kernel-features.h>.
10551         [!__NR_ftruncate64]: Remove conditional code.
10552         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10553         [__NR_ftruncate64]: Make code unconditional.
10554         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10556         include <kernel-features.h>.
10557         [!__NR_ftruncate64]: Remove conditional code.
10558         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10559         [__NR_ftruncate64]: Make code unconditional.
10560         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10562         include <kernel-features.h>.
10563         [!__NR_ftruncate64]: Remove conditional code.
10564         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10565         [__NR_ftruncate64]: Make code unconditional.
10566         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10568         * configure.in (libc_cv_fpie): Weaken to a compile test using
10569         LIBC_TRY_CC_OPTION.
10570         * configure: Regenerated.
10572 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10578         Refreshed.
10579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10585         Refreshed.
10587 2012-05-27  David S. Miller  <davem@davemloft.net>
10589         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10590         (___Q_zero): New.
10591         (__Q_simulate_exceptions): Return void.  Change to simulate
10592         exceptions by writing into the %fsr.
10593         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10594         (__Qp_handle_exceptions): Likewise.
10595         (numbers): Delete.
10596         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10597         __Qp_handle_exceptions.
10598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10599         __Qp_handle_exceptions.
10600         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10601         as unused and give dummy FP_RND_NEAREST initializer.
10602         (FP_INHIBIT_RESULTS): Define.
10603         (___Q_simulate_exceptions): Update declaration.
10604         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10605         formatting.
10606         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10607         as unused and give dummy FP_RND_NEAREST initializer.
10608         (__Qp_handle_exceptions): Update declaration.
10609         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10610         formatting.
10612 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
10614         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10615         the temporary FPU control word.
10616         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10617         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10618         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10619         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10620         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10621         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10622         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10623         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10624         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10625         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10626         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10628 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10630         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10631         fields.
10633 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
10635         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10636         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10637         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10638         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10639         Likewise.
10640         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10641         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10642         Likewise.
10644 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
10646         * po/h.po: Update from translation team.
10648 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
10650         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10652         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10653         handling of denormals.
10654         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10655         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10656         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10657         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10658         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10659         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10660         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10661         Likewise.
10663 2012-05-26  Marek Polacek  <polacek@redhat.com>
10665         [BZ #14152]
10666         * math/libm-test.inc (fma_test): Don't always expect underflow
10667         exception.
10669 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10671         [BZ #12416]
10672         * elf/tst-execstack.c: Include stackinfo.h.
10673         (do_test): Adjust test case to ensure that pthread_getattr_np
10674         behaviour remains the same after marking stack executable.
10676 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
10678         * sysdeps/unix/sysv/linux/kernel-features.h
10679         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10680         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10681         kernel-features.h.
10682         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10683         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10684         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10685         kernel-features.h.
10686         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10687         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10689 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
10691         * configure.in: Define the default includes to being none.
10692         * configure: Regenerated.
10694 2012-05-25  Roland McGrath  <roland@hack.frob.com>
10696         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10697         * sysdeps/x86_64/setjmp.S: Likewise.
10698         * sysdeps/i386/bsd-setjmp.S: Likewise.
10699         * sysdeps/i386/bsd-_setjmp.S: Likewise.
10700         * sysdeps/i386/setjmp.S: Likewise.
10701         * sysdeps/i386/__longjmp.S: Likewise.
10702         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10703         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10705         * include/stap-probe.h: New file.
10706         * configure.in: Handle --enable-systemtap.
10707         * configure: Regenerated.
10708         * config.h.in (USE_STAP_PROBE): New #undef.
10709         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10710         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10711         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10713 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
10715         [BZ #13717]
10716         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10717         to 2.4.0 where earlier.
10718         * sysdeps/unix/sysv/linux/configure: Regenerated.
10719         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10720         <kernel-features.h>.
10721         [__ASSUME_32BITUIDS]: Make code unconditional.
10722         [!__ASSUME_32BITUIDS]: Remove conditional code.
10723         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10724         <kernel-features.h>.
10725         [__ASSUME_32BITUIDS]: Make code unconditional.
10726         [!__ASSUME_32BITUIDS]: Remove conditional code.
10727         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10728         [__ASSUME_32BITUIDS]: Make code unconditional.
10729         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10730         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10731         <kernel-features.h>.
10732         [__ASSUME_32BITUIDS]: Make code unconditional.
10733         [!__ASSUME_32BITUIDS]: Remove conditional code.
10734         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10735         <kernel-features.h>.
10736         [__ASSUME_32BITUIDS]: Make code unconditional.
10737         [!__ASSUME_32BITUIDS]: Remove conditional code.
10738         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10739         <kernel-features.h>.
10740         [__ASSUME_32BITUIDS]: Make code unconditional.
10741         [!__ASSUME_32BITUIDS]: Remove conditional code.
10742         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10743         <kernel-features.h>.
10744         [__ASSUME_32BITUIDS]: Make code unconditional.
10745         [!__ASSUME_32BITUIDS]: Remove conditional code.
10746         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10747         <kernel-features.h>.
10748         [__ASSUME_32BITUIDS]: Make code unconditional.
10749         [!__ASSUME_32BITUIDS]: Remove conditional code.
10750         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10751         <kernel-features.h>.
10752         [__ASSUME_32BITUIDS]: Make code unconditional.
10753         [!__ASSUME_32BITUIDS]: Remove conditional code.
10754         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10755         <kernel-features.h>.
10756         [__ASSUME_32BITUIDS]: Make code unconditional.
10757         [!__ASSUME_32BITUIDS]: Remove conditional code.
10758         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10759         <kernel-features.h>.
10760         [__ASSUME_32BITUIDS]: Make code unconditional.
10761         [!__ASSUME_32BITUIDS]: Remove conditional code.
10762         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10763         <kernel-features.h>.
10764         [__ASSUME_32BITUIDS]: Make code unconditional.
10765         [!__ASSUME_32BITUIDS]: Remove conditional code.
10766         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10767         <kernel-features.h>.
10768         [__ASSUME_32BITUIDS]: Make code unconditional.
10769         [!__ASSUME_32BITUIDS]: Remove conditional code.
10770         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10771         <kernel-features.h>.
10772         [__NR_setresgid] (__setresgid): Do not declare.
10773         [__ASSUME_32BITUIDS]: Make code unconditional.
10774         [!__ASSUME_32BITUIDS]: Remove conditional code.
10775         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10776         <kernel-features.h>.
10777         [__NR_setresuid] (__setresuid): Do not declare.
10778         [__ASSUME_32BITUIDS]: Make code unconditional.
10779         [!__ASSUME_32BITUIDS]: Remove conditional code.
10780         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10781         <kernel-features.h>.
10782         [__ASSUME_32BITUIDS]: Make code unconditional.
10783         [!__ASSUME_32BITUIDS]: Remove conditional code.
10784         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10785         <kernel-features.h>.
10786         [__ASSUME_32BITUIDS]: Make code unconditional.
10787         [!__ASSUME_32BITUIDS]: Remove conditional code.
10788         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10789         <kernel-features.h>.
10790         [__ASSUME_32BITUIDS]: Make code unconditional.
10791         [!__ASSUME_32BITUIDS]: Remove conditional code.
10792         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10793         <kernel-features.h>.
10794         [__ASSUME_32BITUIDS]: Make code unconditional.
10795         [!__ASSUME_32BITUIDS]: Remove conditional code.
10796         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10797         <kernel-features.h>.
10798         [__ASSUME_32BITUIDS]: Make code unconditional.
10799         [!__ASSUME_32BITUIDS]: Remove conditional code.
10800         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10801         <kernel-features.h>.
10802         [__ASSUME_32BITUIDS]: Make code unconditional.
10803         [!__ASSUME_32BITUIDS]: Remove conditional code.
10804         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10805         <kernel-features.h>.
10806         [__ASSUME_32BITUIDS]: Make code unconditional.
10807         [!__ASSUME_32BITUIDS]: Remove conditional code.
10808         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10809         <kernel-features.h>.
10810         [__ASSUME_32BITUIDS]: Make code unconditional.
10811         [!__ASSUME_32BITUIDS]: Remove conditional code.
10812         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10813         <kernel-features.h>.
10814         [__ASSUME_32BITUIDS]: Make code unconditional.
10815         [!__ASSUME_32BITUIDS]: Remove conditional code.
10816         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10817         <kernel-features.h>.
10818         [__ASSUME_32BITUIDS]: Make code unconditional.
10819         [!__ASSUME_32BITUIDS]: Remove conditional code.
10820         * sysdeps/unix/sysv/linux/kernel-features.h
10821         (__ASSUME_SETRESUID_SYSCALL): Remove.
10822         (__ASSUME_SETRESGID_SYSCALL): Likewise.
10823         (__ASSUME_32BITUIDS): Likewise.
10824         (__ASSUME_LDT_WORKS): Likewise.
10825         (__ASSUME_O_DIRECTORY): Likewise.
10826         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10827         architecture but not kernel version.
10828         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10829         (__ASSUME_MMAP2_SYSCALL): Likewise.
10830         (__ASSUME_STAT64_SYSCALL): Likewise.
10831         (__ASSUME_IPC64): Likewise.
10832         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10833         <kernel-features.h>.
10834         [__ASSUME_32BITUIDS]: Make code unconditional.
10835         [!__ASSUME_32BITUIDS]: Remove conditional code.
10836         * sysdeps/unix/sysv/linux/opendir.c: Do not include
10837         <kernel-features.h>.
10838         [__ASSUME_O_DIRECTORY]: Make code unconditional.
10839         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10840         132096]: Remove conditional code.
10841         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10842         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10843         <kernel-features.h>.
10844         [__ASSUME_32BITUIDS]: Make code unconditional.
10845         [!__ASSUME_32BITUIDS]: Remove conditional code.
10846         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10847         <kernel-features.h>.
10848         [__ASSUME_32BITUIDS]: Make code unconditional.
10849         [!__ASSUME_32BITUIDS]: Remove conditional code.
10850         * sysdeps/unix/sysv/linux/setegid.c: Do not include
10851         <kernel-features.h>.
10852         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10853         unconditional.
10854         (__setresgid): Do not declare.
10855         [__ASSUME_32BITUIDS]: Make code unconditional.
10856         [!__ASSUME_32BITUIDS]: Remove conditional code.
10857         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10858         <kernel-features.h>.
10859         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10860         unconditional.
10861         (__setresuid): Do not declare.
10862         [__ASSUME_32BITUIDS]: Make code unconditional.
10863         [!__ASSUME_32BITUIDS]: Remove conditional code.
10864         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10865         <kernel-features.h>.
10866         [__ASSUME_32BITUIDS]: Make code unconditional.
10867         [!__ASSUME_32BITUIDS]: Remove conditional code.
10868         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10869         <kernel-features.h>.
10870         [__ASSUME_32BITUIDS]: Make code unconditional.
10871         [!__ASSUME_32BITUIDS]: Remove conditional code.
10873 2012-05-25  Richard Henderson  <rth@twiddle.net>
10875         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10876         dl_hwcap to ifunc resolver.
10877         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10878         elf_ifunc_invoke.
10879         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10880         dl_hwcap to ifunc resolver.
10881         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10883 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
10885         [BZ #14153]
10886         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10887         for |x| <= 2**-26, not 2**-57.
10888         * math/libm-test.inc (acos_test): Do not allow spurious underflow
10889         exception.
10891 2012-05-24  Jeff Law  <law@redhat.com>
10893         * stdio-common/Makefile (tests): Add bug25.
10894         * stdio-common/bug25.c: New test.
10896 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
10898         [BZ #13576]
10899         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10900         multiple of MALLOC_ALIGNMENT in size.
10901         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10903 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
10905         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10906         Require >= 256.
10907         (FILENAME_MAX): Use macro-int-constant.
10908         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
10909         (_IOFBF): Use macro-int-constant.
10910         (_IOLBF): Likewise.
10911         (_IONBF): Likewise.
10912         (SEEK_CUR): Likewise.
10913         (SEEK_END): Likewise.
10914         (SEEK_SET): Likewise.
10915         (TMP_MAX): Likewise.
10916         (EOF): Use macro-int-constant.  Require < 0.
10917         (NULL): Use macro-constant.  Require == 0.
10918         (stdin): Require type to be FILE *.
10919         (stdout): Likewise.
10920         (stderr): Likewise.
10921         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10922         macro-int-constant.
10923         (EXIT_SUCCESS): Likewise.
10924         (NULL): Use macro-constant.  Require == 0.
10925         (RAND_MAX): Use macro-int-constant.
10926         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10927         [C99-based standards] (strtof): Require function.
10928         [C99-based standards] (strtold): Likewise.
10929         [C99-based standards] (strtoll): Likewise.
10930         [C99-based standards] (strtoull): Likewise.
10931         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10932         [ISO || ISO99 || ISO11] (limits.h): Likewise.
10933         [ISO || ISO99 || ISO11] (math.h): Likewise.
10934         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10935         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10936         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10938 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
10940         [BZ #14132]
10941         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10942         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10943         * intl/dgettext.c (DCGETTEXT): Likewise.
10944         * intl/gettext.c (DCGETTEXT): Likewise.
10945         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10946         * posix/regex_internal.h (gettext): Likewise.
10947         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10948         Remove declaration.
10949         * include/argz.h (__argz_count_internal)
10950         (__argz_stringify_internal): Remove declaration.
10951         (__argz_count, __argz_stringify): Declare hidden proto.
10952         * intl/dcgettext.c: Remove use of INTDEF.
10953         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10954         * string/argz-stringify.c: Likewise.
10955         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10956         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10957         Declare hidden proto.
10958         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10959         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10960         Declare hidden proto.
10961         * include/stdio.h (__asprintf_internal): Don't declare.
10962         (__asprintf): Don't define as macro.  Declare hidden proto.
10963         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10964         (__fsetlocking): Declare hidden proto.
10965         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10966         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10967         hidden proto.
10968         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10969         (_IO_setlinebuf): Remove use of INTUSE.
10970         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10971         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10972         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10973         Remove declaration.
10974         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10975         (_IO_do_flush): Remove use of INTUSE.
10976         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10977         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10978         (_IO_adjust_column, _IO_least_wmarker)
10979         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10980         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10981         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10982         (_IO_default_doallocate, _IO_wdefault_doallocate)
10983         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10984         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10985         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10986         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10987         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10988         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10989         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10990         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10991         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10992         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10993         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10994         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10995         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10996         proto.
10997         (_IO_flush_all_internal, _IO_adjust_column_internal)
10998         (_IO_default_uflow_internal, _IO_default_finish_internal)
10999         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11000         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11001         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11002         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11003         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11004         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11005         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11006         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11007         (_IO_file_close_internal, _IO_file_close_it_internal)
11008         (_IO_file_underflow_internal, _IO_file_overflow_internal)
11009         (_IO_file_init_internal, _IO_file_attach_internal)
11010         (_IO_file_fopen_internal, _IO_file_read_internal)
11011         (_IO_file_sync_internal, _IO_file_seek_internal)
11012         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11013         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11014         (_IO_str_underflow_internal, _IO_str_overflow_internal)
11015         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11016         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11017         (_IO_list_all_internal, _IO_link_in_internal)
11018         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11019         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11020         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11021         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11022         (_IO_do_write_internal, _IO_padn_internal)
11023         (_IO_getline_info_internal, _IO_getline_internal)
11024         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11025         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11026         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11027         (_IO_vfscanf_internal, _IO_vfprintf_internal)
11028         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11029         (_IO_init_internal, _IO_un_link_internal): Don't declare.
11030         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11031         with libc_hidden_ver, remove use of INTUSE.
11032         * libio/genops.c: Likewise.
11033         * libio/freopen.c: Likewise.
11034         * libio/freopen64.c: Likewise.
11035         * libio/iofclose.c: Likewise.
11036         * libio/iofdopen.c: Likewise.
11037         * libio/iofflush.c: Likewise.
11038         * libio/iofflush_u.c: Likewise.
11039         * libio/iofgets.c: Likewise.
11040         * libio/iofgets_u.c: Likewise.
11041         * libio/iofopen.c: Likewise.
11042         * libio/iofopncook.c: Likewise.
11043         * libio/iofread.c: Likewise.
11044         * libio/iofread_u.c: Likewise.
11045         * libio/ioftell.c: Likewise.
11046         * libio/iofwrite.c: Likewise.
11047         * libio/iogetline.c: Likewise.
11048         * libio/iogets.c: Likewise.
11049         * libio/iogetwline.c: Likewise.
11050         * libio/iopadn.c: Likewise.
11051         * libio/iopopen.c: Likewise.
11052         * libio/ioseekoff.c: Likewise.
11053         * libio/ioseekpos.c: Likewise.
11054         * libio/iosetbuffer.c: Likewise.
11055         * libio/iosetvbuf.c: Likewise.
11056         * libio/ioungetc.c: Likewise.
11057         * libio/ioungetwc.c: Likewise.
11058         * libio/iovdprintf.c: Likewise.
11059         * libio/iovsprintf.c: Likewise.
11060         * libio/iovsscanf.c: Likewise.
11061         * libio/memstream.c: Likewise.
11062         * libio/obprintf.c: Likewise.
11063         * libio/oldfileops.c: Likewise.
11064         * libio/oldiofclose.c: Likewise.
11065         * libio/oldiofdopen.c: Likewise.
11066         * libio/oldiofopen.c: Likewise.
11067         * libio/oldiopopen.c: Likewise.
11068         * libio/oldstdfiles.c: Likewise.
11069         * libio/putc.c: Likewise.
11070         * libio/setbuf.c: Likewise.
11071         * libio/setlinebuf.c: Likewise.
11072         * libio/stdfiles.c: Likewise.
11073         * libio/strops.c: Likewise.
11074         * libio/vasprintf.c: Likewise.
11075         * libio/vscanf.c: Likewise.
11076         * libio/vsnprintf.c: Likewise.
11077         * libio/vswprintf.c: Likewise.
11078         * libio/wfiledoalloc.c: Likewise.
11079         * libio/wfileops.c: Likewise.
11080         * libio/wgenops.c: Likewise.
11081         * libio/wmemstream.c: Likewise.
11082         * libio/wstrops.c: Likewise.
11083         * libio/__fpurge.c: Likewise.
11084         * libio/__fsetlocking.c: Likewise.
11085         * assert/assert.c: Likewise.
11086         * debug/fgets_chk.c: Likewise.
11087         * debug/fgets_u_chk.c: Likewise.
11088         * debug/fread_chk.c: Likewise.
11089         * debug/fread_u_chk.c: Likewise.
11090         * debug/gets_chk.c: Likewise.
11091         * debug/obprintf_chk.c: Likewise.
11092         * debug/vasprintf_chk.c: Likewise.
11093         * debug/vdprintf_chk.c: Likewise.
11094         * debug/vsnprintf_chk.c: Likewise.
11095         * debug/vsprintf_chk.c: Likewise.
11096         * malloc/mtrace.c: Likewise.
11097         * misc/error.c: Likewise.
11098         * misc/syslog.c: Likewise.
11099         * stdio-common/asprintf.c: Likewise.
11100         * stdio-common/fxprintf.c: Likewise.
11101         * stdio-common/getw.c: Likewise.
11102         * stdio-common/isoc99_fscanf.c: Likewise.
11103         * stdio-common/isoc99_scanf.c: Likewise.
11104         * stdio-common/isoc99_vfscanf.c: Likewise.
11105         * stdio-common/isoc99_vscanf.c: Likewise.
11106         * stdio-common/isoc99_vsscanf.c: Likewise.
11107         * stdio-common/printf-prs.c: Likewise.
11108         * stdio-common/printf_fp.c: Likewise.
11109         * stdio-common/printf_fphex.c: Likewise.
11110         * stdio-common/printf_size.c: Likewise.
11111         * stdio-common/putw.c: Likewise.
11112         * stdio-common/scanf.c: Likewise.
11113         * stdio-common/sprintf.c: Likewise.
11114         * stdio-common/tmpfile.c: Likewise.
11115         * stdio-common/vfprintf.c: Likewise.
11116         * stdio-common/vfscanf.c: Likewise.
11117         * stdlib/strfmon_l.c: Likewise.
11118         * sunrpc/openchild.c: Likewise.
11119         * sunrpc/xdr_stdio.c: Likewise.
11120         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11121         * sysdeps/mach/hurd/tmpfile.c: Likewise.
11123 2012-05-24  Roland McGrath  <roland@hack.frob.com>
11125         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11127         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11128         in the third column, to generate for the shared library an IFUNC
11129         that uses _dl_vdso_vsym.
11130         * Makerules (COMPILE.c, compile-stdin.c): New variables.
11131         * Makeconfig (object-suffixes-noshared): New variable.
11133         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11134         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11135         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11136         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11138         [BZ #14132]
11139         * include/sys/time.h (__gettimeofday): Remove macro.
11140         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11141         * time/gettimeofday.c (__gettimeofday): Remove #undef.
11142         Remove INTDEF.
11143         (__gettimeofday): Add libc_hidden_def.
11144         (gettimeofday): Add libc_hidden_weak.
11145         * sysdeps/mach/gettimeofday.c: Likewise.
11146         * sysdeps/posix/gettimeofday.c: Likewise.
11147         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11148         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11149         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11150         (__gettimeofday_internal): Remove strong_alias.
11151         (__gettimeofday): Add libc_hidden_def.
11152         (gettimeofday): Add libc_hidden_weak.
11153         * sysdeps/unix/syscalls.list (gettimeofday):
11154         Remove __gettimeofday_internal alias.
11156 2012-05-24  Daniel Jacobowitz  <drow@false.org>
11157             H.J. Lu  <hongjiu.lu@intel.com>
11159         [BZ #12495]
11160         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11161         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11162         (largebin_index_32_big): New.
11163         (largebin_index): Use it for 16-byte alignment.
11164         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
11165         correction with front_misalign.
11167 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11171         Likewise.
11172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11173         Likewise.
11174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11175         Likewise.
11176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11177         Likewise.
11178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11179         Likewise.
11180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11181         Likewise.
11182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11183         Likewise.
11184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11185         Likewise.
11186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11187         Likewise.
11188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11189         Likewise.
11190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11191         Likewise.
11192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11193         Likewise.
11195         * scripts/data/c++-types-x32-linux-gnu.data: New file.
11196         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11198 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11200         [BZ #10846]
11201         [BZ #14036]
11202         * math/libm-test.inc (exp_test): Add test from bug 14036.
11203         (pow_test): Add test from bug 10846.
11205         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11206         and other flags.
11207         (special_function): Do not include flags in test name.
11208         (parse_args): Likewise.
11209         * sysdeps/i386/fpu/libm-test-ulps: Update.
11210         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11211         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11212         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11215         * math/gen-libm-test.pl (%beautify): Add entries for underflow
11216         exceptions.
11217         * math/libm-test.inc ("Philosophy"): Update comment about
11218         exception testing.
11219         (UNDERFLOW_EXCEPTION): New macro.
11220         (UNDERFLOW_EXCEPTION_OK): Likewise.
11221         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11222         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11223         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11224         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11225         (INVALID_EXCEPTION_OK): Update value.
11226         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11227         (OVERFLOW_EXCEPTION_OK): Likewise.
11228         (IGNORE_ZERO_INF_SIGN): Likewise.
11229         (test_exceptions): Handle underflow exceptions.
11230         (acos_test): Update for underflow exception expectations.
11231         (cexp_test): Likewise.
11232         (clog_test): Likewise.
11233         (clog10_test): Likewise.
11234         (csqrt_test): Likewise.
11235         (ctan_test): Likewise.
11236         (ctanh_test): Likewise.
11237         (exp_test): Likewise.
11238         (exp10_test): Likewise.
11239         (exp2_test): Likewise.
11240         (expm1_test): Likewise.
11241         (fma_test): Likewise.
11242         (j0_test): Likewise.
11243         (jn_test): Likewise.
11244         (nexttoward_test): Likewise.
11245         (pow_test): Likewise.
11246         (scalbn_test): Likewise.
11247         (scalbln_test): Likewise.
11248         (tan_test): Likewise.
11249         (y1_test): Likewise.
11250         * sysdeps/i386/fpu/libm-test-ulps: Update.
11251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11253 2012-05-23  David S. Miller  <davem@davemloft.net>
11255         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11256         (__libc_sigaction): Remove unused local variables.
11258 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11260         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11262 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
11264         mktime: avoid signed integer overflow
11265         * time/mktime.c (__mktime_internal): Do not mishandle the case
11266         where diff == INT_MIN.
11268         mktime: simplify computation of average
11269         * time/mktime.c (ranged_convert): Use new time_t_avg function
11270         instead of rolling our own (probably-slower) code.
11272         mktime: do not assume signed right shift propagates sign bit
11273         * time/mktime.c (isdst_differ): New static function.
11274         (__mktime_internal): No need to normalize tm_isdst now.
11275         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11276         tm_isdst values.
11278         mktime: merge another wrapv change from gnulib
11279         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11280         from some compilers.
11282         mktime: remove incorrect attempt at unusual arithmetics
11283         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11284         The code didn't really work on such machines anyway.
11285         (TYPE_MINIMUM): Assume two's complement.
11286         (twos_complement_arithmetic): Verify that long_int and time_t
11287         are two's complement (or unsigned, in the latter case).
11289         mktime: check signed shifts on long_int and time_t, too
11290         * time/mktime.c (SHR): Check that shifts work as desired
11291         on the types long_int and time_t too, as SHR is used on
11292         such types.
11294         mktime: do not assume 'long' is wide enough
11295         * time/mktime.c (verify): Move decl up.
11296         (long_int): New type.
11297         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11298         to remove assumption in the code that 'long' is wide enough to
11299         store year values.  This assumption is not true on x32 and on
11300         some non-glibc platforms.
11302         mktime: merge wrapv change from gnulib
11303         * time/mktime.c (WRAPV): New macro.
11304         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11305         (guess_time_tm, __mktime_internal): Do not assume that signed
11306         integer overflow wraps around; modern compilers generate code
11307         where this assumption is no longer valid.
11309 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11311         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11312         Replace "jmp L(pseudo_end)" with "ret".
11313         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11314         Likewise.
11316 2012-05-23  Andreas Jaeger  <aj@suse.de>
11318         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11319         * sysdeps/unix/sysv/linux/poll.c: Remove file.
11321 2012-05-23  Andreas Jaeger  <aj@suse.de>
11322             Maximilian Attems  <max@stro.at>
11324         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11325         New macros.
11327 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11329         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11330         code so that pseudo_end is just ret and the stack pointer is
11331         correct also for static library in error case.
11333 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
11335         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11336         move to syscalls.list.
11337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11342         * manual/install.texi (Running make install): Do not mention Linux
11343         kernel version for which pt_chown is not needed.
11344         (Linux): Do not mention problems with nscd with 2.0 kernels.
11345         * INSTALL: Regenerated.
11347 2012-05-23  Andreas Jaeger  <aj@suse.de>
11349         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11350         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11351         macro.
11352         * sysdeps/unix/sysv/linux/s390/bits/mman.h
11353         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11354         * sysdeps/unix/sysv/linux/sh/bits/mman.h
11355         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11356         * sysdeps/unix/sysv/linux/i386/bits/mman.h
11357         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11358         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11359         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11360         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11361         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11362         * sysdeps/unix/sysv/linux/bits/in.h
11363         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11365 2012-05-22  Roland McGrath  <roland@hack.frob.com>
11367         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11368         (PREPARE_VERSION): Just use assert instead, it will be elided
11369         under [NDEBUG] anyway.
11371 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11373         * sysdeps/unix/sysv/linux/Makefile: Include
11374         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11375         (sysdep_routines): Remove sysctl.
11376         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11377         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11378         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11379         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11380         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11382 2012-05-22  Andreas Jaeger  <aj@suse.de>
11384         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11385         that pseudo_end is just ret and the stack pointer is correct also
11386         for static library in error case.
11388 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
11390         [BZ #14122]
11391         * nss/nsswitch.c (defconfig_entries): New variable.
11392         (__nss_database_lookup): Don't leak defconfig entries.
11393         (nss_parse_service_list): Don't leak on error paths.
11394         (free_database_entries): New function.
11395         (free_defconfig): New function.
11396         (free_mem): Move common code to free_database_entries.
11398 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11400         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11401         Add arch_prctl.
11402         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11404         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11405         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11406         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11407         New macro.
11408         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11409         (INTERNAL_SYSCALL_TYPES): Likewise.
11410         (LOAD_ARGS_TYPES_[1-6]): Likewise.
11411         (LOAD_REGS_TYPES_[1-6]): Likewise.
11412         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11413         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11415 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11417         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11418         copysignl for GLIBC_2_0.
11419         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11420         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11421         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11422         logbl for GLIBC_2_0.
11423         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11424         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11426 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11428         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11429         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
11431         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11432         Use "neg %eax".
11434         * time/mktime.c: Update copyright years.
11436 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11438         mktime: merge comment-quoting-style change from gnulib
11439         * time/mktime.c: Quote 'like this' in comments.
11440         The GNU coding standards suggest that we no longer quote `like this',
11441         as "`" and "'" are typically rendered asymmetrically nowadays.
11442         The typical gnulib style is to quote 'like this' when quoting
11443         code, and "like this" when quoting English.
11445         * time/mktime.c (compile-command): Add "-I.".
11447         mktime: merge mktime-internal.h change from gnulib
11448         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11450         mktime: merge time_r change from gnulib
11451         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11453         mktime: merge DEBUG change from gnulib
11454         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11455         case system <time.h> has a #define.
11457         mktime: merge <sys/types.h> change from gnulib
11458         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11459         since <time.t> is now guaranteed to define time_t.
11461         mktime: merge HAVE_CONFIG_H change from gnulib
11462         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11464 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11466         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11467         Use "neg %eax".
11469         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11470         __rlim_t cast.
11471         (struct rusage): Use anonymous union to pad each field to
11472         __syscall_slong_t.
11474 2012-05-21  David S. Miller  <davem@davemloft.net>
11476         * Makefules (o-iterator): Remove .s cases.
11477         (compile-command.s): Delete.
11478         (COMPILE.s): Delete.
11479         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11481 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
11483         * configure.in (libc_cv_predef_stack_protector): Only consider
11484         "foobar" and "__stack_chk_fail" lines in libc_undefs.
11485         * configure: Regenerated.
11487 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11489         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11490         New macro.  Use R*LP on int and pointer.
11491         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11492         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11493         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11494         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11496         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11497         [__WORDSIZE_TIME64_COMPAT32] instead of
11498         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11499         (struct utmp): Likewise.
11500         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11501         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11502         Renamed to ...
11503         (__WORDSIZE_TIME64_COMPAT32): This.
11504         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11505         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11506         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11507         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11508         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11509         (__WORDSIZE_TIME64_COMPAT32): New macro.
11511 2012-05-21  Andreas Jaeger  <aj@suse.de>
11513         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11514         only if [SHARED]. Add prototype for __wcschr_ia32.
11516 2012-05-21  Roland McGrath  <roland@hack.frob.com>
11518         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11519         of %rbp unmolested in the jmp_buf while mangling the low bits.
11520         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11521         unmolested high bits of %rbp while demangling the low bits.
11522         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11524 2012-05-21  Andreas Jaeger  <aj@suse.de>
11526         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11527         * sunrpc/svc_simple.c: Use it for registerrpc.
11528         * sunrpc/xcrypt.c: Use it for passwd2des.
11530         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11532 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11534         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11535         Don't define if [__SYSCALL_WORDSIZE != 32].
11536         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11537         New macro.
11539 2012-05-21  Bruno Haible  <bruno@clisp.org>
11540             Andreas Jaeger  <aj@suse.de>
11542         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11543         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11544         inptr and inend for must_buffer_ch.
11545         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11546         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11547         * stdio-common/Makefile (tests): Remove bug15.
11548         (bug15-ENV): Remove macro.
11549         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11550         anymore.
11552 2012-05-19  Andreas Jaeger  <aj@suse.de>
11553             Roland McGrath  <roland@hack.frob.com>
11555         * manual/contrib.texi: Completely rewritten. It contains now an
11556         alphabetical list of contributors and their contributions.
11558 2012-05-21  Richard Henderson  <rth@twiddle.net>
11560         * misc/getauxval.c (__getauxval): Use unsigned long int.
11561         * misc/sys/auxv.h: Include <sys/cdefs.h>.
11562         (getauxval): Use unsigned long int.
11564 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11566         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11568 2012-05-21  Roland McGrath  <roland@hack.frob.com>
11570         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11571         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11572         __alignof__ (long double).
11574 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11578 2012-05-20  Richard Henderson  <rth@twiddle.net>
11580         * misc/getauxval.c: New file.
11581         * misc/sys/auxv.h: New file.
11582         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11583         (routines): Add getauxval.
11584         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11585         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11586         * elf/dl-sysdep.c (_dl_auxv): Remove.
11587         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11588         * elf/dl-support.c (_dl_auxv): New variable.
11589         (_dl_aux_init): Initialize it.
11590         * manual/startup.texi (Auxiliary Vector): New node.
11591         * sysdeps/generic/bits/hwcap.h: New file.
11592         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11593         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
11594         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11595         * sysdeps/sparc/sysdep.h: ... here.  Include it.
11596         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11597         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11599         Update.
11600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11603         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11609 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11613 2012-05-19  David S. Miller  <davem@davemloft.net>
11615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11617 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
11619         [BZ #14123]
11620         * math/s_ccosh.c: Include <float.h>
11621         (__ccosh): Avoid internal overflow calculating sinh and cosh
11622         values before multiplying by sin and cos values.
11623         * math/s_ccoshf.c: Likewise.
11624         * math/s_ccoshl.c: Likewise.
11625         * math/s_csin.c: Likewise.
11626         * math/s_csinf.c: Likewise.
11627         * math/s_csinl.c: Likewise.
11628         * math/s_csinh.c: Likewise.
11629         * math/s_csinhf.c: Likewise.
11630         * math/s_csinhl.c: Likewise.
11631         * math/libm-test.inc (ccos_test): Add more tests.
11632         (ccosh_test): Likewise.
11633         (csin_test): Likewise.
11634         (csinh_test): Likewise.
11635         * sysdeps/i386/fpu/libm-test-ulps: Update.
11636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11638 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11640         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11641         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11643         * sysdeps/x86_64/x32/_itoa.h: Add comment.
11645 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
11647         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11648         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11649         * sysdeps/powerpc/soft-fp/Versions: Likewise.
11650         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11651         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11652         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11653         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11654         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11655         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11656         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11657         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11658         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11659         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11660         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11661         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11662         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11663         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11664         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11665         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11666         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11667         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11668         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11669         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11670         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11671         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11672         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11673         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11674         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11675         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11676         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11677         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11679 2012-05-18  Andreas Jaeger  <aj@suse.de>
11681         * csu/.gitignore: Delete.
11683 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11685         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11686         (timex): Use __syscall_slong_t.
11688 2012-05-18  Andreas Jaeger  <aj@suse.de>
11689             Carlos O'Donell  <carlos_odonell@mentor.com>
11691         * manual/install.texi (Configuring and compiling): Update
11692         description about files modified in the source directory.
11693         * INSTALL: Regenerated.
11695 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11697         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11698         value.  Use "or" to set return value to -1.
11699         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11700         negate return value.
11702 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11704         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11705         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11706         failure if the compiler has Graphite support disabled.
11707         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11708         Likewise.
11709         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11710         CFLAGS-memmove.c): Likewise.
11711         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11712         Likewise.
11714 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11716         * sysdeps/x86_64/x32/_itoa.h: New file.
11718         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11719         getdents system call only if kernel and user dirents have the
11720         same d_ino and d_off.
11722         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11723         LLONG_MAX != LONG_MAX.
11724         (_itoa_word): Use _ITOA_WORD_TYPE on value.
11725         (_fitoa_word): Likewise.
11727         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11728         years.
11729         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11730         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11731         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11733         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11734         include <bits/wordsize.h>.  Check __x86_64__ instead of
11735         __WORDSIZE.
11736         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11737         if __x86_64__ is defined.  Use anonymous union on fpstate.
11739         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11740         anonymous union.
11742 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
11744         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11745         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11746         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11747         Refer to _rtld_local_ro instead of _rtld_global_ro.
11748         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11749         Likewise.
11750         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11751         Likewise.
11752         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11753         Likewise.
11754         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11755         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11756         of _rtld_global, and rtld_progname instead of _dl_argv[0].
11758         * sysdeps/powerpc/powerpc32/dl-machine.c
11759         (__elf_machine_runtime_setup) [PROF]: Don't reference
11760         _dl_prof_resolve.
11762 2012-05-18  Andreas Jaeger  <aj@suse.de>
11764         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11765         function only available for GCCs before 3.4 since GCC 3.4
11766         introduced a builtin.
11767         (lrint): Likewise.
11768         (llrintf): Likewise.
11769         (llrint): Likewise.
11770         (fmaxf): Likewise.
11771         (fmax): Likewise.
11772         (fminf): Likewise.
11773         (fmin): Likewise.
11774         (rint): Likewise.
11775         (rintf): Likewise.
11776         (nearbyint): Likewise.
11777         (nearbyintf): Likewise.
11778         (ceil): Likewise.
11779         (ceilf): Likewise.
11780         (floor): Likewise.
11781         (floorf): Likewise.
11783 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11785         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11786         on both fields and cast pointer to __syscall_ulong_t.
11788         * bits/types.h (__fsword_t): New type.
11789         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11790         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11791         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11792         (__FSWORD_T_TYPE): Likewise.
11793         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11794         (__FSWORD_T_TYPE): Likewise.
11795         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11796         (__FSWORD_T_TYPE): Likewise.
11797         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11798         (__FSWORD_T_TYPE): Likewise.
11799         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11800         __SWORD_TYPE with __fsword_t.
11801         (statfs64): Likewise.
11803 2012-05-17  David S. Miller  <davem@davemloft.net>
11805         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11807 2012-05-17  Andreas Jaeger  <aj@suse.de>
11809         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11810         warning.
11812 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11814         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11816 2012-05-17  Andreas Jaeger  <aj@suse.de>
11818         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11819         when it is used.
11821 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
11823         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11825 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11827         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11828         * sysdeps/x86_64/tst-mallocalign1.c: New file.
11830 2012-05-17  Andreas Jaeger  <aj@suse.de>
11831             Carlos O'Donell  <carlos_odonell@mentor.com>
11833         [BZ #14059]
11834         * sysdeps/x86_64/multiarch/init-arch.h
11835         (bit_YMM_Usable): Rename to...
11836         (bit_AVX_Usable): ... this.
11837         (bit_FMA4_Usable): New macro.
11838         (bit_XMM_state): New macro.
11839         (bit_YMM_state): New macro.
11840         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11841         [__ASSEMBLER__] (index_AVX_Usable): ... this.
11842         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11843         (CPUID_OSXSAVE): New macro.
11844         (CPUID_AVX): New macro.
11845         (CPUID_FMA4): New macro.
11846         (index_YMM_Usable): Rename to...
11847         (index_AVX_Usable): ... this.
11848         (HAS_AVX): Use HAS_ARCH_FEATURE.
11849         (HAS_FMA4): Likewise.
11850         (HAS_YMM_USABLE): Remove.
11851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11852         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11853         are present.
11854         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11855         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11856         * sysdeps/x86_64/multiarch/Makefile: Likewise.
11857         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11858         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11860 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
11862         * math/libm-test.c: Support platforms without multiple rounding modes.
11863         * math/bug-nextafter.c: Support platforms without FP exceptions.
11864         * math/bug-nexttoward.c: Likewise.
11865         * math/test-fenv.c: Likewise.
11866         * math/test-misc.c: Likewise.
11867         * stdlib/bug-getcontext.c: Likewise.
11869 2012-05-17  Andreas Jaeger  <aj@suse.de>
11871         * manual/examples/search.c (critter_cmp): Change signature to
11872         avoid warnings.
11873         * manual/string.texi (Collation Functions): Likewise.
11875 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11877         * bits/types.h: Fold copyright years.
11878         * bits/typesizes.h: Likewise.
11879         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11880         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11881         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11882         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11883         * time/time.h: Likewise.
11885 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
11887         [BZ #208]
11888         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11889         in instead of returning them.  Return void.
11890         (__libc_mallinfo): Accumulate over all arenas.
11891         (__malloc_stats): Adjust for change in int_mallinfo interface.
11893 2012-05-16  Roland McGrath  <roland@hack.frob.com>
11895         [BZ #10375]
11896         * configure.in (NM): Add AC_CHECK_TOOL for it.
11897         (libc_extra_cflags): New substituted variable.
11898         Check for -fstack-protector being used implicitly.
11899         * configure: Regenerated.
11900         * config.make.in (config-extra-cflags): New variable,
11901         gets @libc_extra_cflags@.
11902         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11904         [BZ #10375]
11905         * configure.in: Check for _FORTIFY_SOURCE being predefined.
11906         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11907         * configure: Regenerated.
11908         * config.make.in (CPPUNDEFS): New substituted variable.
11909         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11910         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11911         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11913 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11915         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11916         (mq_attr): Use __syscall_slong_t.
11918 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11920         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11921         Check __x86_64__ instead of __WORDSIZE.
11922         (_STAT_VER_LINUX): Likewise.
11923         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
11924         __syscall_ulong_t and __syscall_slong_t.
11925         (stat64): Likewise.
11927 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11929         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11931 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11933         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11935 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11937         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11938         __syscall_ulong_t.
11940         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11941         include <bits/wordsize.h>.  Check __x86_64__ instead of
11942         __WORDSIZE.
11943         (greg_t): Use "__extension__ long long int" if __x86_64__ is
11944         defined.
11945         (mcontext_t): Replace "unsigned long" with "unsigned long long".
11947         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11948         include <bits/wordsize.h>.  Check __x86_64__ instead of
11949         __WORDSIZE.
11950         (user_regs_struct): Use "__extension__ unsigned long long"
11951         instead of "unsigned long" if __x86_64__ is defined.
11952         (user): Likewise.  Pad after pointer field if __ILP32__ is
11953         defined.
11955 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
11957         * configure.in (makeinfo): Require version 4.5 or later.  Allow
11958         versions 5 to 9.
11959         * configure: Regenerated.
11960         * manual/install.texi (texinfo): Increase version requirement to
11961         4.5 or later.
11962         * INSTALL: Regenerated.
11964         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11966 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11968         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11970         * sysdeps/x86_64/x32/ffs.c: New file.
11972         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11973         __syscall_ulong_t.
11974         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11975         defined.  Use __syscall_ulong_t.
11976         (shminfo): Use __syscall_ulong_t.
11977         (shm_info): Likewise.
11979         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11980         __syscall_ulong_t.
11982         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11983         <bits/wordsize.h>.
11984         (msgqnum_t): Use __syscall_ulong_t.
11985         (msglen_t): Likewise.
11986         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
11987         __syscall_ulong_t.
11989         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11990         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
11992         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11994         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11995         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11997         * sysvipc/sys/msg.h (msgbuf): Replace long int with
11998         __syscall_slong_t.
12000         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12001         include <bits/wordsize.h>.  Check __x86_64__ instead of
12002         __WORDSIZE.
12004         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12005         "unsigned long long int" if __x86_64__ is defined.
12006         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12008         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12009         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12010         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12012         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12013         <stdint.h>.
12014         (GET_PC): Cast to uintptr_t first.
12015         (GET_FRAME): Likewise.
12016         (GET_STACK): Likewise.
12018         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12019         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12020         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12021         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12022         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12023         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12024         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12025         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12026         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12027         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12028         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12029         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12030         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12031         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12032         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12033         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12034         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12035         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12036         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12037         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12038         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12039         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12040         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12041         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12042         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12043         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12044         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12045         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12046         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12048 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
12050         * Makerules (+depfiles): Also collect depfiles from .oS in
12051         $(extra-objs).
12052         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12053         .oS, $(libnldbl-routines)).
12055         * Makerules (native-compile-mkdep-flags): Define.
12056         * sunrpc/Makefile (extra-objs): Add $(addprefix
12057         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12058         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12059         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
12060         calling $(make-target-directory).
12062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12064         * bits/types.h (__snseconds_t): Removed.
12065         * time/time.h (struct timespec): Replace __snseconds_t with
12066         __syscall_slong_t.
12067         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12068         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12069         Likewise.
12070         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12071         (__SNSECONDS_T_TYPE): Likewise.
12072         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12073         (__SNSECONDS_T_TYPE): Likewise.
12074         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12075         (__SNSECONDS_T_TYPE): Likewise.
12077 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12079         * sysdeps/mach/hurd/bits/typesizes.h
12080         (__SYSCALL_SLONG_TYPE): New macro.
12081         (__SYSCALL_ULONG_TYPE): Likewise.
12083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12085         * bits/types.h (__syscall_slong_t): New type.
12086         (__syscall_ulong_t): Likewise.
12088         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12089         (__SYSCALL_ULONG_TYPE): Likewise.
12090         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12091         (__SYSCALL_SLONG_TYPE): Likewise.
12092         (__SYSCALL_ULONG_TYPE): Likewise.
12093         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12094         (__SYSCALL_SLONG_TYPE): Likewise.
12095         (__SYSCALL_ULONG_TYPE): Likewise.
12096         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12097         (__SYSCALL_SLONG_TYPE): Likewise.
12098         (__SYSCALL_ULONG_TYPE): Likewise.
12100 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12102         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12103         Add sigaltstack-offsets.sym.
12104         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12105         <sigaltstack-offsets.h>.
12106         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
12107         longjmp_msg pointer.
12108         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
12109         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12110         signal stack.
12111         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12113 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
12115         * elf/stackguard-macros.h: Remove file.
12116         * sysdeps/generic/stackguard-macros.h: New file.
12117         * sysdeps/i386/stackguard-macros.h: Likewise.
12118         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12119         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12120         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12121         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12122         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12123         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12124         * sysdeps/x86_64/stackguard-macros.h: Likewise.
12125         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12126         <elf/stackguard-macros.h>.
12128         [BZ #14109]
12129         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12130         __aligned__ in attribute.
12131         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12132         (gregset_t): Likewise.
12134 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12136         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12137         * sysdeps/x86_64/64/Implies-after: Here.  New file.
12138         * sysdeps/x86_64/x32/Implies-after: New file.
12140 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12142         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12143         and access return value for _dl_profile_fixup.  Use R10_LP to
12144         load frame size.
12146 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12148         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12152         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12153         * sysdeps/x86_64/x32/sysdep.h: New file.
12155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12157         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12158         * sysdeps/x86_64/setjmp.S: Likewise.
12160 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12162         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12163         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12164         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12165         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12166         remove unused global constant.
12168 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
12170         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12171         include of <not-cancel.h>.
12173 2012-05-15  Roland McGrath  <roland@hack.frob.com>
12175         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12177 2012-05-15  Jeff Law  <law@redhat.com>
12178             Andreas Jaeger  <aj@suse.de>
12180         [BZ #13594]
12181         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12182         out from...
12183         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12184         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12185         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12186         code changing __hst_map_handle.map.
12188 2012-05-15  Roland McGrath  <roland@hack.frob.com>
12190         * configure.in (sysnames): Look for Implies-before and Implies-after
12191         files.
12192         * configure: Regenerated.
12194 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12196         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12197         8-byte data alignment with LP_SIZE alignment.
12199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12201         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12202         into R10_LP.
12204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12206         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12208 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12210         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12211         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12212         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12213         Likewise.
12214         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12216 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12218         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12219         (stackinfo_sub_sp): Likewise.
12221 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12223         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12224         RAX_LP.
12226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12228         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12229         into R*_LP.
12231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12233         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12234         sizes into R*_LP.
12236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12238         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12242         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12243         into R11_LP and load __x86_64_shared_cache_size_half into
12244         R8_LP.
12246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12248         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12249         R8_LP.
12251 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12253         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12254         logb for POWER7.
12255         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12256         logbf for POWER7.
12257         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12258         logbl for POWER7.
12259         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12260         powerpc32/power7/fpu/s_logb.c via #include.
12261         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12262         powerpc32/power7/fpu/s_logbf.c via #include.
12263         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12264         powerpc32/power7/fpu/s_logbl.c via #include.
12266 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
12268         * README.libm: Remove file.
12270 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12272         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12273         count for x32.  Use R*_LP and omit operand-size suffix.
12275 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12277         * shlib-versions: Move x86_64-.*-linux.* entries to ...
12278         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
12279         * sysdeps/x86_64/x32/shlib-versions: New file.
12281 2012-05-14  Roland McGrath  <roland@hack.frob.com>
12283         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12284         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12285         Use _dl_fatal_printf instead.
12287 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
12289         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12290         set if not set by the user.  Do not allow for being unset.
12291         * sysdeps/unix/sysv/linux/configure: Regenerated.
12293 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12295         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12296         the `q' suffix from lea and replace .quad with ASM_ADDR.
12298 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12300         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12301         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
12302         instead of $17.
12303         (PTR_DEMANGLE): Likewise.
12305 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12307         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12308         (LP_OP): Likewise.
12309         (ASM_ADDR): Likewise.
12310         (RAX_LP): Likewise.
12311         (RBP_LP): Likewise.
12312         (RBX_LP): Likewise.
12313         (RCX_LP): Likewise.
12314         (RDI_LP): Likewise.
12315         (RSI_LP): Likewise.
12316         (RSP_LP): Likewise.
12317         (R8_LP): Likewise.
12318         (R9_LP): Likewise.
12319         (R10_LP): Likewise.
12320         (R10_LP): Likewise.
12321         (R11_LP): Likewise.
12322         (R12_LP): Likewise.
12323         (R13_LP): Likewise.
12324         (R14_LP): Likewise.
12325         (R15_LP): Likewise.
12327 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12329         * sysdeps/x86_64/x32/dl-machine.h: New file.
12331 2012-05-14  Andreas Jaeger  <aj@suse.de>
12333         * manual/Makefile (subdir): Remove export of subdir.
12334         (all): Remove target.
12335         (.PHONY): Remove all from list.
12336         (mkinstalldirs): Remove.
12337         (.PHONY): Remove installdirs from list.
12338         ($(inst_infodir)/libc.info): Use make-target-directory.
12339         (installdirs): Remove.
12340         (subdir_%): Remove.
12341         (glibc-targets): Remove.
12342         (lib): Remove.
12343         (stubs): Remove.
12344         ($(objpfx)stubs ../po/manual.pot): Remove.
12345         ($(objpfx)stamp%): Remove.
12346         (make-target-directory): Remove.
12347         (subdir_install): Remove.
12348         (routines): Remove.
12349         (aux): Remove.
12350         (sources): Remove.
12351         (objects): Remove.
12352         (headers): Remove.
12354         [BZ #13750]
12355         * manual/.gitignore: Remove, it's not needed anymore.
12356         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12357         all files in it.
12358         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12359         directory.
12360         (texis): Renamed to $(objpfx)texis.
12361         (texis-path): New, contains path to generated files.
12362         (chapters.%): Use texis-path for complete path, add extra argument
12363         libc-texinfo.sh.
12364         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12365         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12366         (summary,texi, stamp-summary): Use complete path of
12367         files. Generate files in build dir.
12368         (dir-add.texi): Build in build dir.
12369         (libm-err.texi,stamp-libm-err): Likewise.
12370         (version.texi, stamp-version): Likewise.
12371         (.%c.texi): Likewise.
12372         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12373         (mostlyclean): Remove target.
12374         (realclean): Remove target.
12375         (generated): Add new variable with contents from mostlyclean and
12376         realclean, remove entries duplicated in common-mostlyclean, add
12377         stamp-libm-err and stamp-version.
12378         (generated-dirs): Add libc directory.
12379         ($(inst_infodir)/libc.info): Install files from build dir.
12381         * manual/install.texi (Configuring and compiling): Adjust since
12382         the info files are not part of the tar ball anymore.
12384 2012-05-14  Andreas Jaeger  <aj@suse.de>
12386         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12387         variable.
12389 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
12391         [BZ #13717]
12392         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12393         to 2.2.0 where earlier.
12394         * sysdeps/unix/sysv/linux/configure: Regenerated.
12395         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12396         Remove conditional code.
12397         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12398         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12399         Remove conditional code.
12400         [!__NR_lchown]: Likewise.
12401         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12402         [__NR_lchown]: Likewise.
12403         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12404         comment referencing __ASSUME_LCHOWN_SYSCALL.
12405         * sysdeps/unix/sysv/linux/i386/sigaction.c
12406         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12407         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12408         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12409         Remove conditional code.
12410         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12411         (__protocol_available): Remove #if 0 code.
12412         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12413         conditional code.
12414         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12415         * sysdeps/unix/sysv/linux/kernel-features.h
12416         (__ASSUME_GETCWD_SYSCALL): Don't define.
12417         (__ASSUME_REALTIME_SIGNALS): Likewise.
12418         (__ASSUME_PREAD_SYSCALL): Likewise.
12419         (__ASSUME_PWRITE_SYSCALL): Likewise.
12420         (__ASSUME_POLL_SYSCALL): Likewise.
12421         (__ASSUME_LCHOWN_SYSCALL): Likewise.
12422         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12423         non-SPARC.
12424         (__ASSUME_SIOCGIFNAME): Don't define.
12425         (__ASSUME_MSG_NOSIGNAL): Likewise.
12426         (__ASSUME_SENDFILE): Define unconditionally.
12427         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12428         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12429         conditional code.
12430         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12431         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12432         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12433         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12434         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12435         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12436         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12438         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12439         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12441         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12442         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12444         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12445         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12447         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12448         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12450         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12451         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12453         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12454         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12456         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12457         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12459         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12460         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12461         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12462         Remove conditional code.
12463         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12464         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12465         Remove conditional code.
12466         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12467         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12468         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12469         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12470         Remove conditional code.
12471         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12472         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12473         Remove conditional code.
12474         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12475         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12476         Remove conditional code.
12477         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12478         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12479         Remove conditional code.
12480         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12481         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12482         Remove conditional code.
12483         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12484         * sysdeps/unix/sysv/linux/sh/pwrite64.c
12485         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12486         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12487         * sysdeps/unix/sysv/linux/sigaction.c
12488         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12489         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12490         * sysdeps/unix/sysv/linux/sigpending.c
12491         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12492         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12493         * sysdeps/unix/sysv/linux/sigprocmask.c
12494         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12495         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12496         * sysdeps/unix/sysv/linux/sigsuspend.c
12497         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12498         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12499         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12500         (__libc_missing_rt_sigs): Remove.
12501         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12502         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12503         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12504         Remove conditional code.
12505         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12506         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12507         return 1.
12508         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12509         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12510         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12511         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12513 2012-05-14  Andreas Jaeger  <aj@suse.de>
12515         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12516         it's not used in glibc.
12517         (__coshm1): Likewise.
12518         (__acosh1p): Likewise.
12519         (__sgn): Likewise.
12521         * manual/string.texi (Copying and Concatenation): Add missing
12522         variable in concat example.
12523         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12525 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12527         [BZ #14103]
12528         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12529         __builtin_clzl with __builtin_clzll.
12531 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12533         [BZ #14104]
12534         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12535         libc_freeres_ptr.
12537 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12539         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12540         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12541         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12542         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12544 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
12546         * NEWS: Update ia64 info.
12548 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
12550         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12551         used as bcopy.
12553 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
12555         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12556         * sysdeps/unix/syscalls.list (dup3): Likewise.
12557         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12558         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12560 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
12562         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12563         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12565 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
12567         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12568         thread pointer.
12569         (TLS_IE): Use mov/add instead of movq/addq to load thread
12570         pointer.
12571         (TLS_GD_PREFIX): New.
12572         (TLS_GD): Use it.
12574 2012-05-11  David S. Miller  <davem@davemloft.net>
12576         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12577         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12578         (_FPU_SETCW): Likewise.
12580 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12582         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12583         is 32-byte aligned.
12585 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
12587         [BZ #11837]
12588         * iconvdata/gb18030.c: Update tables.
12589         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
12590         characters specially.
12591         (BODY for TO_LOOP): Add encoding of missing ranges.
12593 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
12595         [BZ #13673]
12596         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12597         * sysdeps/mach/hurd/dup3.c: Likewise.
12598         * sysdeps/mach/hurd/readlinkat.c: Likewise.
12599         * sysdeps/powerpc/memmove.c:: Likewise.
12601 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12603         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12604         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12606 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12608         * elf/elf.h (R_X86_64_RELATIVE64): New.
12609         (R_X86_64_NUM): Updated.
12610         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12611         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
12612         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12613         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12614         tst-quad1pie tst-quad2pie
12615         (modules-names): Add tst-quadmod1 tst-quadmod2.
12616         ($(objpfx)tst-quad1): New dependency.
12617         ($(objpfx)tst-quad2): Likewise.
12618         ($(objpfx)tst-quad1pie): Likewise.
12619         ($(objpfx)tst-quad2pie): Likewise.
12620         * sysdeps/x86_64/tst-quad1.c: New file.
12621         * sysdeps/x86_64/tst-quad1pie.c: New file.
12622         * sysdeps/x86_64/tst-quad2.c: Likewise.
12623         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12624         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12625         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12626         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12627         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12629 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12631         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12632         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12633         * streams/stropts.h (t_scalar_t): Define type.
12635         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12636         (_PATH_PRESERVE): Set to "/var/lib".
12637         (_PATH_RWHODIR): Set to "/var/spool/rwho".
12639         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12640         instead of int.
12642         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12643         if __dir_mkfile succeeded.
12645         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12646         checking for _hurd_dtablesize.  Unlock it right after having
12647         finished _hurd_dtable allocation.
12649 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12651         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12652         * sysdeps/mach/hurd/configure: Regenerated.
12653         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12654         special-casing to...
12655         * sysdeps/gnu/configure.in: ... this new file.
12656         * sysdeps/unix/sysv/linux/configure: Regenerated.
12657         * sysdeps/gnu/configure: New generated file.
12659         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12660         for Linux: use nsec instead of usec, as well as:
12661         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12662         members of type struct timespec.
12663         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12664         New macros.
12665         (struct stat64): Likewise.
12666         (_STATBUF_ST_NSEC): New macro.
12667         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12669         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12670         __strtoul_internal rather than strtoul.
12672 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12674         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12675         and reject them.
12677 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12679         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12680         which preserves existing values.
12681         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12683 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12685         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12686         TIMEOUT values.  Return EINVAL for NFDS values either negative or
12687         greater than FD_SETSIZE.
12689 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12691         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12692         allocated, call __vm_protect to finish enabling the existing space, and
12693         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12694         allocate the remainder.
12696 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12698         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12699         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
12701 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12703         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12704         sysdeps/mach/hurd/readlink.c.
12706         * posix/tst-sysconf.c (posix_options): Only use
12707         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12708         _POSIX_SYNCHRONIZED_IO when they are defined
12709         * sysdeps/mach/hurd/bits/posix_opt.h:
12710         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12711         (_XOPEN_REALTIME): Undefine macro.
12712         (_XOPEN_REALTIME_THREADS): Undefine macro.
12713         (_XOPEN_SHM): Undefine macro.
12714         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12715         macro to -1.
12716         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12717         macro to -1.
12718         (_POSIX_ASYNC_IO): Undefine macro.
12719         (_POSIX_PRIORITIZED_IO): Undefine macro.
12720         (_POSIX_SPIN_LOCKS): Define macro to -1.
12722         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12723         SA_NODEFER, SA_RESETHAND.
12724         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12725         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12726         F_DUPFD_CLOEXEC.
12728 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12730         * elf/Makefile (pldd-modules): Define unconditionally.
12732 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12734         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12736 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12738         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12739         Return ENOENT when name is empty.
12740         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12742 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12744         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12746         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12748 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12750         Fix mlock in all cases except non-readable pages.
12751         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12752         instead of VM_PROT_ALL as parameter to __vm_wire function.
12754         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12755         (__mkdir): When path is `/', just fail with EEXIST.
12756         * sysdeps/mach/hurd/mkdirat.c: Likewise.
12758 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12760         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12761         <sys/uio.h> (for writev).
12762         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12763         and <sys/param.h> (for MIN).
12765 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12767         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12768         REQUESTED_TIME.  Properly set the remaining time and return EINTR
12769         if interrupted.
12771 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12773         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12774         Depend on against $(link-rpcuserlibs).
12776 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12778         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12779         (__libc_stack_end): Do not use attribute_relro.
12780         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12781         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12782         to libthread-provided value.
12783         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12784         attribute_relro.
12786 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12788         [BZ #3748]
12789         * bits/libc-lock.h (__libc_once_get): New macro.
12790         * sysdeps/mach/bits/libc-lock.h: Likewise.
12791         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12792         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12793         instead of using implementation details.
12795         * libio/fileops.c: Unconditionally include <kernel-features.h>.
12796         * libio/freopen.c: Likewise.
12797         * libio/freopen64.c: Likewise.
12798         * misc/syslog.c: Likewise.
12799         * nscd/connections.c: Likewise.
12800         * nscd/netgroupcache.c: Likewise.
12801         * sysdeps/posix/getcwd.c: Likewise.
12803 2012-05-10  Roland McGrath  <roland@hack.frob.com>
12805         * math/w_ilogbf.c: Add #include <limits.h>.
12807 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12809         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12810         path instead of returning without unlocking.
12812         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12813         immediate-write ioctls.
12814         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12816 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12818         * sysdeps/mach/hurd/i386/init-first.c (init): Use
12819         __builtin_frame_address instead of making assumptions about the
12820         location of the return address relative to DATA.  Force early load of
12821         the return address.
12822         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12823         __builtin_frame_address.
12825         dup3 for GNU Hurd.
12826         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12827         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
12828         implement dup3 and do some further code clean-ups.
12829         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12830         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12832 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12834         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12836         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12837         HURD_CRITICAL_END around holding _hurd_dtable_lock.
12838         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12839         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12840         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12841         d->port.lock.
12843         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12844         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
12845         when handler == SIG_ERR, not when handler != SIG_ERR.
12847 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12849         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12850         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12851         definitions.
12853         accept4 for GNU Hurd.
12854         * include/sys/socket.h (__libc_accept4): New prototype.
12855         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
12856         to implement __libc_accept4.
12857         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12858         __libc_accept4.
12859         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12861         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12862         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12863         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12864         signal-defines.sym.
12866 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12868         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12870 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12872         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12873         assertion on O_CLOEXEC flag.
12874         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12875         * hurd/intern-fd.c: Likewise.
12876         * hurd/port2fd.c: Likewise.
12878 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12880         [BZ #3906]
12881         * bits/in.h (IPV6_PKTINFO): Define new macro.
12882         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12884 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12886         [BZ #13954]
12887         [BZ #13955]
12888         [BZ #13956]
12889         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12890         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12891         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12892         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12893         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12894         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12895         * math/libm-test.inc (logb_test) : Additional logb tests.
12897 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
12898             Andreas Jaeger  <aj@suse.de>
12900         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12901         * configure: Regenerated.
12902         * config.h.in (LINK_OBSOLETE_RPC): New macro.
12903         * config.make.in (link-obsolete-rpc): New substituted variable.
12904         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12905         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12906         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12907         (shared-only-routines): Don't set it under [link-obsolete-rpc],
12908         so that libc.a contains the symbols.
12909         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12910         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12911         * sunrpc/auth_none.c: Likewise.
12912         * sunrpc/auth_unix.c: Likewise.
12913         * sunrpc/authdes_prot.c: Likewise.
12914         * sunrpc/authuxprot.c: Likewise.
12915         * sunrpc/clnt_gen.c: Likewise.
12916         * sunrpc/clnt_perr.c: Likewise.
12917         * sunrpc/clnt_raw.c: Likewise.
12918         * sunrpc/clnt_simp.c: Likewise.
12919         * sunrpc/clnt_tcp.c: Likewise.
12920         * sunrpc/clnt_udp.c: Likewise.
12921         * sunrpc/clnt_unix.c: Likewise.
12922         * sunrpc/des_crypt.c: Likewise.
12923         * sunrpc/des_soft.c: Likewise.
12924         * sunrpc/get_myaddr.c: Likewise.
12925         * sunrpc/key_call.c: Likewise.
12926         * sunrpc/key_prot.c: Likewise.
12927         * sunrpc/netname.c: Likewise.
12928         * sunrpc/pm_getmaps.c: Likewise.
12929         * sunrpc/pm_getport.c: Likewise.
12930         * sunrpc/pmap_clnt.c: Likewise.
12931         * sunrpc/pmap_prot.c: Likewise.
12932         * sunrpc/pmap_prot2.c: Likewise.
12933         * sunrpc/pmap_rmt.c: Likewise.
12934         * sunrpc/publickey.c: Likewise.
12935         * sunrpc/rpc_cmsg.c: Likewise.
12936         * sunrpc/rpc_common.c: Likewise.
12937         * sunrpc/rpc_dtable.c: Likewise.
12938         * sunrpc/rpc_prot.c: Likewise.
12939         * sunrpc/rpc_thread.c: Likewise.
12940         * sunrpc/rtime.c: Likewise.
12941         * sunrpc/svc.c: Likewise.
12942         * sunrpc/svc_auth.c: Likewise.
12943         * sunrpc/svc_raw.c: Likewise.
12944         * sunrpc/svc_run.c: Likewise.
12945         * sunrpc/svc_tcp.c: Likewise.
12946         * sunrpc/svc_udp.c: Likewise.
12947         * sunrpc/svc_unix.c: Likewise.
12948         * sunrpc/svcauth_des.c: Likewise.
12949         * sunrpc/xcrypt.c: Likewise.
12950         * sunrpc/xdr.c: Likewise.
12951         * sunrpc/xdr_array.c: Likewise.
12952         * sunrpc/xdr_float.c: Likewise.
12953         * sunrpc/xdr_intXX_t.c: Likewise.
12954         * sunrpc/xdr_mem.c: Likewise.
12955         * sunrpc/xdr_rec.c: Likewise.
12956         * sunrpc/xdr_ref.c: Likewise.
12957         * sunrpc/xdr_sizeof.c: Likewise.
12958         * sunrpc/xdr_stdio.c: Likewise.
12960 2012-05-10  Roland McGrath  <roland@hack.frob.com>
12962         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12963         change.  Update copyright years.
12965 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
12967         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12969 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
12970             Joseph Myers  <joseph@codesourcery.com>
12971             Paul Pluzhnikov  <ppluzhnikov@google.com>
12973         [BZ #14012]
12974         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12975         requiring rpcgen.
12976         [cross-compiling] (extra-libs): Likewise.
12977         [cross-compiling] (extra-libs-others): Likewise.
12978         [cross-compiling] (librpcsvc-routines): Likewise.
12979         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12980         [cross-compiling] (omit-deps): Likewise.
12981         (sunrpc-CPPFLAGS): New variable.
12982         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12983         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12984         (cross-rpcgen-objs): New variable.
12985         (extra-objs): Append $(cross-rpcgen-objs).
12986         ($(cross-rpcgen-objs)): New rule.
12987         ($(objpfx)cross-rpcgen): Likewise.
12988         (rpcgen-cmd): Define to use $(built-program-file).  Expand
12989         comment.
12990         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12991         ($(objpfx)x%.stmp): Likewise.
12992         * sunrpc/proto.h [IS_IN_build] (_): Define.
12993         [IS_IN_build] (_libc_intl_domainname): Likewise.
12995 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12997         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12998         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12999         and R_X86_64_TPOFF64.
13001 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13003         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13004         sysdeps/unix/sysv/syscalls.list.
13005         (stime): Likewise.
13006         (utime): Likewise.
13007         * sysdeps/unix/sysv/syscalls.list: Remove file.
13009 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
13011         [BZ #3440]
13012         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13013         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13014         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13015         (__LC_IDENTIFICATION): Make these macros useful in #if
13016         expressions, as required by C99.
13018 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
13020         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13021         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
13022         after this.
13024 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
13026         * stdlib/longlong.h: Updated from GCC.
13028 2012-05-09  Andreas Jaeger  <aj@suse.de>
13030         * nscd/nscd.c (run_modes): Make named enum, reorder so that
13031         default is first entry.
13032         (run_mode): Set type.
13033         (main): Remove informal message about syslog.
13034         (options): Fix typo.
13036         [BZ #14053]
13037         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13038         to asm.
13039         (lrint): Likewise.
13040         (llrintf): Likewise.
13041         (llrint): Likewise.
13042         (rint): Likewise.
13043         (rintf): Likewise.
13044         (nearbyint): Likewise.
13045         (nearbyintf): Likewise.
13047 2012-05-09  Andreas Jaeger  <aj@suse.de>
13048             Pedro Alves  <palves@redhat.com>
13050         * nscd/nscd.c (run_mode): Use enum.
13051         (main): Cleanup coding style issue.
13053 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
13054             Andreas Jaeger  <aj@suse.de>
13056         * nscd/nscd.c (go_background): Replaced with...
13057         (run_mode): ... this.
13058         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13059         (options): Add -F --foreground.
13060         (main): Implement it.
13061         (parse_opt): Parse it.
13063 2012-05-09  Andreas Jaeger  <aj@suse.de>
13065         [BZ #14083]
13066         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13067         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13068         -Wconversion warning.
13069         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13070         Likewise.
13072 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
13074         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
13075         == 0.
13076         (LC_ALL): Use macro-int-constant.
13077         (LC_COLLATE): Likewise.
13078         (LC_CTYPE): Likewise.
13079         (LC_MESSAGES): Likewise.
13080         (LC_MONETARY): Likewise.
13081         (LC_NUMERIC): Likewise.
13082         (LC_TIME): Likewise.
13083         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13084         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13085         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13086         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13087         Specify type.
13088         [C99-based standards] (float_t): Expect type.
13089         [C99-based standards] (double_t): Expect type.
13090         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
13091         type.
13092         [C99-based standards] (HUGE_VALL): Likewise.
13093         [C99-based standards] (INFINITY): Likewise.
13094         [C99-based standards] (NAN): Likewise.
13095         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13096         [C99-based standards] (FP_NAN): Likewise.
13097         [C99-based standards] (FP_NORMAL): Likewise.
13098         [C99-based standards] (FP_SUBNORMAL): Likewise.
13099         [C99-based standards] (FP_ZERO): Likewise.
13100         [C99-based standards] (FP_FAST_FMA): Use
13101         optional-macro-int-constant.  Specify type.  Require == 1.
13102         [C99-based standards] (FP_FAST_FMAF): Likewise.
13103         [C99-based standards] (FP_FAST_FMAL): Likewise.
13104         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13105         [C99-based standards] (FP_ILOGBNAN): Likewise.
13106         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13107         Specify type.
13108         [C99-based standards] (MATH_ERREXCEPT): Likewise.
13109         [C99-based standards] (math_errhandling): Specify type.
13110         [ISO99 || ISO11] (signgam): Do not allow.
13111         [non-C99-based standards] (copysignf): Do not allow.
13112         [non-C99-based standards] (exp2f): Likewise.
13113         [non-C99-based standards] (log2f): Likewise.
13114         [non-C99-based standards] (modff): Allow.
13115         [non-C99-based standards] (erff): Do not allow.
13116         [non-C99-based standards] (erfcf): Likewise.
13117         [non-C99-based standards] (gammaf): Likewise.
13118         [non-C99-based standards] (hypotf): Likewise.
13119         [non-C99-based standards] (j0f): Likewise.
13120         [non-C99-based standards] (j1f): Likewise.
13121         [non-C99-based standards] (jnf): Likewise.
13122         [non-C99-based standards] (lgammaf): Likewise.
13123         [non-C99-based standards] (tgammaf): Likewise.
13124         [non-C99-based standards] (y0f): Likewise.
13125         [non-C99-based standards] (y1f): Likewise.
13126         [non-C99-based standards] (ynf): Likewise.
13127         [non-C99-based standards] (isnanf): Likewise.
13128         [non-C99-based standards] (acoshf): Likewise.
13129         [non-C99-based standards] (asinhf): Likewise.
13130         [non-C99-based standards] (atanhf): Likewise.
13131         [non-C99-based standards] (cbrtf): Likewise.
13132         [non-C99-based standards] (expm1f): Likewise.
13133         [non-C99-based standards] (ilogbf): Likewise.
13134         [non-C99-based standards] (log1pf): Likewise.
13135         [non-C99-based standards] (logbf): Likewise.
13136         [non-C99-based standards] (nextafterf): Likewise.
13137         [non-C99-based standards] (remainderf): Likewise.
13138         [non-C99-based standards] (rintf): Likewise.
13139         [non-C99-based standards] (scalbf): Likewise.
13140         [non-C99-based standards] (copysignl): Likewise.
13141         [non-C99-based standards] (exp2l): Likewise.
13142         [non-C99-based standards] (log2l): Likewise.
13143         [non-C99-based standards] (modfl): Allow.
13144         [non-C99-based standards] (erfl): Do not allow.
13145         [non-C99-based standards] (erfcl): Likewise.
13146         [non-C99-based standards] (gammal): Likewise.
13147         [non-C99-based standards] (hypotl): Likewise.
13148         [non-C99-based standards] (j0l): Likewise.
13149         [non-C99-based standards] (j1l): Likewise.
13150         [non-C99-based standards] (jnl): Likewise.
13151         [non-C99-based standards] (lgammal): Likewise.
13152         [non-C99-based standards] (tgammal): Likewise.
13153         [non-C99-based standards] (y0l): Likewise.
13154         [non-C99-based standards] (y1l): Likewise.
13155         [non-C99-based standards] (ynl): Likewise.
13156         [non-C99-based standards] (isnanl): Likewise.
13157         [non-C99-based standards] (acoshl): Likewise.
13158         [non-C99-based standards] (asinhl): Likewise.
13159         [non-C99-based standards] (atanhl): Likewise.
13160         [non-C99-based standards] (cbrtl): Likewise.
13161         [non-C99-based standards] (expm1l): Likewise.
13162         [non-C99-based standards] (ilogbl): Likewise.
13163         [non-C99-based standards] (log1pl): Likewise.
13164         [non-C99-based standards] (logbl): Likewise.
13165         [non-C99-based standards] (nextafterl): Likewise.
13166         [non-C99-based standards] (remainderl): Likewise.
13167         [non-C99-based standards] (rintl): Likewise.
13168         [non-C99-based standards] (scalbl): Likewise.
13169         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13170         [non-C99-based standards] (FP_*): Do not allow.
13171         [C99-based standards] (FP_*): Change to
13172         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13173         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13174         allow.
13175         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13176         (SIG_ERR): Likewise.
13177         [X/Open-based standards] (SIG_HOLD): Likewise.
13178         (SIG_IGN): Likewise.
13179         (SIGABRT): Use macro-int-constant.  Specify type.  Require
13180         positive value.
13181         (SIGFPE): Likewise.
13182         (SIGILL): Likewise.
13183         (SIGINT): Likewise.
13184         (SIGSEGV): Likewise.
13185         (SIGTER): Likewise.
13186         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13187         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13188         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13189         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13190         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13191         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13192         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13193         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13194         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13195         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13196         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13197         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13198         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13199         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13200         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13201         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13202         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13203         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13204         [X/Open-based standards] (SIGTRAP): Likewise.
13205         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13206         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13207         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13208         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13209         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13210         allow.
13212 2012-05-08  Ian Wienand  <ianw@vmware.com>
13214         [BZ #14080]
13215         * time/tzset.c (__tzset_parse_tz): Update default rules for
13216         daylight time changes in the Energy Policy Act of 2005.
13218 2012-05-09  Andreas Jaeger  <aj@suse.de>
13220         [BZ #13983]
13221         * elf/ldconfig.c (parse_conf): Change string to make clear that
13222         ldconfig only issued a warning if ld.so.conf does not exist.
13224 2012-05-08  David S. Miller  <davem@davemloft.net>
13226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13227         movxtod instead of popping the value on the stack.
13229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13231 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
13233         * config.h.in: Add HAVE_ARM_PCS_VFP.
13235 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
13237         [BZ #13979]
13238         * include/features.h: Warn if user requests __FORTIFY_SOURCE
13239         checking but the checks are disabled for any reason.
13241 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
13243         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13244         and ELF64_R_TYPE with ELFW(R_TYPE).
13246 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
13248         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13249         (ulimit): Likewise.
13251         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13252         (settimeofday): Likewise.
13254 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
13256         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
13257         a struct th_u2 inside the union, and move tu_block/tu_code into
13258         a new th_u3 union of tu_block/tu_code inside of that.  Move
13259         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
13260         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
13261         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13262         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13263         (th_stuff): Change to th_u1.tu_stuff.
13264         (th_data): Define.
13265         (th_msg): Change to th_u1.th_u2.tu_data.
13267 2012-05-07  David S. Miller  <davem@davemloft.net>
13269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13271         [BZ #14074]
13272         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13273         (SETUP_PIC_REG): Use it.
13274         (SETUP_PIC_REG_LEAF): Use it.
13276 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
13278         [BZ #13885]
13279         [BZ #13923]
13280         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13281         USE_AS_EXPM1L.
13282         (EXPL_FINITE): Likewise.
13283         (FLDLOG): Likewise.
13284         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13285         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13286         e_expl.S.
13287         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13288         USE_AS_EXPM1L.
13289         (EXPL_FINITE): Likewise.
13290         (FLDLOG): Likewise.
13291         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13292         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13293         e_expl.S.
13294         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
13295         test of -max_value argument for long double.
13296         * sysdeps/i386/fpu/libm-test-ulps: Update.
13297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13299 2012-05-06  David S. Miller  <davem@davemloft.net>
13301         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13302         quad soft-float symbols whose references which are compiler
13303         generated.
13304         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13306 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
13308         [BZ #13884]
13309         [BZ #13914]
13310         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13311         USE_AS_EXP10L.
13312         (EXPL_FINITE): Likewise.
13313         (FLDLOG): Likewise.
13314         (c0): Likewise.
13315         (c1): Likewise.
13316         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
13317         Adjust comments for base varying.
13318         (__expl_finite): Change alias to EXPL_FINITE.
13319         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13320         e_expl.S.
13321         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13322         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13323         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13324         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13325         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13326         USE_AS_EXP10L.
13327         (EXPL_FINITE): Likewise.
13328         (FLDLOG): Likewise.
13329         (c0): Likewise.
13330         (c1): Likewise.
13331         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
13332         Adjust comments for base varying.
13333         (__expl_finite): Change alias to EXPL_FINITE.
13334         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
13335         tests for bugs.
13336         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13338         [BZ #14064]
13339         * math/libm-test.inc (check_float_internal): Correct ulp
13340         calculation for subnormal expected results.
13342 2012-05-06  Andreas Jaeger  <aj@suse.de>
13344         * Makeconfig (+math-flags): New, set to -frounding-math.
13345         (+cflags): Add +math-flags so that all of glibc gets compiled with
13346         it.
13348         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13350 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
13352         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13353         Disable one test.
13355         [BZ #13787]
13356         [BZ #13922]
13357         [BZ #14036]
13358         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13359         (__ieee754_expl): Allow for and saturate large arguments.
13360         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13361         (u_threshold): Likewise.
13362         (__exp): Call __ieee754_exp before checking for overflow and
13363         underflow.
13364         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13365         (u_threshold): Likewise.
13366         (__expf): Call __ieee754_expf before checking for overflow and
13367         underflow.
13368         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13369         (u_threshold): Likewise.
13370         (__expl): Call __ieee754_expl before checking for overflow and
13371         underflow.
13372         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13373         (__ieee754_expl): Allow for and saturate large arguments.
13374         * math/libm-test.inc (exp_test): Add another test.  Do not allow
13375         missing overflow exception on overflow.
13376         (expm1_test): Do not allow missing overflow exception on overflow.
13378         * sysdeps/i386/fpu/e_expl.c: Move to ...
13379         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
13380         rather than using inline asm.
13381         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13382         * sysdeps/x86_64/fpu/e_expl.S: Copy from
13383         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13385         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13386         (nice): Likewise.
13387         (poll): Likewise.
13388         (signal): Likewise.
13389         (time): Likewise.
13390         (times): Likewise.
13392 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13394         * sysdeps/unix/syscalls.list (adjtime): Add entry from
13395         sysdeps/unix/common/syscalls.list.
13396         (fchmod): Likewise.
13397         (fchown): Likewise.
13398         (ftruncate): Likewise.
13399         (getrusage): Likewise.
13400         (gettimeofday): Likewise.
13401         (setpgid): Likewise.
13402         (setregid): Likewise.
13403         (setreuid): Likewise.
13404         (sigaction): Likewise.
13405         (truncate): Likewise.
13406         (vhangup): Likewise.
13407         * sysdeps/unix/common/syscalls.list: Remove file.
13408         * sysdeps/unix/bsd/Implies: Don't include unix/common.
13409         * sysdeps/unix/sysv/linux/Implies: Likewise.
13411 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
13413         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13415         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13416         Moved to ...
13417         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13418         Here.
13419         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13420         to ...
13421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13422         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13423         to ...
13424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13425         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13426         to ...
13427         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13428         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13429         to ...
13430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13431         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13432         to ...
13433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13434         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13435         to ...
13436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13437         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13438         to ...
13439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13440         Here.
13441         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13442         to ...
13443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13444         Here.
13445         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13446         to ...
13447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13448         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13449         Moved to ...
13450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13451         Here.
13452         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13453         to ...
13454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13456 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13458         * sysdeps/unix/common/bits/dirent.h: Remove file.
13459         * sysdeps/unix/common/bits/fcntl.h: Likewise.
13461         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13462         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13463         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13464         * sysdeps/unix/bsd/isatty.c: Likewise.
13465         * sysdeps/unix/bsd/tcdrain.c: Likewise.
13466         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13467         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13469 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13471         [BZ #13563]
13472         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13473         long double comparison inaccuracies.
13474         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13477 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
13479         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13480         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13482 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13484         [BZ #14049]
13485         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13486         nonzero digits before rounding a hex value.
13487         * stdlib/tst-strtod.c (tests): Add another test.
13489 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13491         * sysdeps/s390/fpu/libm-test-ulps: Update.
13493 2012-05-03  Andreas Jaeger  <aj@suse.de>
13495         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13496         does not get optimized out.
13497         (malloc_opt_barrier): New.
13499 2012-05-03  Andreas Jaeger  <aj@suse.de>
13500             Roland McGrath  <roland@hack.frob.com>
13502         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13503         intermediate file deletion.
13504         (generated): Add .symlist files.
13506 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
13508         [BZ #13775]
13509         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13510         Redirect under this condition.
13511         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13512         [__USE_GNU] (__dprintf_chk): Not under this condition.
13513         [__USE_GNU] (__vdprintf_chk): Likewise.
13514         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13515         under this condition.
13516         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13517         [__USE_XOPEN2K8] (dprintf): Define under this condition.
13518         [__USE_XOPEN2K8] (vdprintf): Likewise.
13519         [__USE_GNU] (__dprintf_chk): Not under this condition.
13520         [__USE_GNU] (__vdprintf_chk): Likewise.
13521         [__USE_GNU] (dprintf): Likewise.
13522         [__USE_GNU] (vdprintf): Likewise.
13524 2012-05-03  Roland McGrath  <roland@hack.frob.com>
13526         * elf/Makefile (common-generated): Set this instead of generated for
13527         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
13528         $(all-built-dso)-derived lists.
13530 2012-05-03  Andreas Jaeger  <aj@suse.de>
13532         * sysdeps/i386/fpu/libm-test-ulps: Update.
13534         * FAQ: Removed.
13535         * FAQ.in: Likewise.
13536         * scripts/gen-FAQ.pl: Likewise.
13537         * manual/install.texi (Installation): Point to online location of
13538         FAQ.
13539         * Makefile (files-for-dist): Remove FAQ.
13540         (FAQ): Remove.
13542 2012-05-02  Allan McRae  <allan@archlinux.org>
13544         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13545         (LDFLAGS-reldepmod5.so): Likewise.
13546         (LDFLAGS-reldep6mod1.so): Likewise.
13547         (LDFLAGS-reldep6mod4.so): Likewise.
13548         (LDFLAGS-reldep8mod3.so): Likewise.
13549         (LDFLAGS-unload4mod1.so): Likewise.
13550         (LDFLAGS-unload4mod2.so): Likewise.
13551         (LDFLAGS-tst-initorder): Likewise.
13552         (LDFLAGS-tst-initordera2.so): Likewise.
13553         (LDFLAGS-tst-initordera3.so): Likewise.
13554         (LDFLAGS-tst-initordera4.so): Likewise.
13555         (LDFLAGS-tst-initorderb2.so): Likewise.
13556         (LDFLAGS-noload): Likewise.
13557         (LDFLAGS-next): Likewise.
13558         (LDFLAGS-order2mod1.so): Likewise.
13559         (LDFLAGS-order2mod2.so): Likewise.
13560         (LDFLAGS-tst-initorder2): Likewise.
13561         (LDFLAGS-tst-initorder2a.so): Likewise.
13562         (LDFLAGS-tst-initorder2b.so): Likewise.
13563         (LDFLAGS-tst-initorder2c.so): Likewise.
13564         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13566 2012-05-02  David S. Miller  <davem@davemloft.net>
13568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13570 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13572         [BZ #14055]
13573         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13575 2012-05-02  Andreas Jaeger  <aj@suse.de>
13577         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13578         since we manipulate rounding mode.
13579         (CPPFLAGS-test-idouble.c): Likewise.
13580         (CPPFLAGS-test-ifloat.c): Likewise.
13581         (CFLAGS-test-ldouble.c): Likewise.
13582         (CFLAGS-test-double.c): Likewise.
13583         (CFLAGS-test-float.c): Likewise.
13584         (CFLAGS-test-misc.c): Likewise.
13585         (CFLAGS-test-test-fenv.c): Likewise.
13587 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13589         [BZ #2550]
13590         [BZ #2570]
13591         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13592         comparisons to determine direction to adjust input.
13594 2012-05-01  Roland McGrath  <roland@hack.frob.com>
13596         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13597         output to the target.
13599         * scripts/localplt.awk: New file.
13600         * elf/Makefile ($(objpfx)check-localplt): Target removed.
13601         (check-localplt-CFLAGS): Variable removed.
13602         ($(all-built-dso:=.jmprel)): New static pattern rule.
13603         (generated): Add those targets.
13604         (localplt-built-dso): New variable.
13605         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13607         * elf/check-localplt.c: File removed.
13609         * scripts/check-execstack.awk: New file.
13610         * elf/Makefile ($(objpfx)check-execstack): Target removed.
13611         (check-execstack-CFLAGS): Variable removed.
13612         ($(objpfx)check-execstack.h): Target removed.
13613         ($(objpfx)execstack-default): New target.
13614         (generated): Add that instead of check-execstack.h.
13615         ($(all-built-dso:=.phdr)): New static pattern rule.
13616         (generated): Add those targets.
13617         * elf/check-execstack.c: File removed.
13619         * scripts/check-textrel.awk: New file.
13620         * elf/Makefile ($(objpfx)check-textrel): Target removed.
13621         (check-textrel-CFLAGS): Variable removed.
13622         (all-built-dso): Use := to define.o
13623         ($(all-built-dso:=.dyn)): New static pattern rule.
13624         (generated): Add those targets.
13625         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13626         * config.make.in (READELF): New substituted variable.
13627         * elf/check-textrel.c: File removed.
13629 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
13631         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13632         allow.
13633         * conform/data/ctype.h-data [C99-based standards] (isblank):
13634         Expect function.
13635         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13636         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13637         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13638         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13639         Specify type.  Require positive value.
13640         (EILSEQ): Likewise.
13641         (ERANGE): Likewise.
13642         [ISO || POSIX] (EILSEQ): Do not expect.
13643         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13644         Specify type.  Require positive value.
13645         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13646         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13647         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13648         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13649         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13650         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13651         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13652         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13653         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13654         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13655         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13656         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13657         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13658         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13659         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13660         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13661         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13662         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13663         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13664         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13665         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13666         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13667         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13668         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13669         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13670         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13671         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13672         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13673         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13674         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13675         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13676         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13677         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13678         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13679         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13680         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13681         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13682         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13683         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13684         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13685         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13686         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13687         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13688         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13689         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13690         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13691         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13692         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13693         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13694         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13695         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13696         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13697         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13698         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13699         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13700         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13701         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13702         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13703         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13704         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13705         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13706         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13707         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13708         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13709         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13710         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13711         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13712         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13713         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13714         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13715         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13716         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13717         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13718         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13719         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13720         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13721         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13722         Require >= 2.
13723         (FLT_ROUNDS): Expect as macro, not constant.
13724         (FLT_MANT_DIG): Use macro-int-constant.
13725         (DBL_MANT_DIG): Likewise.
13726         (LDBL_MANT_DIG): Likewise.
13727         (FLT_DIG): Likewise.
13728         (DBL_DIG): Likewise.
13729         (LDBL_DIG): Likewise.
13730         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
13731         (DBL_MIN_EXP): Likewise.
13732         (LDBL_MIN_EXP): Likewise.
13733         (FLT_MAX_EXP): Use macro-int-constant.
13734         (DBL_MAX_EXP): Likewise.
13735         (LDBL_MAX_EXP): Likewise.
13736         (FLT_MAX_10_EXP): Likewise.
13737         (DBL_MAX_10_EXP): Likewise.
13738         (LDBL_MAX_10_EXP): Likewise.
13739         (FLT_MAX): Use macro-constant.
13740         (DBL_MAX): Likewise.
13741         (LDBL_MAX): Likewise.
13742         (FLT_EPSILON): Use macro-constant.  Give upper bound.
13743         (DBL_EPSILON): Likewise.
13744         (LDBL_EPSILON): Likewise.
13745         (FLT_MIN): Likewise.
13746         (DBL_MIN): Likewise.
13747         (LDBL_MIN): Likewise.
13748         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13749         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13750         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13751         [ISO11] (FLT_HAS_SUBNORM): Likewise.
13752         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13753         [ISO11] (DBL_DECIMAL_DIG): Likewise.
13754         [ISO11] (FLT_DECIMAL_DIG): Likewise.
13755         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13756         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13757         [ISO11] (FLT_TRUE_MIN): Likewise.
13758         [ISO11] (LDBL_TRUE_MIN): Likewise.
13759         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13760         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13761         (SCHAR_MIN): Use macro-int-constant.  Specify type.
13762         (SCHAR_MAX): Likewise.
13763         (UCHAR_MAX): Likewise.
13764         (CHAR_MIN): Likewise.
13765         (CHAR_MAX): Likewise.
13766         (MB_LEN_MAX): Use macro-int-constant.
13767         (SHRT_MIN): Use macro-int-constant.  Specify type.
13768         (SHRT_MAX): Likewise.
13769         (USHRT_MAX): Likewise.
13770         (INT_MAX): Likewise.
13771         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
13772         bound negative.
13773         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
13774         bound with "U".
13775         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
13776         bound with "L".
13777         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
13778         bound negative.  Suffix upper bound with "L".
13779         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
13780         bound with "UL".
13781         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13782         Specify type.
13783         [C99-based standards] (LLONG_MAX): Likewise.
13784         [C99-based standards] (ULLONG_MAX): Likewise.
13785         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
13786         == 0.
13787         [ISO11] (max_align_t): Require type.
13788         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13790         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13791         from $CFLAGS, without defining away __attribute__ calls.
13792         (checknamespace): Use $CFLAGS_namespace.
13794         * conform/conformtest.pl (@keywords): Only include C99 keywords
13795         for standards based on C99 or C11.
13797         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13798         Disable tests.
13799         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13800         UNIX98]: Likewise.
13802         * conform/conformtest.pl: Handle "macro-int-constant" and test for
13803         usability of symbols in #if.
13805         * conform/conformtest.pl: If macro or constant types start
13806         "promoted:", expect the symbol to be of the following type
13807         promoted by the integer promotions.
13809         * conform/conformtest.pl: Parse all "constant" and "macro" lines
13810         in one place.  Also handle "macro-constant".
13812         * conform/conformtest.pl: Only accept expected macro values with
13813         "==".  Parse all "macro" lines in one place.
13814         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13816         * conform/conformtest.pl: Handle braced types on "constant" lines
13817         instead of handling "typed-constant".
13818         * conform/data/signal.h-data: Use "constant" instead of
13819         "typed-constant".
13821         * conform/conformtest.pl: Handle "optional-" at start of lines in
13822         one place rather than duplicating several cases.  Handle each
13823         format of "macro" line with initial "optional-".
13825         * conform/conformtest.pl: Only accept expected constant or
13826         optional-constant values with "==".  Parse all "constant" lines in
13827         one place.  Parse all "optional-constant" lines in one place.
13828         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13829         * conform/data/fmtmsg.h-data: Likewise.
13830         * conform/data/netinet/in.h-data: Likewise.
13831         * conform/data/tar.h-data: Likewise.
13832         * conform/data/limits.h-data: Use "==" form on "constant" and
13833         "optional-constant" lines.
13835         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13836         Use -std=c99 for XOPEN2K.
13837         (@knownproblems): Remove.
13838         (newtoken): Don't check %isknown.
13840         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13841         Do not expect macro.
13842         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13843         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13844         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13845         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13846         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13847         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13848         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13849         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13850         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13851         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13852         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13853         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13854         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13855         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13856         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13857         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13858         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13859         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13860         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13861         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13862         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13863         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13864         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13865         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13866         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13867         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13868         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13869         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13870         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13871         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13872         [XPG3] (acosh): Likewise.
13873         [XPG3] (asinh): Likewise.
13874         [XPG3] (atanh): Likewise.
13875         [XPG3] (cbrt): Likewise.
13876         [XPG3] (expm1): Likewise.
13877         [XPG3] (ilogb): Likewise.
13878         [XPG3] (log1p): Likewise.
13879         [XPG3] (logb): Likewise.
13880         [XPG3] (nextafter): Likewise.
13881         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13882         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13883         [XPG3] (remainder): Likewise.
13884         [XPG3] (rint): Likewise.
13885         [XPG3 || XPG4 || UNIX98] (round): Likewise.
13886         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13887         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13888         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13889         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13890         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13891         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13892         [UNIX98 || XOPEN2K] (scalb): Expect.
13893         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13894         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13895         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13896         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13897         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13898         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13899         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13900         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13901         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13902         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13903         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13904         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13905         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13906         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13907         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13908         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13909         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13910         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13911         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13912         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13913         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13914         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13915         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13916         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13917         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13918         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13919         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13920         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13921         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13922         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13923         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13924         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13925         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13926         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13927         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13928         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13929         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13930         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13931         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13932         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13933         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13934         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13935         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13936         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13937         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13938         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13939         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13940         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13941         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13942         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13943         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13944         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13945         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13946         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13947         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13948         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13949         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13950         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13951         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13952         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13953         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13954         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13955         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13956         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13957         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13958         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13959         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13960         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13961         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13962         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13963         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13964         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13965         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13966         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13967         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13968         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13969         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13970         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13971         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13972         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13973         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13974         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13975         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13976         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13977         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13978         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13979         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13980         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13981         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13982         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13983         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13984         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13985         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13986         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13987         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13988         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13989         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13990         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13991         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13992         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13993         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13994         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13995         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13996         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13997         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13998         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13999         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14000         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14001         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14002         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14003         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14004         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14005         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14006         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14007         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14008         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14009         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14010         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14011         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14012         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14013         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14014         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14015         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14016         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14017         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14018         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14019         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14020         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14021         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14022         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14023         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14024         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14025         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14026         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14027         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14028         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14029         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14031         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14032         _XOPEN_SOURCE_EXTENDED for XPG4.
14034         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14036         * Makeconfig (localtime): Remove variable.
14037         (inst_localtime-file): Likewise.
14039 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14042         Update.
14043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14044         Update.
14045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14046         Update.
14047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14048         Update.
14049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14050         Update.
14051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14052         Update.
14053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14054         Update.
14055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14056         Update.
14057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14058         Update.
14060 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14062         [BZ #2550]
14063         [BZ #2570]
14064         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14065         comparisons to determine direction to adjust input.
14066         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14067         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14068         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14069         Likewise.
14070         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14071         Likewise.
14072         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14073         Likewise.
14074         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14075         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14076         Likewise.
14077         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14078         Likewise.
14079         * math/libm-test.inc (nexttoward_test): Add more tests.
14081 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14083         [BZ #14040]
14084         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14085         in version GLIBC_2.1, not GLIBC_2.0.
14086         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14087         Likewise.
14089 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
14091         [BZ #13942]
14092         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14093         (1 - x) * (1 + x).
14094         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14095         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14096         * math/libm-test.inc (acos_test): Add more tests.
14097         (asin_test): Likewise.
14098         * sysdeps/i386/fpu/libm-test-ulps: Update.
14099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14101         [BZ #14034]
14102         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14103         of square root.
14104         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14105         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14106         * math/libm-test.inc (acos_test_tonearest): New function.
14107         (acos_test_towardzero): Likewise.
14108         (acos_test_downward): Likewise.
14109         (acos_test_upward): Likewise.
14110         (asin_test_tonearest): Likewise.
14111         (asin_test_towardzero): Likewise.
14112         (asin_test_downward): Likewise.
14113         (asin_test_upward): Likewise.
14114         (main): Call the new functions.
14115         * sysdeps/i386/fpu/libm-test-ulps: Update.
14116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14118         [BZ #13884]
14119         [BZ #13924]
14120         * math/e_exp10.c: Include <float.h>.
14121         (__ieee754_exp10): Handle underflow here rather than multiplying
14122         large negative argument by M_LN10.
14123         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14124         of __ieee754_expf.
14125         * math/e_exp10l.c: Include <float.h>.
14126         (__ieee754_exp10l): Handle underflow here rather than multiplying
14127         large negative argument by M_LN10l.
14128         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
14129         spurious overflow exception on underflow.
14131 2012-04-29  Marek Polacek  <polacek@redhat.com>
14133         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14134         (__fortify_function): New macro.
14135         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14136         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14137         __extern_always_inline.
14138         * libio/bits/stdio2.h: Likewise.
14139         * libio/bits/stdio.h: Likewise.
14140         * string/string.h: Likewise.
14141         * string/bits/string3.h: Likewise.
14142         * include/stdio.h: Likewise.
14143         * stdlib/bits/stdlib.h: Likewise.
14144         * stdlib/stdlib.h: Likewise.
14145         * rt/bits/mqueue2.h: Likewise.
14146         * rt/mqueue.h: Likewise.
14147         * posix/bits/unistd.h: Likewise.
14148         * posix/unistd.h: Likewise.
14149         * io/bits/poll2.h: Likewise.
14150         * io/bits/fcntl2.h: Likewise.
14151         * io/fcntl.h: Likewise.
14152         * io/sys/poll.h: Likewise.
14153         * misc/bits/syslog.h: Likewise.
14154         * misc/bits/syslog-ldbl.h: Likewise.
14155         * misc/sys/syslog.h: Likewise.
14156         * socket/bits/socket2.h: Likewise.
14157         * socket/sys/socket.h: Likewise.
14158         * debug/tst-chk1.c: Likewise.
14159         * wcsmbs/bits/wchar2.h: Likewise.
14160         * wcsmbs/bits/wchar-ldbl.h: Likewise.
14161         * wcsmbs/wchar.h: Likewise.
14163 2012-04-29  Andreas Jaeger  <aj@suse.de>
14165         * Makerules (tests): Remove enable-check-abi protection.
14166         (check-abi-warn): Remove.
14167         (check-abi-%): Remove check-abi-warn usage.
14169         * configure.in: Remove check-abi configure option.
14170         * configure: Regenerated.
14171         * config.make.in (enable-check-abi): Remove.
14173 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
14175         [BZ #14033]
14176         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14177         double functions to double *_finite functions.
14179         [BZ #13941]
14180         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14181         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14182         LDBL_MIN_EXP.
14183         * stdio-common/Makefile (tests): Add tst-sprintf3.
14184         * stdio-common/tst-sprintf3.c: New file.
14186         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14187         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14189 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
14191         * conform/conformtest.pl: Remove duplicate typed-constant
14192         handling.
14194 2012-04-28  David S. Miller  <davem@davemloft.net>
14196         * Makerules (%.abilist): Add vpath on sysdep_dirs.
14197         (check-abi-%): Remove AWK script prerequisite and explicit
14198         abilist directory.
14199         (check-abi): Rewrite to just diff the symlist with the abilist.
14200         (config-tls, config-abi-config): Delete, no longer used.
14201         (update-abi-%): Remove AWK script and explicit abilist directory.
14202         (update-abi): Rewrite to simply compare and conditionally copy the
14203         symlist and the sysdep abilist file.  Remove update-abi-config
14204         checks.
14205         * abilist/ld.abilist: Remove.
14206         * abilist/libBrokenLocale.abilist: Remove.
14207         * abilist/libanl.abilist: Remove.
14208         * abilist/libcrypt.abilist: Remove.
14209         * abilist/libdl.abilist: Remove.
14210         * abilist/librt.abilist: Remove.
14211         * abilist/libthread_db.abilist: Remove.
14212         * abilist/libutil.abilist: Remove.
14213         * scripts/extract-abilist.awk: Remove.
14214         * scripts/merge-abilist.awk: Remove.
14215         * sysdeps/generic/libcidn.abilist: New file.
14216         * sysdeps/generic/libnss_compat.abilist: New file.
14217         * sysdeps/generic/libnss_db.abilist: New file.
14218         * sysdeps/generic/libnss_dns.abilist: New file.
14219         * sysdeps/generic/libnss_files.abilist: New file.
14220         * sysdeps/generic/libnss_hesiod.abilist: New file.
14221         * sysdeps/generic/libnss_nis.abilist: New file.
14222         * sysdeps/generic/libnss_nisplus.abilist: New file.
14223         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14224         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14225         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14226         file.
14227         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14228         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14229         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14230         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14231         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14232         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14233         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14234         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14235         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14236         file.
14237         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14238         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14239         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14240         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14241         file.
14242         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14243         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14244         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14245         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14246         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14247         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14248         file.
14249         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14250         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14251         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14252         file.
14253         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14254         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14255         New file.
14256         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14257         New file.
14258         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14259         New file.
14260         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14261         New file.
14262         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14263         New file.
14264         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14265         New file.
14266         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14267         New file.
14268         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14269         New file.
14270         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14271         New file.
14272         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14273         New file.
14274         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14275         New file.
14276         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14277         New file.
14278         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14279         New file.
14280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14281         file.
14282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14283         New file.
14284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14285         New file.
14286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14287         file.
14288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14289         New file.
14290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14291         New file.
14292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14293         file.
14294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14295         New file.
14296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14297         New file.
14298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14299         New file.
14300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14301         New file.
14302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14303         New file.
14304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14305         New file.
14306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14308         file.
14309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14310         New file.
14311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14312         file.
14313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14314         file.
14315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14316         file.
14317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14318         file.
14319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14320         file.
14321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14322         New file.
14323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14324         file.
14325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14326         file.
14327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14328         New file.
14329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14330         file.
14331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14333         file.
14334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14335         New file.
14336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14337         file.
14338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14339         file.
14340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14341         file.
14342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14343         file.
14344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14345         file.
14346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14347         New file.
14348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14349         file.
14350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14351         file.
14352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14353         New file.
14354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14355         file.
14356         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14357         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14358         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14359         file.
14360         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14361         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14362         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14363         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14364         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14365         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14366         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14367         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14368         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14369         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14372         file.
14373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14374         New file.
14375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14376         file.
14377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14378         file.
14379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14380         file.
14381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14382         file.
14383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14384         file.
14385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14386         New file.
14387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14388         New file.
14389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14390         file.
14391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14392         New file.
14393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14394         file.
14395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14397         file.
14398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14399         New file.
14400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14401         file.
14402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14403         file.
14404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14405         file.
14406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14407         file.
14408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14409         file.
14410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14411         New file.
14412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14413         New file.
14414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14415         file.
14416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14417         New file.
14418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14419         file.
14421 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
14423         * conform/conformtest.pl: Fix typo in handling typed-constant from
14424         allow-header.
14426 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
14428         * README: Cut down references to pre-2.6 Linux kernels and
14429         Linuxthreads.  Update lists of configurations in libc and ports
14430         and sort alphabetically.  Say "or newer" with Linux kernel version
14431         requirements.
14433         * config.h.in [IS_IN_build]: Allow compiling without optimization.
14435 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14437         [BZ #887]
14438         * math/libm-test.inc (logb_test_downward): New test to expose
14439         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14440         rounding mode.
14442 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
14444         [BZ #14027]
14445         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14446         to be done.
14447         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14448         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14450 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
14452         * sysdeps/unix/i386/brk.S: Remove file.
14453         * sysdeps/unix/i386/dl-brk.S: Likewise.
14454         * sysdeps/unix/i386/pipe.S: Likewise.
14455         * sysdeps/unix/i386/sigreturn.S: Likewise.
14456         * sysdeps/unix/i386/syscall.S: Likewise.
14457         * sysdeps/unix/i386/vfork.S: Likewise.
14458         * sysdeps/unix/i386/wait.S: Likewise.
14460         * sysdeps/unix/common/tcsendbrk.c: Move to ...
14461         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14463         * configure.in (arm*-none*): Do not allow without
14464         --enable-hacker-mode.
14465         (netbsd*): Remove case setting base_os.
14466         (386bsd*): Likewise.
14467         (freebsd*): Likewise.
14468         (bsdi*): Likewise.
14469         (osf*): Likewise.
14470         (sunos*): Likewise.
14471         (ultrix*): Likewise.
14472         (newsos*): Likewise.
14473         (dynix*): Likewise.
14474         (*bsd*): Likewise.
14475         (sysv*): Likewise.
14476         (isc*): Likewise.
14477         (esix*): Likewise.
14478         (sco*): Likewise.
14479         (minix*): Likewise.
14480         (irix4*): Likewise.
14481         (irix6*): Likewise.
14482         (solaris[2-9]*): Likewise.
14483         (none): Likewise.
14484         * configure: Regenerated.
14486 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14488         [BZ #11521]
14489         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14490         overflow or cancellation in calculating denominator.
14491         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14492         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14493         down expression to avoid unexpected rounding in newer GCCs.
14494         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14496 2012-04-26  David S. Miller  <davem@davemloft.net>
14498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14499         long-double compat symbols.
14500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14514 2012-04-25  David S. Miller  <davem@davemloft.net>
14516         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14517         HWCAP_* values only after the memory barriers have been defined.
14518         (atomic_full_barrier): Define.
14519         (atomic_read_barrier): Define.
14520         (atomic_write_barrier): Define.
14522 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14524         * shlib-versions: Add libgcc_s version information.
14525         * sysdeps/generic/libgcc_s.h: Remove.
14526         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14527         libgcc_s.h.
14528         * sysdeps/gnu/unwind-resume.c: Likewise.
14529         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14531 2012-04-25  David S. Miller  <davem@davemloft.net>
14533         * sysdeps/unix/sparc/brk.S: Delete.
14534         * sysdeps/unix/sparc/dl-brk.S: Delete.
14535         * sysdeps/unix/sparc/pipe.S: Delete.
14536         * sysdeps/unix/sparc/sysdep.S: Delete.
14537         * sysdeps/unix/sparc/sysdep.h: Delete.
14538         * sysdeps/unix/sparc/vfork.S: Delete.
14539         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14540         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14541         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14542         ret_ERRVAL, r0, r1, MOVE): Define.
14543         (JUMPTARGET): Remove.
14544         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14545         sysdeps/unix/sparc/sysdep.h
14546         (ENTRY, END): Remove.
14547         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14549 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
14551         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14552         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14553         -DIS_IN_build.
14555         * timezone/README: Update upstream location and email address for
14556         tzcode and tzdata.
14557         * timezone/zdump.c: Update from tzcode 2012b.
14558         * timezone/zic.c: Likewise.
14560         * configure.in (libc_cv_as_needed): Remove test.
14561         * configure: Regenerated.
14562         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14563         conditional definition.
14564         [$(have-as-needed) != yes] (no-as-needed): Likewise.
14565         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14566         * config.make.in (have-as-needed): Remove variable.
14568 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14569             Paul Pluzhnikov  <ppluzhnikov@google.com>
14571         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14572         strings correctly.
14574 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
14576         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14577         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14578         * sysdeps/sh/strlen.S: Likewise.
14580 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
14582         * sysdeps/unix/fork.S: Remove file.
14583         * sysdeps/unix/i386/fork.S: Likewise.
14584         * sysdeps/unix/sparc/fork.S: Likewise.
14586         * sysdeps/unix/system.c: Remove file.
14587         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14589         * sysdeps/unix/getegid.S: Remove file.
14590         * sysdeps/unix/geteuid.S: Likewise.
14592 2012-04-24  Roland McGrath  <roland@hack.frob.com>
14594         * scripts/check-localplt.awk: New file.
14595         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14596         of diff.
14597         * scripts/data/localplt-generic.data: Add a comment.
14599         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14600         NODE when __dir_mkfile failed.
14601         * sysdeps/mach/hurd/symlinkat.c: Likewise.
14602         Reported by Ludovic Courtès <ludo@gnu.org>.
14604 2012-04-24  Andreas Jaeger  <aj@suse.de>
14606         * Makerules (common-clean): Also remove gen-as-const-headers
14607         files.
14609 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
14611         * Makerules (native-compile): Do not change working directory for
14612         build.  Use $(OUTPUT_OPTION) in command.
14613         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14615 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14617         [BZ #13886]
14618         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14619         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14620         * math/libm-test.inc (floor_test): Add more tests.
14621         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14623 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
14625         * sysdeps/unix/getdents.c: Remove file.
14626         * sysdeps/unix/sysv/getdents.c: Likewise.
14627         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14629         * sysdeps/unix/syscalls.list (madvise): Add syscall from
14630         sysdeps/unix/mman/syscalls.list.
14631         (mmap): Likewise.
14632         (mprotect): Likewise.
14633         (msync): Likewise.
14634         (munmap): Likewise.
14635         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14636         * sysdeps/unix/mman/syscalls.list: Remove.
14637         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14639         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14640         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14641         * configure: Regenerated.
14642         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14643         $(libgcc_s_suffix).
14644         * config.make.in (libgcc_s_suffix): Remove variable.
14646 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
14648         * sysdeps/unix/sysv/gethostname.c: Move to ...
14649         * sysdeps/posix/gethostname.c: ... here.
14651         * sysdeps/unix/execve.S: Remove file.
14653         * sysdeps/unix/_exit.S: Remove file.
14655 2012-04-23  Andreas Jaeger  <aj@suse.de>
14657         [BZ #13739]
14658         * manual/Makefile: Remove make dist support, there's no
14659         need for a stand-alone documentation tar ball.
14660         (TEXI2DVI): Define always, it's not in Makeconfig.
14661         (dist): Removed.
14662         (tar-it): Removed.
14663         (edition): Removed.
14664         (glibc-doc-$(edition).tar): Removed
14665         (%.Z): Removed.
14666         (%.gz): Removed.
14667         (%.uu): Removed.
14668         (ETAGS): Remove, it's in Makeconfig.
14669         (move-if-change): Remove, it's in Makeconfig.
14671 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
14673         [BZ #13970]
14674         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14675         (strtod, strtof, strtold, strtol, strtoul, strtoq)
14676         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14677         (strtod_l, strtof_l, strtold_l): Remove __wur.
14678         It is not necessarily an error to ignore strtol's return value.
14679         One can reliably look at the stored endptr to decide whether
14680         the number had valid syntax.
14682 2012-04-21  Andreas Jaeger  <aj@suse.de>
14684         [BZ #13739]
14685         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14687 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
14689         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14690         * sysdeps/unix/sysv/Versions: Remove file.
14692 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
14694         [BZ #13927]
14695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14697 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
14699         [BZ #7064]
14700         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14701         version from __vm86.
14703 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
14705         * sysdeps/unix/common/lxstat.c: Remove file.
14706         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14708         * sysdeps/unix/sysv/Makefile: Remove file.
14710         * sysdeps/unix/sysv/direct.h: Remove file.
14712         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14713         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14714         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14715         * sysdeps/unix/sysv/bits/signum.h: Likewise.
14716         * sysdeps/unix/sysv/bits/stat.h: Likewise.
14717         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14718         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14720         * sysdeps/unix/sysv/setrlimit.c: Remove file.
14722         * sysdeps/unix/xmknod.c: Remove file.
14723         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14725         * sysdeps/unix/sysv/settimeofday.c: Remove file.
14727         * sysdeps/unix/sysv/i386/time.S: Remove file.
14729         * sysdeps/unix/fxstat.c: Remove file.
14730         * sysdeps/unix/xstat.c: Likewise.
14731         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14733         * sysdeps/unix/sysv/sigaction.c: Remove file.
14735         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14736         (sysdep_headers): Remove variable.
14737         [termio.h not in sysdep_headers] (generated): Likewise.
14738         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14739         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14740         * sysdeps/unix/sysv/tcdrain.c: Likewise.
14741         * sysdeps/unix/sysv/tcflow.c: Likewise.
14742         * sysdeps/unix/sysv/tcflush.c: Likewise.
14743         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14744         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14745         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14746         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14747         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14749         * sysdeps/unix/siglist.c: Remove file.
14751         * sysdeps/unix/getppid.S: Remove file.
14753         * sysdeps/unix/mkdir.c: Remove file.
14754         * sysdeps/unix/rmdir.c: Likewise.
14756 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
14758         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14759         ERR_MAX value.
14760         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14761         errlist-compat value.
14763 2012-04-18  David S. Miller  <davem@davemloft.net>
14765         * sysdeps/generic/memcopy.h (reg_char): Delete.
14766         * debug/strcat_chk.c: Use char, not reg_char.
14767         * debug/strcpy_chk.c: Likewise.
14768         * debug/strncat_chk.c: Likewise.
14769         * debug/strncpy_chk.c: Likewise.
14770         * string/memchr.c: Likewise.
14771         * string/memrchr.c: Likewise.
14772         * string/rawmemchr.c: Likewise.
14773         * string/strcat.c: Likewise.
14774         * string/strchr.c: Likewise.
14775         * string/strchrnul.c: Likewise.
14776         * string/strcmp.c: Likewise.
14777         * string/strcpy.c: Likewise.
14778         * string/strncat.c: Likewise.
14779         * string/strncmp.c: Likewise.
14780         * string/strncpy.c: Likewise.
14782 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
14784         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14785         __builtin_memcopy is called when src and dest ranges are known to not
14786         overlap.
14788 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
14790         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14791         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14792         fwd_align_merge macro call.
14793         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14794         bwd_align_merge macro call.
14795         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14797 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
14799         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14800         bwd_align_merge macros.
14801         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14802         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14803         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14805 2012-04-18  David S. Miller  <davem@davemloft.net>
14807         * sysdeps/sparc/sparc64/memcopy.h: Delete.
14809 2012-04-18  Andreas Jaeger  <aj@suse.de>
14811         [BZ# 6794]
14812         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14813         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14814         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14816         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14817         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14818         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14820         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14821         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14822         Adjust for changed ldbl-128 files.
14824         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14825         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14826         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14828 2012-04-17  David S. Miller  <davem@davemloft.net>
14830         * sysdeps/sparc/sparc32/memcopy.h: Delete.
14832 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
14834         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14835         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14836         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14837         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14838         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14839         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14841 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14843         [BZ #6794]
14844         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14845         * math/libm-test.inc: Add ilogb errno and exception tests.
14846         * math/w_ilogb.c: New file: ilogb wrapper.
14847         * math/w_ilogbf.c: New file: ilogbf wrapper.
14848         * math/w_ilogbl.c: New file: ilogbl wrapper.
14849         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14850         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14851         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14852         exception being thrown with 0.0 as argument.
14853         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14854         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14855         exception being thrown with 0.0 as argument.
14856         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14857         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14858         exception being thrown with 0.0 as argument.
14859         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14860         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14861         exception being thrown with 0.0 as argument.
14862         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14863         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14864         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14865         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14866         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14867         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14868         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14869         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14870         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14872 2012-04-17  Petr Baudis  <pasky@ucw.cz>
14874         * include/sys/uio.h: Change __vector to __iovec to avoid clash
14875         with altivec.
14877 2012-04-16  Marek Polacek  <polacek@redhat.com>
14879         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14881 2012-04-16  Marek Polacek  <polacek@redhat.com>
14883         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14884         operands of fdivp instruction.
14886 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
14888         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14889         * elf/tst-auditmod3b.c: Likewise.
14890         * elf/tst-auditmod4b.c: Likewise.
14891         * elf/tst-auditmod5b.c: Likewise.
14892         * elf/tst-auditmod6b.c: Likewise.
14893         * elf/tst-auditmod6c.c: Likewise.
14894         * elf/tst-auditmod7b.c: Likewise.
14895         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14896         * sysdeps/x86_64/preconfigure.in: Likewise.
14897         * sysdeps/x86_64/preconfigure: Regenerated.
14899 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
14901         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14902         __ILP32__.
14904 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
14906         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14907         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14909 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
14911         [BZ #13973]
14912         * locale/iso-639.def: Fix gl language name. Spotted by
14913         Yaron Shahrabani.
14915 2012-04-12  Roland McGrath  <roland@hack.frob.com>
14917         [BZ #2074]
14918         * libio/libio.h (__io_write_fn): Update comment.
14920 2012-04-12  Petr Baudis  <pasky@ucw.cz>
14922         [BZ #2074]
14923         * stdio.texi (Hook Functions): The user provided writer function
14924         is not allowed to return -1.
14926 2012-04-11  David S. Miller  <davem@davemloft.net>
14928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14930 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
14932         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14933         Add a leading slash to rtkaio.
14935 2012-04-11  Jim Meyering  <meyering@redhat.com>
14937         [BZ #11959]
14938         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14939         It is not necessarily an error to ignore fwrite's return
14940         value.  One can reliably use ferror to test for errors after
14941         the fact.
14943 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
14945         * bits/types.h (__snseconds_t): New type.
14946         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14948         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14949         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14950         (__SNSECONDS_T_TYPE): Likewise.
14951         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14952         (__SNSECONDS_T_TYPE): Likewise.
14953         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14954         (__SNSECONDS_T_TYPE): Likewise.
14956 2012-04-10  Andreas Jaeger  <aj@suse.de>
14958         [BZ #2636]
14959         * manual/time.texi (Processor Time): Return type of times is
14960         elapsed real time since an arbitrary point in the past.
14961         (CPU Time): Move CLK_TCK from here...
14962         (Processor Time): ...to here.  Correct description.
14963         * manual/conf.texi (Constants for Sysconf): Correct description of
14964         _SC_CLK_TCK.
14966 2012-04-10  David S. Miller  <davem@davemloft.net>
14968         [BZ #13967]
14969         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14970         where the is a gap between DT_REL(A) and DT_JMPREL.
14972 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
14974         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14975         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14976         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14978 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14980         * elf/dl-support.c (_dl_inhibit_cache): New variable.
14981         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14982         (dl_main): Handle --inhibit-cache.
14983         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14984         _dl_inhibit_cache.
14985         * elf/dl-load.c (_dl_map_object): Use it.
14986         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14988 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
14990         [BZ #13872]
14991         * sysdeps/i386/fpu/e_powl.S (p78): New object.
14992         (__ieee754_powl): Saturate large exponents rather than testing for
14993         overflow of y*log2(x).
14994         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14995         * math/libm-test.inc (pow_test): Do not permit spurious overflow
14996         exceptions.
14998         [BZ #11521]
14999         * math/s_ctan.c: Include <float.h>.
15000         (__ctan): Avoid internal overflow or cancellation in calculating
15001         denominator.
15002         * math/s_ctanf.c: Likewise.
15003         * math/s_ctanl.c: Likewise.
15004         * math/s_ctanh.c: Likewise.
15005         * math/s_ctanhf.c: Likewise.
15006         * math/s_ctanhl.c: Likewise.
15007         * math/libm-test.inc (ctan_test): Add more tests.
15008         (ctanh_test): Likewise.
15009         * sysdeps/i386/fpu/libm-test-ulps: Update.
15010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15012 2012-04-09  Andreas Jaeger  <aj@suse.de>
15014         [BZ #6894]
15015         * manual/filesys.texi (Directory Entries): Mention that d_namlen
15016         is an optional BSD extension.
15018         [BZ #10254]
15019         * manual/stdio.texi (Opening Streams): Document additional fopen
15020         parameters.
15022 2012-04-09  Roland McGrath  <roland@hack.frob.com>
15024         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15025         %eax without telling the compiler.
15027 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
15029         [BZ # 13963]
15030         * manual/install.texi: Use sourceware.org.
15032 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15034         [BZ #13873]
15035         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15036         (__ieee754_pow): Generate overflow and underflow using huge*huge
15037         and tiny*tiny rather than just returning constant infinity or zero
15038         for large exponents.
15039         * math/libm-test.inc (pow_test): Require overflow exceptions for
15040         applicable cases of large exponents.
15042         [BZ #706]
15043         * sysdeps/i386/fpu/e_pow.S (p10): New object.
15044         (__ieee754_pow): Use iterative multiplication algorithm only for
15045         integer exponents with absolute value below 1024.  Check for odd
15046         integer exponents when using algorithm for real exponents.
15047         * math/libm-test.inc (pow_test): Add more tests.
15048         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15050 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
15052         [BZ #13705]
15053         * math/libm-test.inc (exp_test): Do not allow overflow exception
15054         on underflow test.
15056 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
15058         [BZ #13705]
15059         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15060         instead of __kernel_standard_f.
15062 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
15064         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15065         * sysdeps/x86_64/memset_chk.S: Likewise.
15067 2012-04-08  Andreas Jaeger  <aj@suse.de>
15069         [BZ #10153]
15070         * manual/startup.texi (Environment Access): Describe return value
15071         for putenv and setenv.
15073         [BZ #6895]
15074         * manual/filesys.texi (Directory Entries): Add description for
15075         DT_LNK.
15077         [BZ #6890]
15078         * manual/filesys.texi (Directory Entries): Clarify that it's file
15079         system not operating system in the description of DT_UNKNOWN.
15081         [BZ #6578]
15082         * manual/syslog.texi (closelog): Fix reference, it's openlog.
15084 2012-04-08  Stephen Compall  <s11@member.fsf.org>
15086         [BZ #6649]
15087         * manual/llio.texi (Opening and Closing Files): Add cross
15088         reference to explain mode argument.
15090 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
15092         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15093         * sysdeps/x86_64/memset_chk.S: Likewise.
15095 2012-04-07  David S. Miller  <davem@davemloft.net>
15097         * elf/elf.h (R_SPARC_WDISP10): Define.
15098         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15099         R_SPARC_SIZE32.
15100         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15101         R_SPARC_SIZE64 and R_SPARC_H34.
15103 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
15105         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15106         conditions and remove no longer applicable assertion.
15108 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
15110         * bits/byteswap.h: Include <features.h>.
15111         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15112         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15114 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
15116         * bits/byteswap.h (__bswap_16): Removed.
15117         Include <bits/byteswap-16.h> to get __bswap_16.
15118         * sysdeps/i386/bits/byteswap.h: Likewise.
15119         * sysdeps/s390/bits/byteswap.h: Likewise.
15120         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15121         * bits/byteswap-16.h: New file.
15122         * sysdeps/i386/bits/byteswap-16.h: Likewise.
15123         * sysdeps/s390/bits/byteswap-16.h: Likewise.
15124         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15125         * string/Makefile (headers): Add bits/byteswap-16.h.
15127 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15129         [BZ #13895]
15130         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15131         extra indirection.
15132         * nss/Makefile (tests-static, tests): Add tst-nss-static.
15133         * nss/tst-nss-static.c: New.
15135 2012-04-06  Robert Millan  <rmh@gnu.org>
15137         [BZ #6486]
15138         * manual/llio.texi (File Position Primitive): lseek
15139         refers to WHENCE when it really means OFFSET.
15141 2012-04-06  Andreas Jaeger  <aj@suse.de>
15143         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15144         strncmp declarations.
15146         * abilist/libc.abilist: Add __poll and __ppoll.
15148 2012-04-05  David S. Miller  <davem@davemloft.net>
15150         * scripts/check-local-headers.sh: Accept a host triplet in the
15151         path matched by the exclude regexp.
15153         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15154         definition.
15155         * sysdeps/powerpc/powerpc32/dl-machine.h
15156         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15157         * sysdeps/s390/s390-32/dl-machine.h
15158         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15159         * sysdeps/sparc/sparc32/dl-machine.h
15160         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15161         * sysdeps/sparc/sparc64/dl-machine.h
15162         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15164         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15165         lazy binding.
15166         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15167         undefined symbol errors.
15169         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15170         DT_NEEDED entries.
15172 2012-04-05  Michael Matz  <matz@suse.de>
15174         [BZ #13592]
15175         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15177 2012-04-05  Andreas Jaeger  <aj@suse.de>
15179         [BZ #13908]
15180         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15181         comment.
15183 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15185         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15186         which ROUND is no valid rounding mode.
15188 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15190         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15191         read again.
15192         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15194 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15196         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15197         an exception using FPU order intentionally.
15199 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15201         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15202         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15203         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15204         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15206 2012-04-05  Simon Josefsson  <simon@josefsson.org>
15208         [BZ #12340]
15209         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15210         EINVAL when BUFLEN is too smal.
15212 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15214         [BZ #13553]
15215         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15216         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15218 2012-04-03  Andreas Jaeger  <aj@suse.de>
15220         [BZ #13938]
15221         * manual/setjmp.texi (System V contexts): Fix sentence.
15223         [BZ #13926]
15224         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15225         New macro for this case.
15226         [!__GNUC__] (__bswap_64): New inline function for this case.
15227         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15228         * bits/byteswap.h: Likewise.
15229         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15230         ull, guard with __GLIBC_HAVE_LONG_LONG.
15232         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15233         __GLIBC_HAVE_LONG_LONG.
15235         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15236         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15238 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15240         [BZ #13691]
15241         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15242         inptr and inend, rather than using last_ch.
15244 2012-04-02  David S. Miller  <davem@davemloft.net>
15246         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15247         * stdio-common/printf-parse.h (read_int): Change return type to
15248         'int', return -1 on INT_MAX overflow.
15249         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15250         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
15251         overflows INT_MAX.  Check for overflow of in-format-string precision
15252         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
15253         SIZE_MAX not INT_MAX for integer overflow test.
15254         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15255         skip the construct in the format string but do not record anything.
15256         * stdio-common/bug22.c: Adjust to test both width/prevision
15257         INT_MAX overflow as well as total length INT_MAX overflow.  Check
15258         explicitly for proper errno values.
15260 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15262         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15263         CHAR_MAX.
15264         * string/test-strcmp.c [! WIDE]: Likewise.
15265         * time/tst-mktime2.c: Likewise for INT_MAX.
15266         * string/test-string.h: #include <sys/param.h> for MIN.
15268         * csu/init-first.c (__libc_init_first): Call __ctype_init.
15269         * sysdeps/i386/init-first.c (init): Likewise.
15270         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15271         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15272         * sysdeps/sh/init-first.c (init): Likewise.
15274 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
15276         * po/ru.po: Update from translation team.
15277         * po/vi.po: Likewise.
15279 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15281         * resolv/nss_dns/dns-host.c: Merge copyright years.
15283 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15285         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15286         Optimize memcpy with prefetch if
15287         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
15288         src, dst pointers have unequal 16 byte alignments.
15290 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15292         [BZ #13928]
15293         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15294         from a CNAME entry and return the minimum ttl for the query.
15295         (gaih_getanswer_slice): Likewise.
15297 2012-03-30  Jeff Law  <law@redhat.com>
15299         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15300         due to long keys.
15301         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15302         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15304         * resolv/nss_dns/dns-host.c: Update copyright year.
15306 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
15308         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15309         requests to save a system call.  Fix check that all bytes are sent.
15311         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15312         comments for sendmmsg.
15314 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15316         [BZ #13691]
15317         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15318         with only 1 character between 0x0041 and 0x01b0.
15319         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15320         * wcsmbs/tst-mbsnrtowcs.c: New file.
15322 2012-03-29  David S. Miller  <davem@davemloft.net>
15324         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15325         small copies by hand.
15327 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15329         [BZ #13761]
15330         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15331         _nss_compat_initgroups_dyn): Fall back to malloc/free
15332         for large group memberships.
15334 2012-03-28  David S. Miller  <davem@davemloft.net>
15336         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15337         that branches into memcpy.
15338         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15339         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15340         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15341         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15342         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15343         bits.
15344         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15345         implementation too.
15346         * sysdeps/sparc/mempcpy.S: New file.
15348         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15349         the IFUNC routine in the libc case.
15350         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15352         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15353         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15354         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15355         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15356         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15357         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15358         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15359         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15361         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15362         loop to 256 bytes instead of 64 bytes and fix test signedness.
15364         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15365         * sysdeps/sparc/sparc32/Makefile: rather than here...
15366         * sysdeps/sparc/sparc64/Makefile: and here.
15368 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
15370         * malloc/mallocbug.c: Avoid warnings about unused variables.
15372 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15374         [BZ #13760]
15375         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15376         in the right place. Discard and retry query if response is
15377         larger than input buffer size.
15379 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
15381         [BZ #369]
15382         [BZ #2678]
15383         [BZ #3866]
15384         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15385         x for large integer exponent.
15386         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15387         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
15388         sign of result as needed afterwards.
15389         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15390         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15391         result for underflowing pow the same as for overflow.
15392         (__kernel_standard_l): Handle powl overflow and underflow here
15393         rather than calling __kernel_standard.
15394         * math/libm-test.inc (pow_test): Add more tests.
15396         [BZ #3868]
15397         [BZ #13879]
15398         [BZ #13910]
15399         [BZ #13911]
15400         [BZ #13912]
15401         [BZ #13913]
15402         [BZ #13915]
15403         [BZ #13916]
15404         [BZ #13917]
15405         [BZ #13918]
15406         [BZ #13919]
15407         [BZ #13920]
15408         [BZ #13921]
15409         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15410         * sysdeps/ieee754/k_standard.c: Include <float.h>.
15411         (__kernel_standard_l): New function.
15412         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15413         __kernel_standard.
15414         * math/w_acosl.c (__acosl): Likewise.
15415         * math/w_asinl.c (__asinl): Likewise.
15416         * math/w_atan2l.c (__atan2l): Likewise.
15417         * math/w_atanhl.c (__atanhl): Likewise.
15418         * math/w_coshl.c (__coshl): Likewise.
15419         * math/w_exp10l.c (__exp10l): Likewise.
15420         * math/w_exp2l.c (__exp2l): Likewise.
15421         * math/w_fmodl.c (__fmodl): Likewise.
15422         * math/w_hypotl.c (__hypotl): Likewise.
15423         * math/w_j0l.c (__j0l, __y0l): Likewise.
15424         * math/w_j1l.c (__j1l, __y1l): Likewise.
15425         * math/w_jnl.c (__jnl, __ynl): Likewise.
15426         * math/w_lgammal.c (__lgammal): Likewise.
15427         * math/w_log10l.c (__log10l): Likewise.
15428         * math/w_log2l.c (__log2l): Likewise.
15429         * math/w_logl.c (__logl): Likewise.
15430         * math/w_powl.c (__powl): Likewise.
15431         * math/w_remainderl.c (__remainderl): Likewise.
15432         * math/w_scalbl.c (sysv_scalbl): Likewise.
15433         * math/w_sinhl.c (__sinhl): Likewise.
15434         * math/w_sqrtl.c (__sqrtl): Likewise.
15435         * math/w_tgammal.c (__tgammal): Likewise.
15436         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15437         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15438         * math/libm-test.inc (acos_test): Add more tests.
15439         (acosh_test): Likewise.
15440         (asin_test): Likewise.
15441         (atanh_test): Likewise.
15442         (exp_test): Likewise.
15443         (exp10_test): Likewise.
15444         (exp2_test): Likewise.
15445         (expm1_test): Likewise.
15446         (lgamma_test): Likewise.
15447         (log_test): Likewise.
15448         (log10_test): Likewise.
15449         (log1p_test): Likewise.
15450         (log2_test): Likewise.
15451         (pow_test): Do not allow some spurious overflow exceptions.
15452         (sqrt_test): Add more tests.
15453         (tgamma_test): Likewise.
15454         (y0_test): Likewise.
15455         (y1_test): Likewise.
15456         (yn_test): Likewise.
15458 2012-03-27  Anton Blanchard  <anton@samba.org>
15460         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15461         MAP_HUGETLB.
15462         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15463         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15464         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15466 2012-03-27  David S. Miller  <davem@davemloft.net>
15468         * conform/Makefile: Run run-conformtest.sh using $(BASH).
15470         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15471         have-as-vis3 check.
15473 2012-03-27  Andreas Jaeger  <aj@suse.de>
15475         * sysdeps/x86_64/elf/configure.in: Moved to ...
15476         * sysdeps/x86_64/configure.in: ... here.
15477         * sysdeps/x86_64/elf/start.S: Moved to ...
15478         * sysdeps/x86_64/start.S: ... here.
15479         * sysdeps/x86_64/elf/configure: Delete.
15481         * sysdeps/x86_64/configure.in: Merge contents from
15482         sysdeps/i386/configure.in (without i686 check).
15484         * sysdeps/i386/elf/Versions: Merge into ...
15485         * sysdeps/i386/Versions: ... this.
15486         * sysdeps/i386/elf/Versions: Delete file.
15487         * sysdeps/i386/elf/start.S: Moved to ...
15488         * sysdeps/i386/start.S: ...here.
15489         * sysdeps/i386/elf/configure.in: Merge into...
15490         * sysdeps/i386/configure.in: ...here.
15491         * sysdeps/i386/elf/configure.in: Delete file.
15492         * sysdeps/i386/elf/configure: Delete file.
15494         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15495         * debug/backtracesyms.c: ... here.
15496         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15497         * debug/backtracesymsfd.c: ... here.
15498         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15499         * sysdeps/generic/ifunc-sel.h: ... here.
15501         * sysdeps/unix/i386/start.c: Delete file.
15502         * sysdeps/unix/sparc/start.c: Delete file.
15503         * sysdeps/unix/start.c: Delete file.
15505         * sysdeps/sh/elf/configure.in: Moved to ...
15506         * sysdeps/sh/configure.in: ... here.
15507         * sysdeps/sh/elf/start.S: Moved to ...
15508         * sysdeps/sh/start.S: ... here.
15509         * sysdeps/sh/elf/configure: Delete file.
15511         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15512         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15513         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15514         * sysdeps/powerpc/powerpc64/entry.h: ... here.
15515         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15516         * sysdeps/powerpc/powerpc64/start.S: here.
15517         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15518         * sysdeps/powerpc/powerpc64/Makefile: ... this.
15519         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15520         * sysdeps/powerpc/powerpc64/configure.in: ... this.
15521         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15523         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15524         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15525         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15526         * sysdeps/powerpc/powerpc32/start.S: ... here.
15527         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15528         * sysdeps/powerpc/powerpc32/configure.in: ... this.
15529         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15531         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15532         * sysdeps/powerpc/ifunc-sel.h: ... here.
15533         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15534         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15536         * sysdeps/sparc/elf/configure.in: Moved to ...
15537         * sysdeps/sparc/configure.in: ... here.
15538         * sysdeps/sparc/elf/configure: Delete file.
15539         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15540         * sysdeps/sparc/sparc32/start.S: ... here.
15541         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15542         * sysdeps/sparc/sparc64/start.S: ... here.
15543         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15544         * sysdeps/sparc/sparc32/Makefile: ... this.
15545         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15546         * sysdeps/sparc/sparc64/Makefile: ... this.
15548         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15549         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15550         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15551         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15552         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15553         * sysdeps/s390/s390-32/setjmp.S: ... here.
15554         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15555         * sysdeps/s390/s390-32/configure.in: ... here.
15556         * sysdeps/s390/s390-32/elf/configure: Delete file.
15557         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15558         * sysdeps/s390/s390-32/start.S: ... here.
15560         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15561         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15562         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15563         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15564         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15565         * sysdeps/s390/s390-64/setjmp.S: ... here.
15566         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15567         * sysdeps/s390/s390-64/configure.in: ... here
15568         * sysdeps/s390/s390-64/elf/configure: Delete file.
15569         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15570         * sysdeps/s390/s390-64/start.S: ... here.
15571         * sysdeps/s390/s390-64/elf/configure: Delete.
15573         * configure.in: Remove support for elf directories in sysdeps.
15575         * configure: Regenerated.
15576         * sysdeps/i386/configure: Regenerated.
15577         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15578         * sysdeps/powerpc/powerpc64/configure: Regenerated.
15579         * sysdeps/s390/s390-32/configure: Regenerated.
15580         * sysdeps/s390/s390-64/configure: Regenerated.
15581         * sysdeps/sh/configure: Regenerated.
15582         * sysdeps/sparc/configure: Regenerated.
15583         * sysdeps/x86_64/configure: Regenerated.
15585 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
15587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15589         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15590         denormal result into account.
15592 2012-03-25  Roland McGrath  <roland@hack.frob.com>
15594         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15595         Reported by Allan McRae <allan@archlinux.org>.
15597 2012-03-23  Jeff Law  <law@redhat.com>
15599         * nss/getnssent.c (__nss_getent): Fix typo.
15601 2012-03-23  David S. Miller  <davem@davemloft.net>
15603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15605 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
15607         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15608         to pad to uint64_t for each field.
15609         (dl_tls_index): Replace unsigned long with uint64_t.
15611 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
15612         Paul Pluzhnikov  <ppluzhnikov@google.com>
15614         [BZ #6528]
15615         * grp/Makefile (otherlibs): Don't set it.
15616         * inet/Makefile (otherlibs): Likewise.
15617         * login/Makefile (otherlibs): Likewise.
15618         * nscd/Makefile (otherlibs): Likewise.
15619         * posix/Makefile (otherlibs): Likewise.
15620         * pwd/Makefile (otherlibs): Likewise.
15621         * rt/Makefile (otherlibs): Likewise.
15622         * sunrpc/Makefile (otherlibs): Likewise.
15623         * nss/Makefile (otherlibs): Likewise.
15624         Add libnss_files to routines and static-only-routines.
15625         ($(objpfx)getent): Remove rule.
15626         * resolv/Makefile: Add libnss_dns and libresolv to routines and
15627         static-only-routines.
15629 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
15631         [BZ #13892]
15632         * math/s_cexp.c: Include <float.h>.
15633         (__cexp): Handle exp result overflowing not necessarily
15634         overflowing both real and imaginary parts of result.
15635         * math/s_cexpf.c: Likewise.
15636         * math/s_cexpl.c: Likewise.
15637         * math/libm-test.inc (cexp_test): Add more tests.
15638         * sysdeps/i386/fpu/libm-test-ulps: Update.
15639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15641 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15643         * include/link.h (ELFW): New macro.
15644         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15645         Replace ELF64_R_TYPE with ELFW(R_TYPE).
15647 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15649         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15650         with uint64_t.
15652 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15654         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15655         declaration.
15656         (struct La_x32_retval): Likewise.
15658 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15660         * sysdeps/x86_64/preconfigure.in: New file.
15661         * sysdeps/x86_64/preconfigure: New generated file.
15663 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
15665         [BZ #13824]
15666         * math/e_exp2l.c: Include <float.h>.
15667         (__ieee754_exp2l): Handle overflow and underflow cases
15668         separately.  Only pass fractional part of argument to
15669         __ieee754_expl.
15670         * math/libm-test.inc (exp2_test): Add more tests.
15672         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15673         negating x to take absolute value.
15674         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15675         Likewise.
15676         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15677         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15678         Likewise.
15679         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15680         computing low part if x was negated.
15681         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15683 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15685         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15686         la_x32_gnu_pltexit.
15687         (pltexit): Cast int_retval to ptrdiff_t.
15688         * elf/tst-auditmod3b.c: Likewise.
15689         * elf/tst-auditmod4b.c: Likewise.
15690         * elf/tst-auditmod5b.c: Likewise.
15691         * elf/tst-auditmod6b.c: Likewise.
15692         * elf/tst-auditmod6c.c: Likewise.
15693         * elf/tst-auditmod7b.c: Likewise.
15695         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15696         and x32_gnu_pltexit.
15698         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15699         __ELF_NATIVE_CLASS.
15700         (La_x32_regs): New macro.
15701         (La_x32_retval): Likewise.
15702         (la_x32_gnu_pltenter): New function prototype.
15703         (la_x32_gnu_pltexit): Likewise.
15705 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
15707         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15708         exponent.
15710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15712         * configure.in (libc_cv_cc_nofma): Check for option to disable
15713         generation of FMA instructions.
15714         * configure: Regenerate.
15715         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15716         * sysdeps/ieee754/dbl-64/Makefile: New file.
15717         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15718         Remove brandred-fma4.
15719         (CFLAGS-brandred-fma4.c): Remove.
15720         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15721         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15722         define.
15723         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15724         define.
15726 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15728         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15729         LLONG_MAX != LONG_MAX.
15730         (_itoa_word): Use _ITOA_WORD_TYPE on value.
15731         (_fitoa_word): Likewise.
15732         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15733         LLONG_MAX != LONG_MAX.
15734         * stdio-common/_itowa.h: Include <_itoa.h>.
15735         (_itowa_word): Use _ITOA_WORD_TYPE on value.
15736         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
15737         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
15738         only if not defined.
15739         (_ITOA_WORD_TYPE): Likewise.
15740         (_itoa_word): Use _ITOA_WORD_TYPE on value.
15741         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15743 2012-03-21  David S. Miller  <davem@davemloft.net>
15745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15747 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15749         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15750         of x86_64 when setting libc_cv_slibdir, libdir and
15751         libc_cv_localedir.
15752         * sysdeps/unix/sysv/linux/configure: Regenerated.
15754 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
15756         * manual/lang.texi (Old Varargs): Remove section.
15757         (How Variadic): Update menu.
15758         (va_start): Do not mention varargs.h.
15760 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15761             Joseph Myers  <joseph@codesourcery.com>
15763         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15764         link test.
15765         * configure: Regenerated.
15767 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15769         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15770         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15771         conformtest.pl
15773 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
15775         * NOTES: Remove.
15776         * Makefile (files-for-dist): Remove NOTES.
15777         (NOTES): Remove rule.
15778         * README: Don't refer to NOTES.
15779         * manual/creature.texi: Don't include macros.texi.
15780         * manual/intro.texi (creature.texi): Remove comment referring to
15781         NOTES.
15783         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15784         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15785         * configure: Regenerated.
15786         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15787         LIBC_TRY_CC_OPTION.
15788         (libc_cv_as_i686): Likewise.
15789         (libc_cv_cc_avx): Likewise.
15790         (libc_cv_cc_sse2avx): Likewise.
15791         (libc_cv_cc_fma4): Likewise.
15792         (libc_cv_cc_novzeroupper): Likewise.
15793         * sysdeps/i386/configure: Regenerated.
15795         [BZ #13883]
15796         * sysdeps/i386/fpu/s_cexp.S: Remove.
15797         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15798         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15799         * math/libm-test.inc (cexp_test): Add more tests.
15800         * sysdeps/i386/fpu/libm-test-ulps: Update.
15801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15803 2012-03-21  Allan McRae  <allan@archlinux.org>
15805         * timezone/Makefile: Do not install iso3166.tab and zone.tab
15807 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
15809         [BZ #13871]
15810         * math/w_exp2.c: Do not include <float.h>.
15811         (o_threshold, u_threshold): Remove.
15812         (__exp2): Calculate result before checking finiteness and calling
15813         __kernel_standard.
15814         * math/w_exp2f.c: Likewise.
15815         * math/w_exp2l.c: Likewise.
15816         * math/libm-test.inc (exp2_test): Require overflow exception for
15817         1e6 input.
15819         [BZ #3866]
15820         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15821         range of signed 64-bit integers before using fistpll.  Remove
15822         checks for whether integers fit in mantissa bits.
15823         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15824         the range of signed 32-bit integers before using fistpl.  Remove
15825         checks for whether integers fit in mantissa bits.
15826         * sysdeps/i386/fpu/e_powl.S (p64): New object.
15827         (__ieee754_powl): Test for y outside the range of signed 64-bit
15828         integers before using fistpll.  Reduce 64-bit values to 63-bit
15829         ones as needed.
15830         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15831         divide-by-zero is raised for zero to large negative powers.
15832         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15833         (__ieee754_powl): Test for y outside the range of signed 64-bit
15834         integers before using fistpll.  Reduce 64-bit values to 63-bit
15835         ones as needed.
15836         * math/libm-test.inc (pow_test): Add more tests.
15838 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15840         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15841         <stdio-common/_itoa.h>.
15842         * debug/segfault.c: Likewise.
15843         * elf/dl-cache.c: Likewise.
15844         * elf/dl-minimal.c: Likewise.
15845         * elf/dl-misc.c: Likewise.
15846         * elf/dl-sysdep.c: Likewise.
15847         * elf/dl-version.c: Likewise.
15848         * elf/rtld.c: Likewise.
15849         * hurd/hurdsock.c: Likewise.
15850         * hurd/lookup-retry.c: Likewise.
15851         * malloc/malloc.c: Likewise.
15852         * malloc/mtrace.c: Likewise.
15853         * nscd/nscd_getgr_r.c: Likewise.
15854         * nscd/nscd_getpw_r.c: Likewise.
15855         * nscd/nscd_getserv_r.c: Likewise.
15856         * posix/getopt_init.c: Likewise.
15857         * posix/wordexp.c: Likewise.
15858         * stdio-common/_itoa.c: Likewise.
15859         * stdio-common/printf_fphex.c: Likewise.
15860         * stdio-common/vfprintf.c: Likewise.
15861         * string/_strerror.c: Likewise.
15862         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15863         * sysdeps/i386/i686/hp-timing.h: Likewise.
15864         * sysdeps/mach/_strerror.c: Likewise.
15865         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15866         * sysdeps/mach/hurd/sethostid.c: Likewise.
15867         * sysdeps/mach/hurd/xmknodat.c: Likewise.
15868         * sysdeps/mach/xpg-strerror.c: Likewise.
15869         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15870         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15871         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15872         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15873         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15874         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15875         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15876         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15877         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15878         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15879         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15880         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15881         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15882         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15883         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15884         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15885         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15886         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15887         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15888         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15889         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15891         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15893         * stdio-common/_itoa.h: Moved to ...
15894         * sysdeps/generic/_itoa.h: Here.
15896         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15898         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15899         instead of "_itoa.h" and "_itowa.h".
15900         * stdio-common/vfprintf.: Likewise.
15902 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15904         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15905         <bits/wordsize.h>.
15906         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15907         (__signbit): Likwise.
15908         (llrintf): Likwise.
15909         (llrint): Likwise.
15911 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15913         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15914         __WORDSIZE != 64.
15916 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
15918         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15919         OVERFLOW_EXCEPTION_OK.
15920         * math/libm-test.inc ("Philosophy"): Update comment about
15921         exception testing.
15922         (OVERFLOW_EXCEPTION): Define.
15923         (OVERFLOW_EXCEPTION_OK): Likewise.
15924         (INVALID_EXCEPTION_OK): Renumber.
15925         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15926         (IGNORE_ZERO_INF_SIGN): Likewise.
15927         (test_exceptions): Handle FE_OVERFLOW.
15928         (exp10_test): Expect overflow exceptions.
15929         (exp2_test): Likewise.
15930         (expm1_test): Likewise.
15931         (nextafter_test): Likewise.
15932         (pow_test): Likewise.
15933         (scalbn_test): Likewise.
15934         (scalbln_test): Likewise.
15936 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15938         * sysdeps/x86_64/bits/atomic.h
15939         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15940         64bit integer.
15941         (atomic_exchange_acq): Likewise.
15942         (__arch_exchange_and_add_body): Likewise.
15943         (__arch_add_body): Likewise.
15944         (atomic_add_negative): Likewise.
15945         (atomic_add_zero): Likewise.
15947 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15949         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15950         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15952 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15954         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15955         Check __x86_64__ instead of __WORDSIZE.
15957 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15959         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15961 2012-03-19  David S. Miller  <davem@davemloft.net>
15963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15965         * sysdeps/sparc/fpu/fenv_private.h: New file.
15966         * sysdeps/sparc/fpu/math_private.h: Use it.
15967         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15968         Remove.
15969         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15970         (libc_feholdexcept_setroundl): Remove.
15971         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15972         Remove.
15973         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15974         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15976 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15978         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15979         int64_t instead of long int.
15980         (INSERT_WORDS64): Likwise.
15982 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15984         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15985         _Unwind_GetCFA return to _Unwind_Ptr first.
15987 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
15989         [BZ #13629]
15990         * math/s_clog.c: Include <float.h>.
15991         (__clog): Scale large or subnormal inputs.
15992         * math/s_clogf.c: Likewise.
15993         * math/s_clogl.c: Likewise.
15994         * math/s_clog10.c: Include <float.h>.
15995         (M_LOG10_2): Define.
15996         (__clog10): Scale large or subnormal inputs.
15997         * math/s_clog10f.c: Likewise.
15998         * math/s_clog10l.c: Likewise.
15999         * math/libm-test.inc (clog_test): Add more tests.
16000         (clog10_test): Likewise.
16001         * sysdeps/i386/fpu/libm-test-ulps: Update.
16002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16004         [BZ #11451]
16005         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16006         x and y.
16007         * math/libm-test.inc (atan2_test): Add another test.
16009         * Makerules (common-objdir-compile): Remove.
16010         * sysdeps/unix/Makefile (config-generated): Do not add
16011         $(unix-generated) to variable.
16012         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16013         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16014         Remove rule.
16015         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16016         Likewise.
16017         [generic bits/local_lim.h] (before-compile): Do not append to
16018         variable.
16019         [generic bits/local_lim.h] (common-generated): Likewise.
16020         [generic sys/param.h] (before-compile): Do not append to variable.
16021         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16022         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16023         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16024         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16025         include.
16026         [generic sys/param.h] (sys/param.h-includes): Remove variable.
16027         [generic sys/param.h] (sys/param.h-includes): Remove rule.
16028         [generic sys/param.h] ($(addprefix
16029         $(common-objpfx),$(sys/param.h-includes))): Likewise.
16030         [generic sys/param.h] (common-generated): Do not append to
16031         variable.
16032         [generic sys/param.h] (sysdep_headers): Likewise.
16033         [generic bits/errno.h] (before-compile): Do not append to
16034         variable.
16035         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16036         rule.
16037         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16038         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16039         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16040         [generic bits/errno.h] (common-generated): Do not append to
16041         variable.
16042         [generic bits/ioctls.h] (before-compile): Do not append to
16043         variable.
16044         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16045         rule.
16046         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16047         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16048         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16049         rule.
16050         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16051         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16052         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16053         [generic bits/ioctls.h] (common-generated): Do not append to
16054         variable.
16055         [generic sys/syscall.h] (syscall.h): Remove variable.
16056         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16057         rule.
16058         [generic sys/syscall.h] (before-compile): Do not append to
16059         variable.
16060         [generic sys/syscall.h] (common-generated): Likewise.
16061         * sysdeps/unix/errnos-tmpl.c: Remove file.
16062         * sysdeps/unix/errnos.awk: Likewise.
16063         * sysdeps/unix/ioctls-tmpl.c: Likewise.
16064         * sysdeps/unix/ioctls.awk: Likewise.
16065         * sysdeps/unix/mk-local_lim.c: Likewise.
16066         * sysdeps/unix/snarf-ioctls: Likewise.
16068 2012-03-19  Richard Henderson  <rth@twiddle.net>
16070         * sysdeps/i386/fpu/fenv_private.h: New file.
16071         * sysdeps/i386/fpu/math_private.h: Use it.
16072         (math_opt_barrier, math_force_eval): Remove.
16073         (libc_feholdexcept_setround_53bit): Remove.
16074         (libc_feupdateenv_53bit): Remove.
16075         * sysdeps/x86_64/fpu/math_private.h: Likewise.
16076         (math_opt_barrier, math_force_eval): Remove.
16077         (libc_feholdexcept): Remove.
16078         (libc_feholdexcept_setround): Remove.
16079         (libc_fetestexcept, libc_fesetenv): Remove.
16080         (libc_feupdateenv_test): Remove.
16081         (libc_feupdateenv, libc_feholdsetround): Remove.
16082         (libc_feresetround): Remove.
16084         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16085         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16087         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16088         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16089         (libc_feupdateenv_testl): New.
16090         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16091         (libc_feupdateenv_testf): New.
16092         (libc_feupdateenv): Use libc_feupdateenv_test.
16093         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16094         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16096         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16097         (libc_feholdsetroundf, libc_feholdsetroundl): New.
16098         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16099         (libc_feresetround_noex): New.
16100         (libc_feresetround_noexf): New.
16101         (libc_feresetround_noexl): New.
16102         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16103         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16104         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16105         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16106         SET_RESTORE_ROUND.
16107         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16108         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16109         (__cos): Likewise.
16110         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16111         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16112         SET_RESTORE_ROUND_NOEX.
16113         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16114         SET_RESTORE_ROUND_NOEXF.
16115         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16116         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16117         (libc_feholdsetroundf): New.
16118         (libc_feresetround, libc_feresetroundf): New.
16120         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16121         (libc_feholdexcept_setround_53bit): Convert from macro to function.
16122         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
16124         * sysdeps/generic/math_private.h: Include <fenv.h>.
16125         (default_libc_feholdexcept): New.
16126         (default_libc_feholdexcept_setround): New.
16127         (default_libc_fesetenv, default_libc_feupdateenv): New.
16128         (libc_feholdexcept): Only define if undefined.
16129         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16130         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16131         (libc_feholdexcept_setroundl): Likewise.
16132         (libc_feholdexcept_setround_53bit): Likewise.
16133         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16134         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16135         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16136         (libc_feupdateenv_53bit): Likewise.
16137         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16138         (libc_feholdexcept): Convert from macro to inline function.
16139         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16140         (libc_fesetenv, libc_feupdateenv): Likewise.
16142         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16143         not previously defined.
16144         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16145         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16146         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16147         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16148         * sysdeps/ieee754/flt-32/math_private.h: New file.
16149         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16150         math_private.h below SET_FLOAT_WORD.
16151         (__isnan, __isinf_ns, __finite): Remove.
16152         (__isnanf, __isinf_nsf, __finitef): Remove.
16154 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
16156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16158 2012-03-17  David S. Miller  <davem@davemloft.net>
16160         [BZ #6471]
16161         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16162         for 2.16.
16164 2012-03-16  David S. Miller  <davem@davemloft.net>
16166         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16167         warnings.
16169         [BZ #6471]
16170         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16171         properly.
16172         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16173         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16174         sysdep_routines when subdir is sysvipc.
16175         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16176         __getshmlba helper.
16178         * sysdeps/sparc/fpu/libm-test/ulps: Update.
16180 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16182         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16183         [__LP64__].
16185 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16187         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16188         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16189         (__lround): Renamed to ...
16190         (__llround): This.  Replace long int with long long int.
16191         Define lround functions as aliases of llround functions.
16192         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16194 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16196         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16197         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
16198         adresses to uintptr_t.  Replace "long int" and "unsigned long
16199         int" with "greg_t" on va_arg.
16201 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16203         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16204         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16206         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16207         Move e_machine check before EI_CLASS check.  Handle x32
16208         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16209         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16210         SKIP_EM_IA_64 and include
16211         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16213         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16214         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16215         (add_system_dir): New macro.
16217         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16218         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16220 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
16222         [BZ #2551]
16223         [BZ #2552]
16224         [BZ #2553]
16225         [BZ #2554]
16226         [BZ #2562]
16227         [BZ #2563]
16228         [BZ #2565]
16229         [BZ #2566]
16230         [BZ #2576]
16231         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16232         (y0): Likewise.
16233         * math/w_j0f.c (j0f): Likewise.
16234         (y0f): Likewise.
16235         * math/w_j0l.c (__j0l): Likewise.
16236         (__y0l): Likewise.
16237         * math/w_j1.c (j1): Likewise.
16238         (y1): Likewise.
16239         * math/w_j1f.c (j1f): Likewise.
16240         (y1f): Likewise.
16241         * math/w_j1l.c (__j1l): Likewise.
16242         (__y1l): Likewise.
16243         * math/w_jn.c (jn): Likewise.
16244         (yn): Likewise.
16245         * math/w_jnf.c (jnf): Likewise.
16246         (ynf): Likewise.
16247         * math/w_jnl.c (__jnl): Likewise.
16248         (__ynl): Likewise.
16249         * math/libm-test.inc (j0_test): Add more tests.
16250         (j1_test): Likewise.
16251         (jn_test): Likewise.  Add trailing semicolon to existing test.
16252         (y0_test): Likewise.
16253         (y1_test): Likewise.
16254         * sysdeps/i386/fpu/libm-test-ulps: Update.
16255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16257         [BZ #13851]
16258         [BZ #13854]
16259         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16260         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16261         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16262         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16263         (__tanl): Set errno for infinite argument.
16264         * sysdeps/i386/fpu/mptan.c: Remove.
16265         * sysdeps/i386/fpu/s_tan.S: Likewise.
16266         * sysdeps/i386/fpu/s_tanl.S: Likewise.
16267         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16268         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16269         * math/libm-test.inc (tan_test): Add more tests and enable more
16270         tests for double and long double.
16271         * sysdeps/i386/fpu/libm-test-ulps: Update.
16272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16274 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
16276         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16277         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16279 2012-03-16  Roland McGrath  <roland@hack.frob.com>
16281         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16282         * configure.in: Use it for both main tree and add-ons.
16283         * configure: Regenerated.
16285 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16287         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16289 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
16291         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16292         in comment.
16294         [BZ #13851]
16295         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16296         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16297         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16298         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16299         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16300         infinite argument.
16301         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16302         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16303         != 0 for prec == 2.
16304         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16305         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16306         * sysdeps/i386/fpu/s_cosl.S: Likewise.
16307         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16308         * sysdeps/i386/fpu/s_sinl.S: Likewise.
16309         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16310         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16311         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16312         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16313         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16314         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16315         * math/libm-test.inc (cos_test): Add more tests and enable more
16316         tests for long double.
16317         (sin_test): Likewise.
16318         (sincos_test): Likewise.
16319         * sysdeps/i386/fpu/libm-test-ulps: Update.
16320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16322 2012-03-16  David S. Miller  <davem@davemloft.net>
16324         * sysdeps/sparc/fpu/math_private.h: New file.
16326 2012-03-15  David S. Miller  <davem@davemloft.net>
16328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16329         file.
16330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16332         file.
16333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16336         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16337         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16338         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16339         sysdep routines.
16340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16342         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16343         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16345         * sysdeps/sparc/sparc-ifunc.h: New file.
16346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16347         sparc-ifunc.h
16348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16350         Likewise.
16351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16352         Likewise.
16353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16357         Likewise.
16358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16363         Likewise.
16364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16365         Likewise.
16366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16370         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16371         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16372         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16373         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16374         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16375         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16379         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16380         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16381         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16382         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16383         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16384         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16385         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16386         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16387         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16388         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16389         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16391 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
16393         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16394         scaling.
16395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16397 2012-03-15  Andreas Jaeger  <aj@suse.de>
16399         [BZ #13852]
16400         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16401         ieee754/flt-32 implementation for sin, cos and sincos.
16402         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16403         * sysdeps/i386/fpu/s_cosf.S: Likewise.
16404         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16405         * sysdeps/i386/fpu/s_sinf.S: Likewise.
16406         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16407         ieee754/flt-32 implementation for tan.
16409         * math/libm-test.inc (cos_test): Enable some large input tests for
16410         float as well
16411         (sin_test): Likewise.
16412         (sincos_test): Likewise.
16413         (tan_test): Add tests for large input.
16415         * sysdeps/i386/fpu/libm-test-ulps: Update.
16417 2012-03-15  Andreas Jaeger  <aj@suse.de>
16419         [BZ #13658]
16420         * math/libm-test.inc (cos_test): Add more test cases.
16421         (sin_test): Likewise.
16422         (sincos_test): Likewise.
16424 2012-03-15  Andreas Jaeger  <aj@suse.de>
16426         [BZ #13837]
16427         * math/libm-test.inc (cos_test): Add a test case for large input
16428         value.
16429         (sin_test): Likewise.
16430         (sincos_test): Likewise.
16432 2012-03-15  Andreas Jaeger  <aj@suse.de>,
16433         Joseph Myers  <joseph@codesourcery.com>
16435         [BZ #13658]
16436         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16437         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16438         * sysdeps/i386/fpu/branred.c: Likewise.
16439         * sysdeps/i386/fpu/dosincos.c: Likewise.
16440         * sysdeps/i386/fpu/mpa.c: Likewise.
16441         * sysdeps/i386/fpu/s_cos.S: Likewise.
16442         * sysdeps/i386/fpu/s_sin.S: Likewise.
16443         * sysdeps/i386/fpu/s_sincos.S: Likewise.
16444         * sysdeps/i386/fpu/sincos32.c: Likewise.
16446         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16447         Define.
16448         (libc_feupdateenv_53bit): Define.
16449         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16450         Define.
16451         (libc_feupdateenv_53bit): Define.
16453         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16454         53 bit (without extend i386 double precision).
16456         * math/libm-test.inc (sincos_test): Add tests for large input.
16457         (sin): Likewise.
16458         (cos): Likewise.
16460         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16462 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
16464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16466 2012-03-15  David S. Miller  <davem@davemloft.net>
16468         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16469         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16470         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16471         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16476         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16477         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16484         file.
16485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16487         file.
16488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16490         file.
16491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16493         file.
16494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16495         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16496         fmin/fmax sysdep routines.
16497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16499 2012-03-14  David S. Miller  <davem@davemloft.net>
16501         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16502         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16503         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16504         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16505         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16506         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16507         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16508         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16509         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16510         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16511         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16512         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16513         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16514         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16515         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16516         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16517         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16518         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16519         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16520         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16521         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16522         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16523         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16524         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16525         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16526         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16527         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16528         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16529         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16530         routines.
16531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16532         file.
16533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16535         file.
16536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16538         file.
16539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16541         file.
16542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16544         file.
16545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16547         file.
16548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16549         file.
16550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16551         file.
16552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16553         file.
16554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16555         New file.
16556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16557         file.
16558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16559         file.
16560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16562         file.
16563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16565         file.
16566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16568         file.
16569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16571         VIS3 routines.
16573         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16574         New file.
16576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16578         * sysdeps/sparc/configure.in: New file.
16579         * sysdeps/sparc/configure: Generate.
16580         * configure.in (libc_cv_sparc_as_vis3): Substitute.
16581         * configure: Regenerate.
16582         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16583         * config.make.in (have-as-vis3): New.
16584         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16585         available use -Av9d instead of -Av9a.
16586         * sysdeps/sparc/sparc64/Makefile: Likewise.
16587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16589         New file.
16590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16591         file.
16592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16593         New file.
16594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16595         file.
16596         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16597         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16598         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16599         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16600         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16602         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16603         fzeros/fnegs to load 0x80000000 into a float register instead of
16604         using the stack.
16605         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16607 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
16609         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16610         bits/syscall.h.
16611         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16612         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16613         ($(inst_includedir)/bits/syscall.h): Remove rule.
16614         ($(objpfx)bits/syscall.d): Include instead of
16615         $(objpfx)syscall-list.d.
16616         (generated): Change syscall-list.h and syscall-list.d to
16617         bits/syscall.h and bits/syscall.d.
16619 2012-03-14  Roland McGrath  <roland@hack.frob.com>
16621         [BZ #13846]
16622         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16624 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
16626         [BZ #13841]
16627         * math/s_csqrt.c: Include <float.h>.
16628         (__csqrt): Scale large or subnormal inputs.
16629         * math/s_csqrtf.c: Likewise.
16630         * math/s_csqrtl.c: Likewise.
16631         * math/libm-test.inc (csqrt_test): Add more tests.
16632         * sysdeps/i386/fpu/libm-test-ulps: Update.
16633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16635         [BZ #13840]
16636         * math/libm-test.inc (hypot_test): Add more tests.
16638 2012-03-13  David S. Miller  <davem@davemloft.net>
16640         [BZ #13840]
16641         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16642         double-precision for the calculation instead of scaling.
16644 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
16646         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16647         manipulate bits before adding and subtracting TWO52[sx].
16648         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16649         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16650         Likewise.
16651         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16653 2012-03-13  David S. Miller  <davem@davemloft.net>
16655         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16656         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16657         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16658         rtld-global-offsets.h
16659         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16661         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16662         large parameters.
16664         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16666         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16667         'err' in the ifdef scope in which it is actually used.
16669         * nss/nss_db/db-init.c: Include string.h
16671 2012-03-12  David S. Miller  <davem@davemloft.net>
16673         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16674         masking out of the most significant byte of random value used.
16675         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16676         Fix coding style in previous change.
16678         * sysdeps/unix/sysv/linux/kernel-features.h
16679         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16680         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16681         expression.
16682         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16683         later.
16685 2012-03-11  David S. Miller  <davem@davemloft.net>
16687         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16688         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16689         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16690         for 'resultvar' otherwise things get truncated on 64-bit.
16692         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16693         Fix masking out of the most significant byte of random value used.
16695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16697 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
16699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16701 2012-03-09  David S. Miller  <davem@davemloft.net>
16703         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16704         variables with appropriate CPP guards.
16705         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16706         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
16707         on resulting framesize and the management of the outregs buffer for pltexit.
16708         Preserve floating point return values across _dl_call_pltexit call.
16709         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16710         framesize and the management of the outregs buffer for pltexit.
16711         Preserve floating point return values across _dl_call_pltexit
16712         call.
16713         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16714         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16715         (print_exit): Fix format string for return register value.
16717 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
16719         * sunrpc/Makefile (others): Add rpcgen.
16720         ($(objpfx)rpcgen): Remove special build rule and dependency on
16721         libc.
16722         * sunrpc/rpcgen.c: New file.
16724 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
16726         [BZ #13673]
16727         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16728         * stdio-common/bug-vfprintf-nargs.c: Likewise.
16729         * sysdeps/i386/crti.S: Likewise.
16730         * sysdeps/i386/crtn.S: Likewise.
16731         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16732         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16733         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16734         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16735         * sysdeps/sh/crti.S: Likewise.
16736         * sysdeps/sh/crtn.S: Likewise.
16737         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16739         [BZ #13673]
16740         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16741         with URL.
16742         * locale/programs/locfile-kw.gperf: Likewise.
16743         * locale/programs/charmap-kw.h: Regenerated.
16744         * locale/programs/locfile-kw.h: Likewise.
16746         [BZ #13673]
16747         * intl/plural.y: Replace FSF snail mail address with URL.
16748         * intl/plural.c: Regenerated.
16750 2012-03-09  Richard Henderson  <rth@twiddle.net>
16752         * include/math_private.h: Remove file.
16753         * math/math_private.h: Move file ...
16754         * sysdeps/generic/math_private.h: ... here.
16756         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16757         * sysdeps/powerpc/fpu/math_private.h: Likewise.
16758         * sysdeps/x86_64/fpu/math_private.h: Likewise.
16760         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16761         and <math_private.h>.
16762         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16763         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16764         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16765         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16766         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16767         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16768         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16769         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16770         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16771         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16772         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16773         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16774         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16775         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16776         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16777         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16778         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16779         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16780         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16781         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16782         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16783         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16784         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16785         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16786         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16787         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16788         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16789         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16790         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16791         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16792         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16793         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16794         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16795         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16796         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16797         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16798         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16799         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16800         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16801         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16802         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16803         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16804         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16805         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16806         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16807         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16808         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16809         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16810         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16811         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16812         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16813         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16814         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16815         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16816         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16817         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16818         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16819         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16820         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16821         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16822         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16823         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16824         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16825         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16826         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16827         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16828         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16829         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16830         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16831         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16832         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16833         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16834         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16835         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16836         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16837         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16838         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16839         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16840         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16841         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16842         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16843         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16844         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16845         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16846         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16847         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16848         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16849         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16850         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16851         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16852         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16853         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16854         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16855         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16856         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16857         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16858         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16859         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16860         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16861         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16862         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16863         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16864         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16865         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16866         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16867         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16868         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16869         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16870         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16871         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16872         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16873         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16874         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16875         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16876         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16877         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16878         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16879         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16880         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16881         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16882         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16883         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16884         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16885         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16886         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16887         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16888         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16889         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16890         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16891         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16892         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16893         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16894         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16895         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16896         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16897         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16898         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16899         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16900         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16901         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16902         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16903         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16904         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16905         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16906         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16907         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16908         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16909         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16910         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16911         * sysdeps/ieee754/k_standard.c: Likewise.
16912         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16913         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16914         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16915         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16916         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16917         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16918         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16919         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16920         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16921         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16922         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16923         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16924         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16925         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16926         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16927         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16928         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16929         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16930         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16931         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16932         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16933         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16934         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16935         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16936         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16937         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16938         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16939         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16940         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16941         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16942         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16943         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16944         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16945         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16946         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16947         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16948         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16949         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16950         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16951         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16952         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16953         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16954         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16955         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16956         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16957         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16958         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16959         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16960         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16961         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16962         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16963         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16964         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16965         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16966         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16967         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16968         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16969         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16970         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16971         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16972         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16973         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16974         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16975         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16976         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16977         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16978         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16979         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16980         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16981         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16982         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16983         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16984         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16985         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16986         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16987         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16988         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16989         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16990         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16991         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16992         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16993         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16994         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16995         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16996         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16997         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16998         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16999         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17000         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17001         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17002         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17003         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17004         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17005         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17006         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17007         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17008         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17009         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17010         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17011         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17012         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17013         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17014         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17015         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17016         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17017         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17018         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17019         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17020         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17021         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17022         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17023         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17024         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17025         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17026         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17027         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17028         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17029         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17030         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17031         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17032         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17033         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17034         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17035         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17036         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17037         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17038         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17039         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17040         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17041         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17042         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17043         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17044         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17045         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17046         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17047         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17048         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17049         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17050         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17051         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17052         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17053         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17054         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17055         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17056         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17057         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17058         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17059         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17060         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17061         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17062         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17063         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17064         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17065         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17066         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17067         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17068         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17069         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17070         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17071         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17072         * sysdeps/ieee754/s_lib_version.c: Likewise.
17073         * sysdeps/ieee754/s_matherr.c: Likewise.
17074         * sysdeps/ieee754/s_signgam.c: Likewise.
17075         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17076         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17077         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17078         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17079         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17080         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17081         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17082         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17083         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17084         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17085         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17086         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17087         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17088         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17089         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17090         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17091         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17092         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17093         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17094         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17095         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17097 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
17099         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17100         * sunrpc/rpc_main.c: Likewise.
17101         * sunrpc/rpc_svcout.c: Likewise.
17103 2012-03-09  David S. Miller  <davem@davemloft.net>
17105         * include/math_private.h: New file.
17107 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
17109         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17110         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17111         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17112         from <bits/socket_type.h>.
17113         (enum __socket_type): Don't define here.
17114         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17115         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17116         bits/socket_type.h.
17118         [BZ #13566]
17119         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17120         checking __USE_GNU.
17122         * Makerules ($(inst_includedir)/%.h): New rule.
17123         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17124         (install-others): Remove variable setting.
17125         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17127 2012-03-08  Richard Henderson  <rth@twiddle.net>
17129         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17130         from macro to inline function; merge with the
17131         !__LIBC_INTERNAL_MATH_INLINES version.
17132         (__ieee754_sqrtf): Likewise.
17134         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17135         to inline function.
17136         (__rintf, __floor, __floorf): Likewise.
17138         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17139         macro to inline function.
17140         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17142         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17143         not <math/math_private.h>.
17145 2012-03-08  David S. Miller  <davem@davemloft.net>
17147         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17148         copyright year.
17149         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17151 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
17153         * resolv/gai_misc.c (handle_requests): Fix struct timespec
17154         normalization.
17155         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17156         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17158 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
17160         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
17161         be defined individually, they must be defined as a block.  Define
17162         S for printing a string instead of hidint the different by using a
17163         macro for adding the 'l'.
17164         * stdio-common/tst-fphex-wide.c: Adjust.
17166 2012-03-07  Marek Polacek  <polacek@redhat.com>
17168         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17170 2012-03-08  Marek Polacek  <polacek@redhat.com>
17172         [BZ #13806]
17173         * stdio-common/Makefile (tests): Add tst-fphex-wide.
17174         * stdio-common/tst-fphex.c: Define a few macros to make the
17175         test reusable.  Use them.
17176         * stdio-common/tst-fphex-wide.c: New file.
17178 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
17180         [BZ #6911]
17181         * manual/macros.texi (gnusystems): New macro.
17182         (nongnusystems): Likewise.
17183         (gnulinuxhurdsystems): Likewise.
17184         (gnuhurdsystems): Likewise..
17185         (gnulinuxsystems): Likewise.
17186         * manual/charset.texi: Use new macros or @theglibc{} to refer to
17187         variants of the GNU system, not "GNU system".
17188         * manual/conf.texi: Likewise.
17189         * manual/errno.texi: Likewise.  Update example of errno macro
17190         expansion.
17191         * manual/filesys.texi: Likewise.
17192         (getumask): Document as specific to GNU/Hurd.
17193         * manual/install.texi: Likewise.  Reword some references to
17194         GNU/Linux.
17195         * manual/intro.texi: Likewise.
17196         * manual/io.texi: Likewise.
17197         (File Name Portability): Detail which constraints are inapplicable
17198         to all GNU systems and which are only inapplicable to GNU/Hurd.
17199         * manual/job.texi: Likewise.
17200         * manual/llio.texi: Likewise.
17201         (O_NOCTTY): Document as present on GNU/Linux.
17202         * manual/maint.texi: Likewise.
17203         * manual/memory.texi: Likewise.
17204         * manual/pattern.texi: Likewise.
17205         * manual/pipe.texi: Likewise.
17206         * manual/process.texi: Likewise.
17207         * manual/resource.texi: Likewise.
17208         (RUSAGE_CHILDREN): Remove statement about specifying a particular
17209         child on GNU/Hurd.
17210         * manual/setjmp.texi: Likewise.
17211         * manual/signal.texi: Likewise.
17212         * manual/startup.texi: Likewise.
17213         * manual/stdio.texi: Likewise.
17214         * manual/terminal.texi: Likewise.
17215         (ONLCR): Document as POSIX.
17216         (OXTABS): Document availability on GNU/Linux as XTABS.
17217         (ONOEOT): Document availability separately from other bits.
17218         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17219         * manual/time.texi: Likewise.
17220         * manual/users.texi: Likewise.
17221         * INSTALL: Regenerated.
17222         * sysdeps/gnu/errlist.c: Regenerated.
17224         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17225         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17226         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
17227         puts.
17228         * configure: Regenerated.
17230 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
17232         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17233         default includes instead of AC_HEADER_CHECK.
17234         * sysdeps/i386/configure: Regenerated.
17236         [BZ #10716]
17237         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17238         * math/s_cacoshf.c (__cacoshf): Likewise.
17239         * math/s_cacoshl.c (__cacoshl): Likewise.
17240         * math/s_casinh.c (__casinh): Set signs of result from argument.
17241         * math/s_casinhf.c (__casinhf): Likewise.
17242         * math/s_casinhl.c (__casinhl): Likewise.
17243         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17244         (casinh_test): Add more tests.
17245         * sysdeps/i386/fpu/libm-test-ulps: Update.
17246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17248 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
17250         * po/zh_TW.po: Update from translation team.
17252         * login/Makefile (distribute): Remove variable.
17253         * catgets/Makefile: Likewise.
17254         * mach/Makefile: Likewise.
17255         * malloc/Makefile: Likewise.
17256         * misc/Makefile: Likewise.
17257         * iconv/Makefile: Likewise.
17258         * nscd/Makefile: Likewise.
17259         * hurd/Makefile: Likewise.
17260         * manual/Makefile: Likewise.
17261         * locale/Makefile: Likewise.
17262         * intl/Makefile: Likewise.
17263         * conform/Makefile: Likewise.
17264         * nss/Makefile: Likewise.
17265         * time/Makefile: Likewise.
17266         * soft-fp/Makefile: Likewise.
17267         * dirent/Makefile: Likewise.
17268         * gmon/Makefile: Likewise.
17269         * po/Makefile: Likewise.
17270         * rt/Makefile: Likewise.
17271         * socket/Makefile: Likewise.
17272         * math/Makefile: Likewise.
17273         * signal/Makefile: Likewise.
17274         * debug/Makefile: Likewise.
17275         * elf/Makefile: Likewise.
17276         * timezone/Makefile: Likewise.
17277         * stdlib/Makefile: Likewise.
17278         * iconvdata/Makefile: Likewise.
17279         * sunrpc/Makefile: Likewise.
17280         * io/Makefile: Likewise.
17281         * argp/Makefile: Likewise.
17282         * inet/Makefile: Likewise.
17283         * hesiod/Makefile: Likewise.
17284         * grp/Makefile: Likewise.
17285         * csu/Makefile: Likewise.
17286         * wctype/Makefile: Likewise.
17287         * crypt/Makefile: Likewise.
17288         * libio/Makefile: Likewise.
17289         * string/Makefile: Likewise.
17290         * nis/Makefile: Likewise.
17291         * resolv/Makefile: Likewise.
17292         * stdio-common/Makefile: Likewise.
17293         * wcsmbs/Makefile: Likewise.
17294         * dlfcn/Makefile: Likewise.
17295         * posix/Makefile: Likewise.
17297         [BZ #6959]
17298         * timezone/Makefile: Don't install timezone files, just the programs
17299         and scripts.
17301 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
17303         * nss/databases.def: Add missing gshadow entry.
17305         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
17307 2012-03-06  Marek Polacek  <polacek@redhat.com>
17309         [BZ #13726]
17310         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17311         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17312         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17313         * stdio-common/tst-long-dbl-fphex.c: New file.
17315 2012-03-06  David S. Miller  <davem@davemloft.net>
17317         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17318         (set_obp_int): New function.
17319         (get_obp_int): New function.
17320         (__get_clockfreq_via_dev_openprom): Likewise.
17321         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17322         Avoid unused variable warnings on 'val' and use builtin_expect.
17323         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17324         __builtin_expect.
17325         (INLINE_CLONE_SYSCALL): Likewise.
17327 2012-03-05  David S. Miller  <davem@davemloft.net>
17329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17331 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
17333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17335         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17336         only for |x| >= 40.
17337         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17339 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
17341         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17342         Replace gettimeofday with __vdso_gettimeofday.
17344         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17345         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17346         __vdso_clock_gettime and __vdso_getcpu.
17348         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17349         time with __vdso_time.
17351 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
17353         * manual/lang.texi (size_t): Note types to which size_t may be
17354         equivalent with the GNU C Library, but do not describe when
17355         differences between them are significant.
17357 2012-03-05  Andreas Jaeger  <aj@suse.de>
17359         * sysdeps/i386/fpu/libm-test-ulps: Update.
17361 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
17363         [BZ #3976]
17364         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17365         (__ieee754_pow): Save and restore rounding mode and use
17366         round-to-nearest for main computations.
17367         * math/libm-test.inc (pow_test_tonearest): New function.
17368         (pow_test_towardzero): Likewise.
17369         (pow_test_downward): Likewise.
17370         (pow_test_upward): Likewise.
17371         (main): Call the new functions.
17372         * sysdeps/i386/fpu/libm-test-ulps: Update.
17373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17375         [BZ #3976]
17376         * math/libm-test.inc (cosh_test_tonearest): New function.
17377         (cosh_test_towardzero): Likewise.
17378         (cosh_test_downward): Likewise.
17379         (cosh_test_upward): Likewise.
17380         (sinh_test_tonearest): Likewise.
17381         (sinh_test_towardzero): Likewise.
17382         (sinh_test_downward): Likewise.
17383         (sinh_test_upward): Likewise.
17384         (main): Call the new functions.
17385         * sysdeps/i386/fpu/libm-test-ulps: Update.
17386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17388 2012-03-05  Tom de Vries  <tom@codesourcery.com>
17390         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17391         default stack guard is set in last bytes.
17392         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17394 2012-03-05  Kees Cook  <keescook@chromium.org>
17396         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17398         [BZ #13656]
17399         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17400         possibly allocate from heap instead of stack.
17401         * stdio-common/bug-vfprintf-nargs.c: New file.
17402         * stdio-common/Makefile (tests): Add nargs overflow test.
17404 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
17406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17408 2012-03-03  Marek Polacek  <polacek@redhat.com>
17410         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17411         * math/math_private.h: Likewise.
17412         * stdlib/tst-strtod.c: Likewise.
17413         * sysdeps/i386/i486/bits/atomic.h: Likewise.
17414         * sysdeps/x86_64/bits/atomic.h: Likewise.
17416 2012-03-02  David S. Miller  <davem@davemloft.net>
17418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17422         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17423         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17424         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17425         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17427 2012-03-02  Roland McGrath  <roland@hack.frob.com>
17429         [BZ #13792]
17430         * manual/examples/README: New file, says the example source files
17431         can be used under GPL>=2.
17432         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17433         line containing just "*/".
17434         * manual/examples/add.c: Add copyright header (GPL>=2).
17435         * manual/examples/argp-ex1.c: Likewise.
17436         * manual/examples/argp-ex2.c: Likewise.
17437         * manual/examples/argp-ex3.c: Likewise.
17438         * manual/examples/argp-ex4.c: Likewise.
17439         * manual/examples/atexit.c: Likewise.
17440         * manual/examples/db.c: Likewise.
17441         * manual/examples/dir.c: Likewise.
17442         * manual/examples/dir2.c: Likewise.
17443         * manual/examples/execinfo.c: Likewise.
17444         * manual/examples/filecli.c: Likewise.
17445         * manual/examples/filesrv.c: Likewise.
17446         * manual/examples/fmtmsgexpl.c: Likewise.
17447         * manual/examples/genpass.c: Likewise.
17448         * manual/examples/inetcli.c: Likewise.
17449         * manual/examples/inetsrv.c: Likewise.
17450         * manual/examples/isockad.c: Likewise.
17451         * manual/examples/longopt.c: Likewise.
17452         * manual/examples/memopen.c: Likewise.
17453         * manual/examples/memstrm.c: Likewise.
17454         * manual/examples/mkfsock.c: Likewise.
17455         * manual/examples/mkisock.c: Likewise.
17456         * manual/examples/mygetpass.c: Likewise.
17457         * manual/examples/pipe.c: Likewise.
17458         * manual/examples/popen.c: Likewise.
17459         * manual/examples/rprintf.c: Likewise.
17460         * manual/examples/search.c: Likewise.
17461         * manual/examples/select.c: Likewise.
17462         * manual/examples/setjmp.c: Likewise.
17463         * manual/examples/sigh1.c: Likewise.
17464         * manual/examples/sigusr.c: Likewise.
17465         * manual/examples/stpcpy.c: Likewise.
17466         * manual/examples/strdupa.c: Likewise.
17467         * manual/examples/strftim.c: Likewise.
17468         * manual/examples/strncat.c: Likewise.
17469         * manual/examples/subopt.c: Likewise.
17470         * manual/examples/swapcontext.c: Likewise.
17471         * manual/examples/termios.c: Likewise.
17472         * manual/examples/testopt.c: Likewise.
17473         * manual/examples/testpass.c: Likewise.
17474         * manual/examples/timeval_subtract.c: Likewise.
17476         [BZ #13792]
17477         * manual/time.texi (Elapsed Time): Move timeval_subtract example
17478         function to ...
17479         * manual/timeval_subtract.c.texi: ... here, new file.
17481 2012-03-02  David S. Miller  <davem@davemloft.net>
17483         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17485 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
17487         [BZ #3976]
17488         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17489         (__sin): Save and restore rounding mode and use round-to-nearest
17490         for all computations.
17491         (__cos): Save and restore rounding mode and use round-to-nearest
17492         for all computations.
17493         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17494         <fenv.h>.
17495         (tan): Save and restore rounding mode and use round-to-nearest for
17496         all computations.
17497         * math/libm-test.inc (cos_test_tonearest): New function.
17498         (cos_test_towardzero): Likewise.
17499         (cos_test_downward): Likewise.
17500         (cos_test_upward): Likewise.
17501         (sin_test_tonearest): Likewise.
17502         (sin_test_towardzero): Likewise.
17503         (sin_test_downward): Likewise.
17504         (sin_test_upward): Likewise.
17505         (tan_test_tonearest): Likewise.
17506         (tan_test_towardzero): Likewise.
17507         (tan_test_downward): Likewise.
17508         (tan_test_upward): Likewise.
17509         (main): Call the new functions.
17510         * sysdeps/i386/fpu/libm-test-ulps: Update.
17511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17513         [BZ #10135]
17514         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17515         small n, then large n, before computing and testing k+n.
17516         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17517         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17518         Likewise.
17519         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17520         Likewise.
17521         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17522         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17523         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17524         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17525         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17526         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17527         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17528         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17529         * math/libm-test.inc (scalbn_test): Add more tests.
17530         (scalbln_test): Likewise.
17532         * manual/filesys.texi (mode_t): Describe constraints on size and
17533         signedness, not exact equivalence to a particular type.
17534         (ino_t): Likewise.
17535         (ino64_t): Likewise.
17536         (dev_t): Likewise.
17537         (nlink_t): Likewise.
17538         (blkcnt_t): Likewise.
17539         (blkcnt64_t): Likewise.
17540         * manual/llio.texi (off_t): Likewise.
17542         [BZ #3976]
17543         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17544         (__ieee754_exp): Save and restore rounding mode and use
17545         round-to-nearest for all computations.
17546         * math/libm-test.inc (exp_test_tonearest): New function.
17547         (exp_test_towardzero): Likewise.
17548         (exp_test_downward): Likewise.
17549         (exp_test_upward): Likewise.
17550         (main): Call the new functions.
17551         * sysdeps/i386/fpu/libm-test-ulps: Update.
17552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17554 2012-03-01  Chris Demetriou  <cgd@google.com>
17556         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17557         have predictable order.
17559 2012-03-01  David S. Miller  <davem@davemloft.net>
17561         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17563         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17564         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17565         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17566         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17568         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17569         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17570         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17572         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17573         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17574         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17575         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17576         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17580         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17581         * sysdeps/sparc/fpu/libm-test-ulps: to here.
17582         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17584         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17585         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17586         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17587         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17588         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17589         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17590         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17591         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17592         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17593         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17594         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17595         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17596         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17597         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17598         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17599         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17600         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17601         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17602         * sysdeps/sparc/elf/configure: Regenerated.
17604 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
17606         * configure.in (AS, LD): Require binutils 2.20 or later.
17607         * configure: Regenerated.
17608         * manual/install.texi (Tools for Compilation): Give binutils 2.20
17609         as required minimum version.
17610         * INSTALL: Regenerated.
17612         [BZ #2541]
17613         [BZ #4108]
17614         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17615         before squaring exponent.
17616         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17617         bottom long double and 27 bits of top long double before squaring
17618         exponent.
17619         * math/libm-test.inc (erfc_test): Add more tests.
17620         * sysdeps/i386/fpu/libm-test-ulps: Update.
17621         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17624 2012-03-01  Kai Tietz  <ktietz@redhat.com>
17626         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17627         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17628         containing bit-fields.
17629         * soft-fp/extended.h (_FP_UNION_E): Likewise.
17630         * soft-fp/single.h (_FP_UNION_S): Likewise.
17631         * soft-fp/double.h (_FP_UNION_D): Likewise.
17633 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
17635         [BZ #13786]
17636         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17637         not include ../strcmp.S.
17638         [USE_AS_STRNCASECMP_L]: Likewise.
17639         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17640         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17641         * sysdeps/i386/i686/multiarch/strncase_l-c.c
17642         (__strncasecmp_l_ia32): Define as alias to
17643         __strncasecmp_l_nonascii.
17645         [BZ #5794]
17646         * math/libm-test.inc (expm1_test): Add test for bug 5794.
17647         * sysdeps/i386/fpu/libm-test-ulps: Update.
17648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17650         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17653 2012-02-29  Jeff Law  <law@redhat.com>
17655         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17656         out of bounds read.
17658 2012-02-29  Marek Polacek  <polacek@redhat.com>
17660         [BZ #13706]
17661         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17662         * elf/Makefile: Add rules to run tst-unused-dep.out.
17664 2012-02-28  David S. Miller  <davem@davemloft.net>
17666         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17667         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17668         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17669         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17670         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17671         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17673 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
17675         * math/libm-test.inc (llround_test): Move one test from
17676         lround_test.  Use TEST_f_L in moved test.
17677         (lround_test): Move misplaced test to llround_test.  Add testcase
17678         from bug 2561.
17680 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
17682         * sysdeps/x86_64/fpu/e_expf.S: New file.
17683         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17685 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
17687         [BZ #13637]
17688         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17689         of remain_len that may cause incomplete multi-byte character and
17690         false match.
17691         * posix/bug-regex33.c: New file.
17692         * posix/Makefile (tests): Add bug-regex33.
17694 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
17696         * manual/macros.texi: New file.
17697         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17698         * manual/libc.texinfo: Include macros.texi.
17699         * manual/creatute.texi: Likewise.
17700         * manual/install.texi: Likewise.
17701         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17702         @glibcadj{} in references to the GNU C Library.
17703         * manual/charset.texi: Likewise.
17704         * manual/conf.texi: Likewise.
17705         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
17706         when not using those macros.
17707         * manual/creature.texi: Likewise.
17708         * manual/crypt.texi: Likewise.
17709         * manual/errno.texi: Likewise.
17710         * manual/filesys.texi: Likewise.
17711         * manual/header.texi: Likewise.
17712         * manual/install.texi: Likewise.
17713         * manual/intro.texi: Likewise.
17714         * manual/io.texi: Likewise.
17715         * manual/job.texi: Likewise.
17716         * manual/lang.texi: Likewise.
17717         * manual/libc.texiinfo: Likewise.
17718         * manual/llio.texi: Likewise.
17719         * manual/locale.texi: Likewise.
17720         * manual/maint.texi: Likewise.
17721         * manual/math.texi: Likewise.
17722         * manual/memory.texi: Likewise.
17723         * manual/message.texi: Likewise.
17724         * manual/nss.texi: Likewise.
17725         * manual/pattern.texi: Likewise.
17726         * manual/process.texi: Likewise.
17727         * manual/resource.texi: Likewise.
17728         * manual/search.texi: Likewise.
17729         * manual/setjmp.texi: Likewise.
17730         * manual/signal.texi: Likewise.
17731         * manual/socket.texi: Likewise.
17732         * manual/startup.texi: Likewise.
17733         * manual/stdio.texi: Likewise.
17734         * manual/string.texi: Likewise.
17735         * manual/sysinfo.texi: Likewise.
17736         * manual/syslog.texi: Likewise.
17737         * manual/terminal.texi: Likewise.
17738         * manual/time.texi: Likewise.
17739         * manual/users.texi: Likewise.
17740         * INSTALL: Regenerated.
17741         * NOTES: Regenerated.
17742         * sysdeps/gnu/errlist.c: Regenerated.
17744 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
17746         * include/dirent.h: Include <dirstream.h> before
17747         <dirent/dirent.h>.
17749 2012-02-28  David S. Miller  <davem@davemloft.net>
17751         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17752         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17753         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17754         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17756 2012-02-27  David S. Miller  <davem@davemloft.net>
17758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17760         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17761         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17764         frame pointer instead of stack pointer relative arg slot.
17765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17766         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17767         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17769 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
17771         [BZ #3992]
17772         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17774 2012-02-27  David S. Miller  <davem@davemloft.net>
17776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17780         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17781         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17782         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17783         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17785 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
17787         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17788         later.  Allow versions 5-9.
17789         * configure: Regenerated.
17790         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17791         required minimum version and 4.6 as recommended version.  Do not
17792         mention bugs in GCC 2.7 and 2.8.
17793         * INSTALL: Regenerated.
17795 2012-02-27  David S. Miller  <davem@davemloft.net>
17797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17801         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17802         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17803         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17804         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17806         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17807         manipulate bits before adding and subtracting TWO112[sx].
17808         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17810 2012-02-27  Roland McGrath  <roland@hack.frob.com>
17812         [BZ #13775]
17813         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17814         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17815         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17816         being in POSIX, because they are in 1003.1-2008.
17818         * rt/tst-aio.c: Include <fcntl.h>.
17819         * rt/tst-aio7.c: Likewise.
17820         * rt/tst-aio64.c: Likewise.
17822         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17824 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
17826         * manual/install.texi (--with-headers): Describe headers as
17827         interface headers, not private headers.
17828         (Specific advice for GNU/Linux systems): Describe use of headers
17829         from "make headers_install", not private headers from older
17830         kernels.
17831         * INSTALL: Regenerated.
17832         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17833         Change to 2.6.19.
17834         * sysdeps/unix/sysv/linux/configure: Regenerated.
17836         * manual/llio.texi (fclean): Remove documentation.
17838         * manual/Makefile (libc-texi-generated): New variable.  Include
17839         version.texi.
17840         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17841         $(libc-texi-generated), not duplicated list of files.
17842         (version.texi, stamp-version): New rules.
17843         (realclean): Remove $(libc-texi-generated), not individual files
17844         from that list.  Do not remove dir-add.texinfo.
17845         * manual/libc.texinfo: Comment out uses of edition numbers and
17846         references to printed manual.  Remove last-updated dates.
17847         (EDITION): Comment out.
17848         (ISBN): Likewise.
17849         (VERSION, UPDATED): Remove.
17850         (version.texi): Include.
17852 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
17854         * sysdeps/posix/spawni.c: Include <signal.h>.
17855         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17856         * sysdeps/pthread/aio_fsync.c: Likewise.
17858 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
17860         * conform/Makefile (tests): Run only when not cross-compiling and
17861         when fast-check is not defined.
17863         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17864         * conform/data/limits.h-data: Fixes for POSIX2008.
17865         * conform/run-conformtest.sh: Run all tests.
17866         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17867         headers.
17868         * include/bits/dlfcn.h: Likewise.
17869         * include/langinfo.h: Likewise.
17870         * include/monetary.h: Likewise.
17871         * include/sys/poll.h: Likewise.
17873         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17874         for __USE_GNU.
17875         * posix/spawn.h: Define __need_sigset_t.
17876         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17877         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17878         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
17879         to get sigevent_t only.
17880         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17881         only for __USE_GNU.
17882         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17883         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17884         process_vm_writev only for __USE_GNU.
17885         * termios/termios.h: Declare tcgetsid also for POSIX2008.
17887         * conform/Makefile: For now ignore errors from run-conformtest.
17888         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
17889         POSIX to avoid namespace pollution.  Don't prepend headers.
17890         * conform/data/aio.h-data: Fixes for POSIX testing.
17891         * conform/data/fcntl.h-data: Likewise.
17892         * conform/data/glob.h-data: Likewise.
17893         * conform/data/grp.h-data: Likewise.
17894         * conform/data/pthread.h-data: Likewise.
17895         * conform/data/pwd.h-data: Likewise.
17896         * conform/data/signal.h-data: Likewise.
17897         * conform/data/spawn.h-data: Likewise.
17898         * conform/data/stdio.h-data: Likewise.
17899         * conform/data/stdlib.h-data: Likewise.
17900         * conform/data/stropts.h-data: Likewise.
17901         * conform/data/sys/mman.h-data: Likewise.
17902         * conform/data/sys/stat.h-data: Likewise.
17903         * conform/data/sys/types.h-data: Likewise.
17904         * conform/data/sys/wait.h-data: Likewise.
17905         * conform/data/time.h-data: Likewise.
17906         * conform/data/unistd.h-data: Likewise.
17907         * conform/data/utime.h-data: Likewise.
17909         * io/sys/stat.h: fchmod was always in POSIX.
17910         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17911         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17912         * rt/aio.h: Define __need_timespec before including <time.h>.
17913         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17914         struct.  Add forward declaration of pthread_attr_t and use it in
17915         sigevent.
17916         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17917         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17918         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17919         always remove CLK_TCK definition.
17921 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
17923         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17925 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
17927         * conform/run-conformtest.sh: New file.
17928         * conform/Makefile: Run run-conformtest for tests.
17929         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
17930         support.
17932         * conform/data/uchar.h-data: New file.
17933         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17934         * conform/data/arpa/inet.h-data: Likewise.
17935         * conform/data/assert.h-data: Likewise.
17936         * conform/data/complex.h-data: Likewise.
17937         * conform/data/cpio.h-data: Likewise.
17938         * conform/data/ctype.h-data: Likewise.
17939         * conform/data/dirent.h-data: Likewise.
17940         * conform/data/dlfcn.h-data: Likewise.
17941         * conform/data/errno.h-data: Likewise.
17942         * conform/data/fcntl.h-data: Likewise.
17943         * conform/data/float.h-data: Likewise.
17944         * conform/data/fmtmsg.h-data: Likewise.
17945         * conform/data/fnmatch.h-data: Likewise.
17946         * conform/data/ftw.h-data: Likewise.
17947         * conform/data/glob.h-data: Likewise.
17948         * conform/data/grp.h-data: Likewise.
17949         * conform/data/iconv.h-data: Likewise.
17950         * conform/data/inttypes.h-data: Likewise.
17951         * conform/data/langinfo.h-data: Likewise.
17952         * conform/data/libgen.h-data: Likewise.
17953         * conform/data/limits.h-data: Likewise.
17954         * conform/data/locale.h-data: Likewise.
17955         * conform/data/math.h-data: Likewise.
17956         * conform/data/monetary.h-data: Likewise.
17957         * conform/data/mqueue.h-data: Likewise.
17958         * conform/data/ndbm.h-data: Likewise.
17959         * conform/data/net/if.h-data: Likewise.
17960         * conform/data/netdb.h-data: Likewise.
17961         * conform/data/netinet/in.h-data: Likewise.
17962         * conform/data/nl_types.h-data: Likewise.
17963         * conform/data/poll.h-data: Likewise.
17964         * conform/data/pthread.h-data: Likewise.
17965         * conform/data/pwd.h-data: Likewise.
17966         * conform/data/regex.h-data: Likewise.
17967         * conform/data/sched.h-data: Likewise.
17968         * conform/data/search.h-data: Likewise.
17969         * conform/data/semaphore.h-data: Likewise.
17970         * conform/data/setjmp.h-data: Likewise.
17971         * conform/data/signal.h-data: Likewise.
17972         * conform/data/spawn.h-data: Likewise.
17973         * conform/data/stdarg.h-data: Likewise.
17974         * conform/data/stdio.h-data: Likewise.
17975         * conform/data/stdlib.h-data: Likewise.
17976         * conform/data/string.h-data: Likewise.
17977         * conform/data/strings.h-data: Likewise.
17978         * conform/data/stropts.h-data: Likewise.
17979         * conform/data/sys/ipc.h-data: Likewise.
17980         * conform/data/sys/mman.h-data: Likewise.
17981         * conform/data/sys/msg.h-data: Likewise.
17982         * conform/data/sys/resource.h-data: Likewise.
17983         * conform/data/sys/select.h-data: Likewise.
17984         * conform/data/sys/sem.h-data: Likewise.
17985         * conform/data/sys/shm.h-data: Likewise.
17986         * conform/data/sys/socket.h-data: Likewise.
17987         * conform/data/sys/stat.h-data: Likewise.
17988         * conform/data/sys/statvfs.h-data: Likewise.
17989         * conform/data/sys/time.h-data: Likewise.
17990         * conform/data/sys/timeb.h-data: Likewise.
17991         * conform/data/sys/times.h-data: Likewise.
17992         * conform/data/sys/types.h-data: Likewise.
17993         * conform/data/sys/uio.h-data: Likewise.
17994         * conform/data/sys/un.h-data: Likewise.
17995         * conform/data/sys/utsname.h-data: Likewise.
17996         * conform/data/sys/wait.h-data: Likewise.
17997         * conform/data/syslog.h-data: Likewise.
17998         * conform/data/tar.h-data: Likewise.
17999         * conform/data/termios.h-data: Likewise.
18000         * conform/data/utime.h-data: Likewise.
18001         * conform/data/utmpx.h-data: Likewise.
18002         * conform/data/varargs.h-data: Likewise.
18003         * conform/data/wchar.h-data: Likewise.
18004         * conform/data/wctype.h-data: Likewise.
18005         * conform/data/wordexp.h-data: Likewise.
18007         * include/stropts.h: New file.
18008         * include/uchar.h: New file.
18009         * include/aio.h: Changes to allow conformtest.pl to use the headers.
18010         * include/assert.h: Likewise.
18011         * include/ctype.h: Likewise.
18012         * include/dirent.h: Likewise.
18013         * include/dlfcn.h: Likewise.
18014         * include/fcntl.h: Likewise.
18015         * include/fnmatch.h: Likewise.
18016         * include/glob.h: Likewise.
18017         * include/grp.h: Likewise.
18018         * include/libio.h: Likewise.
18019         * include/locale.h: Likewise.
18020         * include/math.h: Likewise.
18021         * include/net/if.h: Likewise.
18022         * include/netdb.h: Likewise.
18023         * include/netinet/in.h: Likewise.
18024         * include/pthread.h: Likewise.
18025         * include/pwd.h: Likewise.
18026         * include/regex.h: Likewise.
18027         * include/sched.h: Likewise.
18028         * include/search.h: Likewise.
18029         * include/setjmp.h: Likewise.
18030         * include/signal.h: Likewise.
18031         * include/stdio.h: Likewise.
18032         * include/stdlib.h: Likewise.
18033         * include/string.h: Likewise.
18034         * include/sys/cdefs.h: Likewise.
18035         * include/sys/mman.h: Likewise.
18036         * include/sys/msg.h: Likewise.
18037         * include/sys/resource.h: Likewise.
18038         * include/sys/select.h: Likewise.
18039         * include/sys/socket.h: Likewise.
18040         * include/sys/stat.h: Likewise.
18041         * include/sys/statvfs.h: Likewise.
18042         * include/sys/time.h: Likewise.
18043         * include/sys/times.h: Likewise.
18044         * include/sys/uio.h: Likewise.
18045         * include/sys/utsname.h: Likewise.
18046         * include/sys/wait.h: Likewise.
18047         * include/termios.h: Likewise.
18048         * include/time.h: Likewise.
18049         * include/ulimit.h: Likewise.
18050         * include/unistd.h: Likewise.
18051         * include/utime.h: Likewise.
18052         * include/wchar.h: Likewise.
18053         * include/wctype.h: Likewise.
18054         * include/wordexp.h: Likewise.
18056         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18058         * time/time.h: TIME_UTC must be a macro.
18059         Make timespec_get available for ISO C11 only as well.
18061 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
18063         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18064         Reported by Peng Haitao <penght@cn.fujitsu.com>.
18066 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18068         * configure.in: Use -o not -a in test for unsupported multi-arch.
18070 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18072         * manual/texinfo.tex: Update to version 2012-01-19.16.
18074 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18076         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18078 2012-02-24  Roland McGrath  <roland@hack.frob.com>
18080         [BZ #13738]
18081         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18082         * manual/fdl-1.3.texi: New file.
18083         * manual/fdl-1.1.texi: File removed.
18085         [BZ #13738]
18086         * manual/libc.texinfo (FDL_VERSION): New @set.
18087         Use it for mention of FDL in cover text.
18088         (Documentation License): Use it in @include file name.
18090 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18091             Roland McGrath  <roland@hack.frob.com>
18093         [BZ #5461]
18094         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18095         not LONG_LONG_MAX and LONG_LONG_MIN.
18096         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18097         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
18098         name.
18099         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18101 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18103         [BZ #2547]
18104         [BZ #11365]
18105         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18106         manipulate bits before adding and subtracting TWO23[sx].
18107         * math/libm-test.inc (nearbyint_test): Add more tests.
18109 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18111         [BZ #2548]
18112         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18113         bits before adding and subtracting TWO23[sx].
18114         * math/libm-test.inc (rint_test): Add more tests.
18115         (rint_test_tonearest): Likewise.
18116         (rint_test_towardzero): Likewise.
18117         (rint_test_downward): Likewise.
18118         (rint_test_upward: Likewise.
18120 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18122         [BZ #10110]
18123         * include/stdc-predef.h: New file.  Extracted from features.h.
18124         * include/features.h: Include stdc-predef.h.
18125         * Makefile (headers): Add stdc-predef.h.
18126         * CONFORMANCE (Compiler limitations): Update.
18128 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18130         * manual/libc.texinfo (VERSION, UPDATED): Revert.
18132 2012-02-21  David S. Miller  <davem@davemloft.net>
18134         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18135         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18137 2012-02-20  David S. Miller  <davem@davemloft.net>
18139         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18140         using a normal save/restore sequence, rather than allocating a
18141         dummy stack frame just to store a frame pointer and restore.
18142         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18144 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18146         * manual/install.texi: Fix stray word in line-wrapped comment.
18148 2012-02-20  David S. Miller  <davem@davemloft.net>
18150         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18151         both binutils and gcc support GOTDATA.
18153         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18154         "rd %pc" in the PIC register setup sequences.
18156         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18157         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18158         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18159         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18160         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18161         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18162         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18163         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18164         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18165         (SYSCALL_ERROR_HANDLER): Likewise.
18166         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18167         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18168         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18169         (SYSCALL_ERROR_HANDLER): Likewise.
18171         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18172         (HAVE_GCC_GOTDATA): New.
18173         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18174         relocation support in both binutils and gcc.
18175         * sysdeps/sparc/elf/configure: Regenerate.
18177         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18178         * sysdeps/sparc/sparc32/elf/configure: Delete.
18179         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18180         * sysdeps/sparc/sparc64/elf/configure: Delete.
18181         * sysdeps/sparc/elf/configure.in: New file.
18182         * sysdeps/sparc/elf/configure: Generate.
18184         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18185         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18186         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18187         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18188         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18190 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18192         * manual/install.texi: Do not mention specific glibc version
18193         numbers.
18194         * manual/libc.texinfo (VERSION, UPDATED): Update.
18195         (@copying): Use @copyright{} and range of years.
18197 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18199         [BZ #13695]
18200         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18201         [crti.S not in sysdirs] (generated): Do not append.
18202         [crti.S not in sysdirs] (omit-deps): Likewise.
18203         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18204         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18205         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18206         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18207         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18208         Likewise.
18209         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18210         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18211         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18212         * csu/defs.awk: Remove file.
18213         * sysdeps/generic/initfini.c: Likewise.
18214         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18215         variable.
18216         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18217         Likewise.
18219 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18221         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18222         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18223         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18224         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18225         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18226         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18227         <bits/epoll.h>.
18228         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18229         (__EPOLL_PACKED): Define to empty if not defined by
18230         <bits/epoll.h>.
18231         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18232         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18233         bits/epoll.h.
18235 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18237         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18238         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18239         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18240         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18241         <bits/timerfd.h>.
18242         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18244         bits/timerfd.h.
18246 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18248         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18249         in C locale.
18250         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18251         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18252         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18255 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
18257         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18258         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18260 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
18262         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18263         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18264         defined.
18265         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18266         Likewise.
18267         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18268         entry for 2.16.
18270 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
18272         * math/w_acos.c: Use non-signaling floating-point comparisons.
18273         * math/w_acosf.c: Likewise.
18274         * math/w_acosh.c: Likewise.
18275         * math/w_acoshf.c: Likewise.
18276         * math/w_acoshl.c: Likewise.
18277         * math/w_acosl.c: Likewise.
18278         * math/w_asin.c: Likewise.
18279         * math/w_asinf.c: Likewise.
18280         * math/w_asinl.c: Likewise.
18281         * math/w_atanh.c: Likewise.
18282         * math/w_atanhf.c: Likewise.
18283         * math/w_atanhl.c: Likewise.
18284         * math/w_exp2.c: Likewise.
18285         * math/w_exp2f.c: Likewise.
18286         * math/w_exp2l.c: Likewise.
18287         * math/w_j0.c: Likewise.
18288         * math/w_j0f.c: Likewise.
18289         * math/w_j0l.c: Likewise.
18290         * math/w_j1.c: Likewise.
18291         * math/w_j1f.c: Likewise.
18292         * math/w_j1l.c: Likewise.
18293         * math/w_jn.c: Likewise.
18294         * math/w_jnf.c: Likewise.
18295         * math/w_log.c: Likewise.
18296         * math/w_log10.c: Likewise.
18297         * math/w_log10f.c: Likewise.
18298         * math/w_log10l.c: Likewise.
18299         * math/w_log2.c: Likewise.
18300         * math/w_log2f.c: Likewise.
18301         * math/w_log2l.c: Likewise.
18302         * math/w_logf.c: Likewise.
18303         * math/w_logl.c: Likewise.
18304         * math/w_sqrt.c: Likewise.
18305         * math/w_sqrtf.c: Likewise.
18306         * math/w_sqrtl.c: Likewise.
18307         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18308         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18309         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18310         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18311         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18313 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18315         [BZ #9739]
18316         * manual/string.texi (strnlen): Use correct parameter name in
18317         equivalent expression.
18319 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18321         [BZ #11174]
18322         * manual/users.texi (seteuid): Consistently use neweuid for
18323         argument name.
18325 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18327         [BZ #13704]
18328         * manual/nss.texi (Services in the NSS configuration): Correct
18329         list of services in example configuration file.
18331 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
18333         [BZ #11322]
18334         * manual/arith.texi: Remove statements about negative zero
18335         behaving identically to zero.
18337 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
18339         [BZ #5993]
18340         * manual/install.texi: Do not document upgrading from libc5.
18342 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
18344         [BZ #4596]
18345         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18347 2012-02-18  David S. Miller  <davem@davemloft.net>
18349         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18350         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18351         %o7 across the call.
18352         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18353         instead.
18354         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18355         SETUP_PIC_REG_LEAF.
18356         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18357         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18358         * sysdeps/sparc/crtn.S: Likewise.
18360 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
18362         * aout/Makefile: Remove.
18364 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
18366         [BZ #13058]
18367         * manual/examples/argp-ex1.c (main): Format definition in GNU
18368         style.
18369         * manual/examples/argp-ex2.c (main): Likewise.
18370         * manual/examples/argp-ex3.c (main): Likewise.
18371         * manual/examples/argp-ex4.c (main): Likewise.
18372         * manual/examples/longopt.c (main): Use new-style prototype
18373         definition.
18374         * manual/examples/strncat.c (main): Specify return type and use
18375         (void) for arguments.
18376         * manual/examples/subopt.c (main): Use char **argv argument.
18378 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18380         [BZ #5077]
18381         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18382         rounding modes.
18384 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
18386         [BZ #6907]
18387         * manual/string.texi (strchr): Change when strchrnul is
18388         recommended.
18390 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
18392         [BZ #174]
18393         * manual/locale.texi (setlocale): Document LOCPATH.
18395 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18397         [BZ #10210]
18398         * manual/process.texi (execle): Move @dots{} before last argument.
18400 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
18402         [BZ #12047]
18403         * manual/charset.texi (Generic Charset Conversion): Fix typo
18404         (LC_TYPE -> LC_CTYPE).
18406 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
18408         [BZ #5805]
18409         * manual/arith.texi (scalbn): Use @var{} on parameter names.
18410         (scalbnf): Likewise.
18411         (scalbnl): Likewise.
18412         (scalbln): Likewise.
18413         (scalblnf): Likewise.
18414         (scalblnl): Likewise.
18415         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18416         (vwarnx): Likewise.
18417         (verr): Likewise.
18418         (verrx): Likewise.
18419         * manual/filesys.texi (telldir): Use braces around return type.
18420         * manual/llio.texi (mmap): Add space after comma.
18421         (mmap64): Likewise.
18422         * manual/math.texi (jn): Use @var{} on parameter names.
18423         (jnf): Likewise.
18424         (jnl): Likewise.
18425         (yn): Likewise.
18426         (ynf): Likewise.
18427         (ynl): Likewise.
18428         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18429         line.
18430         * manual/resource.texi (ulimit): Use @dots{} instead of literal
18431         "...".
18432         (sched_get_priority_min): Remove semicolon on @deftypefun line.
18433         (sched_get_priority_max): Likewise.
18434         * manual/signal.texi (sigvec): Add space after comma.
18435         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18436         names.
18437         (if_indextoname): Likewise.
18438         (if_freenameindex): Likewise.
18439         (sendto): Use ',' instead of '.' in prototype.
18440         * manual/startup.texi (syscall): Use @dots{} instead of literal
18441         "...".
18442         * manual/stdio.texi (__fpending): Separate initial words of
18443         paragraph from @deftypefun line.
18444         * manual/syslog.texi (syslog): Use @dots{} instead of literal
18445         "...".
18446         (vsyslog): Use @var{} on parameter names.
18447         * manual/terminal.texi (stty): Use @var{} on parameter names.
18448         * manual/users.texi (getutmp): Use @var{} on parameter names.
18449         (getutmpx): Likewise.
18451 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18453         [BZ #6884]
18454         * manual/stdio.texi (fopen): Fix typos in description of
18455         ",ccs=STRING".
18457 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
18459         [BZ #4026]
18460         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18461         get clock_id definition.
18463 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
18465         [BZ #4822]
18466         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18467         (madvise): Cast every argument to void on its own.
18469 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18471         [BZ #9902]
18472         * manual/startup.texi (Exit Status): Fix typo.
18474 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18476         [BZ #10140]
18477         * manual/examples/argp-ex1.c: Include <stdlib.h>.
18478         * manual/examples/argp-ex2.c: Likewise.
18479         * manual/examples/argp-ex3.c: Likewise.
18481 2012-02-16  Richard Henderson  <rth@redhat.com>
18483         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18484         * sysdeps/s390/s390-32/initfini.c: Remove.
18485         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18486         * sysdeps/s390/s390-64/initfini.c: Remove.
18488 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18490         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18491         compiler output for sysdeps/generic/initfini.c.
18492         * sysdeps/sh/elf/initfini.c: Remove file.
18494 2012-02-16  David S. Miller  <davem@davemloft.net>
18496         [BZ #11494]
18497         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18499         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18500         * sysdeps/sparc/crti.S: New file.
18501         * sysdeps/sparc/crtn.S: New file.
18502         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18503         * sysdeps/sparc/sparc64/Makefile: Likewise.
18505 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
18507         [BZ #3335]
18508         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18510 2012-02-15  Roland McGrath  <roland@hack.frob.com>
18512         [BZ #4822]
18513         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18515         * mach/devstream.c (cookie_io_functions_t): Macro removed.
18516         (write, read, close): Likewise.
18517         Patch by Aurelien Jarno <aurelien@aurel32.net>.
18519 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
18521         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18522         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18523         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18524         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18525         <bits/signalfd.h>.
18526         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18527         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18528         bits/signalfd.h.
18530 2012-02-14  Marek Polacek  <polacek@redhat.com>
18532         * sysdeps/x86_64/crti.S: New file.
18533         * sysdeps/x86_64/crtn.S: New file.
18534         * sysdeps/x86_64/elf/initfini.c: Remove file.
18536 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
18538         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18539         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18540         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18541         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18542         <bits/inotify.h>.
18543         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18544         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18545         bits/inotify.h.
18547 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
18549         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18550         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18551         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18552         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18553         <bits/eventfd.h>.
18554         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18555         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18556         bits/eventfd.h.
18558 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
18560         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18561         __feraiseexcept instead of feraiseexcept.
18563         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18564         nanosleep invocations.
18565         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18566         strings, and add error checking for a nanosleep invocations.
18568 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
18570         Replace FSF snail mail address with URLs, as per GNU coding standards.
18571         Most of the snail mail addresses were wrong anyway, and omitting
18572         them makes the source code easier to maintain.  Almost all of the
18573         changes are to license notices and to locale LC_IDENTIFICATION
18574         addresses, except for this one:
18575         * manual/libc.texinfo: In "Published by", give the FSF's URL,
18576         not its snail mail address.
18578 2012-02-09  Richard Henderson  <rth@twiddle.net>
18580         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18581         of kernel-features.h.
18583         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18585 2012-02-08  Marek Polacek  <polacek@redhat.com>
18587         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18588         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18589         * sysdeps/gnu/_G_config.h: Likewise.
18590         * sysdeps/generic/_G_config.h: Likewise.
18592 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
18594         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18595         tests.
18596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18598         * sysdeps/powerpc/powerpc32/crti.S: New file.
18599         * sysdeps/powerpc/powerpc32/crtn.S: New file.
18600         * sysdeps/powerpc/powerpc64/crti.S: New file.
18601         * sysdeps/powerpc/powerpc64/crtn.S: New file.
18603         * Makeconfig (have-initfini): Don't set.
18604         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18605         * configure.in (nopic_initfini): Don't substitute.
18606         * config.h.in (HAVE_INITFINI): Don't #undef.
18607         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18608         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18610 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
18612         Support crti.S and crtn.S provided directly by architectures.
18613         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18614         [crti.S in sysdirs] (omit-deps): Likewise.
18615         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18616         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18617         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18618         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18619         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18620         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18621         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18622         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18623         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18624         compiler output for sysdeps/generic/initfini.c.
18625         * sysdeps/i386/elf/Makefile: Remove file.
18626         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18628 2012-02-07  Marek Polacek  <polacek@redhat.com>
18630         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18631         * sysdeps/gnu/_G_config.h: Likewise.
18632         * sysdeps/mach/hurd/_G_config.h: Likewise.
18634 2012-02-07  Marek Polacek  <polacek@redhat.com>
18636         * math/Makefile (tests): Add tst-CMPLX2.
18637         * math/tst-CMPLX2.c: New file.
18639 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
18641         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18643         * math/libm-test.inc (jn_test): Add missing L suffix.
18645 2012-02-06  Marek Polacek  <polacek@redhat.com>
18647         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18648         * sysdeps/i386/fpu/e_powf.S: Likewise.
18649         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18650         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18651         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18652         * sysdeps/i386/fpu/e_pow.S: Likewise.
18653         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18654         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18655         * sysdeps/i386/fpu/s_expm1.S: Likewise.
18656         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18657         * sysdeps/i386/fpu/e_log2.S: Likewise.
18658         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18659         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18660         * sysdeps/i386/fpu/e_powl.S: Likewise.
18661         * sysdeps/i386/fpu/s_log1p.S: Likewise.
18662         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18663         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18664         * sysdeps/i386/fpu/e_logl.S: Likewise.
18665         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18666         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18667         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18668         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18669         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18670         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18671         * sysdeps/i386/fpu/e_log.S: Likewise.
18672         * sysdeps/i386/fpu/s_cexp.S: Likewise.
18673         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18674         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18675         * sysdeps/i386/fpu/e_logf.S: Likewise.
18676         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18677         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18678         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18679         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18680         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18681         * sysdeps/i386/fpu/e_log10.S: Likewise.
18682         * sysdeps/i386/fpu/s_frexp.S: Likewise.
18683         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18684         * sysdeps/i386/fpu/s_asinh.S: Likewise.
18685         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18686         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18687         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18688         * sysdeps/i386/asm-syntax.h: Likewise.
18689         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18690         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18691         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18692         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18693         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18694         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18695         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18696         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18697         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18698         * sysdeps/powerpc/sysdep.h: Likewise.
18699         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18700         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18702 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
18704         [BZ #411]
18705         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18707 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
18709         * sysdeps/i386/sysdep.h: Include <features.h>.
18710         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18711         version.
18713 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
18715         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18716         Define.
18717         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18718         LOAD_PIC_REG_STR.
18720 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
18722         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18723         (SETUP_PIC_REG): Use GET_PC_THUNK.
18724         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18725         macro.
18727 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
18729         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18730         for non-PIC compilation.
18731         (SETUP_PIC_REG): Add .p2align directive.
18732         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18733         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18734         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18735         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18736         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18737         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18738         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18739         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18740         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18741         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18742         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18743         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18744         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18745         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18746         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18747         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18748         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18749         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18750         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18751         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18752         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18753         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18754         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18755         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18756         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18757         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18758         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18759         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18760         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18761         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18762         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18763         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18764         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18765         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18766         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18767         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18768         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18769         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18770         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18771         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18772         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18774 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
18776         * math/tst-CMPLX.c: Include <stdio.h>.
18778 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
18780         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18781         float.
18782         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18783         * sysdeps/sparc/bits/mathdef.h: Likewise.
18785 2012-01-31  Marek Polacek  <polacek@redhat.com>
18787         * libio/libio.h: Don't define _PARAMS.
18788         * locale/programs/config.h: Don't define PARAMS.
18789         * stdlib/strtol_l.c: Likewise.
18790         (__strtol_l): Remove PARAMS from the prototype.
18792 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
18794         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
18795         names.  Just use the correct names.  Remove unnecessary wrapper
18796         functions.
18797         * malloc/arena.c: Likewise.
18798         * malloc/hooks.c: Likewise.
18800         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18801         ARENA_TEST says not to.  Simplify test for creation of a new arena.
18802         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18804 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
18806         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18807         into tail calls.
18808         (update_get_addr): New function.
18809         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18810         GET_ADDR_MODULE parameter.
18812 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
18814         * crypt/cert.c: Remove __STDC__ conditionals.
18815         * crypt/crypt-entry.c: Likewise.
18816         * crypt/crypt_util.c: Likewise.
18817         * libio/filedoalloc.c: Likewise.
18818         * libio/fileops.c: Likewise.
18819         * libio/genops.c: Likewise.
18820         * libio/iofclose.c: Likewise.
18821         * libio/iofdopen.c: Likewise.
18822         * libio/iofopen.c: Likewise.
18823         * libio/iofopen64.c: Likewise.
18824         * libio/iogetdelim.c: Likewise.
18825         * libio/iopopen.c: Likewise.
18826         * libio/obprintf.c: Likewise.
18827         * libio/oldfileops.c: Likewise.
18828         * libio/oldiofclose.c: Likewise.
18829         * libio/oldiofdopen.c: Likewise.
18830         * libio/oldiofopen.c: Likewise.
18831         * libio/oldiopopen.c: Likewise.
18832         * libio/wfiledoalloc.c: Likewise.
18833         * libio/wgenops.c: Likewise.
18834         * locale/programs/xmalloc.c: Likewise.
18835         * misc/syslog.c: Likewise.
18836         * stdio-common/xbug.c: Likewise.
18837         * string/memchr.c: Likewise.
18838         * string/memcmp.c: Likewise.
18839         * string/memrchr.c: Likewise.
18840         * string/rawmemchr.c: Likewise.
18841         * sysdeps/posix/getcwd.c: Likewise.
18842         * time/strftime_l.c: Likewise.
18844 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
18846         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18847         * config.make.in (config-cflags-sse2avx): Define.
18848         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18849         Fix typo.
18851 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
18853         * scripts/config.guess: Update from upstream config git repository.
18854         * scripts/config.sub: Likewise.
18856 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
18858         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18859         (EM_NUM): Update.
18860         (R_TILEPRO_*, R_TILEGX_*): New macros.
18862         * scripts/firstversions.awk: Fix bug in version range handling.
18864         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18866         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18868         * include/sys/epoll.h: New file.
18869         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18870         libc_hidden_def.
18872 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
18874         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18875         Avoid unnecessary __WORDSIZE == 64 test.
18876         (fmaxf): Use VEX format if possible.
18877         (fmax): Likewise.
18878         (fminf): Likewise.
18879         (fmin): Likewise.
18881         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18882         * math/math_private.h: Remove libc_fegetround* and
18883         libc_fesetround*.
18884         * sysdeps/i386/configure.in: Check for -msse2avx.
18885         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18886         also if SSE2AVX is defined.
18887         Remove libc_fegetround* and libc_fesetround*.
18888         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18889         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
18890         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18891         of HAS_YMM_USABLE.
18892         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18893         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18894         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18895         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18896         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18898         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18900 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18902         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18903         size is not set.
18904         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18906 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
18908         [BZ #13618]
18909         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18910         relocation.
18911         * Makeconfig (libm): Define.
18912         * elf/Makefile: Add rules to build and run tst-relsort1.
18913         * elf/tst-relsort1.c: New file.
18914         * elf/tst-relsort1mod1.c: New file.
18915         * elf/tst-relsort1mod2.c: New file.
18917 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
18919         * math/s_ldexp.c: Remove __STDC__ conditionals.
18920         * math/s_ldexpf.c: Likewise.
18921         * math/s_ldexpl.c: Likewise.
18922         * math/s_nextafter.c: Likewise.
18923         * math/s_nexttowardf.c: Likewise.
18924         * math/s_significand.c: Likewise.
18925         * math/s_significandf.c: Likewise.
18926         * math/s_significandl.c: Likewise.
18927         * math/w_jnl.c: Likewise.
18928         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18929         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18930         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18931         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18932         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18933         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18934         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18935         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18936         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18937         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18938         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18939         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18940         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18941         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18942         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18943         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18944         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18945         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18946         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18947         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18948         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18949         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18950         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18951         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18952         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18953         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18954         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18955         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18956         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18957         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18958         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18959         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18960         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18961         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18962         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18963         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18964         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18965         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18966         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18967         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18968         * sysdeps/ieee754/k_standard.c: Likewise.
18969         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18970         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18971         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18972         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18973         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18974         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18975         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18976         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18977         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18978         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18979         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18980         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18981         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18982         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18983         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18984         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18985         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18986         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18987         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18988         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18989         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18990         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18991         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18992         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18993         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18994         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18995         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18996         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18997         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18998         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18999         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19000         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19001         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19002         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19003         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19004         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19005         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19006         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19007         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19008         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19009         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19010         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19011         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19012         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19013         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19014         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19015         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19016         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19017         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19018         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19019         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19020         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19021         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19022         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19023         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19024         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19025         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19026         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19027         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19028         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19029         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19030         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19031         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19032         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19033         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19034         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19035         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19036         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19037         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19038         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19039         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19040         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19041         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19042         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19043         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19044         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19045         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19046         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19047         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19048         * sysdeps/ieee754/s_matherr.c: Likewise.
19049         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19050         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19051         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19052         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19054 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
19056         * crypt/md5.h: Remove __STDC__ conditionals.
19057         * libio/libioP.h: Likewise.
19058         * locale/programs/config.h: Likewise.
19059         * sysdeps/generic/sysdep.h: Likewise.
19060         * sysdeps/i386/asm-syntax.h: Likewise.
19061         * sysdeps/s390/asm-syntax.h: Likewise.
19062         * sysdeps/unix/sysdep.h: Likewise.
19063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19066 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
19068         * libio/libio.h: Remove __STDC__ conditionals.
19069         * malloc/obstack.h: Likewise.
19070         * math/complex.h: Likewise.
19071         * math/math.h: Likewise.
19072         * sysdeps/generic/_G_config.h: Likewise.
19073         * sysdeps/gnu/_G_config.h: Likewise.
19074         * sysdeps/mach/hurd/_G_config.h: Likewise.
19075         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19076         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19077         * sysdeps/sparc/bits/mathdef.h: Likewise.
19079 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
19081         [BZ #13583]
19082         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19083         Clean up HAS_* macros.
19084         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19085         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19086         possible.
19087         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19088         HAS_AVX.
19089         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19090         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19091         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19092         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19093         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19095 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
19097         * elf/tst-unique3.cc (gets): Remove declaration.
19098         * elf/tst-unique3lib.cc (gets): Likewise.
19099         * elf/tst-unique3lib2.cc (gets): Likewise.
19100         * elf/tst-unique4.cc (gets): Likewise.
19102 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
19104         * include/stdio.h: Add C++ protection.  Add gets declarations and
19105         definitions.
19106         * debug/tst-chk1.c: Don't declare gets here.
19107         * stdio-common/tst-gets.c: Likewise.
19109 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
19111         * posix/glob: Remove directory.
19113 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
19115         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19117 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
19119         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19120         of the non-standard EPFNOSUPPORT.
19122 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19124         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19125         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19126         ANYWHERE set to 1 only on KERN_NO_SPACE error.
19128 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
19130         * wcsmbs/uchar.h: Test __STDC_VERSION__.
19132 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
19134         * nscd/aicache.c (addhstaiX): Do not cache negative results of
19135         transient errors.
19136         * nscd/grpcache.c (cache_addgr): Likewise.
19137         * nscd/hstcache.c (cache_addhst): Likewise.
19138         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19139         * nscd/pwdcache.c (cache_addpw): Likewise.
19140         * nscd/servicescache.c (cache_addserv): Likewise.
19142 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
19144         * malloc/malloc.c: Various cleanups.
19145         * malloc/hooks.c: Likewise.
19147         * stdlib/Makefile (tests): Add bug-fmtmsg1.
19148         * stdlib/bug-fmtmsg1.c: New file.
19150         * stdlib/fmtmsg.c (init): Add missing unlock.
19151         Patch by Peng Haitao <penght@cn.fujitsu.com>.
19153 2012-01-12  Marek Polacek  <polacek@redhat.com>
19155         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19156         and _GNU_SOURCE.
19158 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19160         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19161         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19162         macro to ensure uniqueness of label name.
19163         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19164         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19166 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
19168         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19170         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19171         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19172         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19173         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19175 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
19177         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19179         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19180         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19181         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19183         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19185         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19186         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19187         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19188         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19190         * math/bits/math-finite.h: Add ldexp support.
19192 2012-01-10  Marek Polacek  <polacek@redhat.com>
19194         * locale/programs/localedef.h (show_archive_content): Add noreturn
19195         attribute.
19197 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
19199         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19201 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19203         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19205         * io/Makefile (headers): Add bits/poll2.h.
19207 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
19209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19210         typo #include statement.
19212 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19214         * include/sys/cdefs.h: Define __attribute_alloc_size.
19215         * catgets/gencat.c: Add alloc_size attribute and apply consistently
19216         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19217         * elf/pldd.c: Likewise.
19218         * iconv/iconv_charmap.c: Likewise.
19219         * iconv/iconvconfig.c: Likewise.
19220         * iconv/strtab.c: Likewise.
19221         * locale/programs/locale.c: Likewise.
19222         * locale/programs/localedef.h: Likewise.
19223         * locale/programs/simple-hash.c: Likewise.
19224         * nscd/nscd.h: Likewise.
19225         * nss/makedb.c: Likewise.
19226         * sysdeps/generic/ldconfig.h: Likewise.
19227         * locale/programs/localedef.c: Remove xmalloc prototype.
19228         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19230 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19232         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19233         appropriate.
19235 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19237         * math/Makefile (tests): Add tst-CMPLX.
19238         * math/tst-CMPLX.c: New file.
19240         * math/complex.h (CMPLXL): Fix typo.
19242         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19243         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19244         GLIBC_2.16.
19245         * debug/tst-chk1.c: Add poll and ppoll tests.
19246         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19247         * include/sys/poll.h: Add hidden proto for ppoll.
19248         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19249         * sysdeps/mach/hurd/ppoll.c: Likewise.
19250         * io/ppoll.c: Likewise.
19251         * debug/poll_chk.c: New file.
19252         * debug/ppoll_chk.c: New file.
19253         * include/bits/poll2.h: New file.
19254         * io/bits/poll2.h: New file.
19256         [BZ #1350]
19257         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19259         * configure.in: static is always set to yes.  Remove.
19260         * config.make.in: Don't set build-static.
19261         * Makeconfig: Remove use of build-static.
19262         * dlfcn/Makefile: Likewise.
19263         * elf/Makefile: Likewise.
19264         * math/Makefile: Likewise.
19265         * misc/Makefile: Likewise.
19266         * nptl/Makefile: Likewise.
19267         * sysdeps/mach/hurd/Makefile: Likewise.
19269         * configure.in: PWD_P is not used anymore.
19270         * config.make.in: Remove PWD_P entry.
19272         * configure.in: Remove last remnants of RANLIB.
19273         No need to check for signed size_t anymore.
19274         Don't set libc_commonpagesize and libc_relro_required here for Alpha
19275         and IA-64.
19276         Remove __builtin_expect test because we require at least gcc 3.4.
19277         * aclocal.m4: Likewise.
19279         * wcsmbs/mbrtoc16.c: Implement using towc function.
19280         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19281         * wcsmbs/wcsmbsload.c: Likewise.
19282         * iconv/gconv_simple.c: Likewise.
19283         * iconv/gconv_int.h: Likewise.
19284         * iconv/gconv_builtin.h: Likewise.
19285         * iconv/iconv_prog.c: Remove CHAR16 handling.
19287         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19289         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19291         * configure.in: Remove --with-elf and --enable-bounded options.
19292         Dont set base_machine for ia64.  More non-ELF conditions removed.
19293         Remove testing and setting of leading underscore information.
19294         * config.make.in (build-bounded): Set to no.
19295         * config.h.in: Remove NO_UNDERSCORES entry.
19296         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
19297         them.
19298         * csu/start.c: Remove !NO_UNDERSCORE code.
19299         * locale/localeinfo.h: Likewise.
19300         * sysdeps/generic/machine-gmon.h: Likewise.
19301         * sysdeps/generic/sysdep.h: Likewise.
19302         * sysdeps/i386/sysdep.h: Likewise.
19303         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19304         * sysdeps/mach/sysdep.h: Likewise.
19305         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19306         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19307         * sysdeps/sh/sysdep.h: Likewise.
19308         * sysdeps/sparc/sparc32/alloca.S: Likewise.
19309         * sysdeps/unix/i386/sysdep.S: Likewise.
19310         * sysdeps/unix/sparc/start.c: Likewise.
19311         * sysdeps/unix/sparc/sysdep.S: Likewise.
19312         * sysdeps/unix/sparc/sysdep.h: Likewise.
19313         * sysdeps/unix/start.c: Likewise.
19314         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19315         * sysdeps/x86_64/sysdep.h: Likewise.
19317 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
19319         [BZ #13553]
19320         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19321         for non-gcc.
19322         * argp/argp-fmtstream.h: Use const instead __const.
19323         * argp/argp.h: Likewise.
19324         * assert/assert.h: Likewise.
19325         * bits/fenv.h: Likewise.
19326         * bits/sched.h: Likewise.
19327         * bits/sigset.h: Likewise.
19328         * bits/sigthread.h: Likewise.
19329         * catgets/nl_types.h: Likewise.
19330         * conform/data/pthread.h-data: Likewise.
19331         * crypt/crypt-private.h: Likewise.
19332         * crypt/crypt.h: Likewise.
19333         * crypt/crypt_util.c: Likewise.
19334         * ctype/ctype.h: Likewise.
19335         * debug/execinfo.h: Likewise.
19336         * debug/mbsnrtowcs_chk.c: Likewise.
19337         * debug/mbsrtowcs_chk.c: Likewise.
19338         * debug/wcsnrtombs_chk.c: Likewise.
19339         * debug/wcsrtombs_chk.c: Likewise.
19340         * debug/wcstombs_chk.c: Likewise.
19341         * dirent/dirent.h: Likewise.
19342         * dlfcn/dlfcn.h: Likewise.
19343         * elf/neededtest4.c: Likewise.
19344         * grp/grp.h: Likewise.
19345         * gshadow/gshadow.h: Likewise.
19346         * iconv/gconv.h: Likewise.
19347         * iconv/gconv_int.h: Likewise.
19348         * iconv/gconv_simple.c: Likewise.
19349         * iconv/iconv.h: Likewise.
19350         * iconv/loop.c: Likewise.
19351         * iconv/skeleton.c: Likewise.
19352         * include/aio.h: Likewise.
19353         * include/aliases.h: Likewise.
19354         * include/argz.h: Likewise.
19355         * include/arpa/inet.h: Likewise.
19356         * include/assert.h: Likewise.
19357         * include/dirent.h: Likewise.
19358         * include/dlfcn.h: Likewise.
19359         * include/execinfo.h: Likewise.
19360         * include/fcntl.h: Likewise.
19361         * include/fenv.h: Likewise.
19362         * include/glob.h: Likewise.
19363         * include/grp.h: Likewise.
19364         * include/libintl.h: Likewise.
19365         * include/mntent.h: Likewise.
19366         * include/netdb.h: Likewise.
19367         * include/pwd.h: Likewise.
19368         * include/rpc/netdb.h: Likewise.
19369         * include/sched.h: Likewise.
19370         * include/search.h: Likewise.
19371         * include/shadow.h: Likewise.
19372         * include/signal.h: Likewise.
19373         * include/stdio.h: Likewise.
19374         * include/stdlib.h: Likewise.
19375         * include/string.h: Likewise.
19376         * include/sys/socket.h: Likewise.
19377         * include/sys/stat.h: Likewise.
19378         * include/sys/statfs.h: Likewise.
19379         * include/sys/statvfs.h: Likewise.
19380         * include/sys/syslog.h: Likewise.
19381         * include/sys/time.h: Likewise.
19382         * include/sys/uio.h: Likewise.
19383         * include/time.h: Likewise.
19384         * include/unistd.h: Likewise.
19385         * include/utmp.h: Likewise.
19386         * include/wchar.h: Likewise.
19387         * include/wctype.h: Likewise.
19388         * inet/aliases.h: Likewise.
19389         * inet/arpa/inet.h: Likewise.
19390         * inet/netinet/ether.h: Likewise.
19391         * inet/netinet/in.h: Likewise.
19392         * intl/libintl.h: Likewise.
19393         * io/bits/fcntl2.h: Likewise.
19394         * io/fcntl.h: Likewise.
19395         * io/ftw.h: Likewise.
19396         * io/sys/poll.h: Likewise.
19397         * io/sys/stat.h: Likewise.
19398         * io/sys/statfs.h: Likewise.
19399         * io/sys/statvfs.h: Likewise.
19400         * io/utime.h: Likewise.
19401         * libio/bits/stdio.h: Likewise.
19402         * libio/bits/stdio2.h: Likewise.
19403         * libio/libio.h: Likewise.
19404         * libio/libioP.h: Likewise.
19405         * libio/stdio.h: Likewise.
19406         * locale/lc-ctype.c: Likewise.
19407         * locale/locale.h: Likewise.
19408         * login/utmp.h: Likewise.
19409         * malloc/arena.c: Likewise.
19410         * malloc/malloc.c: Likewise.
19411         * malloc/malloc.h: Likewise.
19412         * malloc/mcheck.c: Likewise.
19413         * malloc/mtrace.c: Likewise.
19414         * math/bits/mathcalls.h: Likewise.
19415         * math/fenv.h: Likewise.
19416         * math/math_private.h: Likewise.
19417         * misc/bits/error.h: Likewise.
19418         * misc/bits/syslog.h: Likewise.
19419         * misc/err.h: Likewise.
19420         * misc/error.h: Likewise.
19421         * misc/fstab.h: Likewise.
19422         * misc/mntent.h: Likewise.
19423         * misc/regexp.h: Likewise.
19424         * misc/search.h: Likewise.
19425         * misc/sgtty.h: Likewise.
19426         * misc/sys/mman.h: Likewise.
19427         * misc/sys/syslog.h: Likewise.
19428         * misc/sys/uio.h: Likewise.
19429         * misc/sys/xattr.h: Likewise.
19430         * misc/ttyent.h: Likewise.
19431         * nis/rpcsvc/ypclnt.h: Likewise.
19432         * nss/nss.h: Likewise.
19433         * posix/bits/unistd.h: Likewise.
19434         * posix/fnmatch.h: Likewise.
19435         * posix/glob.h: Likewise.
19436         * posix/sched.h: Likewise.
19437         * posix/spawn.h: Likewise.
19438         * posix/sys/wait.h: Likewise.
19439         * posix/unistd.h: Likewise.
19440         * posix/wordexp.h: Likewise.
19441         * pwd/pwd.h: Likewise.
19442         * resolv/netdb.h: Likewise.
19443         * resource/sys/resource.h: Likewise.
19444         * rt/aio.h: Likewise.
19445         * rt/bits/mqueue2.h: Likewise.
19446         * rt/mqueue.h: Likewise.
19447         * shadow/shadow.h: Likewise.
19448         * signal/signal.h: Likewise.
19449         * socket/send.c: Likewise.
19450         * socket/sendto.c: Likewise.
19451         * socket/sys/socket.h: Likewise.
19452         * stdio-common/printf.h: Likewise.
19453         * stdlib/bits/stdlib.h: Likewise.
19454         * stdlib/fmtmsg.h: Likewise.
19455         * stdlib/monetary.h: Likewise.
19456         * stdlib/stdlib.h: Likewise.
19457         * stdlib/ucontext.h: Likewise.
19458         * streams/stropts.h: Likewise.
19459         * string/argz.h: Likewise.
19460         * string/bits/string2.h: Likewise.
19461         * string/string.h: Likewise.
19462         * string/strings.h: Likewise.
19463         * sunrpc/rpc/auth.h: Likewise.
19464         * sunrpc/rpc/auth_des.h: Likewise.
19465         * sunrpc/rpc/clnt.h: Likewise.
19466         * sunrpc/rpc/netdb.h: Likewise.
19467         * sunrpc/rpc/pmap_clnt.h: Likewise.
19468         * sunrpc/rpc/xdr.h: Likewise.
19469         * sysdeps/generic/inttypes.h: Likewise.
19470         * sysdeps/generic/net/if.h: Likewise.
19471         * sysdeps/generic/sys/swap.h: Likewise.
19472         * sysdeps/gnu/net/if.h: Likewise.
19473         * sysdeps/gnu/utmpx.h: Likewise.
19474         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19475         * sysdeps/i386/i486/bits/string.h: Likewise.
19476         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19477         * sysdeps/s390/bits/string.h: Likewise.
19478         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19479         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19480         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19481         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19482         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19483         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19484         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19485         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19486         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19487         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19488         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19489         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19490         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19491         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19492         * sysdeps/unix/sysv/linux/readv.c: Likewise.
19493         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19494         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19495         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19496         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19497         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19498         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19499         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19500         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19501         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19502         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19503         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19504         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19505         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19506         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19507         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19508         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19509         * sysvipc/sys/ipc.h: Likewise.
19510         * sysvipc/sys/msg.h: Likewise.
19511         * sysvipc/sys/sem.h: Likewise.
19512         * sysvipc/sys/shm.h: Likewise.
19513         * termios/termios.h: Likewise.
19514         * time/sys/time.h: Likewise.
19515         * time/time.h: Likewise.
19516         * wcsmbs/bits/wchar2.h: Likewise.
19517         * wcsmbs/uchar.h: Likewise.
19518         * wcsmbs/wchar.h: Likewise.
19519         * wctype/wctype.h: Likewise.
19521         [BZ #13551]
19522         * Makeconfig: Remove all but ELF support including AIX support.
19523         * Makerules: Likewise.
19524         * config.h.in: Likewise.
19525         * config.make.in: Likewise.
19526         * configure: Likewise.
19527         * configure.in: Likewise.
19528         * csu/Makefile: Likewise.
19529         * csu/version.c: Likewise.
19530         * debug/Makefile: Likewise.
19531         * dlfcn/Makefile: Likewise.
19532         * elf/Makefile: Likewise.
19533         * extra-lib.mk: Likewise.
19534         * iconv/Makefile: Likewise.
19535         * include/libc-symbols.h: Likewise.
19536         * include/shlib-compat.h: Likewise.
19537         * resolv/Makefile: Likewise.
19538         * resolv/res_libc.c: Likewise.
19539         * rt/Makefile: Likewise.
19540         * sysdeps/i386/asm-syntax.h: Likewise.
19541         * sysdeps/i386/sysdep.h: Likewise.
19542         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19543         * sysdeps/mach/sysdep.h: Likewise.
19544         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19545         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19546         * sysdeps/s390/asm-syntax.h: Likewise.
19547         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19548         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19549         * sysdeps/sh/sysdep.h: Likewise.
19550         * sysdeps/unix/sparc/sysdep.h: Likewise.
19551         * sysdeps/wordsize-32/divdi3.c: Likewise.
19552         * sysdeps/x86_64/sysdep.h: Likewise.
19554         * argp/Versions: Remove _argp_unlock_xxx.
19556         [BZ #13559]
19557         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
19558         * abilist/libBrokenLocale.abilist: Likewise.
19559         * abilist/libanl.abilist: Likewise.
19560         * abilist/libc.abilist: Likewise.
19561         * abilist/libcrypt.abilist: Likewise.
19562         * abilist/libdl.abilist: Likewise.
19563         * abilist/libm.abilist: Likewise.
19564         * abilist/libnsl.abilist: Likewise.
19565         * abilist/libpthread.abilist: Likewise.
19566         * abilist/libresolv.abilist: Likewise.
19567         * abilist/librt.abilist: Likewise.
19568         * abilist/libthread_db.abilist: Likewise.
19569         * abilist/libutil.abilist: Likewise.
19570         * abilist/libnss_db.abilist: New file.
19572         * scripts/abilist.awk: Add support for indirect functions.
19574         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19576         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19578         * shlib-versions: Remove entries for ports architectures.
19580         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
19581         files in ports.
19582         * elf/stackguard-macros.h: Remove support for IA-64.
19583         * elf/tst-auditmod1.c: Likewise.
19584         * sysdeps/generic/ldsodefs.h: Likewise.
19586         * sysdeps/unix/sysv/linux/configure.in: Ports should define
19587         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19588         configure files.
19590         [BZ #13552]
19591         * configure.in: Remove --enable-omitfp support.
19592         * FAQ.in: Adjust.
19593         * config.make.in: Likewise.
19594         * Makeconfig: Likewise.
19595         * manual/install.texi: Likewise.
19597         In case anyone cares, the IA-64 architecture could move to ports.
19598         * sysdeps/ia64/*: Removed.
19599         * sysdeps/unix/sysv/linux/ia64/*: Removed.
19600         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19602         [BZ #13555]
19603         * configure.in: Remove entries for unsupported architectures.
19605         [BZ #13533]
19606         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19607         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
19608         routines.
19609         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19610         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19611         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
19612         fall back to using wcrtomb.
19613         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19614         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
19615         renaming.
19616         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19617         * wcsmbs/tst-c16c32-1.c: New file.
19619         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19620         local variable.
19622         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19624         * elf/tst-unique3.cc: Add explicit declaration of gets.
19625         * elf/tst-unique3lib.cc: Likewise.
19626         * elf/tst-unique3lib2.cc: Likewise.
19627         * elf/tst-unique4.cc: Likewise.
19629         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19631 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
19633         [BZ #13566]
19634         * assert/assert.h (static_assert): Don't define for C++.
19635         * libio/stdio.h (gets): Do declare for C++ <= C++11.
19636         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19638 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
19640         * iconv/loop.c (single loop): Fix assertion in storing of
19641         remaining bytes.
19643         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19645 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
19647         * posix/getconf.c: Update copyright year.
19648         * nss/getent.c: Likewise.
19649         * nss/makedb.c: Likewise.
19650         * iconv/iconvconfig.c: Likewise.
19651         * iconv/iconv_prog.c: Likewise.
19652         * elf/ldconfig.c: Likewise.
19653         * elf/pldd.c: Likewise.
19654         * elf/sotruss.ksh: Likewise.
19655         * catgets/gencat.c: Likewise.
19656         * csu/version.c: Likewise.
19657         * elf/ldd.bash.in: Likewise.
19658         * elf/sprof.c (print_version): Likewise.
19659         * locale/programs/locale.c: Likewise.
19660         * locale/programs/localedef.c: Likewise.
19661         * login/programs/pt_chown.c: Likewise.
19662         * nscd/nscd.c (print_version): Likewise.
19663         * debug/xtrace.sh: Likewise.
19664         * malloc/memusage.sh: Likewise.
19665         * malloc/mtrace.pl: Likewise.
19666         * debug/catchsegv.sh: Likewise.
19668 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
19670         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19671         pure attribute.
19673 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
19675         [BZ #13533]
19676         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19677         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19678         transformations.
19679         * iconv/gconv_int.h: Likewise.
19680         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19681         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19682         from libc for GLIBC_2.16.
19683         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19684         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19685         * wcsmbs/uchar.h: Really define mbstate_t.
19686         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19687         * wcsmbs/c16rtomb.c: New file.
19688         * wcsmbs/mbrtoc16.c: New file.
19689         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19690         for C/POSIX locale.
19691         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19692         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19694         * wcsmbs/wchar.h: Add missing __restrict.
19696 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
19698         [BZ #13532]
19699         * time/Makefile (routines): Add timespec_get.
19700         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19701         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
19702         timespec for ISO C11.
19703         * time/timespec_get.c: New file.
19704         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19705         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19707         [BZ #13531]
19708         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19709         * stdlib/stdlib.h: Declare aligned_alloc.
19710         * Versions.def: Add GLIBC_2.16 for libc.
19711         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19713         [BZ 13527]
19714         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19715         ISO C11.
19717         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19718         code.
19720         [BZ #13528]
19721         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19723         [BZ #13529]
19724         * assert/assert.h (static_assert): Define.
19726         * version.h: Update for 2.16 development version.
19728         [BZ #13526]
19729         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19730         _ISOC11_SOURCE.
19732         * version.h (RELEASE): Bump for 2.15 release.
19733         * include/features.h (__GLIBC_MINOR__): Bump to 15.
19735         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19736         Patch by Marek Polacek <mpolacek@redhat.com>.
19738         * bits/byteswap.h: Protect long long constants with __extension__.
19739         * sysdeps/i386/bits/byteswap.h: Likewise.
19740         * sysdeps/ia64/bits/byteswap.h: Likewise.
19741         * sysdeps/s390/bits/byteswap.h: Likewise.
19742         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19744 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19746         [BZ #13540]
19747         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19748         destination buffer.
19749         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19751 2011-12-23  Marek Polacek  <polacek@redhat.com>
19753         * elf/dl-addr.c (determine_info): Add inline keyword.
19754         * elf/tst-auditmod4b.c (check_avx): Likewise.
19755         * elf/tst-auditmod6b.c (check_avx): Likewise.
19756         * elf/tst-auditmod6c.c (check_avx): Likewise.
19757         * elf/tst-auditmod7b.c (check_avx): Likewise.
19759 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
19761         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19762         !__SSE_MATH__.
19764 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19766         [BZ #13540]
19767         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19768         processing for last bytes.
19770 2011-08-06  Bruno Haible  <bruno@clisp.org>
19772         [BZ #13061]
19773         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19774         U+0385, not to U+1FEE.
19776         [BZ #13062]
19777         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19778         entry for U+00A5 U+0301.
19780 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
19782         [BZ #13166]
19783         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19784         buffer for the output is too small.
19786         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19787         optimization.
19789         [BZ #13185]
19790         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19791         SSE flags if possible.
19793 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19795         [BZ #13540]
19796         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19797         processing for last bytes.
19799 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
19801         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19802         (syscall-list-default-options, syscall-list-default-condition)
19803         (syscall-list-includes): Define.
19804         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19805         list of ABIs and options and #if conditions for each ABI.  Do not
19806         handle common syscalls between ABIs specially.
19807         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19808         Remove.
19809         (syscall-list-variants, syscall-list-32bit-options)
19810         (syscall-list-32bit-condition, syscall-list-64bit-options)
19811         (syscall-list-64bit-condition): Define.
19812         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19813         (syscall-list-variants, syscall-list-32bit-options)
19814         (syscall-list-32bit-condition, syscall-list-64bit-options)
19815         (syscall-list-64bit-condition): Define.
19816         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19817         Remove.
19818         (syscall-list-variants, syscall-list-32bit-options)
19819         (syscall-list-32bit-condition, syscall-list-64bit-options)
19820         (syscall-list-64bit-condition): Define.
19821         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19822         Remove.
19823         (syscall-list-variants, syscall-list-32bit-options)
19824         (syscall-list-32bit-condition, syscall-list-64bit-options)
19825         (syscall-list-64bit-condition): Define.
19827 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
19829         * locale/iso-639.def: Add brx entry.
19831         [BZ #13328]
19832         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19833         Proposed by Mariusz_Cukr <marcukr@op.pl>.
19835         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19836         __feraiseexcept_renamed.
19838 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
19840         [BZ #13538]
19841         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19842         EPOLLET with unsigned values.
19843         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19844         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19846         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19847         to large cancellation.
19848         * math/s_cacoshf.c: Likewise.
19849         * math/s_cacoshl.c: Likewise.
19851 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
19853         [BZ #13305]
19854         [BZ #12786]
19855         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19856         * math/s_cacoshf.c: Likewise.
19857         * math/s_cacoshl.c: Likewise.
19859 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
19861         [BZ #13439]
19862         * iconv/gconv.h: Define __GCONV_SWAP.
19863         * iconvdata/unicode.c: The swap bit must be stored in __flags.
19864         * iconvdata/utf-16.c: Likewise.
19865         * iconvdata/utf-32.c: Likewise.
19867 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
19869         [BZ #13524]
19870         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19871         numerator after shifting it by one limb.
19873 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
19875         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19876         under [__USE_EXTERN_INLINES].
19878 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
19880         [BZ #13446]
19881         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19883 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19885         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19886         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19887         optimized code.
19888         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19889         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19890         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19891         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19892         for strncasecmp/strncasecmp_l compilation.
19893         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19894         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19896 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
19898         [BZ #13484]
19899         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19900         of __asm__.
19902 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
19904         [BZ #13506]
19905         * time/tzfile.c (__tzfile_read): Check values from file header.
19907 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19909         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19910         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19911         * powerpc/powerpc32/dl-start.S: Likewise.
19912         * powerpc/powerpc32/elf/start.S: Likewise.
19913         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19914         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19915         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19916         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19917         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19918         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19919         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19920         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19921         * powerpc/powerpc32/fpu/s_round.S: Likewise.
19922         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19923         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19924         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19925         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19926         * powerpc/powerpc32/memset.S: Likewise.
19927         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19928         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19929         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19930         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19931         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19932         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19933         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19934         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19935         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19936         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19937         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19938         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19939         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19941 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19943         * math/libm-test.inc: Added more nearbyint tests.
19944         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19945         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19946         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19947         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19949 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
19951         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19952         FD_CLOEXEC.
19954 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19956         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19957         Add wcscpy-ssse3 wcscpy-c.
19958         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19959         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19960         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19961         * sysdeps/x86_64/wcschr.S: New file.
19962         * sysdeps/x86_64/wcsrchr.S: New file.
19963         * string/test-strcmp.c: Remove checking of wcscmp function for
19964         wrong alignments.
19965         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19966         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19967         wcsrchr-sse2 wcsrchr-c.
19968         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19969         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19970         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19971         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19972         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19973         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19974         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19975         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19976         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19977         * wcsmbc/wcschr.c (WCSCHR): New macro.
19979 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19981         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19982         * wcsmbs/test-wcsrchr.c: New file.
19983         * string/test-strrchr.c: Add wcsrchr support.
19984         (WIDE): New macro.
19985         * wcsmbs/test-wcscpy.c: New file.
19986         * string/test-strcpy.c: Add wcscpy support.
19987         (WIDE): New macro.
19989 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
19991         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19992         the inner loop.
19994 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
19996         [BZ #13472]
19997         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19999 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
20001         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20002         Minor optimizations.
20004         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20005         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20006         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20008 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
20010         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20011         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20012         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20013         for gcc to avoid warnings.
20014         * inet/Makefile (tests): Add tst-checks.
20015         * inet/tst-checks.c: New file.
20017         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20018         warning.
20020         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20021         __wmemcmp_sse2.
20023         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20024         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20026         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20028 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
20030         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20031         problem.
20033         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20035 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
20037         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20038         conditional on GCC version.
20039         (__arch_compare_and_exchange_val_8_acq)
20040         (__arch_compare_and_exchange_val_16_acq)
20041         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20042         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20043         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20045 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
20047         * sysdeps/sh/backtrace.c: New file.
20049 2011-12-02  Andreas Schwab  <schwab@redhat.com>
20051         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
20052         parenthesis.
20054 2011-12-01  Andreas Schwab  <schwab@redhat.com>
20056         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20057         falling back to utime.
20059 2011-11-30  Andreas Schwab  <schwab@redhat.com>
20061         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20062         expectations for float.
20064 2011-11-29  Andreas Schwab  <schwab@redhat.com>
20066         * locale/weight.h (findidx): Add parameter len.
20067         * locale/weightwc.h (findidx): Likewise.
20068         * posix/fnmatch_loop.c (FCT): Adjust caller.
20069         * posix/regcomp.c (build_equiv_class): Likewise.
20070         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20071         * posix/regexec.c (check_node_accept_bytes): Likewise.
20072         * string/strcoll_l.c (STRCOLL): Likewise.
20073         * string/strxfrm_l.c (STRXFRM): Likewise.
20075 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
20077         * Makefile.in: Remove CVSOPT handling.
20078         * configure.in: Remove use of AC_REVISION.
20079         * iconvdata/Makefile (distribute): No need to filter out CVS.
20080         * scripts/list-sources.sh: Remove CVS, subversion and monotone
20081         handling.
20083 2011-11-16  Andreas Schwab  <schwab@redhat.com>
20085         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20086         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20087         [USE_AS_STRNCASECMP_L]: Likewise.
20088         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20089         NO_TLS_DIRECT_SEG_REFS.
20090         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20091         Fix argument offsets for non-PIC.
20092         [USE_AS_STRNCASECMP_L]: Likewise.
20093         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20094         NO_TLS_DIRECT_SEG_REFS.
20096 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
20098         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20099         O_CLOEXEC.
20100         * locale/loadlocale.c (_nl_load_locale): Likewise.
20102 2011-11-15  Andreas Schwab  <schwab@redhat.com>
20104         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20105         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20106         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20107         (SYSCALL_GETTIME): Set errno on error.
20109         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20110         count references to noai6ai_cached.
20112 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
20114         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20116         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20117         FD_CLOEXEC for /proc/self/maps.
20119         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20120         FD_CLOEXEC for /proc/meminfo.
20122         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20123         gai.conf.
20125         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
20126         FD_CLOEXEC for given file.
20128         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20130         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20131         FD_CLOEXEC for /etc/hosts.
20132         (_gethtent): Likewise.
20134         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20136         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20137         cancellation and set FD_CLOEXEC for /etc/netgroup.
20139         * nss/nss_files/files-key.c (search): Don't allow cancellation when
20140         reading /etc/publickey.
20142         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20143         allow cancellation when reading /etc/group.
20145         * nss/nss_files/files-alias.c (internal_setent): Don't allow
20146         cancellation.
20147         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
20149         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20150         when using data file.
20152         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20154         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20155         (write_nis_obj): Use "c" and "e" in fopen.
20157         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20159         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20161         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20163         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20165         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20166         locale.alias.
20168         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20170         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20172         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20174         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20175         file parsing and set FD_CLOEXEC.
20177 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
20179         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20181 2011-11-14  Andreas Schwab  <schwab@redhat.com>
20183         * malloc/arena.c (arena_get2): Don't call reused_arena when
20184         _int_new_arena failed.
20186 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
20188         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20189         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20190         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20191         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20192         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20193         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20194         to compile strcasecmp and strncasecmp.
20195         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20196         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20198         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20200 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
20202         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20203         locale-defines.sym to gen-as-const-headers.
20204         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20205         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20206         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20207         to compile strcasecmp and strncasecmp.
20208         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20209         strcasecmp_l and strncasecmp_l.
20210         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20211         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20212         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20213         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20214         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20215         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20216         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20217         * sysdeps/i386/i686/multiarch/strncase.S: New file.
20218         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20219         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20220         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20222 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
20224         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20225         result of SYSDEP_GETTIME_CPU to retval.
20226         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20227         parameter list to macro.  Remove trailing semicolon.  Adjust users.
20229         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20230         variable.
20232         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20233         mantissa words.
20234         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20236         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20237         from unused variable.
20239         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20240         DWARF definitions.
20241         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20242         for assembling.
20244         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20245         over namespaces.
20247         * sunrpc/rpc_prot.c (rejected): Fix case value.
20249         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20250         unsigned long long int to avoid warnings in shift.
20252         * posix/regex_internal.c (re_string_reconstruct): Actually use result
20253         of use of trans.
20254         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20255         variable tmp.
20257         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20258         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20259         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20261         * nis/nis_table.c (nis_list): Use variable of correct type for
20262         result of __follow_path call.
20264 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20266         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20267         of math functions ceil, trunc, floor, round, and sqrt, when
20268         avaliable on the platform.
20269         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20270         name clash.
20271         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20272         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20273         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20275 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
20277         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20278         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20280 2011-11-11  Roland McGrath  <roland@hack.frob.com>
20282         * include/unistd.h: Fix __readlink return type.
20283         Reported by Chris Metcalf <cmetcalf@tilera.com>.
20285 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
20287         * stdlib/ucontext.h: Undo last change for makecontext.
20289 2011-11-11  Andreas Schwab  <schwab@redhat.com>
20291         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20293         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20294         * setjmp/setjmp.h: Mark functions as non-leaf.
20295         * setjmp/bits/setjmp2.h: Likewise.
20296         * stdlib/ucontext.h: Likewise.
20298 2011-11-10  Andreas Schwab  <schwab@redhat.com>
20300         * malloc/arena.c (_int_new_arena): Don't increment narenas.
20301         (reused_arena): Don't check arena limit.
20302         (arena_get2): Atomically check arena limit.
20304 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
20306         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20307         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20309         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20310         instructions.
20312 2011-11-07  Andreas Schwab  <schwab@redhat.com>
20314         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20315         handler when locking.
20317         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20318         Fix size of allocated buffer.
20320 2011-11-04  Andreas Schwab  <schwab@redhat.com>
20322         [BZ #10103]
20323         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20324         declarations for long double functions.
20325         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20327         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20329 2011-11-03  Andreas Schwab  <schwab@redhat.com>
20331         * nscd/nscd.c (main): Don't start AVC thread until credentials are
20332         installed.
20334         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20335         is disabled.
20337 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20339         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20341 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20343         * include/alloca.h (stackinfo_alloca_round): Define.
20344         (extend_alloca): Use it.
20345         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20346         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20347         here.
20349         * scripts/check-local-headers.sh: Ignore libaudit.h.
20351         * nscd/Makefile (extra-objs): Make recursively expanded.
20353 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
20355         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20356         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20358         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20359         * posix/tst-rfc3484-2.c: Likewise.
20360         * posix/tst-rfc3484-3.c: Likewise.
20362         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20363         process_vm_writev.
20364         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20365         process_vm_writev.
20366         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20367         process_vm_writev from libc using GLIBC_2.15 version.
20369         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20371 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
20373         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20374         stack usage.
20376 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
20378         [BZ #13367]
20379         * nss/getent.c (initgroups_keys): Show error message in case no group
20380         names are given.
20382         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20383         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20384         __bump_nl_timestamp.
20385         * nscd/connections (nscd_init): When host database is served open
20386         netlink socket and request notification about configuration changes.
20387         (main_loop_poll): Track netlink file descriptor and bump timestamp
20388         in case data becomes available.
20389         (main_loop_epoll): Likewise.
20390         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20391         (database_pers_head): Add extra_data fileds.
20392         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20393         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20394         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20395         Adjust caller.
20396         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20397         in6ai data, call __free_in6ai.
20398         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20399         Add -DHAVE_NETLINK.
20400         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
20401         interface information.  Reuse previous data if netlink timestamp
20402         is not changed.
20403         (__bump_nl_timestamp): New function.
20404         (__free_in6ai): New function.
20406 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
20408         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20409         close_not_cancel_no_status here.
20410         (__check_pf): Reorganize code a bit to not call close twice if OOM.
20412 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
20414         [BZ #13276]
20415         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20416         return value.
20418         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20419         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20420         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20422 2011-07-03  Andreas Jaeger  <aj@suse.de>
20424         [BZ #10709]
20425         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20426         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20427         * math/libm-test.inc (sin_test): Add test case.
20429 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
20431         [BZ #13337]
20432         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20433         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20435         * elf/chroot_canon.c (chroot_canon): Cleanups.
20437         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20439         [BZ #13335]
20440         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20441         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20443         * string/test-strchr.c: Make usable for strchrnul testing.
20444         * string/test-strchrnul.c: New file.
20445         * string/Makefile (strop-tests): Add strchrnul.
20447         * po/it.po: Update from translation team.
20448         * po/es.po: Likewise.
20450 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
20452         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20453         the three constants needed as parameters.  Drop the others.
20454         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20455         __m128i_strloadu_tolower.
20456         Create and initialize variable zero and use it in all the places
20457         where _mm_setzero_si128 was used.
20459         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20460         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20461         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20462         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20463         anymore.
20464         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20465         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20466         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20467         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20468         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20469         __mpranred, __mptan.
20470         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20471         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20472         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20473         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20474         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20475         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20476         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20477         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20478         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20480 2011-10-28  Andreas Schwab  <schwab@redhat.com>
20482         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20483         redefine if SHARED.
20484         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20486         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20487         wide char related routines to wcsmbs subdir.
20489 2011-10-27  Andreas Schwab  <schwab@redhat.com>
20491         [BZ #13344]
20492         * misc/sys/cdefs.h (__THROWNL): Define.
20493         * posix/unistd.h: Use __THREADNL instead of __THREAD
20494         for memory synchronization functions.
20496 2011-10-26  Roland McGrath  <roland@hack.frob.com>
20498         [BZ #13349]
20499         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20500         doesn't exist.
20501         * manual/stdio.texi (Obstack Streams): Node removed.
20503 2011-10-26  Andreas Schwab  <schwab@redhat.com>
20505         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20506         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20507         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20509         * math/math_private.h (math_force_eval): Allow non-addressable
20510         arguments.
20511         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20513 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
20515         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20516         file is not needed.
20518         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20519         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20520         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20521         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20522         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20523         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20524         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20525         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20526         Add AVX variants.
20527         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20528         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20529         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20530         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20531         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20532         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20533         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20534         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20535         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20536         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20537         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20538         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20539         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20540         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20541         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20542         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20543         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20544         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20545         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20547         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20548         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
20550         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20551         place.  Use VEX encoding when compiling for AVX.
20553 2011-10-25  Andreas Schwab  <schwab@redhat.com>
20555         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20556         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20558         * string/test-strchr.c (do_test): Don't generate NUL bytes.
20560 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
20562         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20563         useless if() expression.
20564         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20565         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20566         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20567         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20568         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20569         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20570         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20571         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20572         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20573         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20574         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20575         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20576         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20577         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20578         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20579         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20580         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20581         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20582         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20584         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20586 2011-10-25  Andreas Schwab  <schwab@redhat.com>
20588         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20589         condition.
20590         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20592 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
20594         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20595         .text section.  Avoid duplicate constants.
20596         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20597         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20598         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20599         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20600         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20601         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20602         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20603         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20604         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20605         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20606         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20607         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20608         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20609         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20610         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20611         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20612         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20613         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20614         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20615         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20616         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20617         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20618         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20619         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20620         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20621         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20622         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20623         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20624         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20625         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20626         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20627         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20628         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20629         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20630         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20631         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20632         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20633         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20634         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20635         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20636         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20637         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20638         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20639         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20640         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20642 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
20644         * sysdeps/x86_64/dla.h: Move to ...
20645         * sysdeps/x86_64/fpu/dla.h: ...here.
20646         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20647         situations.  Use __builtin_fma only for gcc 4.6 and up.
20649         * config.make.in: Add have-mfma4 entry.
20650         * configure.in: Substitute libc_cv_cc_fma4.
20651         * math/Makefile (dbl-only-routines): Add sincostab.
20652         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20653         Use __sincostab not sincos.
20654         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20655         name is a macro.
20656         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20657         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20658         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20659         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
20660         using __copysign.
20661         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
20662         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
20663         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20664         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20665         and __inv.
20666         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20667         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20668         __copysign.
20669         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
20670         define aliases when function name is a macro.
20671         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20672         sysdeps/ieee754/dbl-64/sincos.tbl.
20673         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20674         fma4-enabled routines.
20675         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20676         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20677         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20678         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20679         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20680         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20681         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20682         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20683         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20684         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20685         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20686         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20687         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20688         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20689         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20690         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20691         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20692         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20693         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20694         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20695         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20696         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20697         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20698         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20699         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20700         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20701         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20702         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20703         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20704         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20706         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20707         rename.
20708         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20709         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20710         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20711         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20712         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20713         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20714         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20715         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20717 2011-10-24  Andreas Schwab  <schwab@redhat.com>
20719         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20721 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
20723         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20725         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20726         prediction.
20727         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20729         * string/strnlen.c: Don't define STRNLEN, reverse logic.
20730         Remove unused variable magic_bits.
20731         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20733         * string/strnlen.c: Define and use STRNLEN macro.
20734         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20735         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20736         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20737         * wcsmbs/wcslen.c: Define and use WCSLEN.
20738         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20739         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20740         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20741         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20742         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20743         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20744         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20746 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20748         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20749         strnlen-sse2-no-bsf.
20750         Rename strlen-no-bsf to strlen-sse2-no-bsf.
20751         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20752         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20753         Add strnlen support.
20754         (USE_AS_STRNLEN): New macro.
20755         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20756         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20757         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20758         * sysdeps/x86_64/wcslen.S: New file.
20760 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
20762         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20763         XMM-moves are used for copying on small sizes.
20765 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20767         * wcsmbs/Makefile (strop-tests): Add wcschr.
20768         * wcsmbs/test-wcschr.c: New file.
20769         * string/test-strchr.c: Update.
20770         Add wcschr support.
20771         (WIDE): New macro.
20773 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20775         * wcsmbs/Makefile (strop-tests): Add wcslen.
20776         * wcsmbs/test-wcslen.c: New file.
20777         * string/test-strlen.c: Update.
20778         Add wcslen support.
20779         (WIDE): New macro.
20781 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
20783         * po/it.po: Update from translation team.
20785 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20787         * sysdeps/x86_64/wcscmp.S: Update.
20788         Fix wrong comparison semantics.
20789         wcscmp shall use signed comparison not unsigned.
20790         Don't use substraction to avoid overflow bug.
20791         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20792         * wcsmbc/wcscmp.c: Likewise.
20793         * string/test-strcmp.c: Likewise.
20794         Add new tests to check cases with negative values.
20796 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
20798         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20799         * sysdeps/x86_64/dla.h: ...here.  New file.
20800         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20801         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20802         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20803         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20804         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20805         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20806         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20807         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20808         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20810 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
20812         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20813         __ynl_finite aliases.
20815 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
20817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20819         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20820         define DLA_FMA.
20821         [DLA_FMA] (EMULV): Use DLA_FMA.
20822         [DLA_FMA] (MUL12): Use EMULV.
20823         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20824         that are not needed.
20825         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20826         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20827         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20828         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20829         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20830         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20831         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20833 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
20835         * math/s_nan.c: Undef __nan.
20836         * math/s_nanf.c: Undef __nanf.
20837         * math/s_nanl.c: Undef __nanl.
20838         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20839         "math_private.h".
20841 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
20843         * math/s_catan.c: Add branch predictions.
20844         * math/s_catanf.c: Likewise.
20845         * math/s_catanh.c: Likewise.
20846         * math/s_catanhf.c: Likewise.
20847         * math/s_catanhl.c: Likewise.
20848         * math/s_catanl.c: Likewise.
20849         * math/s_cexp.c: Likewise.
20850         * math/s_cexpf.c: Likewise.
20851         * math/s_cexpl.c: Likewise.
20852         * math/s_clog.c: Likewise.
20853         * math/s_clog10.c: Likewise.
20854         * math/s_clog10f.c: Likewise.
20855         * math/s_clog10l.c: Likewise.
20856         * math/s_clogf.c: Likewise.
20857         * math/s_clogl.c: Likewise.
20858         * math/s_csqrt.c: Likewise.
20859         * math/s_csqrtf.c: Likewise.
20860         * math/s_csqrtl.c: Likewise.
20861         * math/s_ctanf.c: Likewise.
20862         * math/s_ctanh.c: Likewise.
20863         * math/s_ctanhf.c: Likewise.
20864         * math/s_ctanhl.c: Likewise.
20865         * math/s_ctanl.c: Likewise.
20867         * math/math_private.h: Define __nan, __nanf, __nanl.
20868         * math/s_cacosh.c: Include <math_private.h>.
20869         * math/s_cacoshl.c: Likewise.
20870         * math/s_casinh.c: Likewise.
20871         * math/s_casinhf.c: Likewise.
20872         * math/s_casinhl.c: Likewise.
20873         * math/s_ccos.c: Rely entire on ccosh.
20874         * math/s_ccosf.c: Rely entire on ccoshf.
20875         * math/s_ccosl.c: Rely entirely on ccoshl.
20876         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
20877         Remove tests for FE_INVALID.
20878         * math/s_ccoshf.c: Likewise.
20879         * math/s_ccoshl.c: Likewise.
20880         * math/s_csin.c: Likewise.
20881         * math/s_csinf.c: Likewise.
20882         * math/s_csinh.c Likewise.
20883         * math/s_csinhf.c: Likewise.
20884         * math/s_csinhl.c: Likewise.
20885         * math/s_csinl.c: Likewise.
20886         * math/s_ctan.c: Likewise.
20887         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20888         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20889         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20891 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
20893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20894         compilation problems.
20896         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20897         __builtin_expect.
20899 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
20901         * sysdeps/i386/configure.in: Test for -mfma4 option.
20902         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20903         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20904         COMMON_CPUID_INDEX_80000001.
20905         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20906         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20907         use it if FMA3 is not supported.
20908         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20910         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20911         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20913 2011-10-20  Andreas Schwab  <schwab@redhat.com>
20915         [BZ #12892]
20916         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20917         it would create a cycle with a link time dependency.
20919 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
20921         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20922         instruction.
20923         * string/Makefile (strop-tests): Add rawmemchr.
20924         * string/test-rawmemchr.c: New file.
20926         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20927         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
20928         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
20929         when compiling str{,n}casecmp and when AVX is available.  Hook up
20930         new optimized code in initializers.
20932 2011-10-19  Andreas Schwab  <schwab@redhat.com>
20934         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20935         __feraiseexcept instead of feraiseexcept.
20937 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
20939         * math/math_private.h: Define defaults for libc_fetestexcept and
20940         libc_feupdateenv.
20941         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20942         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20943         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20944         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20945         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20946         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20947         libc_fetestexcept and libc_feupdateenv.
20949         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20950         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20951         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20952         * sysdeps/x86_64/fpu/math_private.h: Define special version of
20953         libc_feholdexcept_setround.
20955         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20956         Add s_nearbyint-c and s_nearbyintf-c.
20957         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20958         nearbyintf inlines.
20959         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20960         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20961         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20962         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20964         * math/math_private.h: Define defaults for libc_fegetround,
20965         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20966         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20967         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20968         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20969         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20970         standard functions.
20971         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20972         Remove comments and hacks for old compiler versions.
20973         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20974         libc_fegetround, libc_fesetround, libc_feholdexcept, and
20975         libc_feholdexceptl.
20977 2011-10-18  Andreas Schwab  <schwab@redhat.com>
20979         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20980         (__feraiseexcept_renamed): Add __NTH.
20981         (feraiseexcept): Add __NTH.  Rename local variables to fix
20982         namespace violations.
20984 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
20986         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20988         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20990         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20991         recently added interfaces.
20992         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20994         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20995         about macro parameter expansion.
20997         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20998         __NO_MATH_INLINES is defined.  Cleanups.
21000         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21001         and __floorf is target has SSE4.1.
21002         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21003         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21004         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21005         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21007         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21008         name.
21009         (floorf): Likewise.
21011         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21013 2011-10-17  Andreas Schwab  <schwab@redhat.com>
21015         * misc/sys/cdefs.h: Fix last change.
21017         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21018         database lookup.
21020 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
21022         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21024         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21025         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21026         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21027         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21028         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21029         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21030         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21031         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21032         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21033         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21034         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21035         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21036         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21037         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21038         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21039         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21040         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21041         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21042         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21043         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21044         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21045         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21047         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21048         ceil, ceilf, floor, floorf.
21050         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21051         Perform IRELATIVE relocations last.
21053         * elf/do-rel.h: Add another parameter nrelative, replacing the
21054         local variable with the same name.  Change name of the function
21055         to end in Rel or Rela (uppercase).
21056         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21057         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
21058         elf_dynamic_do_##reloc function.
21060 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
21062         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21063         is sufficient, at least on modern CPUs.
21065         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21067         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21068         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21070         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21071         __expl_finite.
21072         * math/bits/math-finite.h: Add entries for exp.
21073         * math/e_expl.c: Add __*_finite alias.
21074         * sysdeps/i386/fpu/e_exp.S: Likewise.
21075         * sysdeps/i386/fpu/e_expf.S: Likewise.
21076         * sysdeps/i386/fpu/e_expl.c: Likewise.
21077         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21078         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21079         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21080         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21081         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21082         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21083         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21085         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21086         is sufficient, at least on modern CPUs.
21088         * ctype/ctype-info.c (__ctype_init): Define.
21089         * include/ctype.h (__ctype_init): Declare.
21090         (__ctype_b_loc): The variable is always initialized.
21091         (__ctype_toupper_loc): Likewise.
21092         (__ctype_tolower_loc): Likewise.
21093         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21094         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21096 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
21098         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21100         * configure.in: Also look in $cxxmachine/include for C++ system
21101         headers.
21103 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21105         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21106         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21107         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21108         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
21109         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21110         (USE_AS_WMEMCMP): New macro.
21111         Fixing indents.
21112         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21113         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21114         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21115         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21116         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21117         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21118         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21119         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21120         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21121         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21122         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21123         (USE_AS_WMEMCMP): New macro.
21124         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21125         * sysdeps/string/test-memcmp.c: Update.
21126         Fix simple_wmemcmp.
21127         Add new tests.
21128         * wcsmbs/wmemcmp.c: Update.
21129         (WMEMCMP): New macro.
21130         Fix overflow bug.
21132 2011-10-12  Andreas Jaeger  <aj@suse.de>
21134         [BZ #13268]
21135         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21137 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
21139         * libio/iofwide.c (do_length): Avoid warning.
21141         * ctype/ctype.h (__isctype_f): Add missing __THROW.
21143 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
21145         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21147         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21148         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21149         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21150         * sysdeps/i386/i686/fpu/e_log.S: New file.
21151         * sysdeps/i386/i686/fpu/e_logf.S: New file.
21152         * sysdeps/i386/i686/fpu/e_logl.S: New file.
21154         * ctype/ctype.h: Add support for inlined isXXX functions when
21155         compiling C++ code.
21157 2011-10-14  Andreas Schwab  <schwab@redhat.com>
21159         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21161         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21163 2011-10-13  Roland McGrath  <roland@hack.frob.com>
21165         [BZ #13291]
21166         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21168 2011-10-13  Andreas Schwab  <schwab@redhat.com>
21170         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21171         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21172         feraiseexcept.
21174         * sysdeps/x86_64/memrchr.S: Check for zero size.
21176         * string/stratcliff.c: Add memrchr tests.
21178 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21180         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21181         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21182         rawmemchr-sse2 rawmemchr-sse2-bsf.
21183         * sysdeps/i386/i686/multiarch/memchr.S: New file.
21184         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21185         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21186         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21187         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21188         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21189         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21190         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21191         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21192         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21193         * string/memrchr.c (MEMRCHR): New macro.
21195 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
21197         Add integration with gcc's -ffinite-math-only and optimize wrapper
21198         functions in libm.
21199         * Versions.def: Define GLIBC_2.15 version for libm.
21200         * math/Makefile (headers): Add bits/math-finite.h.
21201         * math/bits/math-finite.h: New file.
21202         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21203         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21204         * math/e_acoshl.c: Add __*_finite alias.
21205         * math/e_acosl.c: Likewise.
21206         * math/e_asinl.c: Likewise.
21207         * math/e_atan2l.c: Likewise.
21208         * math/e_atanhl.c: Likewise.
21209         * math/e_coshl.c: Likewise.
21210         * math/e_exp10.c: Likewise.
21211         * math/e_exp10f.c: Likewise.
21212         * math/e_exp10l.c: Likewise.
21213         * math/e_exp2l.c: Likewise.
21214         * math/e_fmodl.c: Likewise.
21215         * math/e_gammal_r.c: Likewise.
21216         * math/e_hypotl.c: Likewise.
21217         * math/e_j0l.c: Likewise.
21218         * math/e_j1l.c: Likewise.
21219         * math/e_jnl.c: Likewise.
21220         * math/e_lgammal_r.c: Likewise.
21221         * math/e_log10l.c: Likewise.
21222         * math/e_log2l.c: Likewise.
21223         * math/e_logl.c: Likewise.
21224         * math/e_powl.c: Likewise.
21225         * math/e_sinhl.c: Likewise.
21226         * math/e_sqrtl.c: Likewise.
21227         * math/e_scalb.c: Completely rewritten and optimized.
21228         * math/e_scalbf.c: Likewise.
21229         * math/e_scalbl.c: Likewise.
21230         * math/w_acos.c: Likewise.
21231         * math/w_acosf.c: Likewise.
21232         * math/w_acosl.c: Likewise.
21233         * math/w_acosh.c: Likewise.
21234         * math/w_acoshf.c: Likewise.
21235         * math/w_acoshl.c: Likewise.
21236         * math/w_asin.c: Likewise.
21237         * math/w_asinf.c: Likewise.
21238         * math/w_asinl.c: Likewise.
21239         * math/w_atan2.c: Likewise.
21240         * math/w_atan2f.c: Likewise.
21241         * math/w_atan2l.c: Likewise.
21242         * math/w_atanh.c: Likewise.
21243         * math/w_atanhf.c: Likewise.
21244         * math/w_atanhl.c: Likewise.
21245         * math/w_exp10.c: Likewise.
21246         * math/w_exp10f.c: Likewise.
21247         * math/w_exp10l.c: Likewise.
21248         * math/w_fmod.c: Likewise.
21249         * math/w_fmodf.c: Likewise.
21250         * math/w_fmodl.c: Likewise.
21251         * math/w_j0.c: Likewise.
21252         * math/w_j0f.c: Likewise.
21253         * math/w_j0l.c: Likewise.
21254         * math/w_j1.c: Likewise.
21255         * math/w_j1f.c: Likewise.
21256         * math/w_j1l.c: Likewise.
21257         * math/w_jn.c: Likewise.
21258         * math/w_jnf.c: Likewise.
21259         * math/w_log.c: Likewise.
21260         * math/w_logf.c: Likewise.
21261         * math/w_logl.c: Likewise.
21262         * math/w_log10.c: Likewise.
21263         * math/w_log10f.c: Likewise.
21264         * math/w_log10l.c: Likewise.
21265         * math/w_log2.c: Likewise.
21266         * math/w_log2f.c: Likewise.
21267         * math/w_log2l.c: Likewise.
21268         * math/w_pow.c: Likewise.
21269         * math/w_powf.c: Likewise.
21270         * math/w_powl.c: Likewise.
21271         * math/w_remainder.c: Likewise.
21272         * math/w_remainderf.c: Likewise.
21273         * math/w_remainderl.c: Likewise.
21274         * math/w_scalb.c: Likewise.
21275         * math/w_scalbf.c: Likewise.
21276         * math/w_scalbl.c: Likewise.
21277         * math/w_sqrt.c: Likewise.
21278         * math/w_sqrtf.c: Likewise.
21279         * math/w_sqrtl.c: Likewise.
21280         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21281         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
21282         used.
21283         * math/math_private.h: Declare __kernel_standard_f.
21284         * math/w_cosh.c: Remove cruft and optimize a bit.
21285         * math/w_coshf.c: Likewise.
21286         * math/w_coshl.c: Likewise.
21287         * math/w_exp2.c: Likewise.
21288         * math/w_exp2f.c: Likewise.
21289         * math/w_exp2l.c: Likewise.
21290         * math/w_hypot.c: Likewise.
21291         * math/w_hypotf.c: Likewise.
21292         * math/w_hypotl.c: Likewise.
21293         * math/w_lgamma.c: Likewise.
21294         * math/w_lgamma_r.c: Likewise.
21295         * math/w_lgammaf.c: Likewise.
21296         * math/w_lgammaf_r.c: Likewise.
21297         * math/w_lgammal.c: Likewise.
21298         * math/w_lgammal_r.c: Likewise.
21299         * math/w_sinh.c: Likewise.
21300         * math/w_sinhf.c: Likewise.
21301         * math/w_sinhl.c: Likewise.
21302         * math/w_tgamma.c: Likewise.
21303         * math/w_tgammaf.c: Likewise.
21304         * math/w_tgammal.c: Likewise.
21305         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21306         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21307         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21308         Minor optimizations.  Pretty printing.  Remove cruft.
21309         * sysdeps/i386/fpu/e_acosf.S: Likewise.
21310         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21311         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21312         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21313         * sysdeps/i386/fpu/e_acosl.c: Likewise.
21314         * sysdeps/i386/fpu/e_asin.S: Likewise.
21315         * sysdeps/i386/fpu/e_asinf.S: Likewise.
21316         * sysdeps/i386/fpu/e_atan2.S: Likewise.
21317         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21318         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21319         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21320         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21321         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21322         * sysdeps/i386/fpu/e_exp10.S: Likewise.
21323         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21324         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21325         * sysdeps/i386/fpu/e_exp2.S: Likewise.
21326         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21327         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21328         * sysdeps/i386/fpu/e_fmod.S: Likewise.
21329         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21330         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21331         * sysdeps/i386/fpu/e_hypot.S: Likewise.
21332         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21333         * sysdeps/i386/fpu/e_log.S: Likewise.
21334         * sysdeps/i386/fpu/e_log10.S: Likewise.
21335         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21336         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21337         * sysdeps/i386/fpu/e_log2.S: Likewise.
21338         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21339         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21340         * sysdeps/i386/fpu/e_logf.S: Likewise.
21341         * sysdeps/i386/fpu/e_logl.S: Likewise.
21342         * sysdeps/i386/fpu/e_pow.S: Likewise.
21343         * sysdeps/i386/fpu/e_powf.S: Likewise.
21344         * sysdeps/i386/fpu/e_powl.S: Likewise.
21345         * sysdeps/i386/fpu/e_remainder.S: Likewise.
21346         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21347         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21348         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21349         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21350         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21351         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21352         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21353         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21354         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21355         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21356         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21357         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21358         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21359         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21360         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21361         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21362         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21363         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21364         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21365         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21366         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21367         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21368         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21369         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21370         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21371         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21372         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21373         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21374         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21375         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21376         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21377         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21378         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21379         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21380         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21381         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21382         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21383         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21384         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21385         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21386         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21387         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21388         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21389         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21390         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21391         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21392         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21393         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21394         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21395         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21396         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21397         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21398         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21399         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21400         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21401         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21402         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21403         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21404         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21405         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21406         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21407         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21408         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21409         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21410         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21411         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21412         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21413         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21414         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21415         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21416         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21417         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21418         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21419         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21420         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21421         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21422         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21423         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21424         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21425         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21426         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21427         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21428         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21429         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21430         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21431         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21432         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21433         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21434         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21435         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21436         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21437         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21438         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21439         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21440         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21441         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21442         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21443         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21444         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21445         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21446         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21447         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21448         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21449         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21450         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21451         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21452         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21453         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21454         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21455         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21456         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21457         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21458         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21459         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21460         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21461         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21462         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21463         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21464         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
21465         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21466         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21467         (__isnanf): Likewise.
21468         (__isinf_ns): Likewise.
21469         (__isinf_nsf): Likewise.
21470         (__finite): Likewise.
21471         (__finitef): Likewise.
21472         (__ieee754_sqrt): Define as macro.
21473         (__ieee754_sqrtf): Define as macro.
21474         (__ieee754_sqrtl): Define as macro.
21475         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21476         inlined copy.
21477         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21478         __FINITE_MATH_ONLY__ consistent.
21479         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21481 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
21483         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21484         of rawmemchr.
21486         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21488 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
21490         * po/ja.po: Update from translation team.
21492 2011-10-08  Roland McGrath  <roland@hack.frob.com>
21494         * locale/programs/locarchive.c (prepare_address_space): New function.
21495         (create_archive, enlarge_archive, open_archive): Use it.
21497         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21498         inside [SHARED], where it is used.
21500         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21502         * nss/getent.c (netgroup_keys): Remove unused variable.
21503         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21505 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
21507         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21508         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21509         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21510         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21511         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21512         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21513         * math/Makefile (libm-calls): Add s_isinf_ns.
21514         * math/divtc3.c: Use __isinf_nsl instead of isinf.
21515         * math/multc3.c: Likewise.
21516         * math/s_casin.c: Likewise.
21517         * math/s_casinf.c: Likewise.
21518         * math/s_casinl.c: Likewise.
21519         * math/s_ccos.c: Likewise.
21520         * math/s_ccosf.c: Likewise.
21521         * math/s_ccosl.c: Likewise.
21522         * math/s_ctan.c: Likewise.
21523         * math/s_ctanf.c: Likewise.
21524         * math/s_ctanh.c: Likewise.
21525         * math/s_ctanhf.c: Likewise.
21526         * math/s_ctanhl.c: Likewise.
21527         * math/s_ctanl.c: Likewise.
21528         * math/w_fmod.c: Likewise.
21529         * math/w_fmodf.c: Likewise.
21530         * math/w_fmodl.c: Likewise.
21531         * math/w_remainder.c: Likewise.
21532         * math/w_remainderf.c: Likewise.
21533         * math/w_remainderl.c: Likewise.
21534         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21535         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21536         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21537         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21538         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21539         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21540         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21541         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21543         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21544         of the number.
21545         * stdio-common/printf_fphex.c: Likewise.
21546         * stdio-common/printf_size.c: Likewise.
21548         * math/e_exp10.c: Include math_private.h using <...> not "...".
21549         * math/e_exp10f.c: Likewise.
21550         * math/e_exp10l.c: Likewise.
21551         * math/e_exp2l.c: Likewise.
21552         * math/e_j0l.c: Likewise.
21553         * math/e_j1l.c: Likewise.
21554         * math/e_jnl.c: Likewise.
21555         * math/e_lgammal_r.c: Likewise.
21556         * math/e_rem_pio2l.c: Likewise.
21557         * math/e_scalb.c: Likewise.
21558         * math/e_scalbf.c: Likewise.
21559         * math/e_scalbl.c: Likewise.
21560         * math/k_cosl.c: Likewise.
21561         * math/k_sinl.c: Likewise.
21562         * math/k_tanl.c: Likewise.
21563         * math/s_cacoshf.c: Likewise.
21564         * math/s_catan.c: Likewise.
21565         * math/s_catanf.c: Likewise.
21566         * math/s_catanh.c: Likewise.
21567         * math/s_catanhf.c: Likewise.
21568         * math/s_catanhl.c: Likewise.
21569         * math/s_catanl.c: Likewise.
21570         * math/s_ccosh.c: Likewise.
21571         * math/s_ccoshf.c: Likewise.
21572         * math/s_ccoshl.c: Likewise.
21573         * math/s_cexp.c: Likewise.
21574         * math/s_cexpf.c: Likewise.
21575         * math/s_cexpl.c: Likewise.
21576         * math/s_clog.c: Likewise.
21577         * math/s_clog10.c: Likewise.
21578         * math/s_clog10f.c: Likewise.
21579         * math/s_clog10l.c: Likewise.
21580         * math/s_clogf.c: Likewise.
21581         * math/s_clogl.c: Likewise.
21582         * math/s_csin.c: Likewise.
21583         * math/s_csinf.c: Likewise.
21584         * math/s_csinh.c: Likewise.
21585         * math/s_csinhf.c: Likewise.
21586         * math/s_csinhl.c: Likewise.
21587         * math/s_csinl.c: Likewise.
21588         * math/s_csqrt.c: Likewise.
21589         * math/s_csqrtf.c: Likewise.
21590         * math/s_csqrtl.c: Likewise.
21591         * math/s_ctan.c: Likewise.
21592         * math/s_ctanf.c: Likewise.
21593         * math/s_ctanh.c: Likewise.
21594         * math/s_ctanhf.c: Likewise.
21595         * math/s_ctanhl.c: Likewise.
21596         * math/s_ctanl.c: Likewise.
21597         * math/s_ldexp.c: Likewise.
21598         * math/s_ldexpf.c: Likewise.
21599         * math/s_ldexpl.c: Likewise.
21600         * math/s_significand.c: Likewise.
21601         * math/s_significandf.c: Likewise.
21602         * math/s_significandl.c: Likewise.
21603         * math/w_acos.c: Likewise.
21604         * math/w_acosf.c: Likewise.
21605         * math/w_acosh.c: Likewise.
21606         * math/w_acoshf.c: Likewise.
21607         * math/w_acoshl.c: Likewise.
21608         * math/w_acosl.c: Likewise.
21609         * math/w_asin.c: Likewise.
21610         * math/w_asinf.c: Likewise.
21611         * math/w_asinl.c: Likewise.
21612         * math/w_atan2.c: Likewise.
21613         * math/w_atan2f.c: Likewise.
21614         * math/w_atan2l.c: Likewise.
21615         * math/w_atanh.c: Likewise.
21616         * math/w_atanhf.c: Likewise.
21617         * math/w_atanhl.c: Likewise.
21618         * math/w_cosh.c: Likewise.
21619         * math/w_coshf.c: Likewise.
21620         * math/w_coshl.c: Likewise.
21621         * math/w_dremf.c: Likewise.
21622         * math/w_exp10.c: Likewise.
21623         * math/w_exp10f.c: Likewise.
21624         * math/w_exp10l.c: Likewise.
21625         * math/w_exp2.c: Likewise.
21626         * math/w_exp2f.c: Likewise.
21627         * math/w_fmod.c: Likewise.
21628         * math/w_fmodf.c: Likewise.
21629         * math/w_fmodl.c: Likewise.
21630         * math/w_hypot.c: Likewise.
21631         * math/w_hypotf.c: Likewise.
21632         * math/w_hypotl.c: Likewise.
21633         * math/w_j0.c: Likewise.
21634         * math/w_j0f.c: Likewise.
21635         * math/w_j0l.c: Likewise.
21636         * math/w_j1.c: Likewise.
21637         * math/w_j1f.c: Likewise.
21638         * math/w_j1l.c: Likewise.
21639         * math/w_jn.c: Likewise.
21640         * math/w_jnf.c: Likewise.
21641         * math/w_jnl.c: Likewise.
21642         * math/w_lgamma.c: Likewise.
21643         * math/w_lgamma_r.c: Likewise.
21644         * math/w_lgammaf.c: Likewise.
21645         * math/w_lgammaf_r.c: Likewise.
21646         * math/w_lgammal.c: Likewise.
21647         * math/w_lgammal_r.c: Likewise.
21648         * math/w_log.c: Likewise.
21649         * math/w_log10.c: Likewise.
21650         * math/w_log10f.c: Likewise.
21651         * math/w_log10l.c: Likewise.
21652         * math/w_log2.c: Likewise.
21653         * math/w_log2f.c: Likewise.
21654         * math/w_log2l.c: Likewise.
21655         * math/w_logf.c: Likewise.
21656         * math/w_logl.c: Likewise.
21657         * math/w_pow.c: Likewise.
21658         * math/w_powf.c: Likewise.
21659         * math/w_powl.c: Likewise.
21660         * math/w_remainder.c: Likewise.
21661         * math/w_remainderf.c: Likewise.
21662         * math/w_remainderl.c: Likewise.
21663         * math/w_scalb.c: Likewise.
21664         * math/w_scalbf.c: Likewise.
21665         * math/w_scalbl.c: Likewise.
21666         * math/w_sinh.c: Likewise.
21667         * math/w_sinhf.c: Likewise.
21668         * math/w_sinhl.c: Likewise.
21669         * math/w_sqrt.c: Likewise.
21670         * math/w_sqrtf.c: Likewise.
21671         * math/w_sqrtl.c: Likewise.
21672         * math/w_tgamma.c: Likewise.
21673         * math/w_tgammaf.c: Likewise.
21674         * math/w_tgammal.c: Likewise.
21676         * po/ja.po: Update from translation team.
21678 2011-09-29  Andreas Jaeger  <aj@suse.de>
21680         [BZ #13179]
21681         * sunrpc/netname.c (netname2host): Fix logic.
21683         [BZ #6779]
21684         [BZ #6783]
21685         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21686         correctly.
21687         * math/w_remainder.c (__remainder): Likewise.
21688         * math/w_remainderf.c (__remainderf): Likewise.
21689         * math/libm-test.inc (remainder_test): Add test cases.
21691 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21693         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
21694         sdiv_qrnnd.
21696 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
21698         * string/test-memcmp.c: Avoid unncessary #defines.
21699         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21701 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21703         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21704         Use new sse2 version for core i3 - i7 as it's faster
21705         than sse42 version.
21706         (bit_Prefer_PMINUB_for_stringop): New.
21707         * sysdeps/x86_64/rawmemchr.S: Update.
21708         Replace with faster SSE2 version.
21709         * sysdeps/x86_64/memrchr.S: New file.
21710         * sysdeps/x86_64/memchr.S: Update.
21711         Replace with faster SSE2 version.
21713 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
21715         * elf/dl-load.c (lose): Add cast to avoid warning.
21717 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
21719         * po/ca.po: Update from translation team.
21721         * inet/getnetgrent_r.c: Hook up nscd.
21722         * nscd/Makefile (routines): Add nscd_netgroup.
21723         (nscd-modules): Add netgroupcache.
21724         (CFLAGS-netgroupcache.c): Define.
21725         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21726         (cache_search): Add const to second parameter.
21727         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21728         INNETGR.
21729         (dbs): Add netgrdb entry.
21730         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21731         (verify_persistent_db): Handle netgrdb.
21732         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21733         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21734         GETFDNETGR.
21735         (netgroup_response_header): Define.
21736         (innetgroup_response_header): Define.
21737         (datahead): Add netgroup_response_header and innetgroup_response_header
21738         elements.
21739         * nscd/nscd.conf: Add entries for netgroup cache.
21740         * nscd/nscd.h (dbtype): Add netgrdb.
21741         (_PATH_NSCD_NETGROUP_DB): Define.
21742         (netgroup_iov_disabled): Declare.
21743         (xmalloc, xcalloc, xrealloc): Move declarations here.
21744         (cache_search): Adjust prototype.
21745         Add netgroup-related prototypes.
21746         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21747         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21748         (__nscd_innetgr): Declare.
21749         * nscd/selinux.c (perms): Use access_vector_t as element type and
21750         add netgroup-related initializers.
21751         * nscd/netgroupcache.c: New file.
21752         * nscd/nscd_netgroup.c: New file.
21753         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21754         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21755         For four parameters use innetgr.
21756         * nss/nss_files/files-init.c: Add definition and callback for netgr.
21757         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21758         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21759         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21761         * nscd/connections.c (register_traced_file): Don't register file
21762         for disabled databases.
21764 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
21766         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21768         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21769         from tree and freeing node.
21771 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
21773         * nss/nsswitch.c (__nss_database_lookup): Handle
21774         nss_parse_service_list out of memory case.
21776 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
21778         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21779         out of memory case.
21781 2011-10-04  Andreas Schwab  <schwab@redhat.com>
21783         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21784         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21785         pass it down.
21786         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21787         elf_machine_rela, elf_machine_lazy_rel.
21788         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21789         (ELF_DYNAMIC_DO_REL): Likewise.
21790         (ELF_DYNAMIC_DO_RELA): Likewise.
21791         (ELF_DYNAMIC_RELOCATE): Likewise.
21792         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21793         to ELF_DYNAMIC_DO_REL.
21794         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21795         (dl_main): In trace mode always set __RTLD_NOIFUNC.
21796         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21797         elf_machine_rela.
21798         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21799         skip_ifunc, don't call ifunc function if non-zero.
21800         (elf_machine_rela): Likewise.
21801         (elf_machine_lazy_rel): Likewise.
21802         (elf_machine_lazy_rela): Likewise.
21803         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21804         (elf_machine_lazy_rel): Likewise.
21805         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21806         Likewise.
21807         (elf_machine_lazy_rel): Likewise.
21808         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21809         Likewise.
21810         (elf_machine_lazy_rel): Likewise.
21811         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21812         (elf_machine_lazy_rel): Likewise.
21813         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21814         (elf_machine_lazy_rel): Likewise.
21815         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21816         (elf_machine_lazy_rel): Likewise.
21817         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21818         (elf_machine_lazy_rel): Likewise.
21819         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21820         (elf_machine_lazy_rel): Likewise.
21821         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21822         (elf_machine_lazy_rel): Likewise.
21824 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
21826         * nss/nss_files/files-init.c (_nss_files_init): Use static
21827         initialization for all the *_traced_file variables.
21829 2011-09-28  Andreas Schwab  <schwab@redhat.com>
21831         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21833 2011-09-27  Roland McGrath  <roland@hack.frob.com>
21835         [BZ #13226]
21836         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21838 2011-09-27  Andreas Schwab  <schwab@redhat.com>
21840         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21841         Reread the line before reparsing it.
21843 2011-09-26  Andreas Schwab  <schwab@redhat.com>
21845         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21847 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
21848             Maxim Kuvyrkov  <maxim@codesourcery.com>
21849             Joseph Myers  <joseph@codesourcery.com>
21851         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21852         if needed for __stack_chk_guard.
21854 2011-09-19  Roland McGrath  <roland@hack.frob.com>
21856         * sysdeps/posix/spawni.c (script_execute): Always define it.
21857         It will be optimized away if unused.
21858         (maybe_script_execute): New function.
21859         (__spawni): Call it.
21861         * Makerules: Don't include tls.make.
21862         (config-tls): Always set to thread.
21863         * tls.make.c: File removed.
21865 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
21867         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21868         * config.make.in (CPPFLAGS-config): New substituted variable.
21870 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
21872         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21874         [BZ #13192]
21875         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21876         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21878 2011-09-15  Roland McGrath  <roland@hack.frob.com>
21880         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21881         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21882         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21883         (CALL_FAIL): Likewise.
21884         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21885         (CALL_FAIL): Macro removed.
21886         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21888 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
21890         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21891         for __FINITE_MATH_ONLY__ == 1.
21893 2011-09-15  Andreas Schwab  <schwab@redhat.com>
21895         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21896         __ieee754_sqrt instead of sqrt.
21897         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21898         __ieee754_sqrtf instead of sqrtf.
21899         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21900         __floorf instead of floorf.
21901         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21902         __floorf, __truncf instead of floorf, truncf.
21904 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
21906         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21908         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21909         __extern_always_inline.
21910         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21911         32-bit.
21913 2011-09-14  Andreas Schwab  <schwab@redhat.com>
21915         * elf/rtld.c (dl_main): Also relocate in dependency order when
21916         doing symbol dependency testing.
21918 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
21920         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21921         Always define `refsym'.
21923 2011-09-13  Andreas Schwab  <schwab@redhat.com>
21925         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21926         (__FD_ELT): Renamed from __FDELT.
21927         * misc/bits/select2.h (__FD_ELT): Likewise.
21928         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21929         __FD_MASK instead of __FDELT, __FDMASK.
21930         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21931         Likewise.
21932         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21933         Likewise.
21935         * elf/Makefile (gen-ldd): Fix pattern.
21937         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21938         (init_tls): Likewise.
21940 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
21942         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21944 2011-09-12  Andreas Schwab  <schwab@redhat.com>
21946         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21947         `struct cmsghdr *' instead of `void *'.
21948         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21949         Likewise.
21951 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
21953         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21954         if non-absolute.
21955         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21956         ldd_rewrite_script.
21958 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
21960         * configure.in: Remove --with-tls option.
21961         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21962         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21963         out in case it is missing.
21964         * sysdeps/ia64/elf/configure.in: Likewise.
21965         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21966         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21967         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21968         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21969         * sysdeps/sh/elf/configure.in: Likewise.
21970         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21971         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21972         * sysdeps/x86_64/elf/configure.in: Likewise.
21973         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21974         * sysdeps/mach/hurd/tls.h: Likewise.
21976         [BZ #13067]
21977         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21979         [BZ #13090]
21980         * configure.in: Fix use of AC_INIT.
21982         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21984 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
21986         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21987         __set_errno.
21988         * malloc/hooks.c: Likewise.
21990         [BZ #11929]
21991         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
21992         variables statically.
21993         (narenas): Initialize.
21994         (list_lock): Initialize.
21995         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
21996         initializtion of main_arena and list_lock.  Small cleanups.
21997         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21998         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
21999         Add initializers to main_arena and mp_.
22000         (malloc_state): Remove pagesize member.  Change all users to use
22001         GLRO(dl_pagesize).
22003         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22004         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
22005         is always initialized.
22007         * malloc/malloc.c: Removed unused configurations and dead code.
22008         * malloc/arena.c: Likewise.
22009         * malloc/hooks.c: Likewise.
22010         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22012         * include/tls.h: Removed.  USE___THREAD must always be defined.
22013         * bits/libc-tsd.h: Don't handle !USE___THREAD.
22014         * elf/dl-libc.c: Likewise.
22015         * elf/dl-tsd.c: Likewise.
22016         * include/errno.h: Likewise.
22017         * include/netdb.h: Likewise.
22018         * include/resolv.h: Likewise.
22019         * inet/herrno-loc.c: Likewise.
22020         * inet/herrno.c: Likewise.
22021         * malloc/arena.c: Likewise.
22022         * malloc/hooks.c: Likewise.
22023         * malloc/malloc.c: Likewise.
22024         * resolv/res-state.c: Likewise.
22025         * resolv/res_libc.c: Likewise.
22026         * sysdeps/i386/dl-machine.h: Likewise.
22027         * sysdeps/ia64/dl-machine.h: Likewise.
22028         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22029         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22030         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22031         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22032         * sysdeps/sh/dl-machine.h: Likewise.
22033         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22034         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22035         * sysdeps/unix/i386/sysdep.S: Likewise.
22036         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22037         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22038         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22039         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22040         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22041         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22042         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22043         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22044         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22045         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22046         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22047         * sysdeps/x86_64/dl-machine.h: Likewise.
22048         * tls.make.c: Likewise.
22050         * configure.in: Remove --with-__thread option.  Make tests for
22051         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22052         tls_model attribute fail if no support is available.  Remove
22053         USE_IN_LIBIO.
22054         * Makeconfig: Adjust for dropped configure option.  All features are
22055         now mandatory.
22056         * Makerules: Likewise.
22057         * Versions.def: Likewise.
22058         * argp/argp-fmtstream.c: Likewise.
22059         * argp/argp-fmtstream.h: Likewise.
22060         * argp/argp-help.c: Likewise.
22061         * assert/assert.c: Likewise.
22062         * config.h.in: Likewise.
22063         * config.make.in: Likewise.
22064         * configure: Likewise.
22065         * configure.in: Likewise.
22066         * csu/Versions: Likewise.
22067         * csu/init.c: Likewise.
22068         * elf/tst-audit2.c: Likewise.
22069         * elf/tst-tls10.c: Likewise.
22070         * elf/tst-tls10.h: Likewise.
22071         * elf/tst-tls11.c: Likewise.
22072         * elf/tst-tls12.c: Likewise.
22073         * elf/tst-tls14.c: Likewise.
22074         * elf/tst-tlsmod11.c: Likewise.
22075         * elf/tst-tlsmod12.c: Likewise.
22076         * elf/tst-tlsmod13.c: Likewise.
22077         * elf/tst-tlsmod13a.c: Likewise.
22078         * elf/tst-tlsmod14a.c: Likewise.
22079         * elf/tst-tlsmod15b.c: Likewise.
22080         * elf/tst-tlsmod16a.c: Likewise.
22081         * elf/tst-tlsmod16b.c: Likewise.
22082         * elf/tst-tlsmod7.c: Likewise.
22083         * elf/tst-tlsmod8.c: Likewise.
22084         * elf/tst-tlsmod9.c: Likewise.
22085         * gmon/gmon.c: Likewise.
22086         * grp/fgetgrent_r.c: Likewise.
22087         * grp/putgrent.c: Likewise.
22088         * hurd/fopenport.c: Likewise.
22089         * include/libc-symbols.h: Likewise.
22090         * include/tls.h: Likewise.
22091         * intl/gettextP.h: Likewise.
22092         * intl/loadinfo.h: Likewise.
22093         * locale/global-locale.c: Likewise.
22094         * locale/localeinfo.h: Likewise.
22095         * mach/devstream.c: Likewise.
22096         * malloc/arena.c: Likewise.
22097         * malloc/set-freeres.c: Likewise.
22098         * misc/err.c: Likewise.
22099         * misc/getttyent.c: Likewise.
22100         * misc/mntent_r.c: Likewise.
22101         * posix/getopt.c: Likewise.
22102         * posix/wordexp.c: Likewise.
22103         * pwd/fgetpwent_r.c: Likewise.
22104         * resolv/Versions: Likewise.
22105         * resolv/res_hconf.c: Likewise.
22106         * shadow/fgetspent_r.c: Likewise.
22107         * shadow/putspent.c: Likewise.
22108         * stdio-common/printf_fphex.c: Likewise.
22109         * stdio-common/tmpfile.c: Likewise.
22110         * stdlib/abort.c: Likewise.
22111         * stdlib/fmtmsg.c: Likewise.
22112         * sunrpc/auth_unix.c: Likewise.
22113         * sunrpc/clnt_perr.c: Likewise.
22114         * sunrpc/clnt_tcp.c: Likewise.
22115         * sunrpc/clnt_udp.c: Likewise.
22116         * sunrpc/clnt_unix.c: Likewise.
22117         * sunrpc/openchild.c: Likewise.
22118         * sunrpc/svc_simple.c: Likewise.
22119         * sunrpc/svc_tcp.c: Likewise.
22120         * sunrpc/svc_udp.c: Likewise.
22121         * sunrpc/svc_unix.c: Likewise.
22122         * sunrpc/xdr.c: Likewise.
22123         * sunrpc/xdr_array.c: Likewise.
22124         * sunrpc/xdr_rec.c: Likewise.
22125         * sunrpc/xdr_ref.c: Likewise.
22126         * sunrpc/xdr_stdio.c: Likewise.
22128 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22130         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22132 2011-07-03  Andreas Jaeger  <aj@suse.de>
22134         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22135         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22136         regenerate with gen-libm-tests.pl.
22138 2010-05-12  Petr Baudis  <pasky@suse.cz>
22140         [BZ #11589]
22141         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22142         around j0() zero points by switching to j1().
22143         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22144         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22145         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22146         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22148 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22150         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22151         instead of 0.
22152         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22153         instead of 0.
22154         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22155         Patch in part by Pavel Roskin <proski@gnu.org>.
22157         [BZ #13138]
22158         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22159         realloc.
22160         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
22161         Free memory block if necessary.
22163         [BZ #12847]
22164         * libio/genops.c (INTDEF): For string streams the _lock pointer can
22165         be NULL.  Don't lock in this case.
22167 2011-09-09  Roland McGrath  <roland@hack.frob.com>
22169         * elf/elf.h (ELFOSABI_GNU): New macro.
22170         (ELFOSABI_LINUX): Define to that.
22172 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
22174         * string/strncat.c (strncat): Undef the symbol in case it has been
22175         defined in bits/string.h.
22177 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22179         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22181         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22182         link map.
22184 2011-08-17  Andreas Jaeger  <aj@suse.de>
22186         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22188 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22189             Ian Lance Taylor  <iant@google.com>
22191         * math/libm-test.inc (lround_test): New testcase.
22192         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22194 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
22196         * Makefile: Remove support for automatic cvs check-ins.
22197         * Makerules: Likewise.
22198         * config.make.in: Likewise.
22199         * configure.in: Likewise.
22200         * intl/Makefile: Likewise.
22201         * locale/Makefile: Likewise.
22202         * po/Makefile: Likewise.
22203         * posix/Makefile: Likewise.
22204         * sysdeps/gnu/Makefile: Likewise.
22205         * sysdeps/mach/hurd/Makefile: Likewise.
22206         * sysdeps/sparc/sparc32/Makefile: Likewise.
22208         [BZ #13118]
22209         * posix/Makefile (bug-regex32-ENV): Define.
22210         Patch by John Stanley <jpsinthemix@verizon.net>.
22212         * misc/Makefile (headers): Add bits/select2.h.
22213         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22214         * misc/bits/select2.h: New file.
22215         * include/bits/select2.h: New file.
22216         * debug/Makefile (routines): Add fdelt_chk.
22217         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22218         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22219         FD_ISSET.
22220         * debug/fdelt_chk.c: New file.
22222         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
22223         * wcsmbs/test-wmemcmp.c: Likewise.
22224         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22225         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22227 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22229         * string/Makefile (strop-tests): Add memcmp.
22230         * string/test-wmemcmp.c: New file.
22231         * string/test-memcmp.c: Add wmemcmp support.
22233 2011-09-08  Roland McGrath  <roland@hack.frob.com>
22235         [BZ #13153]
22236         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22237         2011-07-19 change.
22239         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22240         garbage value in a __mach_port_mod_refs call in the cases of the
22241         task-self and thread-self ports.
22243 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22245         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22247 2011-09-08  Andreas Schwab  <schwab@redhat.com>
22249         * elf/dl-load.c (lose): Check for non-null L.
22251 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
22253         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22255         * elf/dl-libc.c (dlerror_run): Pass back error code from
22256         dl_catch_error.
22258         [BZ #13123]
22259         * elf/dl-load.c (lose): Free l_origin if it is valid.
22261         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22262         names.
22263         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22264         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22265         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22266         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22267         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22268         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22270 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22272         * sysdeps/powerpc/fpu/e_hypot.c: New file.
22273         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22274         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22275         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22276         * sysdeps/powerpc/fpu/k_cosf.c: New file.
22277         * sysdeps/powerpc/fpu/k_sinf.c: New file.
22278         * sysdeps/powerpc/fpu/s_cosf.c: New file.
22279         * sysdeps/powerpc/fpu/s_sinf.c: New file.
22280         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22281         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22283 2011-08-15  Alan Modra  <amodra@gmail.com>
22285         [BZ #13092]
22286         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22287         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22288         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
22289         ppc_mcount to static-only-routines.
22290         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22291         __mcount_internal.
22292         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22293         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
22295 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
22297         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22298         for finite and infinity parameters.
22300 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
22302         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22303         and add nop instructions for throughput optimization.
22304         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22306 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
22308         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22309         aligned copy for power7 with vector-scalar instructions.
22310         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22312 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
22314         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22315         AVX check.
22317 2011-09-07  Andreas Schwab  <schwab@redhat.com>
22319         [BZ #13144]
22320         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22321         last change.
22323 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
22325         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22326         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22327         syscall wrapper around clock_gettime in __vdso_clock_gettime.
22328         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22329         clock_gettime.
22331 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
22333         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22334         Forgot to demangle the pointer.
22336         * sysdeps/i386/sysdep.h: Define atom_text_section.
22337         * sysdeps/x86_64/sysdep.h: Likewise.
22338         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22339         section with atom_text_section.
22340         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22341         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22342         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22343         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22344         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22346         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22347         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22348         already be defined.  Change to take two parameters and don't assign
22349         result to variable.  Adjust all users.
22350         Define INTERNAL_GETTIME if not already defined.
22351         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22352         call.
22353         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22354         HAVE_CLOCK_GETTIME_VSYSCALL.
22355         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22357         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22358         gettimeofday vsyscall, just use time.
22360 2011-09-06  Andreas Schwab  <schwab@redhat.com>
22362         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22363         <errno.h>.
22365 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
22367         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22368         syscall on x86-64.
22369         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22370         syscall.
22371         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22372         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22373         syscall if possible.
22375 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22377         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22378         e_ident.  Don't pass to find_mapsXX.
22379         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22381 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22384         strchr-sse2-no-bsf strrchr-sse2-no-bsf
22385         * sysdeps/x86_64/multiarch/strchr.S: Update.
22386         Check bit_slow_BSF bit.
22387         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22388         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22389         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22391 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22393         [BZ #13134]
22394         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22395         before glibc 2.15.
22396         (tryshell): Define.
22397         (__spawni): Change last parameter to be flag.  Test
22398         SPAWN_XFLAGS_USE_PATH flag to use path or not.
22399         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22400         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22401         * posix/spawni.c: Likewise.
22402         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22403         * posix/spawnp.c: Likewise.  Change normal version to use
22404         SPAWN_XFLAGS_USE_PATH.
22405         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22406         SPAWN_XFLAGS_TRY_SHELL.
22408         [BZ #13150]
22409         * posix/glob.h: Remove gcc 1.x support.
22411         [BZ #13068]
22412         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22414 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22416         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22417         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22418         strrchr-sse2-bsf
22419         * sysdeps/i386/i686/multiarch/strchr.S: New file.
22420         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22421         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22422         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22423         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22424         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22426 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22428         * sysdeps/x86_64/wcscmp.S: New file.
22430         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22431         wcscmp-c wcscmp-sse2
22432         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22433         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22434         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22435         * wcsmbs/wcscmp.c: Allow renaming.
22437 2011-09-05  David S. Miller  <davem@davemloft.net>
22439         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22440         stack slot, rather than the struct return pointer slot.
22441         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22442         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22444         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22446 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22448         * po/ja.po: Update from translation team.
22450         [BZ #13144]
22451         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22452         kernel in 64-bit binaries.
22454 2011-09-01  David S. Miller  <davem@davemloft.net>
22456         * elf/elf.h (HWCAP_SPARC_*): Move to..
22457         * sysdeps/sparc/sysdep.h: this new file and add new values.
22458         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22459         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22460         _DL_HWCAP_COUNT to 24.
22461         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22462         entries.
22463         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22464         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22465         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22466         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22467         instead of magic constants.
22468         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22470 2011-08-31  David S. Miller  <davem@davemloft.net>
22472         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22473         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22474         Reimplement to do errno handling inline.
22475         (SYSCALL_ERROR_HANDLER): New macro.
22476         (__SYSCALL_STRING): Do not do errno handling in asm.
22477         (__CLONE_SYSCALL_STRING): Delete.
22478         (__INTERNAL_SYSCALL_STRING): Delete.
22479         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22480         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22481         (PSEUDO): Reimplement to do errno handling inline.
22482         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22483         (SYSCALL_ERROR_HANDLER): New macro.
22484         (__SYSCALL_STRING): Do not do errno handling in asm.
22485         (__CLONE_SYSCALL_STRING): Delete.
22486         (__INTERNAL_SYSCALL_STRING): Delete.
22487         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22488         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22489         i386.
22490         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22491         (inline_syscall*): Add 'err' argument.
22492         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22493         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22494         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22495         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22497         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22498         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22500 2011-08-30  Andreas Schwab  <schwab@redhat.com>
22502         * elf/rtld.c (dl_main): Relocate objects in dependency order.
22504 2011-08-29  Jiri Olsa <jolsa@redhat.com>
22506         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22507         directive.
22509 2011-08-24  David S. Miller  <davem@davemloft.net>
22511         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22513 2011-08-24  Andreas Schwab  <schwab@redhat.com>
22515         * elf/Makefile: Add rules to build and run unload8 test.
22516         * elf/unload8.c: New file.
22517         * elf/unload8mod1.c: New file.
22518         * elf/unload8mod1x.c: New file.
22519         * elf/unload8mod2.c: New file.
22520         * elf/unload8mod3.c: New file.
22522         * elf/dl-close.c (_dl_close_worker): Reset private search list if
22523         it wasn't used.
22525 2011-08-23  David S. Miller  <davem@davemloft.net>
22527         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22528         subtract stack bias.
22529         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22530         %sp not %fp in calculations.
22531         (_JMPBUF_UNWINDS_ADJ): Likewise.
22533         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22534         (aio_suspend): Call it to force an exception region around the
22535         AIO_MISC_WAIT() invocation.
22537 2011-08-23  Andreas Schwab  <schwab@redhat.com>
22539         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22540         backslash.
22542 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
22544         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22545         protection macro.
22546         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22547         and <dl-machine.h>.
22548         (Elf64_FuncDesc): Remove.
22550 2011-08-22  David S. Miller  <davem@davemloft.net>
22552         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22553         sigaltstack check, add missing cfi directives.
22554         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22555         missing cfi directives, and sigaltstack handling.
22557 2011-08-16  Andreas Schwab  <schwab@redhat.com>
22559         [BZ #11724]
22560         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22561         object is seen twice.
22562         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22564         * elf/Makefile (distribute): Add tst-initorder2.c.
22565         (tests): Add tst-initorder2.
22566         (modules-names): Add tst-initorder2a tst-initorder2b
22567         tst-initorder2c tst-initorder2d.  Add rules to build them.
22568         ($(objpfx)tst-initorder2.out): New rule.
22569         * elf/tst-initorder2.c: New file.
22570         * elf/tst-initorder2.exp: New file.
22572 2011-08-22  Andreas Schwab  <schwab@redhat.com>
22574         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22576         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22577         dependencies back to end of function.
22579         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22580         $(elfobjdir)/ld.so.
22582 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
22584         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22585         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22586         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22587         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22588         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22589         of __vdso_gettimeofday.
22590         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22591         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
22592         attribute_hidden.
22593         (_libc_vdso_platform_setup): Remove initialization of
22594         __vdso_gettimeofday and __vdso_time.
22596 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
22598         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22599         and fgetc_unlocked.
22600         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22601         getc_unlocked.
22603         * elf/dl-open.c (add_to_global): Report additions to the global scope
22604         for LD_DEBUG=scopes.
22605         (dl_open_worker): Also print scope of newly loaded dependencies.
22606         (_dl_show_scope): Indicate if there is no scope.
22608         [BZ #13114]
22609         * stdio-common/Makefile (tests): Add bug24.
22610         * stdio-common/bug24.c: New file.
22612 2011-08-19  Andreas Jaeger  <aj@suse.de>
22614         [BZ #13114]
22615         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22616         non-existant file when using close-on-exec mode.
22618 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
22620         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22621         the very first instruction.
22623         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22624         the CFI state in the end.
22625         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22626         inclusion of dl-trampoline.h.
22627         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22629 2011-08-19  Andreas Schwab  <schwab@redhat.com>
22631         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22632         expectations for long double.
22634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22635         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22637 2011-08-14  David S. Miller  <davem@davemloft.net>
22639         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22640         artificual limit depends upon the system page size.
22642 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
22644         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22645         * resolv/Makefile: Define CFLAGS-libresolv.
22647 2011-08-17  Andreas Schwab  <schwab@redhat.com>
22649         * nss/makedb.c (compute_tables): Make variables used in nested
22650         function static.
22652 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
22654         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22655         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22656         if buffer was too small.
22658         * elf/pldd.c (main): Attach to all threads in the process.
22659         Rewrite /proc handling to use *at functions.
22661 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
22663         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22664         specifies first scope to show.
22665         (dl_open_worker): Update callers.  Move printing scope of new
22666         object to before the relocation.
22667         * elf/rtld.c (dl_main): Update _dl_show_scope call.
22668         * sysdeps/generic/ldsodefs.h: Update declaration.
22670         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22671         string for the scope number.
22673 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
22675         * nscd/servicescache.c (cache_addserv): Make sure written is always
22676         initialized.
22678 2011-08-14  Roland McGrath  <roland@hack.frob.com>
22680         * sysdeps/i386/i486/bits/atomic.h
22681         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22682         statement expression, so as to suppress "set but not used" warning.
22683         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22685         * string/strncat.c (STRNCAT): Use prototype definition.
22687         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22688         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22689         -Iprograms here.
22690         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22691         (localedef-modules): Add localedef.
22692         (locale-modules): Add locale.
22694         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22695         * elf/rtld.c (dl_main): Invert order of assignment in last change,
22696         to avoid a warning.
22698 2011-08-14  David S. Miller  <davem@davemloft.net>
22700         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22701         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22703 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
22705         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22706         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22707         * elf/rtld.c (dl_main): Set l_name of vDSO.
22708         Call _dl_show_scope when DL_DEBUG_SCOPES.
22709         (process_dl_debug): Recognize scopes flag and also set it for all.
22710         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22711         Declare _dl_show_scope.
22713         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22714         (do_dlopen): Pass caller_dlopen to dl_open.
22715         (__libc_dlopen_mode): Initialize caller_dlopen.
22717         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22718         of libc.  Make tolower call locale-independent.  Optimize a bit by
22719         using isdigit instead of isalnum.
22720         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22722 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
22724         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22725         was a dependency or dynamically loaded.
22727 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
22729         * intl/l10nflist.c: Allow architecture-specific pop function.
22730         * sysdeps/x86_64/l10nflist.c: New file.
22732         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22733         classification.
22735 2011-08-10  Andreas Schwab  <schwab@redhat.com>
22737         * include/dirent.h: Add libc_hidden_proto for scandirat and
22738         scandirat64.  Don't declare __scandirat64.
22739         * dirent/scandirat.c: Add libc_hidden_def.
22740         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22741         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22743 2011-08-10  David S. Miller  <davem@davemloft.net>
22745         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22746         enum.
22747         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22748         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22749         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22751 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
22753         * Versions.def [libc]: Add GLIBC_2.15.
22754         * dirent/Makefile (routines): Add scandirat and scandirat64.
22755         * dirent/Versions [libc]: Export scandirat and scandirat64 for
22756         GLIBC_2.15.
22757         * dirent/dirent.h: Declare scandirat and scandirat64.
22758         * dirent/scandirat.c: New file.
22759         * dirent/scandirat64.c: New file.
22760         * sysdeps/wordsize-64/scandirat.c: New file.
22761         * sysdeps/wordsize-64/scandirat64.c: New file.
22762         * dirent/opendir.c: Define opendirat.
22763         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
22764         using scandirat.
22765         * dirent/scandir64.c: Adjust for scandir.c change.
22766         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
22767         __scandirat64, and __scandir_cancel_handler.
22768         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
22769         additional parameter and use openat instead of open (outside of ld.so).
22770         Add new __opendir as wrapper around __opendirat.
22771         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22772         here without requiring old scandirat implementation.
22774 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
22776         * dirent/scandir.c (cancel_handler): Renamed to
22777         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
22778         defined.  Adjust users.
22779         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22780         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22782 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
22784         * string/test-string.h (IMPL): Use __STRING to expand name and then
22785         stringify it.
22787         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
22788         of cleanups.
22790 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22792         * string/Makefile: Update.
22793         (strop-tests): Append strncat.
22794         * string/test-wcscmp.c: New file.
22795         New comprehensive test for wcscmp.
22796         * string/test-strcmp.c: Update.
22797         (WIDE): New define.
22799 2011-07-22  Andreas Schwab  <schwab@redhat.com>
22801         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22802         line.
22804 2011-07-26  Andreas Schwab  <schwab@redhat.com>
22806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22807         encoding to ACE if AI_IDN.
22809 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
22811         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22812         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22814 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22816         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22817         Fix overflow bug in strncat.
22818         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22820         * string/test-strncat.c: Update.
22821         Add new tests for checking overflow bugs.
22823 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22825         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22826         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22827         * sysdeps/i386/i686/multiarch/strcat.S: New file.
22828         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22829         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22830         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22831         * sysdeps/i386/i686/multiarch/strncat.S: New file.
22832         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22833         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22835         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22836         (USE_AS_STRCAT): Define.
22837         Add strcat and strncat support.
22838         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22840 2011-07-25  Andreas Schwab  <schwab@redhat.com>
22842         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22843         __n bigger than INT_MAX+1.
22844         (__strncmp_g): Likewise.
22846 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
22848         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22849         * libio/stido.h: Likewise.
22851         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22852         (AF_NFC): Define.
22853         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22854         (AF_NFC): Define.
22856         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22857         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22858         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22859         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22860         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22862         [BZ #13021]
22863         * scripts/test-installation.pl: Don't expect libnss_test1 to be
22864         installed.
22866         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22867         typo.
22868         (_dl_x86_64_save_sse): Likewise.
22870 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
22872         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22873         OSXSAVE.
22874         (_dl_x86_64_save_sse): Likewise.
22876         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22878         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22880 2011-07-21  Andreas Schwab  <schwab@redhat.com>
22882         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22883         change.
22884         (_dl_x86_64_save_sse): Use correct AVX check.
22886 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22888         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22889         bug in strncpy/strncat.
22890         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22892 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
22894         * string/tester.c (test_strcat): Add tests for different alignments
22895         of source and destination.
22896         (test_strncat): Likewise.
22898 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
22900         [BZ #12852]
22901         * posix/glob.c (glob): Check passed in values before using them in
22902         expressions to avoid some overflows.
22903         (glob_in_dir): Likewise.
22905         [BZ #13007]
22906         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22907         check for AVX enablement so that we don't crash with old kernels and
22908         new hardware.
22909         * elf/tst-audit4.c: Add same checks here.
22910         * elf/tst-audit6.c: Likewise.
22912         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22914 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
22916         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22918 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
22920         * po/cs.po: Update from translation team.
22921         * po/bg.po: Likewise.
22923 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
22925         * misc/sys/cdefs.h: Add support for const attribute.
22926         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22927         to gnu_dev_{major,minor,makedev} functions.
22929 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
22931         * intl/dcigettext.c (get_output_charset): Add missing bracket.
22933 2011-07-20  Andreas Schwab  <schwab@redhat.com>
22935         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22936         strlen results.
22938 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22940         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22941         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22942         register in order to avoid conflicts with the soft frame pointer
22943         being held in r11 when necessary.
22944         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22945         (INTERNAL_VSYSCALL_NCS): Likewise.
22947 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
22949         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22950         * elf/dl-fini.c (_dl_fini): Adjust caller.
22951         * elf/dl-close.c (_dl_close_worker): Likewise.
22952         * sysdeps/generic/ldsodefs.h: Adjust declaration.
22954 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
22956         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22957         "aux_cache->nlibs < 0".
22959         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22960         in the reload-count case.
22962 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22964         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22965         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22966         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22967         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22968         * sysdeps/x86_64/multiarch/strcat.S: New file.
22969         * sysdeps/x86_64/multiarch/strncat.S: New file.
22970         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22971         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22972         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22973         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22974         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22975         (USE_AS_STRCAT): Define.
22976         Add strcat and strncat support.
22977         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22978         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22979         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22980         * string/strncat.c: Update.
22981         (USE_AS_STRNCAT): Define.
22982         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22983         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22984         and i7.
22985         * sysdeps/x86_64/multiarch/init-arch.h
22986         (bit_Prefer_PMINUB_for_stringop): New.
22987         (index_Prefer_PMINUB_for_stringop): Likewise.
22988         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22989         bit_Prefer_PMINUB_for_stringop.
22991 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
22993         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22994         buffer64.
22995         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22996         of casting of buffer.
22997         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22998         buffer32 and buffer64.
22999         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23000         writes instead of casting of buffer.
23001         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23002         buffer32.
23003         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23004         casting of buffer.
23006 2011-07-19  Andreas Schwab  <schwab@redhat.com>
23008         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23010 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23012         * nscd/nscd.c (termination_handler): Don't do anything for a database
23013         if it has not yet been initialized.
23015 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23017         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23019 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23021         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23023 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23025         * po/nl.po: Update from translation team.
23026         * po/sv.po: Likewise.
23028 2011-07-16  Roland McGrath  <roland@hack.frob.com>
23030         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23031         now disallowed by GCC.
23033         * configure.in (use-default-link): Default to yes if a test -shared
23034         link meets our qualifications.
23035         * configure: Regenerated.
23037         * config.make.in (output-format): New variable.
23038         * configure.in: Check for ld --print-output-format support.
23039         * configure: Regenerated.
23040         * Makerules ($(common-objpfx)format.lds)
23041         [$(output-format) != unknown]: Just use $(output-format),
23042         instead of the linker-script munging.
23044 2011-07-14  Roland McGrath  <roland@hack.frob.com>
23046         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23047         of $(common-objpfx)shlib.lds.
23048         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23050         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23051         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23053         * configure.in (-z relro check): Adjust test code to add a large
23054         writable data section after it.
23055         * configure: Regenerated.
23057 2011-07-11  Roland McGrath  <roland@hack.frob.com>
23059         * configure.in (-z relro check): Fix test code to make the variable
23060         truly const.
23061         * configure: Regenerated.
23063 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
23065         * nscd/nscd.h (struct traced_file): Define.
23066         (struct database_dyn): Remove inotify_descr, reset_res, and filename
23067         elements.  Add traced_files.
23068         (inotify_fd): Declare.
23069         (register_traced_file): Declare.
23070         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23071         (inotify_fd): Export.
23072         (resolv_conf_descr): Remove.
23073         (nscd_init): Move inotify descriptor creation to main.
23074         Don't register files for notification here.
23075         (register_traced_file): New function.
23076         (invalidate_cache): Don't use reset_res to determine whether to call
23077         res_init, go through the list of registered files.
23078         (main_loop_poll): The inotify descriptors are now stored in the
23079         structures for the traced files.
23080         (main_loop_epoll): Likewise
23081         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
23082         to __nss_disable_nscd.
23083         * nscd/cache.c (prune_cache): There is no single inotify descriptor
23084         for a database anymore.  Check the records for all the registered
23085         files instead.
23086         * nss/Makefile (libnss_files-routines): Add files-init.
23087         (libnss_db-routines): Add db-init.
23088         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23089         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23090         * nss/nss_db/db-init.c: New file.
23091         * nss/nss_files/files-init.c: New file.
23092         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
23093         __nss_lookup_function.
23094         (__nss_lookup_function): Call nss_load_library.
23095         (nss_load_all_libraries): New function.
23096         (__nss_disable_nscd): Take parameter with callback function for files
23097         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
23098         used for the cached services.
23099         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23100         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23101         options for features to all the files in nscd.
23103         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23105 2011-07-10  Roland McGrath  <roland@hack.frob.com>
23107         * csu/elf-init.c (__libc_csu_init): Comment typo.
23109 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
23111         * po/pl.po: Update from translation team.
23112         * po/ja.po: Likewise.
23113         * po/ru.po: Likewise.
23114         * po/ko.po: Likewise.
23115         * po/fr.po: Likewise.
23117 2011-07-09  Roland McGrath  <roland@hack.frob.com>
23119         * configure.in (.ctors/.dtors header and trailer check):
23120         Use an empirical test on a built program.
23121         * configure: Regenerated.
23123         * configure.in (-z relro check): Use an empirical test on a built DSO.
23124         Detect, but do not require, on ia64.
23125         * configure: Regenerated.
23127         * configure.in (READELF): Find it with AC_CHECK_TOOL.
23128         Update tests that use readelf to use $READELF instead.
23129         * configure: Regenerated.
23131 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
23133         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23134         if the result is not used.
23136 2011-07-05  Andreas Jaeger  <aj@suse.de>
23138         [BZ#9696]
23139         * stdlib/tst-strtod.c: Add testcase.
23141 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
23143         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23144         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23145         The latter has a higher limit.  Take additional parameter to pass to
23146         the new function.
23147         (__pathconf): Pass file to __statfs_link_max.
23148         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23149         __statfs_link_max.
23150         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23151         __statfs_link_max.
23153         [BZ #12868]
23154         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23155         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23156         Handle Lustre.
23157         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23158         (__statfs_filesize_max): Likewise.
23159         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23161 2011-07-05  Andreas Jaeger  <aj@suse.de>
23163         * resolv/res_comp.c (dn_skipname): Remove unused variable.
23165 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
23167         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23168         `status' variable.
23169         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23170         Likewise.
23172 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
23174         * Makefile (strop-tests): Add strncat.
23175         * string/test-strncat.c: New file.
23177 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
23179         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23181 2011-06-21  Andreas Jaeger  <aj@suse.de>
23183         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23184         Copy rule from iconvdata/Makefile.
23186 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
23188         [BZ #12922]
23189         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23190         but no long options are defined, just return 'W'.
23192 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
23194         [BZ #9696]
23195         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23197 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
23199         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23200         netgroups to read.
23201         (innetgr): Likewise.
23203 2011-07-05  Roland McGrath  <roland@hack.frob.com>
23205         * config.make.in (install_root): Default to $(DESTDIR).
23207 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
23209         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23211 2011-07-02  Roland McGrath  <roland@hack.frob.com>
23213         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23215         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23216         containing directory rather than embedding absolute directory names.
23218         * scripts/check-local-headers.sh: Rewritten using awk.
23219         Match by word, not by line.  Print error messages for matches.
23220         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23222         * Makerules [shlib-lds-flags empty]:
23223         ($(common-objpfx)libc_pic.opts): New target.
23224         ($(common-objpfx)libc_pic.os.clean): New target.
23225         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23227         * config.make.in (OBJCOPY): New variable.
23228         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23229         * configure: Regenerated.
23231         * config.make.in (use-default-link): New variable.
23232         * configure.in (use_default_link): Grok --with-default-link to set it.
23233         * configure: Regenerated.
23234         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23235         (shlib-lds, shlib-lds-flags): Define to empty.
23237         * Makerules (shlib-lds): New variable.
23238         (shlib-lds-flags): New variable.
23239         (build-shlib, build-moduile, build-module-asneeded): Use it.
23240         ($(common-objpfx)libc.so): Use $(shlib-lds).
23241         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23242         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23244         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23245         DT_FLAGS/DT_FLAGS_1 with zero flags.
23247         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23248         linker script munging.
23250 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
23252         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23253         as 128-bit value.
23254         * crypt/sha512.c (sha512_process_block): Perform total addition using
23255         128-bit if possible.
23256         (__sha512_finish_ctx): Likewise.
23257         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23258         as 64-bit value.
23259         * crypt/sha256.c (SWAP64): Define.
23260         (sha256_process_block): Perform total addition using 64-bit if
23261         possible.
23262         (__sha256_finish_ctx): Likewise.
23264 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
23266         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
23267         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23268         * nscd/hstcache.c (cache_addhst): Likewise.
23269         * nscd/grpcache.c (cache_addgr): Likewise.
23270         * nscd/aicache.c (addhstaiX): Likewise
23271         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23273 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
23275         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23276         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23277         * nscd/hstcache.c (cache_addhst): Likewise.
23278         * nscd/grpcache.c (cache_addgr): Likewise.
23279         * nscd/aicache.c (addhstaiX): Likewise
23281 2011-07-01  Andreas Schwab  <schwab@redhat.com>
23283         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23284         domain only when needed.
23286 2011-06-30  Andreas Schwab  <schwab@redhat.com>
23288         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23289         is always restored.
23291 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
23293         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23294         are re-adding the entry.
23295         * nscd/servicescache.c (cache_addserv): Likewise.
23297 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
23299         * sysdeps/generic/dl-irel.h: fix protection against multiple
23300         inclusions.
23301         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23303 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
23305         [BZ #12935]
23306         * malloc/memusage.sh: Fix quoting in message.
23307         * debug/xtrace.sh: Likewise.
23309         * configure.in: Remove support for --experimental-malloc option, make
23310         it the default.
23311         * config.make.in: Likewise.
23312         * malloc/Makefile: Likewise.
23314 2011-06-27  Andreas Schwab  <schwab@redhat.com>
23316         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23317         two-byte characters.
23319 2011-06-27  Roland McGrath  <roland@hack.frob.com>
23321         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23322         AC_CACHE_CHECK invocation.
23323         * configure: Regenerated.
23325         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23327 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
23329         [BZ #12350]
23330         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
23331         bit from old_res_options.
23333         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23335         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23336         value type for setfct.
23338 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
23340         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23341         __gettimeofday instead of gettimeofday.
23343 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
23345         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23347 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23349         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23351         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23352         info.
23354 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
23356         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23357         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23358         strcpy-sse2-unaligned strncpy-sse2-unaligned
23359         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23360         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23361         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23362         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23363         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23364         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23365         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23366         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23367         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23368         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23369         (STRCPY): Support SSE2 and SSSE3 versions.
23371 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
23373         [BZ #12874]
23374         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23375         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23376         kernels which artificially limit size of requests.
23378 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
23380         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23381         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23382         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23383         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23384         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23385         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23386         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23387         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23388         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23389         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23390         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23391         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23392         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23393         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23394         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23395         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23396         Enable unaligned load optimization for Intel Core i3, i5 and i7
23397         processors.
23398         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23399         Define.
23400         (index_Fast_Unaligned_Load): Define.
23401         (HAS_FAST_UNALIGNED_LOAD): Define.
23403 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
23405         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23407 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
23409         [BZ #12907]
23410         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23411         until it is clear that the information is realy needed.
23412         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23414 2011-06-22  Andreas Schwab  <schwab@redhat.com>
23416         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23418 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
23420         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23421         /sys/devices/system/cpu/online if it is usable.
23423         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23424         reading the information from the /proc filesystem to once a second.
23426 2011-06-21  Andreas Jaeger  <aj@suse.de>
23428         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23429         NULL after inclusion of kernel headers.
23431 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
23433         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23434         calls to internal_setent.
23436         [BZ #12885]
23437         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23438         addresses using gethostbyname4_r ignore IPv4 addresses.
23440         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23441         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
23443         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23445 2011-06-20  David S. Miller  <davem@davemloft.net>
23447         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23448         inclusions.
23449         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23451         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23452         (elf_irel): Use it.
23453         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23454         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23455         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23456         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23457         * sysdeps/x86_64/dl-irel.h: Likewise.
23459         * elf/dl-runtime.c: Use elf_ifunc_invoke.
23460         * elf/dl-sym.c: Likewise.
23462 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
23464         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
23465         need to dereference resplen2.
23467 2011-06-14  Andreas Schwab  <schwab@redhat.com>
23469         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23471 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
23473         * Makeconfig: Define vardbdir and inst_vardbdir.
23474         * nss/Makefile: Add rules to install db-Makefile.
23476         * nss/nss_db/db-XXX.c: Cleanup.
23478         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23479         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23480         GLIBC_PRIVATE.
23481         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23482         * nss/makedb.c: Implement -g option to specify that value strings
23483         are generated and should not be added to table iterated over for
23484         get*ent calls.
23485         * nss/nss_db/db-initgroups.c: New file.
23487         * nss/getent.c: Add support for initgroups lookups through getgrouplist
23488         interface.
23490         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23491         (internal_getgrouplist): Adjust to name change.
23492         Update use_initgroups_entry if this is not the first call.
23493         * nss/databases.def: Add initgroups entry.
23495         * nss/makedb.c (compute_tables): Check result of multiple hash table
23496         sizes to minimize maximum chain length.
23498 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
23500         * Versions.def: Add entry for libnss_db.
23501         * shlib-versions: Likewise.
23502         * nss/Makefile: Add rules to build libnss_db.
23503         * nss/Versions: Add libnss_db information.  Organize libnss_files
23504         entries better.
23505         * nss/db-Makefile: Add gshadow support.  Change rules for the new
23506         makedb progra.  Some minor improvements to generate smaller files.
23507         * nss/nss_db/nss_db.h: Move NSS database header data structures to
23508         here from...
23509         * nss/makedb.c: ...here.
23510         Improve database format to be smaller and require less memory at
23511         runtime.
23512         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
23513         db anymore.
23514         * nss/nss_db/db-netgrp.c: Likewise.
23515         * nss/nss_db/db-open.c: Likewise.
23516         * nss/nss_files/flies-XXX.x: Adjust comments.
23517         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23518         * nss/nss_files/files-grp.c: Likewise.
23519         * nss/nss_files/files-hosts.c: Likewise.
23520         * nss/nss_files/files-network.c: Likewise.
23521         * nss/nss_files/files-proto.c: Likewise.
23522         * nss/nss_files/files-pwd.c: Likewise.
23523         * nss/nss_files/files-rpc.c: Likewise.
23524         * nss/nss_files/files-service.c: Likewise.
23525         * nss/nss_files/files-sgrp.c: Likewise.
23526         * nss/nss_files/files-spwd.c: Likewise.
23527         * nss/nss_db/db-alias.c: Removed.
23528         * nss/nss_db/dummy-db.h: Removed.
23530 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
23532         * nss/makedb.c: Rewritten to not use database library.
23533         * nss/Makefile: Update to build new makedb program.
23535 2011-06-14  Andreas Jaeger  <aj@suse.de>
23537         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23538         memset declaration.
23540 2011-06-10  Andreas Schwab  <schwab@redhat.com>
23542         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23543         tmpbuf.
23545 2011-06-10  Roland McGrath  <roland@hack.frob.com>
23547         * Makerules (shlib.lds): Fail if the linker script comes out empty.
23548         * elf/Makefile ($(objpfx)ld.so): Likewise.
23550         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23551         Don't list ld.so twice in dependencies.
23553         * posix/bug-regex31.c: Include <stdlib.h>.
23555         * nscd/hstcache.c (cache_addhst): Remove unused variable.
23557         * nis/nss_compat/compat-spwd.c
23558         (getspent_next_nss_netgr): Remove unused variable.
23559         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23561         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23562         nonmembers" output to use the right array.
23564         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23566         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23568         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23569         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23570         * catgets/gencat.c (read_input_file): Likewise.
23571         * locale/programs/locarchive.c (enlarge_archive): Likewise.
23573         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23574         variable definition inside #if's controlling its use.
23576         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23578         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23580         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23582         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23583         unreachable code.
23585         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23587         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23588         * configure: Regenerated.
23590         * Makerules: Revert last change.
23591         * elf/Makefile: Likewise.
23593 2011-06-09  Roland McGrath  <roland@hack.frob.com>
23595         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23596         * elf/Makefile ($(objpfx)librtld.os): Likewise.
23597         (reloc-link): Likewise.
23599 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
23601         * elf/Makefile: Add rules to build pldd.
23602         * elf/pldd.c: New file.
23603         * elf/pldd-xx.c: New file.
23605 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
23607         * version.h: Update for 2.15 development version.
23609 2011-06-07  David S. Miller  <davem@davemloft.net>
23611         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23612         ifuncs.
23613         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23614         elf_machine_lazy_rel): Likewise.
23615         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23616         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23617         elf_machine_lazy_rel): Likewise.
23618         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23619         dl_hwcap via passed in argument.
23620         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23621         Likewise.
23623 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23625         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
23627 2011-06-06  Roland McGrath  <roland@hack.frob.com>
23629         [BZ #12849]
23630         * manual/fdl-1.1.texi: New file, verbatim from:
23631         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23632         * manual/lgpl-2.1.texi: New file, verbatim from:
23633         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23634         * manual/Makefile (licenses): New variable, list those new file names.
23635         (texis): Use it.
23636         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23638         * manual/fdl.texi: File removed.
23639         * manual/lesser.texi: File removed.
23640         * manual/libc.texinfo (Copying, Documentation License):
23641         Use new @include file names, put @appendix directive before @include.
23643 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
23645         [BZ #12841]
23646         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23647         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23648         (mq_open): Add __NTH.
23650 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
23652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23653         Assume Intel Core i3/i5/i7 processor if AVX is available.
23655 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
23657         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23658         typo.
23660 2011-05-31  Andreas Schwab  <schwab@redhat.com>
23662         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23663         memory.  Use alloca_account.  Fix memory leak when retrying.
23665 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
23667         * version.h (RELEASE): Bump for 2.14 release.
23668         * include/features.h (__GLIBC_MINOR__): Bump to 14.
23670         * config.make.in (RANLIB): Remove entry.
23672 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
23674         * po/Makefile (po-sed-cmd): Add ksh to extensions.
23675         (libc.pot): Work around missing support for .ksh extension in xgettext.
23677         [BZ #12684]
23678         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23679         if both request failed.
23680         (send_dg): In case of server errors clear resplen or *resplen2.
23682         [BZ #12454]
23683         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23684         when there are multiple maps.
23685         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23686         (_dl_fini): Remove test here.
23688         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23690 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
23692         [BZ #12350]
23693         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23694         bit from old_res_options.
23695         (gaih_inet): Likewise.
23697         [BZ #11099]
23698         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23699         as signed.
23701         * resolv/res_init.c (res_setoptions): Make the code more compact.
23703         [BZ #11558]
23704         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23705         set RES_USEVC.
23707         [BZ #11634]
23708         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23710         * malloc/malloc.h: Mark malloc hook variables as deprecated.
23712         [BZ #11781]
23713         * malloc/malloc.h: Declare malloc hook variables as volatile.
23715         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23716         in last patch.
23718         [BZ #11799]
23719         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23720         raise in the comment.
23721         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23722         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23723         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23725 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
23727         [BZ #12811]
23728         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23729         grow the buffers more if it already has to be sufficient.
23730         (build_wcs_upper_buffer): Likewise.
23731         * posix/regexec.c (check_matching): Likewise.
23732         (clean_state_log_if_needed): Likewise.
23733         (extend_buffers): Don't enlarge buffers beyond size of the input
23734         buffer.
23735         Patches mostly by Emil Wojak <emil@wojak.eu>.
23736         * posix/bug-regex32.c: New file.
23737         * posix/Makefile (tests): Add bug-regex32.
23739         * locale/findlocale.c (_nl_find_locale): Return right away if
23740         _nl_explode_name failed.
23741         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23743         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23745         * debug/xtrace.sh: Unify messages.
23746         * malloc/memusage.sh: Likewise.
23748         [BZ #12813]
23749         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23750         time symbol from vDSO.  Substitute with vsyscall if not available.
23751         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23752         __vdso_time.
23754         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23755         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23756         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23757         Add sendmmsg and internal_sendmmsg.
23758         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23759         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23760         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23762         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23763         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23764         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23766 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
23768         [BZ #12813]
23769         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23770         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
23771         available.
23772         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23773         __vdso_getcpu.
23775         [BZ #12814]
23776         * iconvdata/Makefile (tests): Add bug-iconv9.
23777         * iconvdata/bug-iconv9.c: New file.
23779 2011-05-27  Andreas Schwab  <schwab@redhat.com>
23781         [BZ #12814]
23782         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23784 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
23786         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23787         (struct user_regs_struct): Change intcs field back to cs.
23789 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
23791         * po/ja.po: Update from translation team.
23793 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
23795         [BZ #12795]
23796         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23797         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23799 2011-05-20  Andreas Schwab  <schwab@redhat.com>
23801         * stdlib/longlong.h: Update from GCC.
23803 2011-05-23  Andreas Schwab  <schwab@redhat.com>
23805         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23806         parameter name.
23807         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23808         Add parameter name.
23809         (__sysconf): Pass it down.
23811 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
23813         [BZ #12671]
23814         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23815         some situations.
23816         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23817         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23818         add in in __libc_use_alloca calls.  Adjust callers.
23819         (glob): Use malloc in some situations.
23821         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23822         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23823         pltexit.
23825 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
23827         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23828         and CLOCK_BOOTTIME_ALARM.
23830         [BZ #12782]
23831         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23832         is returned.
23834         * string/_strerror.c (__strerror_r): Print negative errors as signed
23835         numbers.
23837         [BZ #12777]
23838         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23839         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23840         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23842         * configure.in: Fix typo in redirection and correct removal of test
23843         files in two cases.
23845         [BZ #12788]
23846         * locale/setlocale.c (new_composite_name): Fix test to check for
23847         identical name of all categories.
23849         [BZ #12792]
23850         * libio/filedoalloc.c (local_isatty): New function.
23851         (_IO_file_doallocate): Use local_isatty.
23852         * stdio-common/perror.c (perror): In case a new stream is used
23853         forward the stream error.
23854         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23855         error flag.
23857 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
23859         [BZ #11869]
23860         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23861         alloca.
23862         * include/alloca.h (extend_alloca_account): Define.
23864         [BZ #11857]
23865         * posix/regex.h: Fix comments with documentation of user-accessible
23866         fields after compilation and describe correct free'ing of pattern
23867         after re_compile_pattern.
23868         Patch by Reuben Thomas <rrt@sc3d.org>.
23870 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
23872         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23873         and -mno-altivec to prevent the compiler from using Altivec and/or
23874         VSX instructions when the corresponding registers are not available.
23876 2011-05-19  Andreas Schwab  <schwab@redhat.com>
23878         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23880 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
23882         * libio/freopen.c (freopen): Use __dup2, not dup2.
23883         * libio/freopen64.c (freopen64): Likewise.
23885 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23887         [BZ #12775]
23888         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23889         * math/Makefile (tests): Add test-powl.
23890         (CFLAGS-test-powl.c): Define.
23891         * math/test-powl.c: New file.
23893 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23895         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23897 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
23899         [BZ #11837]
23900         * iconvdata/gb18030.c: Update to GB18020-2005.
23902 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
23904         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23905         RE_SYNTAX_POSIX_AWK): Update to match recent development.
23906         Patch by Aharon Robbins <arnold@skeeve.com>.
23908         [BZ #11892]
23909         * stdlib/putenv.c (putenv): Don't always create copy of the variable
23910         on the stack.
23912         [BZ #11895]
23913         * misc/pselect.c (__pselect): Handle timeout value errors hidden
23914         through underflows.
23916         [BZ #12766]
23917         * misc/error.c (error_at_line): Ensure file_name and old_file_name
23918         point to strings before performing equality test for error_one_per_line
23919         mode.
23921         [BZ #11697]
23922         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23924         [BZ #11820]
23925         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23926         (struct user_fpregs_struct): Avoid __uint*_t types.
23928         [BZ #6420]
23929         * malloc/mtrace.c (tr_where): Add additional parameter to point to
23930         symbol info.  Use it instead of calling _dl_addr locally.
23931         (lock_and_info): New function.
23932         (tr_freehook): Call lock_and_info and pass symbol info as additional
23933         parameter to tr_where.
23934         (tr_mallochook): Likewise.
23935         (tr_reallochook): Likewise.
23936         (tr_memalignhook): Likewise.
23938         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
23939         used and couldn't be at all thread-safe.
23941 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
23943         * libio/freopen.c (freopen): Don't close old file descriptor
23944         before the new one is opened.  Instead dup the new file descriptor
23945         to the old one after the new stream is created.
23946         * libio/freopen64.c (freopen64): Likewise.
23947         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23948         * libio/fileops.c (_IO_new_file_close_it): Handle new
23949         _IO_FLAGS2_NOCLOSE flag.
23950         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23951         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23952         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23953         _IO_FLAGS2_NOCLOSE flag.
23954         * include/unistd.h: Add hidden_proto for dup3.
23955         Define __have_dup3.
23956         * io/dup3.c: Define hidden symbol.
23957         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23959         [BZ #7101]
23960         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23961         when an incomplete long option is used.
23962         * posix/tst-getopt_long1.c: New file.
23963         * posix/Makefile (tests): Add tst-getopt_long1.
23965         [BZ #10138]
23966         * scripts/config.guess: Update from autoconf-2.68.
23967         * scripts/config.sub: Likewise.
23969         [BZ #10157]
23970         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23971         tests into ...
23972         (has_cpuclock): ...this.  New function.
23973         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23974         macro here based on has_cpuclock code.
23976         [BZ #10149]
23977         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23978         First byte (not low byte) is now always NUL.
23979         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23981         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23982         Use non-cancelable interfaces.
23984         [BZ #9809]
23985         * locale/iso-639.def: Add entry for Sorani.
23987         [BZ #11901]
23988         * include/stdlib.h: Move include protection to the right place.
23989         Define abort_msg_s.  Declare __abort_msg with it.
23990         * stdlib/abort.c (__abort_msg): Adjust type.
23991         * assert/assert.c (__assert_fail_base): New function.  Majority
23992         of code from __assert_fail.  Allocate memory for __abort_msg with
23993         mmap.
23994         (__assert_fail): Now call __assert_fail_base.
23995         * assert/assert-perr.c: Remove bulk of implementation.  Use
23996         __assert_fail_base.
23997         * include/assert.hL Declare __assert_fail_base.
23998         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23999         mmap.
24000         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24002 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
24004         [BZ #11952]
24005         [BZ #12453]
24006         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24007         until all modules are registered in the DTV.
24008         * elf/Makefile: Add rules to build and run tst-tls19.
24009         * elf/tst-tls19.c: New file.
24010         * elf/tst-tls19mod1.c: New file.
24011         * elf/tst-tls19mod2.c: New file.
24012         * elf/tst-tls19mod3.c: New file.
24013         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24015         [BZ #12083]
24016         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24017         correctly.
24019         [BZ #12601]
24020         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24021         two-byte sequence errors.
24022         * iconvdata/Makefile (tests): Add bug-iconv8.
24023         * iconvdata/bug-iconv8.c: New file.
24025         [BZ #12626]
24026         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24027         buf2 definition.
24029         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24031         [BZ #12432]
24032         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24033         (dummy_getcfa): New function.
24034         (init): Get _Unwind_GetCFA address, use dummy if not found.
24035         (backtrace_helper): In recursion check, also check whether CFA changes.
24036         (__backtrace): Completely initialize arg.
24038         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24039         storing incomplete byte sequence in state object.  Avoid testing for
24040         guaranteed too small input if we know there is enough data available.
24042 2011-05-11  Andreas Schwab  <schwab@redhat.com>
24044         * Makeconfig (+link-pie): Indent.
24045         * Rules (binaries-pie): Define if $(have-fpie) and
24046         $(build-shared).
24047         (binaries-shared): Also filter out $(binaries-pie).
24048         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24049         * nscd/Makefile (others-pie): Add nscd.
24050         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24051         ($(objpfx)nscd): Remove command override.
24052         * login/Makefile (others-pie): Add pt_chown.
24053         ($(objpfx)pt_chown): Remove command override.
24054         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24055         remove command overrides.
24057 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
24059         * libio/tst_putwc.c: Fix error messages.
24061         [BZ #12724]
24062         * libio/fileops.c (_IO_new_file_close_it): Always flush when
24063         currently writing and seek to current position when not.
24064         * libio/Makefile (tests): Add bug-fclose1.
24065         * libio/bug-fclose1.c: New file.
24067 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
24069         [BZ #12511]
24070         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24071         don't set DF_1_NODELETE here.
24072         (do_lookup_x): When entering new entry test for copy relocation
24073         and if necessary set DF_1_NODELETE flag.
24074         * elf/tst-unique4.cc: New file.
24075         * elf/tst-unique4.h: New file.
24076         * elf/tst-unique4lib.cc: New file.
24077         * elf/Makefile: Add rules to build and run tst-unique4.
24078         Patch by Piotr Bury <pbury@goahead.com>.
24080 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
24082         [BZ #12052]
24083         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24085         [BZ #12625]
24086         * misc/mntent_r.c (addmntent): Flush the stream after the output
24088         [BZ #12393]
24089         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24090         (is_trusted_path_normalize): Skip initial colon.  Append slash
24091         to empty buffer.  Duplicate is_trusted_path code but allow
24092         constructed patch to be prefix.
24093         (is_dst): Allow $ORIGIN followed by /.
24094         (_dl_dst_substitute): Correct clearing of check_for_trusted.
24095         Correct testing of result of is_trusted_path_normalize
24096         (decompose_rpath): Fix warning.
24098 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
24100         [BZ #11257]
24101         * grp/initgroups.c (internal_getgrouplist): When we found the service
24102         list through the initgroups entry in nsswitch.conf do not always
24103         continue on a successful lookup.  Don't always use the
24104         __nss_group_database value if it is set.
24105         * nss/nsswitch.conf (initgroups): Change action for successful db
24106         lookup to continue for compatibility.
24108 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
24110         [BZ #11532]
24111         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24112         and CP774 modules.
24113         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24114         and CP774 modules.
24115         * iconvdata/tst-tables.sh: Likewise.
24116         * iconvdata/cp770.c: New file.
24117         * iconvdata/cp771.c: New file.
24118         * iconvdata/cp772.c: New file.
24119         * iconvdata/cp773.c: New file.
24120         * iconvdata/cp774.c: New file.
24121         * iconvdata/testdata/CP770: New file.
24122         * iconvdata/testdata/CP770..UTF8: New file.
24123         * iconvdata/testdata/CP771: New file.
24124         * iconvdata/testdata/CP771..UTF8: New file.
24125         * iconvdata/testdata/CP772: New file.
24126         * iconvdata/testdata/CP772..UTF8: New file.
24127         * iconvdata/testdata/CP773: New file.
24128         * iconvdata/testdata/CP773..UTF8: New file.
24129         * iconvdata/testdata/CP774: New file.
24130         * iconvdata/testdata/CP774..UTF8: New file.
24132         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24133         END CHARMAP line.
24134         * iconvdata/gen-8bit-gap.sh: Likewise.
24135         * iconvdata/gen-8bit.sh: Likewise.
24137         * locale/iso-639.def: Add ary entry.
24139         [BZ #11258]
24140         * locale/C-translit.h.in: Add U20A1 transliteration.
24142         [BZ #12178]
24143         * locale/iso-639.def: Add wae entry.
24144         Patch by Kevin Bortis <bortis@translate-wae.ch>.
24146         [BZ #12545]
24147         * locale/programs/localedef.c (construct_output_path): Use ssize_t
24148         for n.
24150         [BZ #12711]
24151         * locale/C-translit.h.in: Add entry for U20B9.
24152         Patch by pravin.d.s@gmail.com.
24154 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
24156         [BZ #12713]
24157         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24158         ENAMETOOLONG use generic getcwd.
24159         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
24160         in rtld.  Use *stat64.
24161         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24162         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24163         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24164         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24165         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24166         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24167         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24168         __fstatat64 macros.
24169         * include/dirent.h: Add libc_hidden_proto for rewinddir.
24170         * dirent/rewinddir.c: Add libc_hidden_def.
24171         * sysdeps/mach/hurd/rewinddir.c: Likewise.
24172         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
24174         * include/dirent.h (__alloc_dir): Add flags parameter.
24175         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24176         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24177         __alloc_dir.
24178         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
24179         from fdopendir if O_CLOEXEC is already set.
24181 2011-03-15  Alan Modra  <amodra@gmail.com>
24183         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24184         l_tls_firstbyte_offset non-zero.  Save padding offset in
24185         l_tls_firstbyte_offset for later use.
24186         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24187         freeing static tls block.
24189 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
24191         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24192         where #ifdef was intended.  The intent is to prevent ARG_MAX from
24193         being defined by the kernel headers.
24195 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
24197         [BZ #12734]
24198         * resolv/resolv.h: Define RES_NOTLDQUERY.
24199         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24200         no-tld-query and set RES_NOTLDQUERY.
24201         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24202         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24203         modern BIND to search name as TLD unless forbidden.
24205 2011-05-07  Petr Baudis  <pasky@suse.cz>
24206             Ulrich Drepper  <drepper@gmail.com>
24208         [BZ #12393]
24209         * elf/dl-load.c (fillin_rpath): Move trusted path check...
24210         (is_trusted_path): ...to here.
24211         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24212         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24213         using is_trusted_path_normalize() in setuid scripts.
24215 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24217         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24218         __BEGIN/__END_DECLS.
24220 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
24222         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24223         NSS_STATUS_NOTFOUND if no record was found.
24225 2011-05-05  Andreas Schwab  <schwab@redhat.com>
24227         * sunrpc/Makefile (headers): Add rpc/netdb.h.
24228         (headers-not-in-tirpc): Remove rpc/netdb.h
24229         * resolv/netdb.h: Revert last change.
24231 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24233         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24234         circular dependency between libgcc.a and libc.a.
24236 2011-05-05  Andreas Schwab  <schwab@redhat.com>
24238         * resolv/netdb.h: Don't include <rpc/netdb.h>.
24239         * nis/Makefile: Don't install rpcsvc/*.
24240         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24241         instead of <rpc/types.h>.
24242         (MAXHOSTNAMELEN): Define.
24244 2011-05-03  Andreas Schwab  <schwab@redhat.com>
24246         * elf/ldconfig.c (add_dir): Don't crash on empty path.
24248 2011-04-28  Maciej Babinski  <mbabinski@google.com>
24250         [BZ #12714]
24251         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24252         gethostbyname4_r when IPv6 results are possible.
24254 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
24256         [BZ #12723]
24257         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24258         _PC_PIPE_BUF handling.
24260 2011-04-30  Bruno Haible  <bruno@clisp.org>
24262         [BZ #12717]
24263         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24264         * resolv/netdb.h (getnameinfo): Change type of flags parameter
24265         to 'int'.
24266         * inet/getnameinfo.c (getnameinfo): Likewise.
24268 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
24270         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24271         to groups setting in database lookup.
24272         * nss/nsswitch.conf: Add initgroups entry.
24274 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
24276         [BZ #12685]
24277         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24278         mode string.
24279         Patch by Eric Blake <eblake@redhat.com>.
24281 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
24283         * sunrpc/Makefile (need-export-routines): Add svc_run.
24284         (routines): Remove svc_run.
24285         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24286         * sunrpc/clnt_perr.c (clnt_perrno): Export.
24287         * sunrpc/svc_run.c (svc_run): Likewise.
24288         * sunrpc/svc_udp.c (svcudp_create): Likewise.
24290 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
24292         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24293         problem in reallocation in last patch.
24295 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
24297         * sunrpc/Makefile: Move inclusion of Rules.
24299 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24301         * nss/nss_files/files-initgroups.c: New file.
24302         * nss/Makefile (libnss_files-routines): Add files-initgroups.
24303         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24304         _nss_files_initgroups_dyn.
24306 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
24308         * elf/elf.h (R_ARM_IRELATIVE): Define.
24310 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24312         * po/ru.po: Update from translation team.
24314 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
24316         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24317         dependencies.
24319 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
24321         [BZ #12653]
24322         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24323         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24324         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24325         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24326         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24328 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
24330         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24331         differing bytes.
24332         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24333         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24334         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24336 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
24338         [BZ #12420]
24339         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24340         storing it.
24341         * stdlib/bug-getcontext.c: New file.
24342         * stdlib/Makefile: Add rules to build and run bug-getcontext.
24344 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24346         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24347         instructions into .machine "z9-109".
24348         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24349         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24351 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24353         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24354         between environment variables and auxiliary vector.
24356 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
24358         * Makefile: Add rules to build linkobj/libc.so.
24359         * include/libc-symbols.h: Define libc_hidden_nolink.
24360         * include/rpc/auth.h: Mark functions which are to be hidden.
24361         * include/rpc/auth_des.h: Likewise.
24362         * include/rpc/auth_unix.h: Likewise.
24363         * include/rpc/clnt.h: Likewise.
24364         * include/rpc/des_crypt.h: Likewise.
24365         * include/rpc/key_prot.h: Likewise.
24366         * include/rpc/pmap_clnt.h: Likewise.
24367         * include/rpc/pmap_prot.h: Likewise.
24368         * include/rpc/pmap_rmt.h: Likewise.
24369         * include/rpc/rpc_msg.h: Likewise.
24370         * include/rpc/svc.h: Likewise.
24371         * include/rpc/svc_auth.h: Likewise.
24372         * include/rpc/xdr.h: Likewise.
24373         * nis/Makefile: Link all DSOs against linkobj/libc.so.
24374         * nss/Makefile: Likewise.
24375         * sunrpc/Makefile: Don't install headers.  Build library with normal
24376         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
24377         * sunrpc/auth_des.c: Hide exported symbols by default, export some
24378         for the compat linking library.  Remove use of INTDEF/INTUSE.
24379         * sunrpc/auth_none.c: Likewise.
24380         * sunrpc/auth_unix.c: Likewise.
24381         * sunrpc/authdes_prot.c: Likewise.
24382         * sunrpc/authuxprot.c: Likewise.
24383         * sunrpc/clnt_gen.c: Likewise.
24384         * sunrpc/clnt_perr.c: Likewise.
24385         * sunrpc/clnt_raw.c: Likewise.
24386         * sunrpc/clnt_simp.c: Likewise.
24387         * sunrpc/clnt_tcp.c: Likewise.
24388         * sunrpc/clnt_udp.c: Likewise.
24389         * sunrpc/clnt_unix.c: Likewise.
24390         * sunrpc/des_crypt.c: Likewise.
24391         * sunrpc/des_soft.c: Likewise.
24392         * sunrpc/get_myaddr.c: Likewise.
24393         * sunrpc/key_call.c: Likewise.
24394         * sunrpc/key_prot.c: Likewise.
24395         * sunrpc/netname.c: Likewise.
24396         * sunrpc/pm_getmaps.c: Likewise.
24397         * sunrpc/pm_getport.c: Likewise.
24398         * sunrpc/pmap_clnt.c: Likewise.
24399         * sunrpc/pmap_prot.c: Likewise.
24400         * sunrpc/pmap_prot2.c: Likewise.
24401         * sunrpc/pmap_rmt.c: Likewise.
24402         * sunrpc/publickey.c: Likewise.
24403         * sunrpc/rpc_cmsg.c: Likewise.
24404         * sunrpc/rpc_common.c: Likewise.
24405         * sunrpc/rpc_dtable.c: Likewise.
24406         * sunrpc/rpc_prot.c: Likewise.
24407         * sunrpc/rpc_thread.c: Likewise.
24408         * sunrpc/rtime.c: Likewise.
24409         * sunrpc/svc.c: Likewise.
24410         * sunrpc/svc_auth.c: Likewise.
24411         * sunrpc/svc_authux.c: Likewise.
24412         * sunrpc/svc_raw.c: Likewise.
24413         * sunrpc/svc_run.c: Likewise.
24414         * sunrpc/svc_simple.c: Likewise.
24415         * sunrpc/svc_tcp.c: Likewise.
24416         * sunrpc/svc_udp.c: Likewise.
24417         * sunrpc/svc_unix.c: Likewise.
24418         * sunrpc/svcauth_des.c: Likewise.
24419         * sunrpc/xcrypt.c: Likewise.
24420         * sunrpc/xdr.c: Likewise.
24421         * sunrpc/xdr_array.c: Likewise.
24422         * sunrpc/xdr_float.c: Likewise.
24423         * sunrpc/xdr_intXX_t.c: Likewise.
24424         * sunrpc/xdr_mem.c: Likewise.
24425         * sunrpc/xdr_rec.c: Likewise.
24426         * sunrpc/xdr_ref.c: Likewise.
24427         * sunrpc/xdr_sizeof.c: Likewise.
24428         * sunrpc/xdr_stdio.c: Likewise.
24430 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
24432         [BZ #12650]
24433         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24434         * sysdeps/ia64/dl-tls.h: Likewise.
24435         * sysdeps/powerpc/dl-tls.h: Likewise.
24436         * sysdeps/s390/dl-tls.h: Likewise.
24437         * sysdeps/sh/dl-tls.h: Likewise.
24438         * sysdeps/sparc/dl-tls.h: Likewise.
24439         * sysdeps/x86_64/dl-tls.h: Likewise.
24440         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24442 2011-03-14  Andreas Schwab  <schwab@redhat.com>
24444         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24445         rpath element also skip the following colon.
24446         (expand_dynamic_string_token): Add is_path parameter and pass
24447         down to DL_DST_REQUIRED and _dl_dst_substitute.
24448         (decompose_rpath): Call expand_dynamic_string_token with
24449         non-zero is_path.  Ignore empty rpaths.
24450         (_dl_map_object_from_fd): Call expand_dynamic_string_token
24451         with zero is_path.
24453 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
24455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24456         Make cancelable.
24458 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
24460         [BZ #12655]
24461         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24462         Patch by Filipe David Manana <fdmanana@apache.org>.
24464 2011-04-07  Andreas Schwab  <schwab@redhat.com>
24466         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24467         Maintain aligned stack.
24468         (CHECK_RSP): Remove unused macro.
24470 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
24472         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24473         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24475 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
24477         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24479         * include/features.h: Mention __USE_XOPEN2K8 in comment.
24481 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
24483         [BZ #12518]
24484         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24485         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24486         * sysdeps/x86_64/memmove.c: New file.
24487         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24488         (memcpy): Renamed to ...
24489         (__new_memcpy): This.
24490         (memcpy): Provide GLIBC_2_14 memcpy.
24491         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24492         (memcpy): Provide GLIBC_2_2_5 memcpy.
24494 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24496         [BZ #12631]
24497         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24499 2011-03-30  Andreas Schwab  <schwab@redhat.com>
24501         * misc/syncfs.c: New file.
24502         * misc/Makefile (routines): Add syncfs.
24503         * posix/unistd.h: Declare syncfs.
24504         * sysdeps/unix/syscalls.list: Add syncfs.
24506 2011-04-01  Andreas Schwab  <schwab@redhat.com>
24508         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24509         open_by_handle_at.
24510         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24511         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24512         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24513         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24514         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24515         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24516         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24518 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24520         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24521         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24522         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24523         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24524         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24525         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24526         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24528         * io/Makefile: Compile fallocate.c, fallocate64.c, and
24529         sync_file_range.c with -fexceptions.
24530         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24531         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24532         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24533         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24534         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24535         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24536         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24537         sync_file_range as cancellation point
24538         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
24539         now a wrapper around __call_sync_file_range with cancellation handling.
24540         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24541         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
24542         function name to __call_sync_file_range.
24543         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24544         Add call_sync_file_range.
24546 2011-04-01  Andreas Schwab  <schwab@redhat.com>
24548         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24549         bits/timex.h.
24551 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24553         * iconv/iconv.h: Fix typo in comment.
24554         * io/fcntl.h: Likewise.
24555         * libio/stdio.h: Likewise.
24556         * posix/spawn.h: Likewise.
24557         * posix/unistd.h: Likewise.
24558         * stdlib/stdlib.h: Likewise.
24559         * time/time.h: Likewise.
24560         * wcsmbs/wchar.h: Likewise.
24562         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24563         open_by_handle): Add.
24564         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24565         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
24566         Augment a few comments.
24567         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24568         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24569         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24570         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24571         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24572         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24573         open_by_handle.
24575         * io/fcntl.h (AT_EMPTY_PATH): Define.
24577 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
24579         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24580         * sysdeps/unix/sysv/linux/bits/time.h: New file.
24581         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24582         to...
24583         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
24584         * Versions.def: Add GLIBC_2.14.
24585         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24586         Export.
24588 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
24590         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24591         round counter.
24592         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24594 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24596         [BZ #12597]
24597         * string/test-strncmp.c (do_page_test): New function.
24598         (check2): Likewise.
24599         (test_main): Call check2.
24600         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24602 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
24604         [BZ #12587]
24605         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24606         Handle cache information in CPU leaf 4.
24607         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24609 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
24611         [BZ #12583]
24612         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24613         character representation.
24614         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24616 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
24618         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24619         END(__isnan) to END(__isnanf) to match function entry point/label
24620         EALIGN(__isnanf,...).
24622 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
24624         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24626 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
24628         [BZ #12510]
24629         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24630         copy from the symbol referenced in the relocation to initialize the
24631         used variable.
24632         Patch by Piotr Bury <pbury@goahead.com>.
24633         * elf/Makefile: Add rules to build and tst-unique3.
24634         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24635         * elf/tst-unique3.cc: New file.
24636         * elf/tst-unique3.h: New file.
24637         * elf/tst-unique3lib.cc: New file.
24638         * elf/tst-unique3lib2.cc: New file.
24640         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24642 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
24644         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24645         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
24646         to _start.
24648 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
24650         * elf/dl-load.c (_dl_map_object): If we are looking for the first
24651         to-be-loaded object along a path to loader is ld.so.
24653 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
24654             Ulrich Drepper  <drepper@gmail.com>
24656         * sysdeps/x86_64/memset.S: After aligning destination, code
24657         branches to different locations depending on the value of
24658         misalignment, when multiarch is enabled. Fix this.
24660 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
24662         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24663         Set _x86_64_preferred_memory_instruction for AMD processsors.
24664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24665         Set bit_Prefer_SSE_for_memop for AMD processors.
24667 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
24669         * libio/fmemopen.c (fmemopen): Optimize a bit.
24671 2011-03-03  Andreas Schwab  <schwab@redhat.com>
24673         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24675 2011-03-03  Roland McGrath  <roland@redhat.com>
24677         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24679 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
24681         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24682         __bzero_ultra1 instead of __memset_ultra1.
24684 2011-02-23  Andreas Schwab  <schwab@redhat.com>
24685             Ulrich Drepper  <drepper@gmail.com>
24687         [BZ #12509]
24688         * include/link.h (struct link_map): Add l_orig_initfini.
24689         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24690         returning unsuccessfully.
24691         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24692         close of a file loaded at startup, restore the original l_initfini
24693         list.
24694         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24695         list, store the pointer.
24696         * elf/Makefile ($(objpfx)noload-mem): New rule.
24697         (noload-ENV): Define.
24698         (tests): Add $(objpfx)noload-mem.
24699         * elf/noload.c: Include <memcheck.h>.
24700         (main): Call mtrace.  Close all opened handles.
24702 2011-02-17  Andreas Schwab  <schwab@redhat.com>
24704         [BZ #12454]
24705         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24706         dependencies are missing.
24708 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24710         Fix __if_freereq crash: Unlike the generic version which uses free,
24711         Hurd needs munmap.
24712         * sysdeps/mach/hurd/ifreq.h: New file.
24714 2011-01-27  Petr Baudis  <pasky@suse.cz>
24715             Ulrich Drepper  <drepper@gmail.com>
24717         [BZ 12445]#
24718         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24719         to extend_alloca().
24720         * stdio-common/bug23.c: New file.
24721         * stdio-common/Makefile (tests): Add bug23.
24723 2010-09-28  Andreas Schwab  <schwab@redhat.com>
24724             Ulrich Drepper  <drepper@gmail.com>
24726         [BZ #12489]
24727         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24728         before performing relro protection.  At old place add assertion
24729         to make sure nothing changed.
24731 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
24732             Glauber de Oliveira Costa  <glommer@gmail.com>
24734         * elf/elf.h: Add new ARM TLS relocs.
24736 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
24738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24739         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24740         cast from r3.
24741         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
24742         'tests' variable.
24743         * sysdeps/wordsize-64/tst-writev.c: New file.
24745 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
24747         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24748         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24749         insns in _dl_start to prevent a TOC reference before relocs are
24750         resolved.
24752 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
24754         [BZ #12469]
24755         * Makeconfig: Remove RANLIB definition.
24756         * Makerules: Don't use RANLIB.
24757         * aclocal.m4: Remove ranlib test.
24758         * configure.in: No need to check for ranlib.
24759         * elf/rtld-Rules: Don't use RANLIB.
24761 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24763         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24764         protection macro.
24765         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24766         inclusion protection macro.
24768         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24769         SIGRTMIN and SIGRTMAX and print information in that case only when
24770         SIGRTMIN is defined.
24772 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
24774         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24775         arginfo fn returning -1.
24777         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24778         and thousands string is zero terminated.
24780 2011-02-03  Andreas Schwab  <schwab@redhat.com>
24782         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24783         sysdeps/unix/sysv/linux/bits/socket.h.
24785 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24787         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24788         (__CPU_COUNT): Remove old macros.
24789         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24790         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24791         (__CPU_ALLOC, __CPU_FREE): Add macros.
24792         (__sched_cpualloc, __sched_cpufree): Add declarations.
24794 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
24796         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24797         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24798         * nscd/aicache.c (addhstaiX): Return timeout of added value.
24799         (readdhstai): Return value of addhstaiX call.
24800         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24801         (addgrbyX): Return value returned by cache_addgr.
24802         (readdgrbyname): Return value returned by addgrbyX.
24803         (readdgrbygid): Likewise.
24804         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24805         (addpwbyX): Return value returned by cache_addpw.
24806         (readdpwbyname): Return value returned by addhstbyX.
24807         (readdpwbyuid): Likewise.
24808         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24809         (addservbyX): Return value returned by cache_addserv.
24810         (readdservbyname): Return value returned by addservbyX:
24811         (readdservbyport): Likewise.
24812         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24813         (addhstbyX): Return value returned by cache_addhst.
24814         (readdhstbyname): Return value returned by addhstbyX.
24815         (readdhstbyaddr): Likewise.
24816         (readdhstbynamev6): Likewise.
24817         (readdhstbyaddrv6): Likewise.
24818         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24819         (readdinitgroups): Return value returned by addinitgroupsX.
24820         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24821         (prune_cache): Keep track of timeout value of re-added entries.
24822         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24823         * nscd/nscd.h: Adjust prototypes of readd* functions.
24825 2011-02-04  Roland McGrath  <roland@redhat.com>
24827         * nis/nis_server.c (nis_servstate): Use the right name for 0.
24828         (nis_stats): Likewise.
24829         * nis/nis_modify.c (nis_modify): Likewise.
24830         * nis/nis_remove.c (nis_remove): Likewise.
24831         * nis/nis_add.c (nis_add): Likewise.
24833         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24835         * posix/fnmatch_loop.c: Add some consts.
24837         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24839 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
24841         [BZ #12460]
24842         * config.make.in (config-cflags-novzeroupper): Define.
24843         * configure.in: Substitute libc_cv_cc_novzeroupper.
24844         * elf/Makefile (AVX-CFLAGS): Define.
24845         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24846         (CFLAGS-tst-auditmod4a.c): Likewise.
24847         (CFLAGS-tst-auditmod4b.c): Likewise.
24848         (CFLAGS-tst-auditmod6b.c): Likewise.
24849         (CFLAGS-tst-auditmod6c.c): Likewise.
24850         (CFLAGS-tst-auditmod7b.c): Likewise.
24851         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24853 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
24855         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24856         function to the callback.
24857         Patch partly by Jiri Olsa <jolsa@redhat.com>.
24859 2011-02-02  Andreas Schwab  <schwab@redhat.com>
24861         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24862         of errno.
24864 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
24866         [BZ #11724]
24867         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24868         of constructors.
24869         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24870         of destructors.
24871         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24873         [BZ #11724]
24874         * elf/Makefile: Add rules to build and run new test.
24875         * elf/tst-initorder.c: New file.
24876         * elf/tst-initorder.exp: New file.
24877         * elf/tst-initordera1.c: New file.
24878         * elf/tst-initordera2.c: New file.
24879         * elf/tst-initordera3.c: New file.
24880         * elf/tst-initordera4.c: New file.
24881         * elf/tst-initorderb1.c: New file.
24882         * elf/tst-initorderb2.c: New file.
24883         * elf/tst-order-a1.c: New file.
24884         * elf/tst-order-a2.c: New file.
24885         * elf/tst-order-a3.c: New file.
24886         * elf/tst-order-a4.c: New file.
24887         * elf/tst-order-b1.c: New file.
24888         * elf/tst-order-b2.c: New file.
24889         * elf/tst-order-main.c: New file.
24890         New test case by George Gensure <werkt0@gmail.com>.
24892 2010-10-01  Andreas Schwab  <schwab@redhat.com>
24894         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24895         decoding ACE if AI_CANONIDN.
24897 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
24899         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24901 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
24903         * version.h (RELEASE): Bump for 2.13 release.
24904         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24906         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24908         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24909         MADV_NOHUGEPAGE.
24910         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24911         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24912         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24913         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24914         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24915         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24917         * posix/getconf.c: Update copyright year.
24918         * catgets/gencat.c: Likewise.
24919         * csu/version.c: Likewise.
24920         * debug/catchsegv.sh: Likewise.
24921         * debug/xtrace.sh: Likewise.
24922         * elf/ldconfig.c: Likewise.
24923         * elf/ldd.bash.in: Likewise.
24924         * elf/sprof.c (print_version): Likewise.
24925         * iconv/iconv_prog.c: Likewise.
24926         * iconv/iconvconfig.c: Likewise.
24927         * locale/programs/locale.c: Likewise.
24928         * locale/programs/localedef.c: Likewise.
24929         * malloc/memusage.sh: Likewise.
24930         * malloc/mtrace.pl: Likewise.
24931         * nscd/nscd.c (print_version): Likewise.
24932         * nss/getent.c: Likewise.
24934         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24935         PF_CAIF, and PF_ALG.
24936         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24938 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
24940         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24941         (modules-names): Use them.
24942         (ifunc-test-modules, ifunc-pie-tests): Define.
24943         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24944         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24945         (test-extras): Likewise.
24946         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24947         $(compile-command.c).
24948         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24949         (all-built-dso): Define.
24950         (check-textrel.out, check-execstack.out): Depend on it.
24952         * configure.in: Don't override --enable-multi-arch.
24954 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
24956         [BZ #6812]
24957         * nscd/hstcache.c (tryagain): Define.
24958         (cache_addhst): Return tryagain not notfound for temporary errors.
24959         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24960         failed.
24962 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
24964         [BZ #10563]
24965         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24966         to make the syscall.
24967         * sysdeps/unix/sysv/linux/setgroups.c: New file.
24969         [BZ #12378]
24970         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24971         and fall back to matching as normal character if the string ends before
24972         the matching ']' is found.  This is what POSIX requires.
24973         * posix/testfnm.c: Adjust test result.
24974         * posix/globtest.sh: Adjust test result.  Add new test.
24975         * posix/tst-fnmatch.input: Likewise.
24976         * posix/tst-fnmatch2.c: Add new test.
24978 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
24980         * elf/Makefile (check-execstack): Revert last change.  Depend on
24981         check-execstack.h.
24982         (check-execstack.h): New target.
24983         (generated): Add check-execstack.h.
24984         * elf/check-execstack.c: Include "check-execstack.h".
24985         (main): Revert last change.
24986         (handle_file): Return zero if GNU_STACK is absent and
24987         DEFAULT_STACK_PERMS doesn't include PF_X.
24989 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
24991         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24992         in child fails because the descriptor is already closed.
24993         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24994         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24995         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24997         [BZ #12397]
24998         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24999         syscall.
25001         [BZ #10484]
25002         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25003         temporary buffer used to handle multi lookups locally.
25004         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25006 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25008         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25009         loader is ld.so.
25011 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
25013         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25014         alignment for SSE2.
25016 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25018         [BZ #12394]
25019         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25020         characters.  When rounding increased number of integer digits recompute
25021         number of groups.
25022         * stdio-common/tst-grouping.c: New file.
25023         * stdio-common/Makefile: Add rules to build and run tst-grouping.
25025 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
25027         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25028         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
25030         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25031         void.
25032         * bits/select.h: Likewise.
25034 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
25036         * po/ja.po: Update from translation team.
25038 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
25040         [BZ #11155]
25041         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25042         implementation just like for lxstat, fxstatat, et al.
25044 2010-12-27  Jim Meyering  <meyering@redhat.com>
25046         [BZ #12348]
25047         * posix/regexec.c (build_trtable): Return failure indication upon
25048         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
25050 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
25052         [BZ #12201]
25053         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25054         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25055         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25056         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25058         [BZ #12207]
25059         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25061         [BZ #12204]
25062         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25063         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25065 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25067         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25068         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25069         script has SORT_BY_INIT_PRIORITY.
25070         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25071         NO_CTORS_DTORS_SECTIONS is defined.
25072         * elf/soinit.c: Likewise.
25073         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25074         NO_CTORS_DTORS_SECTIONS is defined.
25075         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25076         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25077         * sysdeps/sh/init-first.c: Likewise.
25078         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25080 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
25082         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25083         always use the slow path.
25085 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
25087         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25088         similar rule which adds the sysdep directories to the header search in
25089         order to pick up the correct platform stackinfo.h.
25090         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25091         perform test if it is, otherwise return successfully without testing.
25092         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25093         DEFAULT_STACK_PERMS define in stackinfo.h.
25094         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25095         defined in stackinfo.h.
25096         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25097         DEFAULT_STACK_PERMS defined in stackinfo.h.
25098         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25099         * sysdeps/ia64/stackinfo.h: Likewise.
25100         * sysdeps/s390/stackinfo.h: Likewise.
25101         * sysdeps/sh/stackinfo.h: Likewise.
25102         * sysdeps/sparc/stackinfo.h: Likewise.
25103         * sysdeps/x86_64/stackinfo.h: Likewise.
25104         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25105         PF_X for powerpc64.  Retain PF_X for powerpc32.
25107 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
25109         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25110         accurately.
25111         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25112         GETDENTS_64BIT_ALIGNED.
25114 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
25116         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25118 2010-12-10  Andreas Schwab  <schwab@redhat.com>
25120         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25121         _GNU_SOURCE.
25123         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25124         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25125         Remove __restrict.
25126         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25127         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25129 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
25131         [BZ #11655]
25132         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25133         are initialized.
25135 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
25137         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25139 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
25141         * po/it.po: Update from translation team.
25143 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
25145         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25146         unused codes.
25148 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
25150         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25152 2010-11-24  Andreas Schwab  <schwab@redhat.com>
25154         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25155         specially.
25156         (gaih_getanswer_slice): Likewise.
25158 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
25160         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25162 2010-05-31  Petr Baudis  <pasky@suse.cz>
25164         [BZ #11149]
25165         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25166         silently even in the chroot mode.
25168 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
25170         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25171         last patch a bit.  Pretty printing
25173 2010-05-31  Petr Baudis <pasky@suse.cz>
25175         [BZ #10085]
25176         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25177         initialization of skip_initgroups_dyn.
25179 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
25181         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25182         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25184 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
25186         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25188 2010-11-11  Andreas Schwab  <schwab@redhat.com>
25190         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25191         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25192         (tst-fnmatch-ENV): Set MALLOC_TRACE.
25193         ($(objpfx)tst-fnmatch-mem): New rule.
25194         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25195         * posix/tst-fnmatch.c (main): Call mtrace.
25197 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
25199         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25200         Support Intel processor model 6 and model 0x2c.
25202 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
25204         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25205           signed comparison.
25207 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
25209         [BZ #12205]
25210         * string/test-strncasecmp.c (check_result): New function.
25211         (do_one_test): Use it.
25212         (check1): New function.
25213         (test_main): Use it.
25214         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25215         Support strcasecmp and strncasecmp.
25217 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
25219         [BZ #12194]
25220         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25221         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25223 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25225         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25226         IFUNC support.
25227         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25228         memset-x86-64.
25229         * sysdeps/x86_64/multiarch/bzero.S: New file.
25230         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25231         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25232         * sysdeps/x86_64/multiarch/memset.S: New file.
25233         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25234         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25235         Set bit_Prefer_SSE_for_memop for Intel processors.
25236         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25237         Define.
25238         (index_Prefer_SSE_for_memop): Define.
25239         (HAS_PREFER_SSE_FOR_MEMOP): Define.
25241 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
25243         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25244         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25246 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
25248         [BZ #12191]
25249         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25250         (__x86_64_raw_data_cache_size_half): Likewise.
25251         (__x86_64_raw_shared_cache_size): Likewise.
25252         (__x86_64_raw_shared_cache_size_half): Likewise.
25254         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25255         (__x86_64_raw_data_cache_size_half): Likewise.
25256         (__x86_64_raw_shared_cache_size): Likewise.
25257         (__x86_64_raw_shared_cache_size_half): Likewise.
25258         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25259         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25260         and __x86_64_raw_shared_cache_size_half.  Round
25261         __x86_64_data_cache_size_half, __x86_64_data_cache_size
25262         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25263         to multiple of 256 bytes.
25265 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
25267         [BZ #12167]
25268         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25269         of inacessible symlinks.  Verify result of symlink before returning it.
25270         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25271         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25273 2010-10-28  Erich Ritz  <erichritz@gmail.com>
25275         * math/math.h (isinf): Fix typo in comment.
25277 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
25279         * po/da.po: Update from translation team.
25281 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
25283         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25284         is added to the list.
25286 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25287             Ulrich Drepper  <drepper@gmail.com>
25289         * elf/dl-object.c (_dl_new_object): Don't append the new object to
25290         the global list here.  Move code to...
25291         (_dl_add_to_namespace_list): ...here.  New function.
25292         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25293         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25294         * elf/dl-load.c (lose): Don't remove the element from the list.
25295         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25296         (_dl_map_object): Likewise.
25298 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
25300         [BZ #12159]
25301         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25302         into all bytes of SSE register.
25303         Patch by Richard Li <richardpku@gmail.com>.
25305 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
25307         [BZ #12140]
25308         * malloc/malloc.c (_int_free): Fill correct number of bytes when
25309         perturbing.
25311 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
25313         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25314         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25315         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25316         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25318         submachine.
25319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25321 2010-10-22  Andreas Schwab  <schwab@redhat.com>
25323         * include/dlfcn.h (__RTLD_SECURE): Define.
25324         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
25325         mode & __RTLD_SECURE instead.
25326         (open_path): Rename preloaded parameter to secure.
25327         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25328         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25329         * elf/dl-deps.c (openaux): Likewise.
25330         * elf/rtld.c (struct map_args): Remove is_preloaded.
25331         (map_doit): Don't use it.
25332         (dl_main): Likewise.
25333         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25334         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25336 2010-09-09  Andreas Schwab  <schwab@redhat.com>
25338         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25339         (sysd-rules-targets): Remove duplicates.
25340         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25341         rtld-%.$o dependency.
25343 2010-10-18  Andreas Schwab  <schwab@redhat.com>
25345         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25346         _dl_map_object do it.
25348 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
25350         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25351         fast fma builtins, define the macros in the C99 standard.
25352         (FP_FAST_FMAF): Likewise.
25353         (FP_FAST_FMAL): Likewise.
25354         * sysdeps/x86_64/bits/mathdef.h: Likewise.
25356         * bits/mathdef.h: Update copyright year.
25357         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25359 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
25361         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25362         builtins, define the macros in the C99 standard.
25363         (FP_FAST_FMAF): Likewise.
25364         (FP_FAST_FMAL): Likewise.
25365         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25366         multiply/add.
25367         (FP_FAST_FMAF): Likewise.
25369 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
25371         [BZ #3268]
25372         * math/libm-test.inc (fma_test): Some new testcases.
25373         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25374         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25375         y and infinite z.  Do multiplication by C already in long double.
25376         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25377         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25378         y and infinite z.  Do bitwise or of inexact bit into u.d.
25379         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25380         * sysdeps/i386/fpu/s_fmaf.S: Removed.
25381         * sysdeps/i386/fpu/s_fma.S: Removed.
25382         * sysdeps/i386/fpu/s_fmal.S: Removed.
25384 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
25386         [BZ #3268]
25387         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25388         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25389         computation is not scheduled after fetestexcept.  Fix value
25390         of minimum denormal long double.
25392 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
25394         [BZ #3268]
25395         * math/libm-test.inc (fma_test): Add some more tests.
25396         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25397         correctly.
25399 2010-10-15  Andreas Schwab  <schwab@redhat.com>
25401         * scripts/data/localplt-s390-linux-gnu.data: New file.
25402         * scripts/data/localplt-s390x-linux-gnu.data: New file.
25404 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
25406         [BZ #3268]
25407         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25408         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25409         instead of dbl-64.
25410         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25411         inlines.
25412         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25413         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25414         if one of x and y is very large and the other is subnormal.
25415         * sysdeps/s390/fpu/s_fmaf.c: New file.
25416         * sysdeps/s390/fpu/s_fma.c: New file.
25417         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25418         * sysdeps/powerpc/fpu/s_fma.S: New file.
25419         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25420         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25421         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25423 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
25425         [BZ #3268]
25426         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25427         fma tests.
25428         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25429         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25430         * sysdeps/i386/i686/multiarch/s_fma.c: Include
25431         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25432         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25433         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25434         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25436 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
25438         [BZ #12078]
25439         * posix/regcomp.c (parse_branch): One more memory leak plugged.
25440         * posix/bug-regex31.input: Add test case.
25442 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
25444         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25445         * posix/bug-regex31.input: New file.
25447         [BZ #12078]
25448         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25449         (parse_sub_exp): Fix last change, use postorder.
25451         * posix/bug-regex31.c: New file.
25452         * posix/Makefile: Add rules to build and run bug-regex31.
25454         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25456         [BZ #12078]
25457         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25459         [BZ #12108]
25460         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25461         to have entries in sys_siglist.
25463         [BZ #12093]
25464         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25465         be NULL.
25467 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
25469         [BZ #3268]
25470         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25471         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25472         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25473         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25474         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25475         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25476         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25477         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25478         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25479         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25480         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25481         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25482         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25483         * math/ftestexcept.c (fetestexcept): Likewise.
25484         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25485         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25486         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25487         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25488         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25489         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25490         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25492 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
25494         [BZ #12107]
25495         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25496         newline.
25498 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
25500         * string/bug-strstr1.c: New file.
25501         * string/Makefile: Add rules to build and run bug-strstr1.
25503 2010-10-05  Eric Blake  <eblake@redhat.com>
25505         [BZ #12092]
25506         * string/str-two-way.h (two_way_long_needle): Always clear memory
25507         when skipping input due to the shift table.
25509 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
25511         [BZ #12005]
25512         * malloc/mcheck.c: Handle large requests.
25514         [BZ #12077]
25515         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25516         for strncmp and strncasecmp.
25517         * string/stratcliff.c: Add tests for strcmp and strncmp.
25518         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25520 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25522         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25523         __set_fpscr.
25525 2010-09-30  Andreas Jaeger  <aj@suse.de>
25527         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25528         (CGROUP_SUPER_MAGIC): Define.
25529         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25530         Handle btrfs and cgroup file systems.
25531         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25532         Likewise.
25534 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
25536         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25537         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25539 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25541         [BZ #12067]
25542         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25543         trying to locate the ELF header.
25545 2010-09-27  Andreas Schwab  <schwab@redhat.com>
25547         [BZ #11611]
25548         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25549         Mask out sign-bit copies when constructing f_fsid.
25551 2010-09-24  Petr Baudis <pasky@suse.cz>
25553         * debug/stack_chk_fail_local.c: Add missing licence exception.
25554         * debug/warning-nop.c: Likewise.
25556 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
25558         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25559         implementing getdents64 using getdents syscall, set d_type if
25560         __ASSUME_GETDENTS32_D_TYPE.
25562 2010-09-16  Andreas Schwab  <schwab@redhat.com>
25564         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25565         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25567 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
25569         [BZ #12037]
25570         * posix/unistd.h: Undo change of feature selection for ftruncate from
25571         2010-01-11.
25573 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
25575         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25576         detection.
25578 2010-09-20  Andreas Schwab  <schwab@redhat.com>
25580         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25581         fanotify_mark.
25582         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25584 2010-09-14  Andreas Schwab  <schwab@redhat.com>
25586         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25587         variables after CHECK_SP call.
25588         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25590 2010-09-13  Andreas Schwab  <schwab@redhat.com>
25591             Ulrich Drepper  <drepper@redhat.com>
25593         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25594         re-relocationg ld.so.
25595         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25596         _dl_init_paths call.
25597         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
25598         here anymore.
25600 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
25602         * resolv/res_init.c (__res_vinit): Count the default server we added.
25604 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
25605             Ulrich Drepper  <drepper@redhat.com>
25607         [BZ #11968]
25608         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25609         (____longjmp_chk): Use %ebx for saving value across system call.
25610         Add unwind info.
25612 2010-09-06  Andreas Schwab  <schwab@redhat.com>
25614         * manual/Makefile: Don't mix pattern rules with normal rules.
25616 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25618         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25619         operation.
25620         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25621         * libio/iofopncook.c (_IO_cookie_init): Likewise.
25622         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25623         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25624         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25625         Likewise.
25627 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
25629         [BZ #11979]
25630         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25631         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25633 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
25635         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25636         * sysdeps/x86_64/addmul_1.S: Likewise.
25637         * sysdeps/x86_64/lshift.S: Likewise.
25638         * sysdeps/x86_64/mul_1.S: Likewise.
25639         * sysdeps/x86_64/rshift.S: Likewise.
25640         * sysdeps/x86_64/sub_n.S: Likewise.
25641         * sysdeps/x86_64/submul_1.S: Likewise.
25643 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25645         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25646         Define __sched_param instead of SCHED_* and sched_param when
25647         <bits/sched.h> is included with __need_schedparam defined.
25648         * bits/sched.h [__need_schedparam]
25649         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25650         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25651         (__defined_schedparam): Define to 1.
25652         (__sched_param): New structure, identical to sched_param.
25653         (__need_schedparam): Undefine.
25655 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
25657         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25658         (epoll_create1): Declare.
25660         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25662 2010-08-31  Andreas Schwab  <schwab@redhat.com>
25664         [BZ #7066]
25665         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25666         shifting retval into place.
25668 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
25670         * nis/rpcsvc/nis.h: Update copyright notice.
25671         * nis/rpcsvc/nis.x: Likewise.
25672         * nis/rpcsvc/nis_callback.h: Likewise.
25673         * nis/rpcsvc/nis_callback.x: Likewise.
25674         * nis/rpcsvc/nis_object.x: Likewise.
25675         * nis/rpcsvc/nis_tags.h: Likewise.
25676         * nis/rpcsvc/yp.h: Likewise.
25677         * nis/rpcsvc/yp.x: Likewise.
25678         * nis/rpcsvc/ypupd.h: Likewise.
25679         * nis/yp_xdr.c: Likewise.
25680         * nis/ypupdate_xdr.c: Likewise.
25682         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
25683         mainly the body of pmap_getport.  Add parameters to specify timeouts.
25684         (pmap_getport): Use __libc_rpc_getport.
25685         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25686         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25687         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25689 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
25691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25692         fanotify_mark.
25694 2010-08-27  Roland McGrath  <roland@redhat.com>
25696         * sysdeps/i386/i686/multiarch/Makefile
25697         (CFLAGS-varshift.c): New variable.
25699 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
25701         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25702         * sysdeps/i386/i686/multiarch/varshift.c: New file.
25704         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25706         * sysdeps/x86_64/strlen.S: Minimal code improvement.
25708 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
25710         * sysdeps/x86_64/strlen.S: Unroll the loop.
25711         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25712         strlen-sse2 strlen-sse2-bsf.
25713         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25714         __strlen_no_bsf if bit_Slow_BSF is set.
25715         (__strlen_sse42): Removed.
25716         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25717         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25719 2010-08-25  Roland McGrath  <roland@redhat.com>
25721         * sysdeps/x86_64/multiarch/varshift.S: File removed.
25722         * sysdeps/x86_64/multiarch/varshift.c: New file.
25723         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25724         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25725         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25726         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25728 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25730         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25731         strlen-sse2 strlen-sse2-bsf.
25732         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25733         __strlen_sse2_bsf if bit_Slow_BSF is unset.
25734         (__strlen_sse2): Removed.
25735         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25736         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25738         bit_Slow_BSF for Atom.
25739         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25740         (index_Slow_BSF): Define.
25741         (HAS_SLOW_BSF): Define.
25743 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
25745         [BZ #10851]
25746         * resolv/res_init.c (__res_vinit): When no server address at all
25747         is given default to loopback.
25749 2010-08-24  Roland McGrath  <roland@redhat.com>
25751         * configure.in: Remove config-name.h generation.
25752         * configure: Regenerated.
25753         * config-name.in: File removed.
25754         * scripts/config-uname.sh: New file.
25755         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25756         ($(objdir)config-name.h): New target.
25758         * sunrpc/rpc_parse.h: Avoid nested comment.
25760 2010-08-24  Richard Henderson  <rth@redhat.com>
25761             Ulrich Drepper  <drepper@redhat.com>
25762             H.J. Lu  <hongjiu.lu@intel.com>
25764         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25765         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25766         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25767         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
25768         _mm_alignr_epi8 with _mm_loadu_si128.
25769         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25770         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25771         (__m128i_shift_right): Removed.
25772         * sysdeps/i386/i686/multiarch/varshift.h: New file.
25773         * sysdeps/i386/i686/multiarch/varshift.S: New file.
25774         * sysdeps/x86_64/multiarch/varshift.h: New file.
25775         * sysdeps/x86_64/multiarch/varshift.S: New file.
25777 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
25779         * configure.in: Move assembler checks to before sysdep dir checking.
25781 2010-08-20  Petr Baudis  <pasky@suse.cz>
25783         * LICENSES: Sync the sunrpc license.
25785 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
25787         * sunrpc/auth_des.c: Update copyright notice once again.
25788         * sunrpc/auth_none.c: Likewise.
25789         * sunrpc/auth_unix.c: Likewise.
25790         * sunrpc/authdes_prot.c: Likewise.
25791         * sunrpc/authuxprot.c: Likewise.
25792         * sunrpc/bindrsvprt.c: Likewise.
25793         * sunrpc/clnt_gen.c: Likewise.
25794         * sunrpc/clnt_perr.c: Likewise.
25795         * sunrpc/clnt_raw.c: Likewise.
25796         * sunrpc/clnt_simp.c: Likewise.
25797         * sunrpc/clnt_tcp.c: Likewise.
25798         * sunrpc/clnt_udp.c: Likewise.
25799         * sunrpc/clnt_unix.c: Likewise.
25800         * sunrpc/des_crypt.c: Likewise.
25801         * sunrpc/des_soft.c: Likewise.
25802         * sunrpc/get_myaddr.c: Likewise.
25803         * sunrpc/getrpcport.c: Likewise.
25804         * sunrpc/key_call.c: Likewise.
25805         * sunrpc/key_prot.c: Likewise.
25806         * sunrpc/openchild.c: Likewise.
25807         * sunrpc/pm_getmaps.c: Likewise.
25808         * sunrpc/pm_getport.c: Likewise.
25809         * sunrpc/pmap_clnt.c: Likewise.
25810         * sunrpc/pmap_prot.c: Likewise.
25811         * sunrpc/pmap_prot2.c: Likewise.
25812         * sunrpc/pmap_rmt.c: Likewise.
25813         * sunrpc/rpc/auth.h: Likewise.
25814         * sunrpc/rpc/auth_unix.h: Likewise.
25815         * sunrpc/rpc/clnt.h: Likewise.
25816         * sunrpc/rpc/des_crypt.h: Likewise.
25817         * sunrpc/rpc/key_prot.h: Likewise.
25818         * sunrpc/rpc/netdb.h: Likewise.
25819         * sunrpc/rpc/pmap_clnt.h: Likewise.
25820         * sunrpc/rpc/pmap_prot.h: Likewise.
25821         * sunrpc/rpc/pmap_rmt.h: Likewise.
25822         * sunrpc/rpc/rpc.h: Likewise.
25823         * sunrpc/rpc/rpc_des.h: Likewise.
25824         * sunrpc/rpc/rpc_msg.h: Likewise.
25825         * sunrpc/rpc/svc.h: Likewise.
25826         * sunrpc/rpc/svc_auth.h: Likewise.
25827         * sunrpc/rpc/types.h: Likewise.
25828         * sunrpc/rpc/xdr.h: Likewise.
25829         * sunrpc/rpc_clntout.c: Likewise.
25830         * sunrpc/rpc_cmsg.c: Likewise.
25831         * sunrpc/rpc_common.c: Likewise.
25832         * sunrpc/rpc_cout.c: Likewise.
25833         * sunrpc/rpc_dtable.c: Likewise.
25834         * sunrpc/rpc_hout.c: Likewise.
25835         * sunrpc/rpc_main.c: Likewise.
25836         * sunrpc/rpc_parse.c: Likewise.
25837         * sunrpc/rpc_parse.h: Likewise.
25838         * sunrpc/rpc_prot.c: Likewise.
25839         * sunrpc/rpc_sample.c: Likewise.
25840         * sunrpc/rpc_scan.c: Likewise.
25841         * sunrpc/rpc_scan.h: Likewise.
25842         * sunrpc/rpc_svcout.c: Likewise.
25843         * sunrpc/rpc_tblout.c: Likewise.
25844         * sunrpc/rpc_util.c: Likewise.
25845         * sunrpc/rpc_util.h: Likewise.
25846         * sunrpc/rpcinfo.c: Likewise.
25847         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25848         * sunrpc/rpcsvc/key_prot.x: Likewise.
25849         * sunrpc/rpcsvc/klm_prot.x: Likewise.
25850         * sunrpc/rpcsvc/mount.x: Likewise.
25851         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25852         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25853         * sunrpc/rpcsvc/rex.x: Likewise.
25854         * sunrpc/rpcsvc/rstat.x: Likewise.
25855         * sunrpc/rpcsvc/rusers.x: Likewise.
25856         * sunrpc/rpcsvc/sm_inter.x: Likewise.
25857         * sunrpc/rpcsvc/spray.x: Likewise.
25858         * sunrpc/rpcsvc/yppasswd.x: Likewise.
25859         * sunrpc/rtime.c: Likewise.
25860         * sunrpc/svc.c: Likewise.
25861         * sunrpc/svc_auth.c: Likewise.
25862         * sunrpc/svc_authux.c: Likewise.
25863         * sunrpc/svc_raw.c: Likewise.
25864         * sunrpc/svc_run.c: Likewise.
25865         * sunrpc/svc_simple.c: Likewise.
25866         * sunrpc/svc_tcp.c: Likewise.
25867         * sunrpc/svc_udp.c: Likewise.
25868         * sunrpc/svc_unix.c: Likewise.
25869         * sunrpc/svcauth_des.c: Likewise.
25870         * sunrpc/xcrypt.c: Likewise.
25871         * sunrpc/xdr.c: Likewise.
25872         * sunrpc/xdr_array.c: Likewise.
25873         * sunrpc/xdr_float.c: Likewise.
25874         * sunrpc/xdr_mem.c: Likewise.
25875         * sunrpc/xdr_rec.c: Likewise.
25876         * sunrpc/xdr_ref.c: Likewise.
25877         * sunrpc/xdr_sizeof.c: Likewise.
25878         * sunrpc/xdr_stdio.c: Likewise.
25880         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25881         handling.
25883 2010-08-19  Andreas Schwab  <schwab@redhat.com>
25885         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25887 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
25889         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25890         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25891         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25892         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25893         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25894         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25895         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25896         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25897         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25898         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25899         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25900         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25901         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25902         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25904 2010-07-26  Anton Blanchard  <anton@samba.org>
25906         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25907         * malloc/arena.c (heap_trim): Likewise.
25909 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
25911         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25912         here.  Not...
25913         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25914         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25916 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25918         * sysdeps/i386/elf/Makefile: New file.
25920 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
25922         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25923         from fanotify_init.
25924         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25925         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25927 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
25929         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25930         of strncasecmp_l.
25931         * sysdeps/multiarch/strcmp.S: Likewise.
25933 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
25935         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25936         strncase_l-nonascii.
25937         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25938         Add strncase_l-ssse3.
25939         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25940         * sysdeps/x86_64/strcmp.S: Likewise.
25941         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25942         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25943         * sysdeps/x86_64/strncase.S: New file.
25944         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25945         * sysdeps/x86_64/strncase_l.S: New file.
25946         * string/Makefile (strop-tests): Add strncasecmp.
25947         * string/test-strncasecmp.c: New file.
25949         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25950         warning.
25952         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25953         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25955 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
25957         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25959 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
25961         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25962         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25963         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25965 2010-05-01  Alan Modra  <amodra@gmail.com>
25967         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25968         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25969         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25970         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25971         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25972         tidying.  Don't tail-call __sigjmp_save for static lib.
25973         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25974         save location.
25975         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25976         (CALL_MCOUNT): Add eh info, and nop after bl.
25977         (TAIL_CALL_SYSCALL_ERROR): New macro.
25978         (PSEUDO_RET): Use it.
25979         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25980         Correct save location of integer regs and cr.
25981         (_dl_profile_resolve): Correct cr save location.  Delete nops
25982         after bl when SHARED.  Reduce cfi size a little by better
25983         placement of cfi directives.
25984         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25985         make a stack frame.  Instead use parm save area as a temp.
25986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25987         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
25988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25989         Don't make a stack frame for parent, use parm save area.
25990         Increase child stack frame to 112 bytes.  Don't save unused reg,
25991         and adjust reg usage.  Set up cfi on error recovery and
25992         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25994         (__makecontext): Add dummy nop after jump to exit.
25995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25996         Use correct parm save area and cr save, reduce stack frame.
25997         Correct cfi for possible PSEUDO_RET frame setup.
25998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25999         Branch to local label emitted by PSEUDO_RET rather than
26000         __syscall_error.
26002 2010-08-12  Andreas Schwab  <schwab@redhat.com>
26004         [BZ #11904]
26005         * locale/programs/locale.c (print_assignment): New function.
26006         (show_locale_vars): Use it.
26008 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
26010         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26011         field.
26012         (struct statfs64): Likewise.
26013         (_STATFS_F_FLAGS): Define.
26014         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26015         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26016         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26017         (ST_VALID): Define locally.
26018         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26019         __statvfs_getflags, use the provided value.
26020         * sysdeps/unix/sysv/linux/kernel-features.h: Define
26021         __ASSUME_STATFS_F_FLAGS.
26023         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26025         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26026         Add sys/fanotify.h.
26027         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26028         fanotify_mask for GLIBC_2.13.
26029         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26030         fanotify_init and fanotify_mark.
26031         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26032         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26034         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26035         Add prlimit.
26036         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26037         prlimit64 for GLIBC_2.13.
26038         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26039         prlimit64.
26040         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26041         syscall.
26042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26043         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26044         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26045         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26046         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
26047         add prlimit alias.
26048         * sysdeps/unix/sysv/linux/prlimit.c: New file.
26050         [BZ #11903]
26051         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26052         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26054         * nss/Makefile: Add rules to build and run tst-nss-test1.
26055         * shlib-versions: Add entry for libnss_test1.
26056         * nss/nss_test1.c: New file.
26057         * nss/tst-nss-test1.c: New file.
26059         * nss/nsswitch.c (__nss_database_custom): Define new variable.
26060         (__nss_configure_lookup): Set appropriate entry in
26061         __nss_configure_lookup to true.
26062         * nss/nsswitch.h: Define enum with indeces of databases in
26063         databases and __nss_database_custom arrays.  Declare
26064         __nss_database_custom.
26065         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26066         to avoid using nscd when custom rules are installed.
26067         * nss/getXXbyYY_r.c: Likewise.
26068         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26070         * nss/nss_files/files-parse.c: Whitespace fixes.
26072 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
26074         [BZ #11883]
26075         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26076         * posix/fnmatch_loop.c: Likewise.
26078 2010-07-17  Andi Kleen  <ak@linux.intel.com>
26080         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26081         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26082         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26083         * Versions.def [GLIBC_2.13]: Add.
26085 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
26087         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26088         Also fail if tpwd after pwuid call is NULL.
26090 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26092         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26093         when converting to ms.
26095 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26097         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26098         EOPNOTSUPP errors with ENOTTY.
26099         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26100         EOPNOTSUPP errors with ENOTTY.
26102 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
26104         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26105         Add strcasecmp_l-ssse3.
26106         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26107         strcasecmp.
26108         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26109         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26110         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26112 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
26114         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26116         * string/Makefile (strop-tests): Add strcasecmp.
26117         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26118         strcasecmp_l-nonascii.
26119         (gen-as-const-headers): Add locale-defines.sym.
26120         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26121         * sysdeps/x86_64/strcasecmp.S: New file.
26122         * sysdeps/x86_64/strcasecmp_l.S: New file.
26123         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26124         * sysdeps/x86_64/locale-defines.sym: New file.
26125         * string/test-strcasecmp.c: New file.
26127         * string/test-strcasestr.c: Test both ends of the range of characters.
26128         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26130 2010-07-29  Roland McGrath  <roland@redhat.com>
26132         [BZ #11856]
26133         * manual/locale.texi (Yes-or-No Questions): Fix example code.
26135 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
26137         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26138         for ld.so.
26140 2010-07-27  Andreas Schwab  <schwab@redhat.com>
26142         * manual/memory.texi (Malloc Tunable Parameters): Document
26143         M_PERTURB.
26145 2010-07-26  Roland McGrath  <roland@redhat.com>
26147         [BZ #11840]
26148         * configure.in (-fgnu89-inline check): Set and substitute
26149         gnu89_inline, not libc_cv_gnu89_inline.
26150         * configure: Regenerated.
26151         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26153 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
26155         * string/test-strnlen.c: New file.
26156         * string/Makefile (strop-tests): Add strnlen.
26157         * string/tester.c (test_strnlen): Add a few more test cases.
26158         * string/tst-strlen.c: Better error reporting.
26160         * sysdeps/x86_64/strnlen.S: New file.
26162 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
26164         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26165         lower-latency instructions.
26167 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
26169         * string/test-strcasestr.c: New file.
26170         * string/test-strstr.c: New file.
26171         * string/Makefile (strop-tests): Add strstr and strcasestr.
26172         * string/str-two-way.h: Don't undefine MAX.
26173         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26175 2010-07-21  Andreas Schwab  <schwab@redhat.com>
26177         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26178         strcasestr-nonascii.
26179         (CFLAGS-strcasestr-nonascii.c): Define.
26180         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26181         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26182         Remove unused attribute.
26184 2010-07-20  Roland McGrath  <roland@redhat.com>
26186         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26187         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
26188         ld.so.cache was broken.  With it, there is no way to disable dsocaps
26189         like LD_HWCAP_MASK can disable hwcaps.
26191 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
26193         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26195 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
26197         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26198         call in strcasestr.
26199         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26200         __strcasestr_sse42_nonascii.
26201         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26202         strcasestr-nonascii.c.
26203         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26205 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
26207         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26208         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26209         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26210         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26212 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
26214         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26215         fcntl.
26217 2010-07-06  Andreas Schwab  <schwab@redhat.com>
26219         [BZ #11577]
26220         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26221         dl_signal_cerror.
26223 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
26225         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26226         _PC_PIPE_BUF using F_GETPIPE_SZ.
26228 2010-07-05  Roland McGrath  <roland@redhat.com>
26230         * manual/arith.texi (Rounding Functions): Fix rint description
26231         implicit in round description.
26233 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
26235         * elf/Makefile: Fix linking for a few tests to make recent linker
26236         happy.
26238 2010-06-30  Andreas Schwab  <schwab@redhat.com>
26240         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26241         $(common-objpfx)libc_nonshared.a.
26243 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
26245         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26246         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26247         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26248         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26249         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26250         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26251         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26252         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26267         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26268         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26269         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26270         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26271         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26272         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26273         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26274         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26275         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26276         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26277         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26278         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26294 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26296         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26297         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
26298         * string/memmove.c (memmove): Renamed to ...
26299         (MEMMOVE): ...this.  Default to memmove.
26300         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26301         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26302         (END_CHK): Define.
26303         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26304         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26305         mempcpy-ssse3-back memmove-ssse3-back.
26306         * sysdeps/x86_64/multiarch/bcopy.S: New file .
26307         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26308         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26309         * sysdeps/x86_64/multiarch/memcpy.S: New file.
26310         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26311         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26312         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26313         * sysdeps/x86_64/multiarch/memmove.c: New file.
26314         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26315         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26316         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26317         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26318         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26319         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26320         Define.
26321         (index_Fast_Copy_Backward): Define.
26322         (HAS_ARCH_FEATURE): Define.
26323         (HAS_FAST_REP_STRING): Define.
26324         (HAS_FAST_COPY_BACKWARD): Define.
26326 2010-06-21  Andreas Schwab  <schwab@redhat.com>
26328         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26329         Restore proper fallback handling.
26331 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
26333         [BZ #11701]
26334         * posix/group_member.c (__group_member): Correct checking loop.
26336         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26337         OOM in getpwuid_r correctly.  Return error number when the caller
26338         should return, otherwise -1.
26339         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26340         call returning > 0 value.
26341         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26343 2010-06-07  Andreas Schwab  <schwab@redhat.com>
26345         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26346         libc_nonshared.a from targets in modules-names.
26348 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
26350         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26351         requires it.
26353 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
26355         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26356         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26357         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26358         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26360 2010-06-02  Andreas Schwab  <schwab@redhat.com>
26362         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26364 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
26366         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26367         and F_GETPIPE_SZ.
26368         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26369         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26370         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26371         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26372         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26373         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26375 2010-06-14  Roland McGrath  <roland@redhat.com>
26377         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26379 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
26381         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26382         __REDIRECT followed by __THROW.
26383         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26384         * posix/getopt.h (getopt): Likewise.
26386 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
26388         * hurd/lookup-at.c (__file_name_lookup_at): Accept
26389         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
26390         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26391         in AT_FLAGS.
26392         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26393         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26395 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
26397         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26399 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
26401         [BZ #11640]
26402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26403         Properly check family and model.
26405 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
26407         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26409 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
26411         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26413 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
26415         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26416         symbol reference.
26418 2010-05-19  Andreas Schwab  <schwab@redhat.com>
26420         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26421         symbol reference.
26423 2010-05-21  Andreas Schwab  <schwab@redhat.com>
26425         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26426         and internal_recvmmsg.
26427         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26428         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26429         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26430         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26432         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26433         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26434         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26436 2010-05-20  Andreas Schwab  <schwab@redhat.com>
26438         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26440 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
26442         POWER7 optimizations.
26443         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26444         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26446 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
26448         * version.h: Update for 2.13 development version.
26450 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
26452         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26453         exceptions.  Return 0.
26455 2010-05-07  Roland McGrath  <roland@redhat.com>
26457         * elf/ldconfig.c (main): Add a const.
26459 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
26461         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26462         (args_options): Add no-idn option.
26463         (ahosts_keys_int): Add idn_flags to ai_flags.
26464         (parse_option): Handle 'i' option to clear idn_flags.
26466         * malloc/malloc.c (_int_free): Possible race in the most recently
26467         added check.  Only act on the data if no current modification
26468         happened.
26470 See ChangeLog.17 for earlier changes.